/* ============================================================
   Shared by index.html and 404.html. No build step: this file
   is uploaded to Cloudflare Pages as-is.
   ============================================================ */
/* ============================================================
   ONPOINT AUTOMATION — "On Point Sections" design system
   Warm off-white paper with a faint 56px grid, navy slabs for
   the moments that need weight, Archivo for headings.
   Green = handled. Amber = needs you. That's the language an
   accountant already reads.
   ============================================================ */
:root{
  --ink:      #14243B;   /* navy — text, and the slab background */
  --ink-2:    #1E2E3F;
  --mute:     #48586A;   /* referenced by 2 inline spots in the JS — keep exact */
  --paper:    #F1EFE9;   /* warm off-white page */
  --white:    #FFFFFF;
  --line:     #C6D1DA;
  --line-2:   #E3EAF0;

  --azure:    #1856C4;
  --azure-d:  #12459C;
  --azure-w:  #E9F0FB;

  --cleared:  #14663C;   /* handled */
  --cleared-w:#E4F2EA;
  --flag:     #9C4712;   /* needs you */
  --flag-w:   #FCF1E8;

  /* the 56px grid, on paper and on navy */
  --grid:      rgba(20,36,59,.06);
  --grid-slab: rgba(255,255,255,.05);
  --grid-size: 56px;

  /* on-navy text ramp */
  --on-slab:     #F7F9FB;
  --on-slab-2:   #C4D2DF;
  --on-slab-3:   #8FA3B6;
  --slab-line:   #2B4260;
  --slab-raised: #1B2E48;

  --r:14px;
  --r-lg:22px;
  --shadow-s: 0 1px 2px rgba(14,27,42,.06), 0 2px 8px rgba(14,27,42,.05);
  --shadow-m: 0 2px 6px rgba(14,27,42,.06), 0 12px 32px rgba(14,27,42,.09);
  --shadow-l: 0 8px 24px rgba(14,27,42,.10), 0 32px 64px rgba(14,27,42,.14);
  --maxw: 1140px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{font-family:'Archivo','Inter',system-ui,sans-serif; letter-spacing:-.025em; line-height:1.06; margin:0}
p{margin:0 0 1em}
a{color:inherit}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--mute); margin-bottom:14px;
}

/* ============================================================
   PAGE GROUND — the warm paper and its grid, fixed behind
   everything. Nothing flies over it; the plane lives in the logo.
   ============================================================ */
.sky{
  position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none;
  background-color:var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:var(--grid-size) var(--grid-size);
}

/* ---- navy slabs: the calculator band, the local block, pricing ---- */
.calc-band,.local,.pricing{
  background-color:var(--ink); color:var(--on-slab);
  background-image:
    linear-gradient(var(--grid-slab) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-slab) 1px, transparent 1px);
  background-size:var(--grid-size) var(--grid-size);
}

/* clean section backgrounds — solid, crisp, no frost hacks */
.familiar{background:transparent; border-top:1px solid rgba(20,36,59,.08); border-bottom:1px solid rgba(20,36,59,.08)}
.final{background:var(--white); border-top:1px solid rgba(20,36,59,.08)}
footer{background:transparent; border-top:1px solid rgba(20,36,59,.08)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px; justify-content:center;
  font-family:'Inter',sans-serif; font-size:16px; font-weight:600;
  padding:14px 24px; border-radius:11px; border:1px solid transparent;
  cursor:pointer; text-decoration:none; transition:.18s ease;
}
.btn-primary{background:var(--azure); color:#fff; box-shadow:0 2px 10px rgba(24,86,196,.30)}
.btn-primary:hover{background:var(--azure-d); transform:translateY(-1px); box-shadow:0 6px 20px rgba(24,86,196,.36)}
.btn-ghost{background:var(--white); color:var(--ink); border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink); transform:translateY(-1px)}
.btn-quiet{background:transparent; color:var(--mute); border-color:transparent; padding:10px 14px}
.btn-quiet:hover{color:var(--ink)}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:3px solid var(--azure); outline-offset:2px;
}

/* ---------- calculator teaser ---------- */
.calc-band{
  border-radius:22px; padding:44px;
  display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center;
}
@media(max-width:860px){.calc-band{grid-template-columns:1fr; padding:30px 24px; gap:26px}}
.calc-band h2{font-size:clamp(26px,3.2vw,36px); font-weight:800; margin-bottom:14px; color:#fff}
.calc-band p{color:#A9BACA; font-size:17px; line-height:1.6; margin-bottom:24px}
.calc-band .btn-primary{background:#fff; color:var(--ink); box-shadow:none}
.calc-band .btn-primary:hover{background:var(--azure-w); color:var(--ink)}
.calc-band .fine{display:block; margin-top:14px; font-size:14px; color:var(--on-slab-3)}
.meter{background:var(--slab-raised); border:1px solid var(--slab-line); border-radius:16px; padding:22px}
.meter .row{
  display:flex; justify-content:space-between; align-items:baseline; padding:10px 0;
  border-bottom:1px solid var(--slab-line); font-size:14.5px; color:var(--on-slab-2);
}
.meter .row:last-of-type{border-bottom:0}
.meter .row b{font-size:19px; font-weight:700; color:#fff; font-variant-numeric:tabular-nums}
.meter .row.hi b{color:#7FE0AB}
.meter .cap{font-size:12px; color:var(--on-slab-3); margin:13px 0 0; line-height:1.5}

/* ---------- any-tool ---------- */
.any{display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:start}
@media(max-width:860px){.any{grid-template-columns:1fr; gap:26px}}
.ticks{list-style:none; padding:0; margin:0}
.ticks li{position:relative; padding:11px 0 11px 30px; font-size:16px; border-bottom:1px solid rgba(20,36,59,.10)}
.ticks li:last-child{border-bottom:0}
.ticks li::before{
  content:''; position:absolute; left:2px; top:19px; width:10px; height:6px;
  border-left:2.5px solid var(--cleared); border-bottom:2.5px solid var(--cleared); transform:rotate(-45deg);
}
.callout{
  background:var(--cleared-w); border:1px solid #A9D2BC; border-left:3px solid var(--cleared);
  border-radius:12px; padding:19px 21px; margin-bottom:16px;
}
.callout.blue{background:#fff; border-color:var(--line); border-left-color:var(--azure)}
.callout b{display:block; font-size:17px; font-weight:700; margin-bottom:6px; color:var(--ink)}
.callout p{margin:0; font-size:15.5px; color:var(--ink-2); line-height:1.55}

/* ---------- local ---------- */
.local{border-top:1px solid rgba(20,36,59,.08); border-bottom:1px solid rgba(20,36,59,.08)}
.local-in{display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:center}
@media(max-width:860px){.local-in{grid-template-columns:1fr; gap:24px}}
/* the slab is navy, so this block's type runs light — not the page ramp */
.local .eyebrow{color:#9FB4D6}
.local h2{color:#fff}
.local .lede-dark{font-size:18px; color:var(--on-slab-2); margin:0}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px}
.pill{
  background:rgba(255,255,255,.07); border:1px solid var(--slab-line); border-radius:999px;
  padding:9px 16px; font-size:14.5px; font-weight:500; color:var(--on-slab);
}

/* ---------- nav ---------- */
nav{
  position:sticky; top:0; z-index:60;
  background:rgba(241,239,233,.86); backdrop-filter:blur(12px);
  border-bottom:1px solid transparent; transition:.25s;
}
nav.stuck{border-bottom-color:rgba(20,36,59,.10); background:rgba(241,239,233,.95)}
.nav-in{display:flex; align-items:center; justify-content:space-between; height:70px}
.logo{display:flex; align-items:center; gap:10px; font-family:'Archivo','Inter',sans-serif; font-weight:800; font-size:19px; text-decoration:none; letter-spacing:-.02em}
.logo svg{width:26px; height:26px}
.nav-links{display:flex; align-items:center; gap:4px}
.nav-links a{font-size:15px; color:var(--mute); text-decoration:none; padding:8px 12px; border-radius:8px; font-weight:500}
.nav-links a:hover{color:var(--ink); background:rgba(20,36,59,.06)}
@media(max-width:820px){ .nav-links a:not(.btn){display:none} }

/* ============================================================
   HERO — the desk that clears itself
   ============================================================ */
.hero{padding:76px 0 90px; position:relative; overflow:hidden}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
@media(max-width:960px){ .hero-grid{grid-template-columns:1fr; gap:44px} }

h1{font-size:clamp(38px,5.1vw,60px); font-weight:800; margin-bottom:22px}
h1 .hl{position:relative; white-space:nowrap}
h1 .hl::after{
  content:''; position:absolute; left:-2px; right:-2px; bottom:6px; height:12px;
  background:var(--cleared); opacity:.22; border-radius:3px; z-index:-1;
}
.lede{font-size:19px; color:var(--ink-2); max-width:34em; margin-bottom:30px}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.hero-fine{font-size:14px; color:var(--mute); margin-top:16px}
.hero-fine strong{color:var(--ink); font-weight:600}

/* ---- the desk ---- */
.desk{
  position:relative; background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--shadow-l);
  padding:0; overflow:hidden; min-height:430px;
  display:flex; flex-direction:column;
}
.desk-bar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; border-bottom:1px solid var(--line-2); background:var(--white);
}
.desk-title{display:flex; align-items:center; gap:9px; font-size:13px; font-weight:600; color:var(--ink)}
.pulse{width:8px; height:8px; border-radius:50%; background:var(--cleared); box-shadow:0 0 0 0 rgba(20,102,60,.5); animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(20,102,60,.45)}70%{box-shadow:0 0 0 7px rgba(20,102,60,0)}100%{box-shadow:0 0 0 0 rgba(20,102,60,0)}}
.desk-count{font-size:12px; color:var(--mute)}
.desk-count b{color:var(--cleared); font-weight:600}

.pile{position:relative; flex:1; padding:16px; display:flex; flex-direction:column; gap:10px; justify-content:flex-start}

.item{
  position:relative; background:var(--white); border:1px solid var(--line);
  border-radius:12px; padding:12px 14px; box-shadow:var(--shadow-s);
  display:flex; gap:12px; align-items:flex-start;
  transform-origin:left center;
  transition:transform .55s cubic-bezier(.22,1,.36,1), opacity .5s ease, border-color .3s, background .3s, max-height .5s ease, margin .5s ease, padding .5s ease;
  max-height:120px;
}
.item .ico{
  flex:none; width:30px; height:30px; border-radius:8px; display:grid; place-items:center;
  background:var(--line-2); color:var(--mute); font-size:12px; font-weight:600;
}
.item .body{flex:1; min-width:0}
.item .from{font-size:12px; color:var(--mute); margin-bottom:2px}
.item .subj{font-size:14px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.item .tag{
  display:inline-flex; align-items:center; gap:6px; margin-top:8px;
  font-family:'JetBrains Mono',monospace; font-size:11.5px; font-weight:500;
  padding:4px 8px; border-radius:6px; background:var(--cleared-w); color:var(--cleared);
  opacity:0; transform:translateY(-3px); transition:.3s ease;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
.item.flagged .tag{background:var(--flag-w); color:var(--flag)}

/* states */
.item.working{border-color:var(--azure); box-shadow:0 0 0 3px var(--azure-w)}
.item.done .tag{opacity:1; transform:translateY(0)}
.item.done{border-color:var(--cleared); background:#FCFEFD}
.item.flagged.done{border-color:var(--flag); background:#FFFDFA}
.item.gone{transform:translateX(115%) rotate(2.5deg); opacity:0; max-height:0; margin-top:-10px; padding-top:0; padding-bottom:0; border-width:0}

.desk-foot{
  border-top:1px solid var(--line-2); padding:12px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#FAFBFC;
}
.desk-foot .mono{font-size:11px; color:var(--mute)}
.reclaim{font-size:13px; font-weight:600; color:var(--ink)}
.reclaim b{color:var(--cleared); font-variant-numeric:tabular-nums}

.empty-note{
  position:absolute; inset:16px; display:grid; place-items:center; text-align:center;
  opacity:0; transition:opacity .5s ease .2s; pointer-events:none;
}
.empty-note.show{opacity:1}
.empty-note div{font-family:'Archivo','Inter',sans-serif; font-weight:700; font-size:20px; color:var(--cleared)}
.empty-note span{display:block; font-family:'Inter'; font-weight:400; font-size:14px; color:var(--mute); margin-top:6px}

@media(prefers-reduced-motion:reduce){
  .item{transition:none}
  .pulse{animation:none}
}

/* ============================================================
   SECTIONS
   ============================================================ */
section{padding:88px 0}
.sec-head{max-width:640px; margin-bottom:44px}
.sec-head h2{font-size:clamp(28px,3.6vw,40px); font-weight:800; margin-bottom:14px}
.sec-head p{font-size:18px; color:var(--mute); margin:0}

/* sound familiar */
.quotes{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
@media(max-width:900px){.quotes{grid-template-columns:1fr}}
.quote{
  background:var(--white); border:1px solid var(--line); border-left:3px solid var(--flag);
  border-radius:10px; padding:18px 20px; font-size:16px; color:var(--ink-2);
}
.familiar-cta{margin-top:36px; display:flex; align-items:center; gap:16px; flex-wrap:wrap}
.familiar-cta p{margin:0; color:var(--mute); font-size:15px}

/* what we take */
.cats{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
@media(max-width:1000px){.cats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cats{grid-template-columns:1fr}}
.cat{background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:20px; box-shadow:var(--shadow-s); transition:.2s}
.cat:hover{transform:translateY(-2px); box-shadow:var(--shadow-m); border-color:var(--azure)}
.cat h3{font-size:17px; font-weight:700; margin-bottom:8px}
.cat p{font-size:14px; color:var(--mute); margin:0}

/* how it works — a real sequence, so it gets numbers */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:0; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:var(--white)}
@media(max-width:900px){.steps{grid-template-columns:1fr}}
.step{padding:26px 24px; border-right:1px solid var(--line-2)}
.step:last-child{border-right:0}
@media(max-width:900px){.step{border-right:0; border-bottom:1px solid var(--line-2)} .step:last-child{border-bottom:0}}
.step .n{font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--azure); font-weight:500; margin-bottom:12px}
.step h3{font-size:17px; font-weight:700; margin-bottom:8px}
.step p{font-size:14px; color:var(--mute); margin:0}

/* pricing */
.pricing .sec-head h2{color:#fff}
.pricing .sec-head p{color:#A6B7C6}
.pricing .eyebrow{color:#9FB4D6}
.tiers{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start}
@media(max-width:900px){.tiers{grid-template-columns:1fr}}
.tier{background:#16283A; border:1px solid #2E4560; border-radius:var(--r-lg); padding:28px; position:relative}
.tier.feat{background:#fff; color:var(--ink); border-color:#fff; box-shadow:0 20px 50px rgba(0,0,0,.3)}
.tier-flag{
  position:absolute; top:-11px; left:28px; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  background:var(--cleared); color:#fff; padding:4px 10px; border-radius:6px;
}
.tier h3{font-size:21px; font-weight:800; margin-bottom:6px}
.tier .who{font-size:14px; color:#A6B7C6; margin-bottom:20px; min-height:42px}
.tier.feat .who{color:var(--mute)}
.price{display:flex; align-items:baseline; gap:6px; margin-bottom:4px}
.price .amt{font-family:'Archivo','Inter',sans-serif; font-size:34px; font-weight:800}
.price .per{font-size:14px; color:#A6B7C6}
.tier.feat .price .per{color:var(--mute)}
.then{font-size:14px; color:#A6B7C6; margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid #2E4560}
.tier.feat .then{color:var(--mute); border-bottom-color:var(--line)}
.then b{color:#fff; font-weight:600}
.tier.feat .then b{color:var(--ink)}
.tier ul{list-style:none; padding:0; margin:0 0 24px}
.tier li{font-size:14.5px; padding:7px 0 7px 24px; position:relative; color:#D2DDE6}
.tier.feat li{color:var(--ink-2)}
.tier li::before{content:''; position:absolute; left:0; top:14px; width:9px; height:5px; border-left:2px solid var(--cleared); border-bottom:2px solid var(--cleared); transform:rotate(-45deg)}
.tier .btn{width:100%}
.tier:not(.feat) .btn{background:transparent; border-color:#4A6480; color:#fff}
.tier:not(.feat) .btn:hover{border-color:#fff; background:rgba(255,255,255,.06)}

/* faq */
.faq-list{max-width:800px}
details{border-bottom:1px solid rgba(20,36,59,.12); padding:0}
details summary{
  cursor:pointer; list-style:none; padding:20px 40px 20px 0; position:relative;
  font-size:17px; font-weight:600; color:var(--ink);
}
details summary::-webkit-details-marker{display:none}
details summary::after{
  content:'+'; position:absolute; right:8px; top:18px; font-size:22px; font-weight:400; color:var(--mute); transition:.2s;
}
details[open] summary::after{transform:rotate(45deg)}
details .ans{padding:0 40px 22px 0; color:var(--mute); font-size:16px}
details .ans p:last-child{margin-bottom:0}

/* final cta */
.final{text-align:center}
.final h2{font-size:clamp(28px,3.8vw,42px); font-weight:800; margin-bottom:16px}
.final p{font-size:18px; color:var(--mute); max-width:520px; margin:0 auto 28px}

footer{padding:36px 0; font-size:14px; color:var(--mute)}
.foot-in{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap}
footer a{color:var(--mute); text-decoration:none}
footer a:hover{color:var(--ink)}

/* ============================================================
   INTAKE — the worksheet, behind the contact button
   ============================================================ */
.sheet-backdrop{
  position:fixed; inset:0; z-index:100; background:rgba(14,27,42,.55); backdrop-filter:blur(4px);
  display:none; opacity:0; transition:opacity .25s;
}
.sheet-backdrop.open{display:block; opacity:1}

.sheet{
  position:fixed; z-index:101; inset:0; display:none;
  align-items:flex-start; justify-content:center; padding:0; overflow-y:auto;
}
.sheet.open{display:flex}
.sheet-card{
  background:var(--white); width:100%; max-width:800px; min-height:100%;
  display:flex; flex-direction:column;
  animation:rise .3s cubic-bezier(.22,1,.36,1);
}
@media(min-width:840px){
  .sheet{padding:32px 24px 40px}
  .sheet-card{min-height:auto; border-radius:var(--r-lg); box-shadow:var(--shadow-l); overflow:hidden}
}
@keyframes rise{from{transform:translateY(16px); opacity:0}to{transform:none; opacity:1}}
@media(prefers-reduced-motion:reduce){.sheet-card{animation:none}}

.sheet-top{
  position:sticky; top:0; z-index:2; background:var(--white);
  border-bottom:1px solid var(--line-2); padding:16px 24px 0;
}
.sheet-top-row{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px}
.sheet-top h3{font-size:16px; font-weight:600}
.sheet-close{background:none; border:none; cursor:pointer; font-size:26px; line-height:1; color:var(--mute); padding:4px 8px; border-radius:8px}
.sheet-close:hover{background:var(--line-2); color:var(--ink)}
.bar{height:3px; background:var(--line-2); border-radius:2px; overflow:hidden}
.bar span{display:block; height:100%; background:var(--azure); width:0; transition:width .35s cubic-bezier(.22,1,.36,1)}
.sheet-steps{display:flex; gap:6px; padding:10px 0 12px; font-size:11px; color:var(--mute); font-family:'JetBrains Mono',monospace; overflow-x:auto}
.sheet-steps b{color:var(--azure); font-weight:500}

.sheet-body{padding:28px 24px 20px; flex:1}
.step-pane{display:none}
.step-pane.active{display:block; animation:fade .3s ease}
@keyframes fade{from{opacity:0; transform:translateY(6px)}to{opacity:1; transform:none}}
@media(prefers-reduced-motion:reduce){.step-pane.active{animation:none}}

.step-pane h2{font-size:26px; font-weight:800; margin-bottom:8px}
.step-pane .sub{color:var(--mute); font-size:16px; margin-bottom:24px}

/* pain rows */
.rows{border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.row{
  display:grid; grid-template-columns:1fr 132px; gap:12px; align-items:center;
  padding:12px 14px; border-bottom:1px solid var(--line-2); cursor:pointer; transition:.15s;
}
.row:last-child{border-bottom:0}
.row:hover{background:#FAFBFC}
.row.on{background:var(--azure-w)}
@media(max-width:640px){
  .row{grid-template-columns:1fr; gap:8px}
  .row .meta{display:flex; gap:8px; align-items:center; padding-left:30px}
}
.row .lab{display:flex; gap:11px; align-items:flex-start; font-size:15px; color:var(--ink-2); line-height:1.45}
.row.on .lab{color:var(--ink); font-weight:500}
.box{
  flex:none; width:19px; height:19px; margin-top:2px; border-radius:5px;
  border:1.5px solid var(--line); background:#fff; display:grid; place-items:center; transition:.15s;
}
.row.on .box{background:var(--azure); border-color:var(--azure)}
.box svg{width:11px; height:11px; opacity:0; stroke:#fff; stroke-width:3.4; fill:none}
.row.on .box svg{opacity:1}
.hrs{
  width:100%; padding:7px 8px; border:1px solid var(--line); border-radius:8px;
  font-family:'JetBrains Mono',monospace; font-size:13px; text-align:center; background:#fff;
}
.hrs::placeholder{color:#6B7986}
.pain{display:flex; gap:4px; justify-content:flex-end}
.pain button{
  width:22px; height:26px; border:1px solid var(--line); background:#fff; border-radius:5px;
  cursor:pointer; font-size:11px; color:var(--mute); font-family:'JetBrains Mono',monospace; padding:0; transition:.12s;
}
.pain button:hover{border-color:var(--flag)}
.pain button.on{background:var(--flag); border-color:var(--flag); color:#fff}
.meta{display:contents}
@media(max-width:640px){.meta{display:flex}}
.hrs-hd{display:grid; grid-template-columns:1fr 132px; gap:12px; padding:9px 14px; background:#FAFBFC; border-bottom:1px solid var(--line); font-size:11px; color:var(--mute); font-family:'JetBrains Mono',monospace}
.hrs-hd span:nth-child(2){text-align:center}
@media(max-width:640px){.hrs-hd{display:none}}

/* running tally */
.tally{
  position:sticky; bottom:0; margin-top:20px;
  background:var(--cleared-w); border:1px solid #A9D2BC; border-radius:var(--r);
  padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.tally .t1{font-size:14px; color:var(--ink-2)}
.tally .t2{font-family:'Archivo','Inter',sans-serif; font-size:22px; font-weight:800; color:var(--cleared); font-variant-numeric:tabular-nums}

/* free text */
label.fld{display:block; margin-bottom:18px}
label.fld .l{display:block; font-size:14px; font-weight:600; margin-bottom:7px; color:var(--ink)}
label.fld .h{display:block; font-size:13px; color:var(--mute); font-weight:400; margin-top:-4px; margin-bottom:7px}
input::placeholder,textarea::placeholder{color:#6B7986}
input[type=text],input[type=email],textarea,select{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-family:'Inter',sans-serif; font-size:15px; background:#fff; color:var(--ink);
}
textarea{min-height:120px; resize:vertical; line-height:1.55}
input:focus,textarea:focus,select:focus{border-color:var(--azure); outline:none; box-shadow:0 0 0 3px var(--azure-w)}
.two{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media(max-width:600px){.two{grid-template-columns:1fr}}

.custom-note{
  background:var(--flag-w); border:1px solid #E3C3A4; border-left:3px solid var(--flag);
  border-radius:10px; padding:16px 18px; margin-bottom:24px; font-size:15px; color:var(--ink-2);
}
.custom-note b{color:var(--flag)}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px}
.chip{
  border:1px solid var(--line); background:#fff; border-radius:999px; padding:9px 15px;
  font-size:14px; cursor:pointer; transition:.15s; color:var(--ink-2); font-family:inherit;
}
.chip:hover{border-color:var(--ink)}
.chip.on{background:var(--ink); border-color:var(--ink); color:#fff}

/* top3 */
.top3{display:flex; flex-direction:column; gap:10px; margin-bottom:8px}
.top3-row{display:flex; gap:10px; align-items:center}
.top3-row .rk{
  flex:none; width:30px; height:30px; border-radius:8px; background:var(--ink); color:#fff;
  display:grid; place-items:center; font-family:'JetBrains Mono',monospace; font-size:13px;
}
.picked-empty{background:#FAFBFC; border:1px dashed var(--line); border-radius:10px; padding:16px; color:var(--mute); font-size:14px; text-align:center}

/* review */
.rev{background:#FAFBFC; border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; margin-bottom:18px}
.rev h4{margin:0 0 10px; font-size:13px; font-family:'JetBrains Mono',monospace; font-weight:500; color:var(--mute); text-transform:uppercase; letter-spacing:.06em}
.rev ul{margin:0; padding-left:18px; font-size:14.5px; color:var(--ink-2)}
.rev li{margin-bottom:5px}
.rev .none{font-size:14px; color:var(--mute); font-style:italic}

/* footer nav of sheet */
.sheet-foot{
  position:sticky; bottom:0; background:var(--white); border-top:1px solid var(--line-2);
  padding:14px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.sheet-foot .save{font-size:13px; color:var(--mute)}
.sheet-foot .nav-btns{display:flex; gap:8px}

/* ---------- the week audit ---------- */
.qs{display:flex; flex-direction:column; gap:22px; margin-bottom:8px}
.q .qt{font-size:16px; font-weight:600; margin-bottom:3px}
.q .qh{font-size:13.5px; color:var(--mute); margin-bottom:11px}
.opts{display:grid; grid-template-columns:1fr 1fr; gap:8px}
@media(max-width:600px){.opts{grid-template-columns:1fr}}
.opt{
  text-align:left; font-family:inherit; font-size:14.5px; color:var(--ink-2);
  background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:11px 14px; cursor:pointer; transition:.14s; line-height:1.35;
}
.opt:hover{border-color:var(--ink)}
.opt.on{background:var(--azure-w); border-color:var(--azure); color:var(--ink); font-weight:600; box-shadow:inset 0 0 0 1px var(--azure)}

.result{
  margin-top:28px; border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; background:#fff;
}
.result-hd{padding:20px 22px 18px; background:var(--ink); color:#fff}
.result-hd .rl{font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#A6B7C6; margin-bottom:8px}
.result-hd .rb{font-family:'Archivo','Inter',sans-serif; font-size:34px; font-weight:800; line-height:1.05; font-variant-numeric:tabular-nums}
.result-hd .rs{font-size:14px; color:#A6B7C6; margin-top:6px}

.rrow{display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:14px 22px; border-bottom:1px solid var(--line-2)}
.rrow .k{font-size:14.5px; color:var(--ink-2)}
.rrow .k small{display:block; color:var(--mute); font-size:12.5px; margin-top:2px}
.rrow .v{font-family:'JetBrains Mono',monospace; font-size:16px; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums}
.rrow.net{background:var(--cleared-w)}
.rrow.net .v{color:var(--cleared); font-weight:600}
.rrow.cost .v{color:var(--ink)}

.verdict{padding:18px 22px; font-size:15px; line-height:1.55}
.verdict.go{background:var(--cleared-w); color:var(--ink-2); border-top:2px solid var(--cleared)}
.verdict.no{background:var(--flag-w); color:var(--ink-2); border-top:2px solid var(--flag)}
.verdict b{display:block; font-family:'Archivo','Inter',sans-serif; font-size:19px; font-weight:800; margin-bottom:5px; color:var(--ink)}

.assump{padding:16px 22px; background:#FAFBFC; border-top:1px solid var(--line)}
.assump h5{margin:0 0 9px; font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.07em; text-transform:uppercase; color:var(--mute); font-weight:500}
.assump ul{margin:0; padding-left:16px; font-size:13.5px; color:var(--mute); line-height:1.6}
.assump li{margin-bottom:3px}

/* ---------- the sliders ---------- */
.sliders{padding:20px 22px 8px; border-bottom:1px solid var(--line-2)}
.sl{margin-bottom:22px}
.sl:last-child{margin-bottom:14px}
.sl-top{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:2px}
.sl-lab{font-size:14.5px; font-weight:600; color:var(--ink)}
.sl-val{font-family:'Archivo','Inter',sans-serif; font-size:23px; font-weight:800; color:var(--azure); font-variant-numeric:tabular-nums; white-space:nowrap}
.sl-hint{font-size:12.5px; color:var(--mute); margin-bottom:12px}
.sl-hint a{color:var(--azure); text-decoration:underline; cursor:pointer; font-weight:500}

input[type=range]{
  -webkit-appearance:none; appearance:none; width:100%; height:7px; border-radius:99px;
  background:var(--line); outline:none; cursor:pointer; margin:0;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none; width:24px; height:24px; border-radius:50%;
  background:var(--azure); border:3px solid #fff; cursor:grab;
  box-shadow:0 1px 3px rgba(14,27,42,.25), 0 3px 10px rgba(24,86,196,.35);
}
input[type=range]::-webkit-slider-thumb:active{cursor:grabbing; transform:scale(1.08)}
input[type=range]::-moz-range-thumb{
  width:22px; height:22px; border-radius:50%; background:var(--azure);
  border:3px solid #fff; cursor:grab;
  box-shadow:0 1px 3px rgba(14,27,42,.25), 0 3px 10px rgba(24,86,196,.35);
}
input[type=range]:focus-visible{outline:3px solid var(--azure); outline-offset:4px}
.sl-scale{display:flex; justify-content:space-between; font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--mute); margin-top:7px}

/* done state */
.done-pane{text-align:center; padding:40px 0}
.done-pane .tick{
  width:64px; height:64px; border-radius:50%; background:var(--cleared-w); color:var(--cleared);
  display:grid; place-items:center; margin:0 auto 22px; font-size:32px;
}
.done-pane h2{margin-bottom:10px}
.done-pane p{color:var(--mute); max-width:420px; margin:0 auto 12px}
.err{background:var(--flag-w); border:1px solid #E3C3A4; color:var(--flag); border-radius:10px; padding:14px 16px; font-size:14px; margin-bottom:16px; text-align:left}

/* ============================================================
   SCROLL REVEAL — additive. No-JS or reduced-motion leaves
   everything visible; the JS only adds .rv once it can animate.
   ============================================================ */
.rv{opacity:0; transform:translateY(26px)}
.rv-in{opacity:1; transform:none; transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){
  .rv{opacity:1; transform:none}
}
