/* The shared v3 look for every page that is not the home page, and for the pages the app serves
   (functions/auth-api/web_session.py page()). Load it after /site-header.css:
     <link rel="stylesheet" href="/site-header.css"><link rel="stylesheet" href="/site.css">
   Values are copied from the v3 home (apps/static-web/v3/index.html) and /site-header.css, so a page
   that uses these classes matches the home. Layout only: no words live here. */
:root { color-scheme: light; --paper: #f6f4ef; --ink: #1e2925; --muted: #56655c; --forest: #19362e; --deep: #102a24; --lime: #c9ec76; --line: #d9ded3;
  --gold: #f3d34a; --gold-ink: #1b1704; --card: #fbfaf7; --field: #c2cdb9;
  --shadow-s: 0 1px 2px rgba(16, 42, 36, .05), 0 10px 28px -16px rgba(16, 42, 36, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; color: var(--ink); background: var(--paper); }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #548029; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.55rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--lime); color: var(--deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sub { color: #4c7a29; font-size: clamp(1.25rem, 3.6vw, 2.1rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.muted, .note { color: var(--muted); }

/* v3 type over the older /site-header.css scale: same specificity, and this file loads after it. */
body h1 { font-size: clamp(1.55rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 600; }
body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
body .legal h1, body .sheet h1 { font-size: clamp(1.55rem, 5.2vw, 3.3rem); letter-spacing: -.025em; }
body .legal h2 { font-size: 1.3rem; letter-spacing: -.02em; }
/* Light sections use the v3 pair: the forest main button and the quiet outlined one. Gold stays for dark bands. */
body .button.light { background: var(--forest); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -12px rgba(16, 42, 36, .55); }
body .dark .button.light, body .panel-brands .button.light { background: var(--gold); color: var(--gold-ink); }
/* The npm proof strip keeps the line height it has without this file (normal), so its height does not move when the
   download number replaces the plain link (ad-examples strip check, /sponsors at 390px). */
body .proof-strip { line-height: normal; }

/* Buttons: the v3 main button (forest, white) and the quiet outlined one. Both at least 48px tall. */
.button, a.btn, .app-page button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 12px; background: var(--forest); color: #fff; font-size: 1rem; font-weight: 650; letter-spacing: -.01em; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -12px rgba(16, 42, 36, .55); }
.button:hover, a.btn:hover, .app-page button:hover { transform: translateY(-1px); }
.button:active, a.btn:active { transform: translateY(0); }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: transparent; color: var(--deep); border: 1.5px solid var(--deep); font-weight: 600; text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Cards and the dark band */
.panel, .card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 30px 32px; border: 1px solid #dfe3d6; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-s); }
.dark { background: var(--deep); color: #eef3e6; }
.dark h1, .dark h2 { color: #fff; }
.dark p { color: #c0d0bd; }
.dark :focus-visible { outline-color: var(--gold); }
.dark .button { background: var(--gold); color: var(--gold-ink); }

/* Forms: fields look like the v3 install box. */
label { display: block; margin: 14px 0 6px; font-weight: 600; }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
textarea { min-height: 120px; }
.error, [role=alert] { color: #8a2a1a; }

/* App-served pages: one narrow column between the shared header and footer. */
.app-page { max-width: 30rem; padding-block: 40px 56px; }
.app-page h1 { font-size: clamp(1.55rem, 5.2vw, 2.4rem); margin-bottom: 12px; }
.app-page p { margin: 0 0 12px; }
.app-page form { margin: 18px 0; }
.app-page a.btn, .app-page button { width: 100%; margin: 12px 0; }
.app-page .links a { color: var(--forest); }

@media (max-width: 800px) { .wrap { width: calc(100% - 44px); } }
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .panel, .card { padding: 16px 18px; gap: 8px; }
  .cta-row .button { width: 100%; }
  .app-page { padding-block: 20px 40px; }
}
/* The header FAQ link is the shortest label: keep its tap target 44px wide as well as tall (QA, 30 Oct 2026). */
body .nav-links > a[href="/#faq"] { justify-content: center; min-width: 44px; }

/* ------------------------------------------------------------------------------------------------
   v3 page layout (Gaurav, 31 Oct 2026): every public page is built from these blocks, copied from
   apps/static-web/v3/index.html (5ef8cde^). One centred column; short one-line strips; no split,
   2x2 or three-column card sections (scripts/v3-layout.test.mjs). Pages carry no layout <style>.
   ------------------------------------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
.center { text-align: center; }

/* The hero: headline, one sub-line, one action. */
.one { padding-block: 40px 16px; text-align: center; }
body .one h1 { max-width: 26ch; margin: 0 auto 10px; text-wrap: balance; }
body .one h1#hero-title, body .one.earn-hero > h1 { max-width: none; }
.one h1 .sub { display: block; margin: 10px 0 0; }
/* Descendant selectors, not >: home wraps the h1 and sub in an <hgroup> (Growth r1 #1, 31 Oct 2026). */
.one .sub, .one .sub-line { margin: 0 auto 28px; max-width: 40ch; }
.one .sub-line { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.45; }
.one h1#hero-title { margin-bottom: 10px; }
.one.earn-hero > h1 { margin-bottom: 28px; }
/* The button lines up with the copy box, not the whole install block (Growth r1 #2): 52px box, 48px button. */
.one .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px 20px; }
.one .actions > .quiet-button { margin-top: 2px; }
.one .free-line { margin: 10px auto 0; color: var(--ink); }
.one .eg-wrap { margin-top: 36px; }
/* The live npm weekly downloads stat: one small muted line under the install, no card. */
body .one .proof-strip { display: block; text-align: center; width: fit-content; max-width: 100%; min-height: 44px; margin: 6px auto 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: .82rem; }
body .one .proof-num { display: inline-block; min-width: 0; font-size: .82rem; font-weight: 650; letter-spacing: 0; line-height: 1.5; color: var(--ink); }
body .one .proof-text { display: inline; font-size: .82rem; line-height: 1.5; color: var(--muted); }
body .one .proof-text strong { font-size: .82rem; font-weight: 600; color: var(--muted); }
body .one .proof-link { flex-basis: auto; margin-left: 0; font-size: .82rem; line-height: 1.5; }

/* The install box (home and /earnings): one copy line, the alternatives folded under it. */
.install-block { display: grid; gap: 10px; width: min(440px, 100%); text-align: left; }
.install-label { display: none; }
.install-copy { display: flex; align-items: stretch; max-width: 100%; border: 1px solid #adbaa5; border-radius: 9px; background: #fff; overflow: hidden; }
.install-copy code { flex: 1; min-width: 0; padding: 12px 14px; font: 600 .9rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.account-actions { display: grid; gap: 8px; margin: 12px 0; }
.account-actions > a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; box-sizing: border-box; }
.account-actions > a.secondary { background: #2c4a40; color: #fff; border-color: #2c4a40; }
.install-copy code::before { content: "$ "; color: #7b8a7f; }
.copy-button { align-self: stretch; flex-shrink: 0; padding: 0 18px; border: 0; color: #fff; font-weight: 600; font-size: .84rem; }
.copy-status { min-height: 0; color: var(--muted); font-size: .74rem; }
.install-block .free-line { margin: 0; text-align: center; }
.payouts-soon { display: inline; }
.alt-install { font-size: .78rem; color: var(--muted); text-align: center; }
.alt-install summary { cursor: pointer; width: fit-content; min-height: 44px; display: flex; align-items: center; margin-inline: auto; }
.alt-install p { margin: 6px 0 0; }
.alt-install .alt-cmd { margin-top: 10px; }
.alt-install .alt-os { margin-top: 2px; font-weight: 650; }
.alt-install code { font: 600 .78rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; }

/* Example ad and the launch film. */
.eg-wrap { max-width: 640px; margin: 18px auto 0; }
.launch-video { padding-block: 40px 56px; }
.launch-video .video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #050807; }
.launch-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.launch-video .unmute { min-height: 44px; position: absolute; right: 14px; bottom: 58px; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(5,8,7,.72); color: #fff; font-weight: 600; font-size: .86rem; }

/* Steps: the v3 strip of short one-line steps, a label on the left at desktop widths. */
.steps-wrap { padding-block: 40px 8px; }
.step-rows { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; }
.step-row { display: grid; grid-template-columns: 120px 1fr; gap: 8px 24px; align-items: start; }
.step-row .row-label { margin: 14px 0 0; font-size: .92rem; letter-spacing: 0; text-transform: none; color: #526c40; font-weight: 650; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; text-align: left; }
.how-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(25,54,46,.1); counter-increment: s; }
.how-steps li::before { content: counter(s); display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #bbc9aa; border-radius: 50%; color: #56753d; font-size: .8rem; }
.how-steps h3, .how-steps h2 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
/* A one-column strip of steps with short supporting lines (/earnings). */
.steps-wrap > .how-steps { max-width: 720px; margin: 0 auto; }
.how-steps li > p a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-weight: 600; }
.one .lede { max-width: 40ch; margin: 0 auto 18px; color: var(--muted); }
.one .free-line { text-align: center; }
.how-steps li > p { grid-column: 2; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.step-row .how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.step-row .how-steps.two { grid-template-columns: repeat(2, 1fr); }
.step-row .how-steps.four { grid-template-columns: repeat(4, 1fr); }
#install-notice strong { display: block; }
.step-row > .row-link { grid-column: 2; margin: 0; }
.step-row > .row-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--forest); font-weight: 600; }
.one .caption { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.price-block .ticks { display: grid; gap: 6px; max-width: 34rem; margin: 14px auto; padding: 0; list-style: none; text-align: left; }
.price-block .ticks li { position: relative; padding-left: 1.5em; color: var(--muted); line-height: 1.5; }
.price-block .ticks li::before { content: "✓"; position: absolute; left: 0; color: #56753d; }

/* Strip sections (/about, the /sponsors plan): a centred h2 over one shared strip, the same .how-steps list as the
   home and /earnings steps (Nina, 31 Oct 2026). A <ul> strip is the unnumbered form of it. */
.strip-sec { padding-block: 32px 8px; text-align: center; }
.strip-sec h2 { margin: 0 auto 12px; }
.strip-sec > .how-steps { max-width: 720px; margin: 0 auto; }
ul.how-steps > li { display: block; color: var(--muted); line-height: 1.5; }
ul.how-steps > li::before { content: none; }
ul.how-steps h3 { display: inline; color: var(--ink); }
ul.how-steps > li:last-child { border-bottom: 1px solid rgba(25,54,46,.1); }
.one .cta-row { justify-content: center; }

/* The plan block (/sponsors, Nina 31 Oct 2026): v3's light one-column block on the page surface, a plan line and
   ticks, no card. Prices come from the admin price (hidden until read). */
.price-block { max-width: 720px; margin: 0 auto; padding: 0; color: var(--ink); text-align: center; }
.price-block p { color: var(--muted); }
.price-block .plan-lines strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.price-block .price-claim { margin-top: 8px; color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.price-block p + p { margin-top: 8px; }

/* Short FAQ, at most four questions. */
.faq { max-width: 720px; padding-block: 40px 56px; }
.faq > h2 { margin: 0 0 14px; text-align: center; }
.faq details a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-weight: 600; }
.faq summary { padding-block: 10px; font-size: 1.05rem; }
.faq details p, .faq details > .lines { margin: 0 0 10px; color: var(--muted); line-height: 1.6; font-size: .93rem; }

/* Text pages (/privacy, /terms, /login, /earnings): the same centred title block over one column. */
.title-block { padding-block: 40px 8px; text-align: center; }
body .title-block h1 { max-width: 26ch; margin: 0 auto 10px; }
.title-block .sub-line, .title-block .updated { color: var(--muted); }

@media (max-width: 900px) { .step-row { grid-template-columns: 1fr; } .step-row .how-steps, .step-row .how-steps.two, .step-row .how-steps.four { grid-template-columns: 1fr; } .step-row .row-label { margin-top: 0; } .step-row > .row-link { grid-column: 1; } }
@media (max-width: 520px) {
  .one { padding-block: 10px 8px; }
  .one h1#hero-title { margin-bottom: 6px; }
  .one.earn-hero > h1 { margin-bottom: 14px; }
  .one .sub, .one .sub-line { margin-bottom: 14px; }
  .one .actions > .quiet-button { margin-top: 0; }
  .one .actions .quiet-button, .one .actions .button { width: 100%; }
  .one .eg-wrap { margin-top: 18px; }
  .steps-wrap { padding-block: 24px 4px; }
  .strip-sec { padding-block: 24px 4px; }
  .launch-video .video-frame { aspect-ratio: 1 / 1; }
  .install-copy code { padding: 11px 12px; font-size: .82rem; }
  .faq { padding-block: 24px 40px; }
  .title-block { padding-block: 20px 4px; }
  .price-block .plan-lines { font-size: .875rem; }
  .price-block .ticks li { font-size: .82rem; padding-left: 18px; }
  body .one .proof-text { flex: 0 1 auto; justify-content: center; }
  body .legal { padding-block: 28px 48px; }
  /* v3 drift pass: an /about strip item's h3 on its own line; the npm stat one quiet line (Nina). */
  ul.how-steps h3 { display: block; }
  body .one .proof-strip, body .one .proof-num, body .one .proof-text, body .one .proof-text strong, body .one .proof-link { font-size: .7rem; }
}

/* Every v3 paragraph holds two lines from 360px up, also in the CI fallback font (DejaVu Sans, bold for the sub-line);
   the offer ticks, gated ones included, are sized in the 520px block above. */
@media (max-width: 389px) {
  .one > .sub { font-size: 1.1rem; }
  /* Fallback fonts drop the /sponsors offer sentence below an 800px screen. Tighter step rows bring it back above the fold. */
  body[data-price-surface="sponsors"] .how-steps li { padding-block: 6px; }
}

/* /privacy and /terms (v3 rebuild, 31 Oct 2026): a centred v3 title block over the frozen legal body, which stays
   left-aligned in a 720px column. Moved here from each page's <style>; legal wording is unchanged. */
body .legal { max-width: 720px; padding-block: 40px 72px; }
body .legal > header { margin: 0 0 8px; text-align: center; }
body .legal h1 { margin: 0 auto 10px; }
body .legal .updated { color: var(--muted); font-size: .9rem; text-align: center; }
body .legal section { margin-top: 36px; }
body .legal h2 { margin-bottom: 12px; font-size: 1.3rem; line-height: 1.25; }
body .legal p, body .legal li { color: var(--muted); line-height: 1.7; font-size: 1rem; }
body .legal p + p, body .legal ul + p, body .legal p + ul { margin-top: 12px; }
body .legal ul { display: grid; gap: 6px; margin: 0; padding-left: 1.3em; }
body .legal strong { color: var(--ink); font-weight: 620; }
body .legal code { padding: 1px 5px; border-radius: 4px; background: #ebe9e2; font: 600 .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
body .legal address { color: var(--muted); font-style: normal; line-height: 1.7; }
body .legal .status { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e4efc4; color: #34501f; font-size: .85rem; font-weight: 650; }

/* /login (v3 rebuild, 31 Oct 2026): the page's own form styles, moved here from its <style> unchanged except where marked.
   Each selector is scoped by body.login-page; the first rules undo the shared rules above that the page never had. */
.login-page .card { display: block; gap: normal; min-width: 0; }
.login-page input:not([type=checkbox]):not([type=radio]), .login-page select, .login-page textarea { box-shadow: none; }
.login-page label { font-weight: 600; }
.login-page { --bad: #9b2c1f; }
.login-page [hidden] { display: none !important; }
body.login-page { margin: 0; min-height: 100vh; display: grid; place-items: start center; padding: 20px 18px 40px; }
.login-page main { width: min(30rem, 100%); }
.login-page .card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fbfaf7; box-shadow: var(--shadow-s); }
.login-page .card h1 { font-size: clamp(1.7rem, 6vw, 2.1rem); letter-spacing: -.045em; }
.login-page header.nav { margin-bottom: 20px; }
.login-page h1 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 560; letter-spacing: -.03em; }
.login-page p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.login-page .context { padding: 10px 12px; border-radius: 9px; background: #e4efc4; color: #34501f; font-size: .88rem; }
.login-page .context p { margin: 0; color: inherit; }
.login-page .warn { padding: 10px 12px; border-left: 3px solid #c99a1d; background: #fbf3dc; color: #5b4510; font-size: .86rem; }
.login-page label { display: block; margin: 14px 0 6px; font-size: .86rem; font-weight: 600; }
.login-page .hint { margin: 4px 0 0; font-size: .78rem; }
.login-page input[type=email], .login-page input[type=text], .login-page select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #adbaa5; border-radius: 9px; background: #fff; font: inherit; font-size: 1rem; }
/* Config usually loads in well under this; show "Loading…" only if it doesn't. The section keeps about the sign-in
   step's height, so the card is never an empty sliver while it waits. */
.login-page #step-loading:not([hidden]) { display: block; min-height: 240px; }
.login-page .skeleton { height: 48px; margin: 12px 0 0; border-radius: 9px; background: #e7e4dc; }
.login-page #sponsor-summary { min-height: 6.7rem; }
.login-page #sponsor-summary-skel { height: 6.7rem; margin: 0; }
.login-page #sponsor-summary[aria-busy="true"] > :not(#sponsor-summary-skel) { display: none !important; }
.login-page #sponsor-summary[aria-busy="false"] #sponsor-summary-skel { display: none !important; }
.login-page input.code { letter-spacing: .3em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.25rem; }
.login-page input:focus-visible, .login-page select:focus-visible, .login-page button:focus-visible, .login-page a:focus-visible { outline: 3px solid #548029; outline-offset: 2px; }
.login-page .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.login-page .check input { margin-top: 3px; width: 18px; height: 18px; }
.login-page button { width: 100%; min-height: 48px; margin-top: 18px; border: 0; border-radius: 9px; background: var(--forest); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.login-page button[disabled] { opacity: .6; cursor: progress; }
.login-page button.secondary { background: #fff; color: var(--ink); border: 1px solid #adbaa5; }
.login-page button.danger { background: #a3261b; }
.login-page button.google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--ink); border: 1px solid #adbaa5; }
/* Primary provider (GitHub while email codes are off): the main button's look. */
.login-page button.google.primary { background: var(--forest); color: #fff; border: 0; }
.login-page button.google.primary svg path { fill: #fff; }
.login-page .or { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.login-page .or::before, .login-page .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.login-page .links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .86rem; }
.login-page .links button { width: auto; min-height: 0; margin: 0; padding: 0; background: none; color: var(--forest); text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }
.login-page .error { margin: 14px 0 0; color: var(--bad); font-size: .88rem; }
.login-page .fine { margin-top: 18px; font-size: .78rem; text-align: center; }
.login-page h2 { margin: 18px 0 8px; font-size: 1.05rem; font-weight: 600; }
.login-page .next { margin: 0 0 6px; padding-left: 20px; color: var(--muted); line-height: 1.55; font-size: .92rem; }
.login-page .opt { color: var(--muted); font-weight: 400; }
.login-page textarea { width: 100%; padding: 12px 14px; border: 1px solid #adbaa5; border-radius: 9px; background: #fff; font: inherit; font-size: 1rem; resize: vertical; }
.login-page input[type=password] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #adbaa5; border-radius: 9px; background: #fff; font: inherit; font-size: 1rem; }
/* v3 look (www.vibead.ai/v3) for the new-password step only, until Growth's shared v3 stylesheet lands:
swap this one block for that stylesheet's dark panel and pill button. */
.login-page .v3-dark { --deep: #102a24; margin: 16px -12px 0; padding: 20px 18px 22px; border-radius: 22px; background: var(--deep); color: #eef3e6; }
.login-page .v3-dark .v3-lede, .login-page .v3-dark .hint { color: #c0d0bd; }
.login-page .v3-dark label { color: #fff; }
.login-page input[readonly] { background: #eceee8; color: var(--muted); border-style: dashed; }
.login-page .v3-dark input[type=password] { border-color: #3d5a4f; }
.login-page .v3-dark input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.login-page #admin-newpw-wrap:not([hidden]) ~ #admin-submit { border-radius: 999px; background: var(--lime); color: #102a24; }
.login-page .button-link { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; border-radius: 9px; background: var(--forest); color: #fff; font-weight: 600; text-decoration: none; }
.login-page .button-link.secondary { background: #fff; color: var(--deep); border: 1.5px solid var(--deep); }
/* v3: each step's h1 centred in the app-page hero scale, the lede centred under it (layout only). */
body.login-page .card h1 { font-size: clamp(1.55rem, 5.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; text-align: center; }
body.login-page #lede { text-align: center; }

/* v3 drift pass (Nov 2026). The supported agents and OS sit under the install command (the home FAQ left, Nina). */
.install-block .install-note { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
.sheet .install-note { margin: 12px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
/* /privacy, /terms: no cards and no pill, as v3 (overrides the older legal rules in site-header.css). */
body .legal section { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body .legal .updated { display: block; margin-top: 0; padding: 0; border-radius: 0; background: none; }
/* /login: the header and footer span the page as on every other page; the form column is 30rem, centred. */
body.login-page { display: block; padding: 0; }
body.login-page section { padding-block: 0; }
body.login-page .card { margin-bottom: 16px; }
.login-page main { width: 100%; }
.login-page header.nav, .login-page footer.site-footer { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.login-page .card { width: min(30rem, calc(100% - 36px)); margin: 0 auto 40px; }
@media (max-width: 800px) { .login-page header.nav, .login-page footer.site-footer { width: calc(100% - 44px); } }

/* /earnings: the signed-in figures (views, clicks, the ledger total, pending and settled), one row each: the label
   on the left, the figure on the right, so 360px needs no second column. */
.earn-panel { width: min(520px, 100%); margin: 0 auto; text-align: left; }
.earn-figures { margin: 0; }
.earn-figures > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.earn-figures > div:first-child { border-top: 0; padding-top: 0; }
.earn-figures dt { color: var(--muted); }
.earn-figures dd { margin: 0; min-width: 4.5rem; min-height: 1.2em; font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.earn-panel[aria-busy="true"] .earn-figures dd:empty { border-radius: 6px; background: #e7e4dc; }
.earn-panel .note:empty { display: none; }
/* 18px is the gap already used under a lede and above a call to action. */
[data-minimum] { margin-top: 18px; }
