/* Public account, setup and information pages. Form and billing handlers are unchanged. */
.site-page {
  --bg: #0b0d10;
  --bg2: #101317;
  --card: #14181d;
  --card2: #20262d;
  --line: #2b3139;
  --line2: #3a424c;
  --text: #f2f3f5;
  --ink: #f2f3f5;
  --paper: #f2f3f5;
  --night: #0b0d10;
  --muted: #a5adb8;
  --faint: #929ca9;
  --amber: #fca311;
  --amber-2: #ffc568;
  --amber-d: #d58a0e;
  --amber-bg: #fca31112;
  --pink: #fca311;
  --pink-2: #ffc568;
  --green: #59d69a;
  --green-bg: #59d69a12;
  --red: #ff8b7e;
  --red-bg: #ff8b7e12;
  color-scheme: dark;
  background: var(--bg);
  background-image: radial-gradient(ellipse 900px 450px at 14% 0%, #fca31108, transparent 75%);
  color: var(--text);
  font-family: var(--font);
}
.site-page::before { display: none; }
.site-page .site-header { position: relative; background: #0b0d10; border-color: #ffffff12; backdrop-filter: none; }
.site-page .site-header .wrap { width: auto; }
.site-page .wordmark { color: var(--text); }
.site-page .wordmark img { object-fit: contain; border-radius: 0; }
.site-page .site-header nav a { margin-left: 0; }
.site-page .desktop-nav a { color: #b1b8c2; }
.site-page .site-footer { margin-top: 0; background: #090b0e; border-top: 1px solid var(--line); }
.site-page .footer-top a { text-decoration: none; }
.site-page :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.site-page button:disabled { cursor: default; }
.site-page .app-main { min-height: calc(100svh - 80px); padding-block: 64px 88px; }
.site-page .page-back,
.site-page .page-support { display: inline-flex; gap: 8px; color: var(--muted); font-size: 13px; }
.site-page .page-back:hover,
.site-page .page-support:hover { color: var(--amber); }
.site-page .page-kicker { color: var(--amber); font-size: 10px; font-weight: 600; letter-spacing: .18em; margin: 46px 0 19px; }
.site-page .eyebrow { color: var(--amber); background: none; border: 0; padding: 0; font-size: 11px; letter-spacing: .13em; }
.site-page .eyebrow::before { background: var(--amber); }

/* A calm access desk, with context beside the form. */
.auth-surface .access-layout { display: grid; grid-template-columns: 1.04fr 1fr; align-items: start; gap: clamp(48px,7vw,110px); max-width: 1180px; }
.access-story { max-width: 490px; }
.access-story h2,
.plan-context h2 { font-size: clamp(42px,4.5vw,64px); font-weight: 400; line-height: 1.04; letter-spacing: -.055em; }
.access-story h2 span,
.plan-context h2 span { color: var(--amber); }
.access-lede { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 400px; margin-top: 24px; }
.access-flow { list-style: none; padding: 0; margin: 34px 0; }
.access-flow li { display: flex; align-items: start; gap: 17px; position: relative; padding: 0 0 24px; }
.access-flow li:last-child { padding-bottom: 0; }
.access-flow li:not(:last-child)::after { content: ''; position: absolute; width: 1px; background: var(--line); top: 34px; bottom: 5px; left: 16px; }
.access-flow li > span { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 9px; color: var(--amber); font-size: 10px; font-variant-numeric: tabular-nums; background: #11151a; }
.access-flow b { font-size: 14px; font-weight: 600; }
.access-flow p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 3px; max-width: 325px; }
.access-flow .current > span { background: var(--amber); color: #1c1201; border-color: var(--amber); }
.access-flow .complete > span { color: var(--green); }
.access-help { padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 400px; }
.access-help b { font-size: 13px; font-weight: 600; }
.access-help p { color: var(--faint); font-size: 12px; line-height: 1.7; margin: 7px 0 13px; }
.access-help a { color: var(--amber); font-size: 12px; }
.auth-surface .app-card { background: linear-gradient(145deg,#191e24,#11151a 65%); max-width: 490px; border: 1px solid #363e49; border-radius: 20px; padding: 36px; box-shadow: 0 24px 70px -35px #000, inset 0 1px #ffffff06; }
.auth-surface .app-card h1 { font-size: 32px; font-weight: 600; line-height: 1.13; letter-spacing: -.045em; margin: 0 0 12px; }
.auth-surface .app-card .lede { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 25px; }
.card-kicker { color: var(--faint); font-size: 9px; font-weight: 600; letter-spacing: .17em; display: flex; align-items: center; gap: 9px; margin-bottom: 29px; }
.access-lock { width: 23px; height: 23px; display: grid; place-items: center; color: var(--amber); border: 1px solid #fca31155; border-radius: 6px; font-size: 13px; }
.auth-surface .tabs { background: #0b0e12; border: 1px solid var(--line); padding: 5px; border-radius: 10px; gap: 4px; margin-bottom: 26px; }
.auth-surface .tabs button { border-radius: 6px; font-size: 13px; font-weight: 600; min-height: 42px; color: var(--muted); }
.auth-surface .tabs button.on { background: #272e37; color: #fff; box-shadow: 0 1px 5px #0005; }
.site-page .fld { margin-bottom: 19px; gap: 8px; }
.site-page .fld label { font-size: 12px; font-weight: 600; color: #cdd2d9; }
.site-page .fld input,
.site-page .fld select { background: #0c1014; border: 1px solid #36404b; color: var(--text); font-size: 16px; min-height: 49px; border-radius: 8px; padding: 12px 14px; }
.site-page .fld input::placeholder { color: #6e7a89; }
.site-page .fld input:focus,
.site-page .fld select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px #fca31114; }
.site-page .fld .hint { font-size: 11px; line-height: 1.7; color: var(--faint); }
.site-page .btn { min-height: 48px; height: auto; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: center; justify-content: center; line-height: 1.5; }
.site-page .btn-amber { color: #171006; background: var(--amber); box-shadow: none; }
.site-page .btn-amber:hover { background: var(--amber-2); }
.site-page .btn-ghost { border-color: var(--line2); }
.site-page .formnote { font-size: 11px; line-height: 1.7; color: var(--faint); margin-top: 20px; }
.site-page .formnote a,
.site-page .linkbtn { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.site-page .codebox input { font-size: 22px; }
.site-page .alert { border-radius: 8px; font-size: 13px; line-height: 1.65; }
.setup-form { width: 100%; }
.setup-form .app-card { max-width: none; }
.setup-layout .access-story { position: sticky; top: 35px; }
.setup-layout .page-kicker { margin-top: 42px; }

/* Account and billing retain their genuine entitlement and payment states. */
.account-surface .acctpage,
.account-surface .setpage { max-width: 1120px; }
.account-utility { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; padding: 0 0 28px; }
.account-utility > div { display: flex; gap: 24px; }
.account-utility a:hover { color: var(--amber); }
.account-surface .pagehead { margin: 9px 0 34px; }
.account-surface .ph-eyebrow { color: var(--amber); font: 600 10px var(--font); letter-spacing: .16em; }
.account-surface .pagehead :is(h1,h2) { font-size: clamp(32px,4vw,48px); font-weight: 400; line-height: 1.1; letter-spacing: -.05em; margin-top: 12px; }
.account-surface .pagehead p { color: var(--muted); font-size: 14px; margin-top: 13px; }
.account-surface .grid { gap: 24px; }
.account-surface .grid > * { min-width: 0; }
.account-surface .card { background: linear-gradient(150deg,#191e24,#12161b 70%); border: 1px solid var(--line); padding: 28px; border-radius: 16px; box-shadow: none; }
.account-surface .card-title,
.account-surface .sect-label { color: var(--faint); font: 600 10px var(--font); letter-spacing: .13em; }
.account-surface .m-plan { font-weight: 600; font-size: 25px; }
.account-surface .grad { background: none; color: var(--amber); -webkit-text-fill-color: var(--amber); }
.account-surface .status.trial,
.account-surface .plan-chip.trial { color: var(--amber-2); background: #fca31115; border-color: #fca31145; }
.account-surface .banner.trial { background: #fca3110b; border-color: #fca3113b; }
.account-surface .banner .bt .pink { color: var(--amber); }
.account-surface .stepbox,
.account-surface .stepwrap { background: #0c1014; border: 1px solid var(--line2); border-radius: 10px; }
.account-surface .stepper button { border-radius: 8px; border: 1px solid var(--line2); background: #1b222b; }
.account-surface .stepper button:hover { border-color: var(--amber); }
.account-surface .stepper input { caret-color: var(--amber); }
.account-surface .save,
.account-surface .upcta,
.account-surface .pcta,
.account-surface .sc-cta { border-radius: 8px; background: var(--amber); color: #171006; box-shadow: none; min-height: 50px; height: auto; padding: 13px 17px; font-size: 14px; line-height: 1.5; white-space: normal; text-align: center; }
.account-surface .dncta { min-height: 48px; height: auto; border-radius: 8px; padding: 13px 16px; font-size: 13px; text-align: center; }
.account-surface .portal { line-height: 1.5; padding: 14px; border-radius: 8px; }
.account-surface .pitem .ck,
.account-surface .pw-feat .ck { background: #fca31114; color: var(--amber); border-radius: 5px; }
.account-surface .compbadge,
.account-surface .pro .ubadge { background: var(--amber); color: #171006; font-weight: 600; }
.account-surface .help-links a { border-radius: 8px; font-size: 13px; }
.account-surface .help-links a:hover { border-color: var(--amber); }
.account-surface :is(.note,.pay-note,.upfine,.upfine,.help-note) { line-height: 1.75; }
.account-surface .drow .v { white-space: normal; overflow-wrap: anywhere; }
.account-surface .drow .v.mono { font-size: 12px; }
.account-surface .srow { gap: 12px; }
.account-surface .srow .v { text-align: right; }
.account-surface .side .card + .card { margin-top: 24px; }
.account-surface .plan-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; max-width: 1120px; }
.plan-context { position: sticky; top: 36px; }
.plan-context > p:not(.page-kicker) { max-width: 405px; margin-top: 25px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.plan-explainer { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.plan-explainer b { display: block; margin-bottom: 7px; color: var(--text); font-weight: 600; font-size: 15px; }
.plan-explainer p { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 360px; margin: 0 0 24px; }
.plan-support { display: flex; gap: 20px; font-size: 12px; color: var(--amber); flex-wrap: wrap; }
.account-surface .pw { max-width: 510px; }
.account-surface .pw-eyebrow { color: var(--amber); background: #fca3110e; border-color: #fca31140; font: 600 10px var(--font); letter-spacing: .12em; }
.account-surface .pw-eyebrow .dot { background: var(--amber); }
.account-surface .pw h1 { font-size: 31px; font-weight: 600; letter-spacing: -.04em; line-height: 1.16; margin: 20px 0 15px; }
.account-surface .psel { border-radius: 10px; border-width: 1px; padding: 16px; }
.account-surface .psel.sel { background: #fca31112; border-color: var(--amber); box-shadow: inset 0 2px var(--amber); }
.account-surface .pcard { background: linear-gradient(160deg,#211e17,#14181d 30%); border: 1px solid #fca31155; border-radius: 16px; padding: 30px 24px 24px; box-shadow: none; }
.account-surface .ribbon { background: var(--amber); color: #171006; box-shadow: none; font: 600 10px var(--font); }
.account-surface .trial-line b { color: var(--amber); }
.account-surface .pw-cta .btn-amber { background: var(--amber); box-shadow: none; }
.account-surface .renewal { font-size: 12px; padding: 16px; line-height: 1.8; border-radius: 10px; }
.account-surface .subcard { box-shadow: none; background: #59d69a08; border-radius: 16px; }
.account-surface .pro { background: linear-gradient(100deg,#fca31108,#15191e 55%); border-color: #fca31142; box-shadow: none; border-radius: 16px; padding: 28px; }
.account-surface .welcome { text-align: left; }
.account-surface .welcome .ring { margin: 0 0 25px; }
.account-surface .welcome h1 { font-weight: 600; font-size: 28px; }
.account-surface .welcome .sub { max-width: none; margin: 12px 0 0; }
.account-surface .getapp { padding: 34px; }
.account-surface .getapp .card-title { margin-bottom: 25px; }
.account-surface .getapp .qr { border-radius: 10px; }

/* Human support, with practical access points and readable answers. */
.support-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 100px; padding-block: 85px 105px; max-width: 1160px; }
.support-intro { position: sticky; top: 35px; }
.support-intro h2 { font-size: clamp(44px,4.7vw,68px); line-height: 1.04; font-weight: 400; letter-spacing: -.055em; margin: 25px 0; }
.support-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; font-size: 15px; max-width: 330px; }
.support-shortcuts { display: grid; margin-top: 32px; }
.support-shortcuts a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 13px; }
.support-shortcuts b { color: var(--amber); font-weight: 400; }
.support-shortcuts a:hover { color: var(--amber); }
.support-content h1 { font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
.support-content h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 40px 0 18px; }
.support-content .updated { font-size: 14px; color: var(--muted); margin-top: 9px; }
.support-content .card { background: #151a20; border: 1px solid #3c434c; border-radius: 14px; padding: 26px; margin-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.support-content .card strong { display: inline-block; color: var(--text); font-size: 16px; margin-bottom: 5px; }
.support-content p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.support-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }
.support-faq { border-top: 1px solid var(--line); }
.support-faq:last-child { border-bottom: 1px solid var(--line); }
.support-faq summary { display: flex; align-items: start; justify-content: space-between; gap: 22px; list-style: none; padding: 21px 0; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary::after { content: '+'; flex: 0 0 16px; text-align: center; color: var(--amber); font-size: 20px; font-weight: 400; line-height: 1; }
.support-faq[open] summary::after { content: '−'; }
.support-faq > div { padding: 0 20px 23px 0; }

/* Beta enrollment is visibly distinct from a live product subscription. */
.beta-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px 100px; padding-block: 85px 100px; align-items: start; }
.beta-copy h1 { font-size: clamp(57px,6.5vw,94px); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; margin-top: 28px; }
.beta-copy h1 span { color: var(--amber); }
.beta-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: var(--muted); margin-top: 26px; max-width: 470px; }
.beta-note { border-left: 2px solid var(--amber); padding-left: 20px; margin-top: 32px; font-size: 14px; }
.beta-note b { font-weight: 600; color: var(--text); }
.beta-note p { font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 9px; }
.beta-copy .text-link { color: var(--amber); margin-top: 28px; }
.beta-form { padding-top: 18px; }
.beta-form .card { background: linear-gradient(145deg,#1c2128,#11161b); border: 1px solid #363e49; padding: 34px; border-radius: 18px; box-shadow: 0 25px 75px -35px #000; }
.beta-form label { display: block; color: #cdd2d9; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.beta-form input,
.beta-form select { width: 100%; border: 1px solid var(--line2); background: #0c1014; color: var(--text); font-size: 16px; border-radius: 8px; min-height: 50px; padding: 12px 14px; }
.beta-form input:focus,
.beta-form select:focus { border-color: var(--amber); }
.beta-form .button { width: 100%; justify-content: center; border-radius: 8px; }
.beta-form .fine { font-size: 12px; line-height: 1.8; color: var(--faint); }
.beta-form .err { display: none; font-size: 13px; color: var(--red); margin-bottom: 16px; }
.beta-boundaries { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.beta-boundaries p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.beta-boundaries b { display: block; font-weight: 600; color: var(--text); font-size: 14px; margin-bottom: 10px; }

/* Legal article text remains exact; only its reading surface changes. */
.legal-page main.wrap { max-width: 1080px; }
.document-nav { display: flex; justify-content: space-between; gap: 20px; padding: 34px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.document-nav > div { display: flex; gap: 24px; }
.document-nav a[aria-current="page"],
.document-nav a:hover { color: var(--amber); }
.site-page .legal { max-width: 780px; margin: 0 auto; padding: 66px 0 96px; }
.site-page .legal h1 { font-size: clamp(44px,5vw,64px); font-weight: 400; line-height: 1.08; letter-spacing: -.05em; margin: 0 0 20px; }
.site-page .legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; margin: 44px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text); }
.site-page .legal p,
.site-page .legal li { font-size: 15px; color: #b1bac6; line-height: 1.95; }
.site-page .legal p { margin: 18px 0; }
.site-page .legal ul { padding-left: 23px; margin: 17px 0; }
.site-page .legal li + li { margin-top: 8px; }
.site-page .legal a { color: var(--amber-2); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-page .legal .updated { color: var(--faint); font-size: 12px; margin-bottom: 36px; }
.site-page .legal :is(b,strong) { color: #e0e5eb; font-weight: 600; }
.site-page .legal .note { padding: 24px; background: #161b21; border: 1px solid #353f4b; border-radius: 10px; color: #bac3cf; font-size: 14px; line-height: 1.9; }

@media (max-width: 1000px) {
  .auth-surface .access-layout { gap: 45px; }
  .auth-surface .app-card { padding: 28px; }
  .account-surface .plan-layout { gap: 45px; }
  .support-layout,
  .beta-layout { gap: 45px; }
  .beta-form .card { padding: 28px; }
}
@media (max-width: 760px) {
  .site-page .app-main { padding-block: 38px 60px; }
  .auth-surface .access-layout { display: flex; flex-direction: column; gap: 30px; align-items: stretch; max-width: 560px; }
  .access-story { max-width: none; }
  .access-story h2 { font-size: 40px; max-width: 420px; }
  .access-story .page-kicker { margin-top: 25px; margin-bottom: 13px; }
  .access-story .access-lede { font-size: 14px; line-height: 1.7; max-width: 440px; margin-top: 16px; }
  .access-story .access-flow,
  .access-story .access-help { display: none; }
  .auth-surface .app-card { max-width: none; }
  .setup-layout .access-story { position: static; }
  .setup-layout .page-support { margin-top: 17px; }
  .account-surface .plan-layout { display: flex; flex-direction: column; gap: 30px; max-width: 600px; align-items: stretch; }
  .plan-context { position: static; }
  .plan-context h2 { font-size: 38px; }
  .plan-context > p:not(.page-kicker),
  .plan-explainer { display: none; }
  .plan-context .page-kicker { margin-top: 28px; }
  .plan-context .plan-support { margin-top: 20px; }
  .account-surface .pw { max-width: none; }
  .account-surface .card { padding: 24px; }
  .account-utility { font-size: 11px; gap: 12px; }
  .account-utility > div { gap: 15px; }
  .support-layout { grid-template-columns: 1fr; max-width: 650px; padding-block: 45px 65px; gap: 42px; }
  .support-intro { position: static; }
  .support-intro h2 { font-size: 48px; margin: 22px 0; }
  .support-intro > p:not(.eyebrow) { max-width: 440px; }
  .support-shortcuts { margin-top: 20px; }
  .support-shortcuts a { padding: 15px 0; }
  .beta-layout { grid-template-columns: 1fr; max-width: 650px; padding-block: 48px 60px; gap: 35px; }
  .beta-copy h1 { font-size: 65px; }
  .beta-form { padding-top: 0; }
  .beta-boundaries { grid-template-columns: 1fr; gap: 26px; }
  .document-nav { padding-block: 26px; gap: 18px; flex-wrap: wrap; }
  .document-nav > div { gap: 19px; }
  .site-page .legal { padding-block: 42px 70px; }
  .site-page .legal h2 { font-size: 22px; margin-top: 33px; }
}
@media (max-width: 460px) {
  .site-page .app-main { width: calc(100% - 36px); padding-inline: 0; }
  .auth-surface .app-card { padding: 27px 22px; border-radius: 16px; }
  .auth-surface .app-card h1 { font-size: 28px; }
  .card-kicker { margin-bottom: 25px; }
  .access-story h2 { font-size: 36px; }
  .site-page .navrow { flex-wrap: wrap; }
  .site-page .navrow .btn { flex: 1 1 130px; }
  .account-surface .card { padding: 22px 18px; }
  .account-surface .pro { padding: 24px 20px; }
  .account-surface .m-head { flex-wrap: wrap; }
  .account-surface .pcard { padding-inline: 19px; }
  .account-surface .psel { padding: 14px 12px; }
  .account-surface .price-row { flex-wrap: wrap; gap: 0 8px; }
  .account-surface .price-row .amt { font-size: 32px; }
  .account-utility { flex-wrap: wrap; }
  .account-utility > div { margin-left: auto; }
  .account-surface .pagehead :is(h1,h2) { font-size: 34px; }
  .support-content .card,
  .beta-form .card { padding: 24px 21px; }
  .support-content h1 { font-size: 29px; }
  .site-page .legal :is(p,li) { font-size: 15px; line-height: 1.85; }
  .site-page .legal .note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page .btn:hover,
  .site-page .button:hover { transform: none; }
  .site-page .spinner { animation-duration: 1.5s; }
}
