/* RevStudio site, shared by every page: tokens, the navy header, the chunky buttons, the footer, the legal pages, contributors,
   the account pages and the download pop-up. The home page adds home.css.
   The look (founder, 20 Nov): a navy header bar, big heavy type, strong flat colour blocks (navy, electric blue, orange, white,
   black) and chunky "sticker" objects: a thick black outline with a hard black offset. The logo's orange is the action. */
:root {
  --ground: #f3f4fa;
  --surface: #ffffff;
  --tint: #e6e8f5;
  --ink: #0a0b1e;
  --ink-2: #44486a;
  --black: #0a0a0a;
  --navy: #050a5c;
  --navy-2: #121a7c;
  --on-navy: #dfe1ff;
  --blue: #2436ff;
  --orange: #ff6b2c;
  --orange-hi: #ff8a55;
  --line: 3px solid var(--black);
  --hard: 4px 4px 0 var(--black);
  --hard-sm: 3px 3px 0 var(--black);
  --text: "Figtree", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --pad: max(var(--gut), calc((100% - var(--max)) / 2));
  --sec: clamp(64px, 7vw, 112px);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 clamp(.94rem, .9rem + .12vw, 1.03rem)/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--text); font-weight: 900; line-height: .98; margin: 0; letter-spacing: -.04em; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--black); }
main > section { padding-inline: var(--pad); }

/* HEADER: the navy bar on every page. Wordmark, three section links, Log in and Try it free (or My account). */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); padding: 10px var(--pad); background: var(--navy); color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; font: 900 1.12rem/1 var(--text); letter-spacing: -.03em; text-decoration: none; margin-right: auto; }
.mark { width: 30px; height: auto; transition: transform .4s var(--spring); }
.logo:hover .mark { transform: translateX(4px) rotate(-4deg); }
.nav-links { display: flex; gap: clamp(16px, 2vw, 28px); font-weight: 700; font-size: .94rem; }
.nav-links a, .nav-acct > a:not(.nav-cta) { text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after, .nav-acct > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-acct > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-acct { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: .94rem; margin-left: clamp(0px, 2vw, 24px); }
.nav-cta { background: var(--orange); color: var(--black); font-weight: 800; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--black); transition: background .18s, transform .2s var(--spring); white-space: nowrap; }
.nav-cta:hover { background: var(--orange-hi); transform: translateY(-2px); }
.nav-cta:active { transform: translateY(1px) scale(.97); }
#nav-account { background: var(--surface); }
#nav-account:hover { background: var(--tint); }

/* BUTTONS: the chunky orange block, outlined, with a hard black offset that presses in. */
.big-btn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--orange); color: var(--black); text-decoration: none; padding: 11px 22px 12px; border-radius: var(--r); border: var(--line); box-shadow: var(--hard); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.big-btn span { font: 900 clamp(1.2rem, 1rem + .45vw, 1.45rem)/1 var(--text); letter-spacing: -.03em; }
.big-btn em { font-style: normal; font-weight: 700; font-size: .85rem; }
.big-btn:hover { background: var(--orange-hi); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.big-btn:active { transform: translate(5px, 5px); box-shadow: 1px 1px 0 var(--black); }

/* FOOTER: black, the links on top, the name cropped by the bottom edge. */
.foot { background: var(--black); color: #c9cbe0; padding: clamp(44px, 5vw, 72px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; overflow: hidden; }
.foot-row { order: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-weight: 700; color: #fff; }
.foot-row nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; min-width: 0; flex: 1 1 420px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--orange); }
.foot-copy { order: 2; font-size: .9rem; }
.foot-word { order: 3; font: 900 clamp(3.4rem, 1rem + 13vw, 14rem)/.8 var(--text); letter-spacing: -.07em; color: #fff; white-space: nowrap; margin: clamp(24px, 4vw, 56px) 0 -.12em -.04em; transform: translateY(8%); }
.foot-word span { color: var(--orange); }

/* REVEAL: a bonus only; site.js shows everything after a moment whatever happens. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* LEGAL PAGES */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gut) clamp(64px, 7vw, 96px); }
.doc h1 { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3.2rem); margin-bottom: 10px; }
.doc .updated { color: var(--ink-2); margin-bottom: 40px; }
.doc h2 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.45rem); margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--blue); font-weight: 700; }

/* CONTRIBUTORS */
.contrib-hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 5vw, 80px); align-items: end; }
.contrib-hero h1 { font-size: clamp(2.3rem, 1rem + 3.4vw, 4.4rem); line-height: .94; letter-spacing: -.05em; max-width: 11ch; }
.contrib-hero .hero-copy { align-self: end; display: grid; gap: 22px; justify-items: start; }
.contrib-hero .lede { font-size: clamp(1rem, .95rem + .2vw, 1.15rem); }
.helps { padding-block: 0 var(--sec); }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.help-list li { grid-column: span 2; background: var(--surface); border: var(--line); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 10px; align-content: start; transition: transform .25s var(--ease); }
.help-list li:hover { transform: translateY(-3px); }
.help-list li:nth-child(4), .help-list li:nth-child(5) { grid-column: span 3; }
.help-list h3 { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); }
.help-list p { color: var(--ink-2); }
.help-list li.lead { background: var(--navy); color: var(--surface); }
.help-list li.lead p { color: var(--on-navy); }
.reach { background: var(--navy); color: var(--surface); padding-block: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; }
.reach h2 { font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); max-width: 12ch; }
.reach-ways { display: grid; gap: 28px; }
.reach-ways p { color: var(--on-navy); max-width: 46ch; }
.reach-ways strong { color: var(--surface); }
.reach-ways a:not(.big-btn) { color: var(--surface); font-weight: 800; }
.reach-ways .big-btn { justify-self: start; }
.reviewed { padding-block: var(--sec); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 5vw, 80px); align-items: center; }
.reviewed h2 { font-size: clamp(1.8rem, 1rem + 1.8vw, 2.7rem); max-width: 14ch; }
.reviewed p { font-size: clamp(1rem, .95rem + .2vw, 1.15rem); max-width: 46ch; }
.reviewed p + p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

/* FORMS AND ACCOUNT PAGES: one chunky white card at a time on the page ground. */
.join-wrap { background: var(--navy); padding-block: var(--sec); display: grid; justify-items: center; gap: 22px; }
.acct .join-wrap { background: var(--blue); min-height: 72vh; align-content: start; padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(56px, 6vw, 96px); }
.join { width: min(560px, 100%); background: var(--surface); color: var(--ink); border-radius: 20px; padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; }
.acct .join { border: var(--line); box-shadow: 6px 6px 0 var(--black); }
.join h2, .acct-h { font-size: clamp(1.55rem, 1.3rem + .7vw, 2rem); }
.join a { color: var(--blue); font-weight: 800; }
.join strong { overflow-wrap: anywhere; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields.one { grid-template-columns: minmax(0, 1fr); }
.fields label { display: grid; gap: 6px; font-weight: 700; }
.fields input, .fields textarea { width: 100%; min-width: 0; font: 500 1rem/1.4 var(--text); padding: 10px 13px; border: 2px solid var(--black); border-radius: 10px; background: var(--surface); color: var(--ink); transition: border-color .18s, box-shadow .18s; }
.fields input:hover, .fields textarea:hover { background: #fbfbff; }
.fields input:focus, .fields textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(36, 54, 255, .2); }
.check { display: block; position: relative; padding-left: 30px; font-size: 1rem; }
.check input { position: absolute; left: 0; top: .2em; margin: 0; width: 18px; height: 18px; accent-color: var(--blue); }
.join button { font: 800 1rem/1 var(--text); padding: 13px; border: var(--line); border-radius: 999px; background: var(--orange); color: var(--black); cursor: pointer; box-shadow: var(--hard-sm); transition: background .18s, transform .18s var(--ease), box-shadow .18s var(--ease); }
.join button:hover { background: var(--orange-hi); }
.join button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.join button:disabled { opacity: .6; cursor: progress; }
.pw { position: relative; display: block; }
.pw input { padding-right: 72px; }
.pw .peek { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 8px 12px; font: 700 .875rem/1 var(--text); background: transparent; color: var(--blue); border: 0; border-radius: 8px; box-shadow: none; }
.pw .peek:hover { background: var(--tint); }
.pw .peek:active { transform: translateY(-50%); box-shadow: none; }
.join .acct-out { background: transparent; color: var(--blue); padding: 0; border: 0; border-radius: 0; box-shadow: none; font: 800 1rem/1.4 var(--text); text-decoration: underline; }
.join .acct-out:hover { background: transparent; }
.join .acct-out:active { transform: none; box-shadow: none; }
.join .google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px; border-radius: 999px; border: 2px solid var(--black); background: var(--surface); color: #1f1f1f; font-weight: 800; text-decoration: none; transition: background .18s, transform .18s var(--ease); }
.join .google:hover { background: var(--ground); transform: translateY(-1px); }
.join .google[aria-disabled="true"], .join .google[aria-disabled="true"]:hover { opacity: .5; cursor: not-allowed; transform: none; background: var(--surface); }
#signup-form button[type="submit"]:disabled { cursor: not-allowed; }
.or { text-align: center; color: var(--ink-2); font-weight: 600; }
.join .acct-sub { font-size: 1.15rem; margin: 8px 0 0; padding-top: 20px; }
.acct-note { font-size: .95rem; color: var(--ink-2); }
.plan-then { text-align: center; font-weight: 700; margin: 18px 0 0; }
.join-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(1100px, 100%); align-items: start; }
.join-pair .join { width: 100%; }
.join-msg { width: min(1100px, 100%); text-align: center; font-weight: 800; min-height: 1.6em; color: #fff; }
@media (max-width: 860px) { .join-pair { grid-template-columns: minmax(0, 1fr); } }
.acct-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap: people never see it */
.msg { min-height: 1.4em; font-weight: 700; }
.form-msg { margin: 0; font-weight: 800; color: #b3261e; } /* the message inside the card, above its button (FLOW 30) */
.form-msg:empty { display: none; }
.err-code { font-size: .8em; font-weight: 600; opacity: .75; white-space: nowrap; }
.join fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.join legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
/* /account: one card at a time (18 Nov). */
.join[hidden] { display: none; }
.join-swap { margin: 0; font-weight: 600; }
.join-swap a { font-weight: 900; text-underline-offset: 4px; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.join-pair:has(.join[hidden]) { grid-template-columns: minmax(0, 520px); justify-content: center; }
.join:has(> .msg:empty:first-child) { display: none; } /* a message card shows only when it has something to say */
.join .danger { background: #e5372b; color: #fff; }
.join .danger:hover { background: #c92b20; }
.acct-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.pw-hint { margin: -4px 0 0; font-size: .92rem; font-weight: 700; color: var(--ink-2); min-height: 1.3em; }
.pw-hint[data-level="short"] { color: #b4261c; }
.pw-hint[data-level="weak"] { color: #9a5b00; }
.pw-hint[data-level="ok"], .pw-hint[data-level="strong"] { color: #157a3b; }

/* MY ACCOUNT (founder review, 20 Nov): a clean page of cards on the blue field. Plan first, then sign-in and security, emails,
   the app and your data. Each change opens under its own row. */
.acct-page { background: var(--blue); min-height: 72vh; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 6vw, 96px); }
.acct-top { max-width: 860px; margin: 0 auto clamp(24px, 3vw, 36px); color: #fff; display: grid; gap: 6px; }
.acct-title { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); }
.acct-who { font-weight: 700; color: var(--on-navy); overflow-wrap: anywhere; min-height: 1.5em; }
.acct-grid { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acct-card { background: var(--surface); color: var(--ink); border: var(--line); border-radius: 18px; box-shadow: 5px 5px 0 var(--black); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 12px; min-width: 0; }
.acct-card h2 { font-size: 1.2rem; letter-spacing: -.03em; }
.acct-card h3 { font-size: 1rem; letter-spacing: 0; font-weight: 800; margin-bottom: 2px; }
.acct-card p { overflow-wrap: anywhere; }
.acct-card a:not(.acct-btn):not(.acct-danger) { color: var(--blue); font-weight: 800; }
.acct-plan, .acct-card:has(#sec-h), .acct-data { grid-column: 1 / -1; }
.plan-now { font: 900 clamp(1.2rem, 1.05rem + .45vw, 1.45rem)/1.2 var(--text); letter-spacing: -.03em; }
.acct-line { font-weight: 700; color: var(--ink-2); }
.usage { display: grid; gap: 8px; font-weight: 700; }
.usage-bar { display: block; height: 12px; border-radius: 99px; background: var(--tint); overflow: hidden; border: 2px solid var(--black); }
.usage-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .6s var(--ease); }
.acct-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.acct-btn, .acct-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--black); font: 800 .94rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background .18s, transform .18s var(--ease); }
.acct-btn { background: var(--orange); color: var(--black); box-shadow: 3px 3px 0 var(--black); }
.acct-btn:hover { background: var(--orange-hi); }
.acct-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }
.acct-ghost { background: var(--surface); color: var(--ink); }
.acct-ghost:hover { background: var(--ground); }
.acct-link { background: none; border: 0; padding: 0; font: 800 1rem/1.4 var(--text); color: var(--blue); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.acct-danger { margin-left: auto; color: #c92b20; font-weight: 800; text-underline-offset: 4px; }
.acct-btn:disabled, .acct-ghost:disabled { opacity: .6; cursor: progress; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 2px solid var(--tint); }
.acct-row > div { min-width: 0; }
.acct-row p { color: var(--ink-2); font-weight: 600; }
.acct-form { display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: var(--ground); }
.toggle { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-weight: 600; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { flex: none; position: relative; width: 52px; height: 30px; border-radius: 99px; background: var(--tint); border: 2px solid var(--black); transition: background .2s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--black); transition: transform .25s var(--spring); }
.toggle input:checked + .toggle-ui { background: var(--orange); }
.toggle input:checked + .toggle-ui::after { transform: translateX(22px); }
.toggle input:focus-visible + .toggle-ui { outline: 3px solid var(--orange); outline-offset: 3px; }
.toggle strong { display: block; font-weight: 900; }
.acct-msg { max-width: 860px; margin: 20px auto 0; color: #fff; font-weight: 800; min-height: 1.5em; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } .acct-danger { margin-left: 0; } }

/* 404 */
.lost { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding-block: var(--sec); background: var(--blue); color: #fff; }
.lost h1 { font-size: clamp(2.4rem, 1rem + 3.6vw, 4.4rem); line-height: .94; letter-spacing: -.05em; }
.lost p { color: var(--on-navy); font-size: 1.15rem; }

/* The download pop-up (download.js). */
.dl-dialog { border: var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); width: min(540px, calc(100% - 32px)); background: var(--surface); color: var(--ink); box-shadow: 10px 10px 0 var(--black); }
.dl-dialog[open] { animation: pop .35s var(--spring); }
.dl-dialog::backdrop { background: rgba(5, 10, 92, .6); }
.dl-dialog h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); margin-bottom: 12px; }
.dl-dialog p { color: var(--ink); margin-bottom: 12px; }
.dl-dialog p:first-of-type { background: var(--ground); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.dl-dialog .dl-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dl-dialog .dl-acts a, .dl-dialog .dl-acts button { font: 800 1rem/1 var(--text); padding: 14px 22px; border-radius: 999px; border: 2px solid var(--black); cursor: pointer; text-decoration: none; transition: transform .18s var(--ease), background .18s; }
.dl-dialog .dl-main { background: var(--orange); color: var(--black); box-shadow: var(--hard-sm); }
.dl-dialog .dl-main:hover { background: var(--orange-hi); }
.dl-dialog .dl-ghost { background: var(--surface); color: var(--ink); }
.dl-dialog .dl-ghost:hover { background: var(--tint); }
/* Download for Mac: coming soon (FLOW 64). It sits beside Try it free and opens "Register now and get it first" (download.js). */
.dl-pair { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.mac-btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 11px 20px 12px; background: var(--surface); color: var(--black); border: var(--line); border-radius: var(--r); box-shadow: var(--hard); cursor: pointer; text-align: left; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mac-btn span { font: 900 clamp(1.05rem, .95rem + .3vw, 1.2rem)/1 var(--text); letter-spacing: -.02em; }
.mac-btn em { font-style: normal; font-weight: 800; font-size: .78rem; line-height: 1; background: var(--black); color: #fff; padding: 4px 9px; border-radius: 999px; }
.mac-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.mac-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.mac-form label { display: grid; gap: 6px; font-weight: 800; }
.mac-form input[type="email"] { width: 100%; padding: 12px 14px; border: 2px solid var(--black); border-radius: 12px; font: 600 1rem/1.2 var(--text); background: var(--surface); color: var(--ink); }
.mac-form input[type="email"]:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.dl-dialog p.mac-note { background: none; padding: 0; margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.dl-dialog .mac-note a { color: var(--ink); font-weight: 700; }
.dl-dialog p.mac-msg { background: none; padding: 0; margin: 10px 0 0; font-weight: 700; }
.dl-dialog .mac-msg:empty { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(12px); } }

/* TABLET */
@media (max-width: 980px) {
  .nav { gap: 16px; }
  .nav-links { gap: 18px; font-size: .98rem; }
  .nav-acct { margin-left: 0; gap: 14px; }
  .reach, .reviewed, .contrib-hero { grid-template-columns: minmax(0, 1fr); }
  .help-list li, .help-list li:nth-child(n) { grid-column: span 3; }
}

/* PHONE */
/* Phone header (founder, 20 Nov): one row. The section links live in the page and the footer; signed in, My account replaces Try it free. */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-acct:has(#nav-account:not([hidden])) .nav-cta[href="/download"] { display: none; }
}
@media (max-width: 600px) {
  .nav { padding-block: 10px; gap: 10px; }
  .logo { font-size: 1.15rem; }
  .mark { width: 30px; }
  .nav-acct { gap: 14px; }
  .nav-cta { padding: 9px 16px; }
  .big-btn, .mac-btn, .dl-pair { width: 100%; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .fields > span:empty { display: none; }
  .help-list { grid-template-columns: minmax(0, 1fr); }
  .help-list li, .help-list li:nth-child(n) { grid-column: auto; }
}

/* REDUCED MOTION: everything is shown, nothing travels. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 6-digit codes (25 Nov): one big, spaced field; "Send a new code" counts down 30 seconds. */
.code-input { font: 900 1.5rem/1 var(--text) !important; letter-spacing: .4em; text-align: center; padding: 10px 8px !important; }
.resend-wait { color: var(--ink-2); font-weight: 700; }
.join .acct-link:disabled { color: var(--ink-2); text-decoration: none; cursor: default; }
.acct-quick { margin-top: 10px; }
.acct-ghost.on-blue { background: transparent; color: #fff; border-color: #fff; }
.acct-ghost.on-blue:hover { background: rgba(255, 255, 255, .12); }
.join .acct-link { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; font: 800 1rem/1.4 var(--text); color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.join .acct-link:hover { background: none; }

/* See plans (/account/buy): the home page's pricing cards on their own navy page (0.1.1 phase 1). */
.acct .buy-plans { padding-block: clamp(32px, 4vw, 64px) clamp(48px, 5vw, 88px); }
.buy-plans .price-head h1 { font-size: clamp(2.1rem, 1rem + 2.6vw, 3.8rem); line-height: .92; letter-spacing: -.05em; }
.buy-plans .price-head p, .buy-plans .buy-have { max-width: 60ch; }
.buy-plans .buy-have { background: var(--surface); color: var(--ink); border: var(--line); border-radius: 16px; padding: 14px 18px; font-weight: 700; margin-bottom: 28px; }
.buy-plans .buy-have a { color: var(--ink); }
.buy-plans .msg { color: #fff; font-weight: 700; margin-top: 24px; }
.buy-plans .msg:empty { display: none; }
.plan .plan-btn-mine, .plan .plan-btn-mine:hover { background: var(--black); color: #fff; box-shadow: none; cursor: default; }
