/* Signup. A logged-out page, so no app shell: a full-viewport two-column
 * layout with the form on the left and a photographic hero on the right.
 * Form controls come from form.css; this file holds what is particular to
 * signup -- tabs, password reveal, role tiles, hero.
 */
.su-page { width:100%; min-height:100vh; display:grid; grid-template-columns:1fr; background:var(--nav); color:var(--text); }
@media (min-width:1024px) { .su-page { grid-template-columns:1fr 1fr; } }

.su-form-col { display:flex; padding:48px 32px; }
@media (min-width:1024px) { .su-form-col { align-items:center; } }
.su-form-inner { width:100%; max-width:440px; margin:0 auto; }

/* Inputs sit inset on this page: the page itself is --nav, so form.css's
   --nav input would be indistinguishable from it. */
.su-page .f-input { background:var(--bg); padding-top:10px; padding-bottom:10px; }
.su-page .f-check input { background:var(--bg); }
/* ...but keep form.css's gold fill when ticked, or the dark tick vanishes. */
.su-page .f-check input:checked { background:var(--gold); }

.su-logo { display:inline-flex; align-items:center; gap:10px; margin-bottom:32px; text-decoration:none; }
.su-logo__img { display:block; width:auto; height:40px; }
.su-title { margin:0 0 8px; font-size:24px; font-weight:700; color:var(--text); }
.su-lede { margin:0 0 24px; font-size:14px; color:var(--text-muted); }

/* Tabs */
.su-tabs { display:flex; gap:24px; border-bottom:1px solid var(--nav-line); margin-bottom:24px; }
.su-tab { padding:0 0 12px; margin-bottom:-1px; border:0; border-bottom:2px solid transparent; background:none; font:inherit; font-size:14px; font-weight:600; color:var(--text-muted); cursor:pointer; }
.su-tab[aria-selected="true"] { color:var(--gold); border-color:var(--gold); }
/* Log in has no screen yet. Deliberately faint: it is a disabled control,
   which WCAG 1.4.3 exempts, and the wrapper explains it on click. */
.su-tab:disabled { color:var(--text-dim); opacity:.35; cursor:not-allowed; pointer-events:none; -webkit-user-select:none; user-select:none; }
.su-tab-wrap { display:inline-flex; cursor:not-allowed; -webkit-user-select:none; user-select:none; }

.su-note { margin:-8px 0 24px; padding:10px 12px; border:1px solid var(--nav-line); border-radius:8px; background:var(--bg); font-size:12px; color:var(--text-muted); }

.su-field { margin-bottom:16px; }
.su-field--last { margin-bottom:20px; }

/* Password reveal sits inside the input. */
.su-page .f-input.su-has-eye { padding-right:44px; }
.su-eye {
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:32px; height:32px; display:grid; place-items:center;
  border:0; border-radius:6px; background:none; color:var(--text-muted); cursor:pointer;
}
.su-eye:hover { color:var(--text); }
.su-eye[aria-pressed="true"] { color:var(--gold); }

/* Role tiles. The native radio is visually hidden and the tile is its label,
   so arrow keys move between roles for free. */
.su-roles { border:0; margin:0 0 20px; padding:0; min-width:0; }
.su-roles legend { padding:0; }
.su-role-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.su-role { cursor:pointer; }
.su-role__card { display:block; height:100%; text-align:center; border:1px solid var(--nav-line); border-radius:8px; background:var(--bg); padding:16px 8px; }
.su-role__ic { display:grid; place-items:center; margin-bottom:8px; color:var(--text-muted); }
.su-role__title { display:block; font-size:14px; font-weight:600; color:var(--text); }
.su-role__note { display:block; margin-top:4px; font-size:12px; line-height:1.35; color:var(--text-muted); }
.su-role:not(:has(input:disabled)):hover .su-role__card { border-color:var(--text-muted); }
.su-role input:checked + .su-role__card { border-color:var(--gold); box-shadow:inset 0 0 0 1px var(--gold); background:color-mix(in srgb,var(--gold) 6%,var(--bg)); }
.su-role input:checked + .su-role__card .su-role__ic { color:var(--gold); }
.su-role input:focus-visible + .su-role__card { outline:2px solid var(--gold); outline-offset:2px; }
/* Coming-soon roles read as unavailable, not as equal choices: dashed edge,
   no fill, dimmed icon and title. The note keeps full contrast so the reason
   stays readable. */
.su-role:has(input:disabled) { cursor:not-allowed; }
.su-role input:disabled + .su-role__card { border-style:dashed; background:transparent; }
.su-role input:disabled + .su-role__card :is(.su-role__ic, .su-role__title) { opacity:.55; }

/* Phones: compact rows, icon beside the text, instead of three tall tiles. */
@media (max-width:768px) {
  .su-role-grid { gap:8px; }
  .su-role__card { display:grid; grid-template-columns:24px 1fr; column-gap:12px; align-items:center; text-align:left; padding:12px 14px; min-height:56px; }
  .su-role__ic { grid-row:1 / span 2; margin:0; }
  .su-role__note { margin-top:2px; }
}

.su-agree { margin-bottom:12px; }
.su-agree--last { margin-bottom:20px; }
/* Terms / privacy / cookies agreement: a quiet box that turns gold when
   ticked, the box beside the first line, links underlined rather than all
   gold, and the marketing note below. */
.su-page .su-agree { align-items:flex-start; gap:12px; padding:14px 16px; border:1px solid var(--nav-line); border-radius:10px; background:var(--bg); transition:border-color .15s; }
.su-page .su-agree:has(input:checked) { border-color:color-mix(in srgb,var(--gold) 55%,transparent); }
.su-agree input { margin-top:2px; }
.su-agree__text { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:14px; line-height:1.55; color:var(--text); }
.su-agree a { color:var(--text); font-weight:600; text-decoration:none; }
/* Underline the link names only. */
.su-agree__name { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; text-decoration-color:color-mix(in srgb,var(--gold) 70%,transparent); }
.su-agree a:hover { color:var(--gold); }
.su-agree a:hover .su-agree__name { text-decoration-color:var(--gold); }
.su-agree__note { font-size:12px; line-height:1.5; color:var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .su-page .su-agree { transition:none; } }
.su-page .f-check { font-size:14px; color:var(--text-muted); }

.su-submit {
  width:100%; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:0; border-radius:8px; padding:12px; background:var(--gold); color:var(--bg);
  font:inherit; font-size:14px; font-weight:700; cursor:pointer;
}
.su-submit:disabled { opacity:.4; cursor:not-allowed; }
a.su-submit { text-decoration:none; }

.su-callout { display:flex; align-items:flex-start; gap:12px; margin-top:16px; padding:12px 16px; border:1px solid var(--gold); border-radius:8px; background:var(--bg); font-size:14px; line-height:1.6; color:var(--text); }
.su-callout button { margin-left:auto; border:0; background:none; padding:0 4px; font-size:18px; line-height:1; color:var(--text-muted); cursor:pointer; }
.su-callout button:hover { color:var(--text); }
.su-callout__body { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; }
.su-callout .su-link { margin-left:0; padding:0; font-size:14px; color:var(--gold); }
.su-callout .su-link:disabled { opacity:.5; }

/* Text-style buttons: Forgot password, Back to log in, callout actions. */
.su-link {
  display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0;
  border:0; background:none; font:inherit; font-size:14px; font-weight:600;
  color:var(--gold); cursor:pointer; text-underline-offset:3px;
}
.su-link:hover { text-decoration:underline; }
.su-forgot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 16px; margin-top:2px; margin-bottom:-8px; }
.su-page .su-remember { align-items:center; gap:10px; font-size:14px; color:var(--text); }
.su-remember-hint { margin:10px 0 0; }
.su-back { margin-top:12px; color:var(--text-muted); }
.su-back:hover { color:var(--text); }

/* Keyboard focus on the tabs: the site-wide ring (gold + dark edge, built
   to show on white too) is heavy on this dark form, so tabs get a slimmer
   rounded one. It still only appears for keyboard use, never on click. */
.su-tab { border-radius:6px 6px 0 0; }
.su-tabs .su-tab:focus-visible { outline:2px solid var(--gold) !important; outline-offset:2px !important; box-shadow:none !important; }

.su-or { display:flex; align-items:center; gap:12px; margin:24px 0; font-size:11px; font-weight:600; letter-spacing:.1em; color:var(--text-muted); }
.su-or::before, .su-or::after { content:''; height:1px; flex:1; background:var(--nav-line); }

.su-social { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.su-social button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--nav-line); border-radius:8px; background:var(--bg); padding:10px; font:inherit; font-size:14px; font-weight:600; color:var(--text); cursor:pointer; }
.su-social button:hover { border-color:var(--dash); }

/* Hero */
.su-hero { display:none; position:relative; }
@media (min-width:1024px) { .su-hero { display:block; } }
.su-hero > :is(img, video) { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* The video fades in over the still once it is really playing (see beta.html). */
.su-hero__video { opacity:0; transition:opacity .6s ease; }
.su-hero__video.is-playing { opacity:1; }
@media (prefers-reduced-motion: reduce) { .su-hero__video { transition:none; } }
.su-hero__scrim { position:absolute; inset:0; background:linear-gradient(to top, rgba(13,13,13,.96) 0%, rgba(13,13,13,.7) 45%, rgba(13,13,13,.25) 100%); }
.su-hero__body { position:relative; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding:40px; }
.su-hero__rule { width:48px; height:4px; background:var(--gold); margin-bottom:20px; }
.su-hero h2 { margin:0 0 32px; font-size:30px; font-weight:700; line-height:1.2; color:var(--text); }
.su-hero__list > div { display:flex; gap:16px; padding:16px 0; }
.su-hero__list > div + div { border-top:1px solid var(--nav-line); }
.su-hero__list svg { flex-shrink:0; margin-top:2px; color:var(--gold); }
.su-hero__list strong { display:block; font-size:14px; font-weight:600; color:var(--text); }
.su-hero__list span { display:block; margin-top:2px; font-size:14px; color:var(--text-muted); }
