/* Account page v2: align the Stitch account UI with the site's ink + logo-gradient design. */
.account-page {
  --auth-bg: #f6f7fb;
  --auth-panel: rgba(255, 255, 255, 0.82);
  --auth-ink: #0b0d17;
  --auth-muted: #4a5068;
  --auth-line: rgba(17, 20, 40, 0.1);
  --auth-input: #f1f2f8;
  --auth-rim: rgba(255, 255, 255, 0.95);
  --auth-lime: #5b5bff;
  --auth-lime-ink: #ffffff;
  --auth-shadow: 0 2px 4px rgba(17, 20, 40, 0.04), 0 24px 60px -20px rgba(40, 46, 120, 0.2);
  --auth-inset: inset 0 1px 2px rgba(17, 20, 40, 0.06);
  --auth-brand: linear-gradient(120deg, #3b5bff 0%, #6d4dff 48%, #a855f7 78%, #38bdf8 100%);
  background:
    radial-gradient(ellipse 50% 45% at 85% 10%, rgba(109, 77, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 40% at 5% 75%, rgba(56, 189, 248, 0.12), transparent 70%),
    var(--auth-bg);
  background-attachment: fixed;
  font-family: var(--font-v2);
}
:root[data-theme="dark"] .account-page {
  --auth-bg: #07080d;
  --auth-panel: rgba(14, 16, 26, 0.78);
  --auth-ink: #eef0f8;
  --auth-muted: #a1a7bd;
  --auth-line: rgba(255, 255, 255, 0.09);
  --auth-input: rgba(255, 255, 255, 0.05);
  --auth-rim: rgba(255, 255, 255, 0.08);
  --auth-lime: #7c84ff;
  --auth-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 70px rgba(0, 0, 0, 0.55);
  --auth-inset: inset 0 1px 2px rgba(0, 0, 0, 0.3);
  background:
    radial-gradient(ellipse 50% 45% at 85% 10%, rgba(109, 77, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 40% at 5% 75%, rgba(14, 165, 233, 0.12), transparent 70%),
    var(--auth-bg);
  background-attachment: fixed;
}

/* gradient where the lime used to be */
.account-primary,
.account-page .is-current .journey-number,
.account-page .is-complete .journey-number,
.account-page .completion-icon,
.account-page .art-check,
.account-page .account-kicker > span:first-child {
  background: var(--auth-brand);
  color: #fff;
}
.account-primary {
  box-shadow: 0 10px 30px rgba(84, 80, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background-size: 150% 100%;
  transition: background-position 0.3s, transform 0.2s, box-shadow 0.2s;
}
.account-primary:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 38px rgba(84, 80, 255, 0.42); }
.account-page .account-kicker > span:first-child { box-shadow: 0 0 0 4px rgba(109, 77, 255, 0.15); }
.account-page .account-kicker { letter-spacing: 0.14em; background: var(--auth-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.account-page .intro-title em { font-style: normal; background: var(--auth-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.account-page .art-check, .account-page .completion-icon { box-shadow: 0 10px 28px rgba(91, 91, 255, 0.35); }
.account-page .journey-number { box-shadow: none; }
.account-page .mail-glass { color: var(--auth-lime); }
.account-page .asr-once { border-color: transparent; background: linear-gradient(var(--auth-panel), var(--auth-panel)) padding-box, var(--auth-brand) border-box; border: 2px solid transparent; }
.account-page :is(a, button):focus-visible { outline-color: var(--auth-lime); }

/* the account page now uses the shared site header and footer */
.account-page .site-header { background: var(--header); }
.account-page .account-layout { min-height: calc(100svh - 68px); }
.account-page .site-footer { background: transparent; }
.account-page .note-mark { background: rgba(109, 77, 255, 0.14); color: var(--auth-lime); }
