/* PaperTally public site — design: static/design/PaperTally Landing.dc.html
   Mobile first; everything scales up from a 375px phone. Fonts are self-hosted (SIL OFL);
   their @font-face rules live in templates/public/base.html so the URLs are content-hashed. */

:root {
  --navy: #0D1B2A; --navy-2: #162236; --emerald: #00B37A; --emerald-dk: #009966; --gold: #E8A838;
  --cream: #F7F4EF; --ink: #0D1B2A; --ink-mid: #3D5166; --ink-light: #56677B; --line: #C8D4DF; --line-2: #E3E8EE;
  --green-text: #00805A;     /* the emerald, one step darker, for small text on white/cream (AA contrast) */
  --btn-green: #00805A; --btn-green-hover: #006B4B;   /* white-text buttons; #00B37A is for accents, icons, badges */
  --shadow: 0 4px 24px rgba(13,27,42,.06); --shadow-lg: 0 30px 70px rgba(13,27,42,.18), 0 2px 6px rgba(13,27,42,.06);
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { background: var(--cream); font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--emerald); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }
ul { list-style: none; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; border-radius: 10px; padding: 13px 22px; transition: background .15s, box-shadow .15s; min-height: 44px; }
.btn-sm { font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.btn-lg { padding: 15px 26px; }
.btn-green { background: var(--btn-green); color: #fff; }
.btn-green:hover { background: var(--btn-green-hover); color: #fff; }
.btn-glow { box-shadow: 0 8px 24px rgba(0,179,122,.3); }
.btn-ghost-dark { color: #fff; font-weight: 500; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.btn-ghost-dark:hover { color: #fff; background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--navy); font-size: 14.5px; }
.btn-white:hover { color: var(--navy); background: #EAF7F1; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13,27,42,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.brand:hover { color: #fff; }
.mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: none; }
.nav-cta { display: flex; align-items: center; gap: 4px; }
.nav-signin { font-size: 14px; font-weight: 500; color: #fff; padding: 12px 10px; }

/* ── Hero ── */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 15% 110%, rgba(0,179,122,.18) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 95% -10%, rgba(232,168,56,.12) 0%, transparent 60%); }
.hero-in { position: relative; padding-top: 52px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--emerald); background: rgba(0,179,122,.12); border: 1px solid rgba(0,179,122,.25); padding: 6px 12px; border-radius: 20px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 22px; text-wrap: balance; }
.hero h1 em { color: var(--emerald); font-style: italic; }
.lead { font-size: 17px; color: rgba(255,255,255,.72); font-weight: 300; line-height: 1.7; max-width: 520px; margin-bottom: 32px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-note { font-size: 13px; color: rgba(255,255,255,.62); }

/* Hero chat mock (design copy) */
.chat { flex: 1 1 320px; max-width: 440px; margin: 0 auto; background: #EFE7DD; border-radius: 28px; padding: 0 0 18px; box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.06); overflow: hidden; color: var(--ink); }
.chat-head { background: var(--navy-2); padding: 18px 18px 14px; display: flex; align-items: center; gap: 12px; }
.chat-av { width: 38px; height: 38px; border-radius: 50%; background: var(--emerald); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 16px; color: #fff; }
.chat-name { font-weight: 600; font-size: 15px; color: #fff; }
.chat-sub { font-size: 11.5px; color: rgba(255,255,255,.62); }
.chat-body { padding: 18px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.bub { border-radius: 12px; padding: 10px 13px; font-size: 13.5px; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bub small { display: block; font-size: 10px; color: #6B7C90; text-align: right; margin-top: 3px; }
.bub.me { align-self: flex-end; background: #D9F5E6; padding: 8px 12px; }
.bub.me.photo { padding: 8px; }
.bub.photo img { width: 190px; height: 120px; object-fit: cover; object-position: top; border-radius: 8px; }
.bub.them { align-self: flex-start; max-width: 88%; background: #fff; }
.bub.wide { width: 88%; }
.gst { color: var(--emerald-dk); font-weight: 600; }
.sum-title { font-weight: 700; margin-bottom: 6px; }
.sum { font-family: 'Courier New', monospace; font-size: 11.5px; line-height: 1.6; background: #F4F1EC; border-radius: 6px; padding: 8px 10px; }
.sum div { display: flex; justify-content: space-between; gap: 8px; }
.sum .tot { font-weight: 700; border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 4px; }
.sum .back { font-weight: 700; color: var(--emerald-dk); }

/* ── Showcase ── */
.showcase { background: linear-gradient(var(--navy) 0 38%, var(--cream) 38%); padding-bottom: 24px; }
.stage { position: relative; padding-right: clamp(0px, 9vw, 120px); }
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.chrome { height: 30px; background: #F2EFEA; border-bottom: 1px solid #E3DED6; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #E8766A; flex-shrink: 0; }
.chrome i:nth-child(2) { background: #E8B84A; } .chrome i:nth-child(3) { background: #5FC46A; }
.chrome .url { flex: 1; max-width: 340px; margin: 0 auto; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #E3DED6; font-size: 10.5px; color: #5E6E80; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; overflow: hidden; padding: 0 8px; }
.browser img { width: 100%; aspect-ratio: 1280 / 800; background: var(--cream); }
.phone { border-radius: 44px; background: var(--navy); padding: 7px; box-shadow: 0 30px 70px rgba(13,27,42,.3), 0 0 0 1px rgba(255,255,255,.06); }
.phone img { width: 100%; aspect-ratio: 402 / 874; border-radius: 37px; background: var(--cream); }
.stage-phone { position: absolute; right: 0; bottom: -40px; width: clamp(110px, 20vw, 250px); }
.platforms { display: flex; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 64px; font-size: 13.5px; color: var(--ink-mid); }

/* ── Sections ── */
.sec { padding-top: 72px; padding-bottom: 72px; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-text); margin-bottom: 10px; }
.eyebrow.gold { color: var(--gold); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.6px; line-height: 1.15; text-wrap: balance; }
.h3 { font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.2; margin-bottom: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-bottom: 28px; }
.way { padding: 28px; }
.way-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.ic-green { background: rgba(0,179,122,.12); } .ic-gold { background: rgba(232,168,56,.15); } .ic-navy { background: rgba(13,27,42,.07); }
.way h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.way p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }
.then { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 20px 24px; font-size: 14.5px; }
.then-label { font-weight: 600; }
.then span { display: inline-flex; align-items: baseline; gap: 8px; }
.then i { font-style: normal; }
.dot-g { color: var(--emerald); } .dot-y { color: var(--gold); }

/* ── Features ── */
.features { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head.wide { margin-bottom: 48px; }
.frow { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-bottom: 64px; }
.frow.rev { flex-wrap: wrap-reverse; }
.frow-copy { flex: 1 1 380px; min-width: 0; }
.frow-copy p { font-size: 16px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 20px; }
.frow-media { flex: 1 1 460px; min-width: 0; position: relative; }
.frow-media.with-phone { padding: 0 clamp(0px, 6vw, 80px) 40px 0; }
.frow-phone { position: absolute; right: 0; bottom: 0; width: clamp(100px, 15vw, 190px); }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.ticks li { display: flex; gap: 10px; }
.tick { color: var(--green-text); font-weight: 700; }
.invoice-stage { flex-basis: 420px; display: flex; justify-content: center; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 40px 24px 0; overflow: hidden; aspect-ratio: 16 / 12; }
.invoice-sheet { width: min(78%, 440px); align-self: flex-start; box-shadow: 0 24px 60px rgba(13,27,42,.18); border-radius: 4px 4px 0 0; overflow: hidden; background: #fff; }
.invoice-sheet img { width: 100%; aspect-ratio: 794 / 1123; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fcell { background: #fff; padding: 26px; }
.fcell-ic { font-size: 22px; margin-bottom: 12px; }
.fcell h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.fcell p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* ── For accountants ── */
.acct { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px 24px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.acct::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 100% 100%, rgba(0,179,122,.16) 0%, transparent 70%); }
.acct-copy { position: relative; flex: 1 1 420px; min-width: 0; }
.acct-h { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.5px; line-height: 1.18; margin-bottom: 18px; text-wrap: balance; }
.acct-copy p { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 24px; }
.acct-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.acct-grid { position: relative; flex: 1 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.acct-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; }
.acct-ic { font-size: 20px; margin-bottom: 10px; }
.acct-card h3 { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.acct-card p { font-size: 13px; color: rgba(255,255,255,.66); line-height: 1.55; }

/* ── Pricing ── */
.pricing { padding-top: 24px; padding-bottom: 72px; }
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pricing-intro { max-width: 560px; }
.pricing-intro p { font-size: 15px; color: var(--ink-mid); margin-top: 10px; }
.billing { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.billing button { padding: 10px 18px; min-height: 44px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-mid); }
.billing button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.billing .save { color: var(--green-text); font-weight: 700; }
.billing button[aria-pressed="true"] .save { color: var(--emerald); }
[data-billing="yearly"] .m, [data-billing="monthly"] .y { display: none !important; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.plan-small { margin-top: 16px; background: #fff; color: var(--ink); border: 1.5px dashed var(--line); border-radius: 16px;
  padding: 20px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.plan-small > div:first-child { flex: 1 1 320px; }
.plan-small p { margin: 6px 0 0; font-size: .92rem; }
.plan-small-price { display: flex; flex-direction: column; }
.plan-small .plan-cta { flex: 0 0 auto; }
.plan { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; position: relative; box-shadow: var(--shadow); }
.plan.popular { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 20px 48px rgba(13,27,42,.22); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.plan-name { font-size: 18px; font-weight: 700; }
.plan-who, .plan .per, .plan .billed, .plan .was s { font-size: 13.5px; color: var(--ink-light); }
.plan.popular .plan-who, .plan.popular .per, .plan.popular .billed, .plan.popular .was s { color: rgba(255,255,255,.66); }
.plan .billed { font-size: 12.5px; margin-top: 6px; }
.was { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.save-chip { font-size: 11px; font-weight: 700; letter-spacing: .3px; padding: 2px 8px; border-radius: 10px; background: rgba(0,179,122,.15); color: #006B4B; }
.plan.popular .save-chip { color: var(--emerald); }
.price { display: flex; align-items: baseline; gap: 6px; }
.amt { font-family: 'Playfair Display', Georgia, serif; font-size: 38px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.founding { margin-top: 6px; font-size: 13px; color: #7A5207; }
.plan.popular .founding { color: var(--gold); }
.founding-note { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px 8px; padding: 10px 16px; border-radius: 10px;
  background: rgba(0,179,122,.10); color: #006B4B; font-size: 14px; }
.plan-limits { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--green-text); }
.plan.popular .plan-limits { border-color: rgba(255,255,255,.12); color: var(--emerald); }
.plan-perks { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; flex: 1; }
.plan-perks li { display: flex; gap: 8px; }
.plan.popular .tick { color: var(--emerald); }
.plan-cta { display: flex; justify-content: center; font-size: 14.5px; font-weight: 600; padding: 13px; min-height: 48px; border-radius: 10px; background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.plan-cta:hover { border-color: var(--emerald); color: var(--navy); }
.plan.popular .plan-cta { background: var(--btn-green); color: #fff; border-color: var(--btn-green); }
.plan.popular .plan-cta:hover { background: var(--btn-green-hover); border-color: var(--btn-green-hover); }

/* ── Compare ── */
.compare { padding-bottom: 72px; }
.compare-h { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 24px; text-align: center; }
.compare-box { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 12px; border-top: 1px solid var(--line-2); }
.compare thead th { border-top: none; padding: 20px 12px; text-align: center; }
.compare thead th:first-child, .compare tbody th[scope="row"] { text-align: left; padding-left: 20px; width: 32%; }
.compare tbody th[scope="row"] { font-weight: 500; color: var(--ink); background: #fff; position: sticky; left: 0; }
.compare .pop { background: rgba(0,179,122,.06); }
.cmp-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.cmp-price { font-size: 12.5px; font-weight: 500; color: var(--ink-light); margin-top: 2px; }
.cmp-sec th { background: var(--cream); padding: 12px 20px; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-light); text-align: left; }
.compare td { text-align: center; font-weight: 600; color: var(--ink); }
.compare td.yes { color: var(--green-text); font-weight: 700; }
.compare td.no { color: #9AA8B8; }
.compare-note { font-size: 12.5px; color: var(--ink-light); text-align: center; margin-top: 14px; }

/* ── FAQ ── */
.faq-sec { background: #fff; border-top: 1px solid var(--line); }
.faq-in { max-width: 820px; margin: 0 auto; padding: 72px var(--gutter); }
.faq-h { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 28px; }
.faqs { border-top: 1px solid var(--line); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 16.5px; font-weight: 600; cursor: pointer; min-height: 48px; }
.faqs summary::-webkit-details-marker { display: none; }
.plus { font-size: 22px; color: var(--emerald-dk); flex-shrink: 0; transition: transform .2s; line-height: 1; }
.faqs details[open] .plus { transform: rotate(45deg); }
.faqs details p { font-size: 15px; color: var(--ink-mid); line-height: 1.7; padding: 0 40px 22px 0; text-wrap: pretty; }

/* ── Footer ── */
.foot { background: var(--navy); color: #fff; }
.foot-in { padding-top: 64px; padding-bottom: 36px; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.6px; line-height: 1.15; max-width: 560px; }
.foot-cta em { color: var(--emerald); }
.foot-bar { display: flex; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.62); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.mark-sm { width: 28px; height: 28px; flex-shrink: 0; }
.foot-slim .foot-in { padding-top: 28px !important; }       /* sub-pages: no call-to-action above the links */
.foot-slim .foot-bar { padding-top: 0 !important; }
.foot-links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.foot-links a { color: rgba(255,255,255,.72); padding: 12px 0; }
.foot-links a:hover { color: var(--emerald); }

/* ── Simple pages: contact, sign-up, legal ── */
.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { padding-top: 48px; padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.8px; line-height: 1.12; text-wrap: balance; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 16.5px; margin-top: 12px; max-width: 620px; }
.page-body { padding-top: 40px; padding-bottom: 72px; }
.form-card { max-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field .who { font-size: 15.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.field .who small { font-size: 13.5px; color: var(--ink-mid); }
.field label, .field .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-mid); }
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-light); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(0,179,122,.15); }
.field [aria-invalid="true"] { border-color: #D14343; }
.err { font-size: 13px; color: #B42318; }
.form-err { background: rgba(224,82,82,.08); border: 1.5px solid rgba(224,82,82,.3); color: #B42318; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-mid); }
.form-foot a { color: var(--emerald-dk); font-weight: 600; }
.thanks { max-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; box-shadow: var(--shadow); }
.thanks h2 { font-size: 26px; margin-bottom: 8px; }
.thanks p { color: var(--ink-mid); margin-bottom: 18px; }
.aside { font-size: 14px; color: var(--ink-mid); margin-top: 20px; max-width: 620px; }
.aside a { color: var(--emerald-dk); font-weight: 600; }
.draft { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,168,56,.18); color: #F2C27A; border: 1px solid rgba(232,168,56,.45); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; }
.draft-note { background: rgba(232,168,56,.12); border: 1.5px solid rgba(232,168,56,.45); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: var(--ink-mid); margin-bottom: 32px; }
.draft-note strong { color: #7A5207; }
.legal { max-width: 760px; }
.legal h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-mid); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--emerald-dk); font-weight: 600; }

/* ── Not built yet: "Coming soon" tags; pricing is early access ── */
.soon { display: inline-block; vertical-align: middle; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; line-height: 1.4;
  padding: 2px 8px; border-radius: 10px; background: rgba(232,168,56,.2); color: #7A5207; white-space: nowrap; font-style: normal; }
.soon.on-dark { background: rgba(232,168,56,.2); color: #F2C27A; }
.chat-soon { align-self: center; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #56677B; background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 10px; }
.ticks .soon-item { align-items: baseline; color: var(--ink-mid); }
.launch-note { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 10px 16px; border-radius: 10px;
  background: rgba(232,168,56,.14); border: 1.5px solid rgba(232,168,56,.45); color: #5C3E05; font-size: 14.5px; }
.launch-note strong { color: #7A5207; }
.compare tbody th[scope="row"] .soon { margin-left: 4px; }
.cta-short { display: none; }

/* ── Small phones: header fits on one line; compare table shows two plans at a time ── */
.nav-signin, .nav-cta .btn { white-space: nowrap; }
@media (max-width: 419px) {
  .nav-in { gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .mark { width: 30px; height: 30px; }
  .nav-signin { font-size: 13.5px; padding: 12px 6px; }
  .nav-cta .btn-sm { font-size: 13px; padding: 9px 12px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 599px) {
  .compare table { min-width: 620px; font-size: 13px; }   /* five plans: scrolls sideways */
  .compare thead th:first-child, .compare tbody th[scope="row"] { width: 140px; padding-left: 14px; }
  .compare th, .compare td { padding: 12px 8px; }
  .cmp-sec th { padding-left: 14px; }
}

/* ── Bigger screens ── */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .acct { padding: 48px 40px; }
  .form-card { padding: 32px; }
}
@media (min-width: 900px) {
  .nav-in { height: 68px; gap: 24px; }
  .brand { font-size: 20px; gap: 12px; }
  .mark { width: 36px; height: 36px; }
  .nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
  .nav-links a { color: rgba(255,255,255,.72); padding: 12px 0; }
  .nav-links a:hover { color: var(--emerald); }
  .nav-cta { gap: 10px; }
  .nav-signin { padding: 9px 14px; }
  .hero-in { padding-top: 88px; padding-bottom: 96px; gap: 56px; }
  .lead { font-size: 18px; margin-bottom: 36px; }
  .hero-cta { margin-bottom: 28px; }
  .chrome { height: 34px; gap: 7px; padding: 0 14px; }
  .chrome i { width: 11px; height: 11px; }
  .chrome .url { height: 22px; font-size: 11px; }
  .phone { padding: 9px; }
  .phone img { border-radius: 36px; }
  .sec { padding-top: 96px; padding-bottom: 96px; }
  .sec-head { margin-bottom: 48px; }
  .sec-head.wide { margin-bottom: 56px; }
  .way { padding: 30px; }
  .then { padding: 22px 28px; }
  .h3 { font-size: 28px; }
  .frow { gap: 48px; margin-bottom: 72px; }
  .fcell { padding: 28px; }
  .fgrid { grid-template-columns: repeat(3, 1fr); }    /* six features → two full rows */
  .acct { padding: 56px; gap: 48px; }
  .acct-grid { grid-template-columns: 1fr 1fr; }
  .acct-card { padding: 20px; }
  .plan { padding: 30px 26px; }
  .pricing { padding-bottom: 96px; }
  .compare { padding-bottom: 96px; }
  .compare table { min-width: 720px; }
  .compare thead th:first-child, .compare tbody th[scope="row"] { padding-left: 24px; }
  .cmp-sec th { padding-left: 24px; }
  .faq-in { padding-top: 88px; padding-bottom: 88px; }
  .faq-h { margin-bottom: 32px; }
  .foot-in { padding-top: 80px; padding-bottom: 40px; }
  .foot-cta { padding-bottom: 56px; }
  .foot-bar { padding-top: 32px; }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .page-body { padding-top: 56px; padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
