[hidden] { display: none !important; }
/* Account pages sit on the landing's own stylesheet (/assets/site.css, served by
   the landing on the same origin): tokens, type, header, buttons, scenes, footer.
   This file only adds what the landing has no use for: forms and lists. */

.auth { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.auth-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.auth h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; }
.auth .sub { margin: 18px 0 28px; }
.auth-scene { aspect-ratio: 4 / 5; }
.auth-scene img { object-position: 30% 50%; }

label { display: block; font-weight: 500; font-size: .9375rem; margin: 0 0 8px; }
input[type=email], input[type=password] { display: block; width: 100%; max-width: 420px; font: 400 1.0625rem var(--sans); padding: 14px 16px; border-radius: 10px; border: 1px solid #BFC5D6; background: #fff; color: var(--ink); margin: 0 0 20px; }
input[type=email]:focus, input[type=password]:focus { border-color: var(--ink); }
.hint { font-size: .875rem; color: var(--slate); margin: -12px 0 20px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 1rem; margin: 4px 0 14px; max-width: 420px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.note { font-size: .875rem; color: var(--slate); max-width: 420px; margin: 0 0 24px; }

.auth-form .btn { width: 100%; max-width: 420px; }
.btn:disabled { opacity: .6; cursor: progress; }
.switch { margin: 18px 0 0; font-size: .9375rem; color: var(--slate); }
.link { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }
.status { min-height: 1.6em; margin: 12px 0 0; font-size: .9375rem; color: #8E3B2D; }

/* full data detail, below the form */
.data { padding: clamp(56px, 8vw, 96px) 0; background: #fff; border-top: 1px solid var(--mist); }
.data-in { max-width: 820px; }
.data h2 { margin-bottom: 28px; }
.data dl { margin: 0; }
.data dl > div { display: grid; grid-template-columns: 14rem 1fr; gap: 8px 32px; padding: 18px 0; border-top: 1px solid var(--mist); }
.data dt { font-weight: 500; }
.data dd { margin: 0; color: #4A5068; }

/* account page */
.acct { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.acct-in { max-width: 720px; }
.acct h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.acct section { margin-top: clamp(40px, 6vw, 56px); }
.acct h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 8px; }
.acct form p { color: #4A5068; max-width: 36em; }
.rows { list-style: none; padding: 0; margin: 18px 0 20px; border-bottom: 1px solid var(--mist); }
.rows li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--mist); }
.rows .meta { color: var(--slate); font-size: .9375rem; }
.rows .empty { color: var(--slate); }
.btn-line { font: 500 .9375rem/1 var(--sans); padding: 12px 16px; border-radius: 10px; border: 1px solid #BFC5D6; background: transparent; color: var(--ink); cursor: pointer; }
.btn-line:hover { border-color: var(--ink); }
.btn-line.danger { color: #8E3B2D; border-color: #D9B5AD; }
.btn-line.danger:hover { border-color: #8E3B2D; }
.top nav .link { font-size: .9375rem; color: #3A4058; text-decoration: none; }
.top nav .link:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .auth-in { grid-template-columns: 1fr; }
  .auth-scene { order: -1; aspect-ratio: 16 / 9; }
  .auth-scene .subtitle { display: none; }
  .data dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .auth-scene { aspect-ratio: 2 / 1; border-radius: 14px; }
  .top nav .link { display: inline; }
}
.acct .status:empty { display: none; }
