/* QuotaBird — design system.
   Two colors: ink and blue. Greys are ink at reduced opacity. Blue means "go"
   and appears on exactly one element per screen. Everything else is type,
   spacing and hairlines. See HANDOFF.md §8. */

@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url(inter.woff2) format('woff2'); }

/* ── Tokens ──
   Seeded from the bird (#9DD2FF, hue 207). Neutrals are that hue at very low
   chroma, so the page and the mark belong to each other. Components consume
   these roles and never a literal hex. */
:root {
  color-scheme:light dark;
  --brand:#9DD2FF;
  --bg:#F9FCFF; --bg-2:#EDF2F7; --bg-3:#E0E6EC;
  --ink:#131619; --ink-2:#556270; --ink-3:#667380; --line:#DDE4EA;
  --accent:#0A71B1; --accent-bright:#1DA1F2; --on-accent:#FFFFFF; --accent-soft:#C2E3FF; --on-accent-soft:#00182B;
  /* Verdict pastels. Text stays ink; only the background carries the verdict. */
  --v-green:#C6EBC9; --v-yellow:#FFF982; --v-orange:#FFCF8A; --v-red:#F5B3AD; --on-verdict:#131619;
  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-full:9999px;
  --ease:cubic-bezier(.25,.1,.25,1); --ease-out:cubic-bezier(.16,1,.3,1); --spring:cubic-bezier(.34,1.3,.64,1);
  --font:'Inter',-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* In the dark the button is the bird. */
    --bg:#101418; --bg-2:#1B1F24; --bg-3:#293038;
    --ink:#E8EDF2; --ink-2:#A7B2BC; --ink-3:#8C97A3; --line:#2A3138;
    --accent:#9DD2FF; --accent-bright:#9DD2FF; --on-accent:#00182B; --accent-soft:#184B71; --on-accent-soft:#C2E3FF;
    /* Dimmed a step so a card on black reads as a sticky note, not a neon sign. */
    --v-green:#A6D4AB; --v-yellow:#E6DE72; --v-orange:#E3B06B; --v-red:#D68F88; --on-verdict:#131619;
  }
}

/* ── Base ── */
*, *::before, *::after { box-sizing:border-box; }
html, body { margin:0; background:var(--bg); color:var(--ink); font:400 17px/1.47 var(--font); letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:transparent; }
a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }
button { font:inherit; letter-spacing:inherit; color:inherit; }
strong { font-weight:600; color:var(--ink); }
p { margin:0 0 14px; }
.mono { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; letter-spacing:0; }
.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
[tabindex="-1"]:focus { outline:none; }

/* ── Type ── */
h1 { font-size:36px; line-height:1.12; font-weight:700; letter-spacing:-.025em; margin:32px 0 12px; }
h2 { font-size:22px; line-height:1.2; font-weight:700; letter-spacing:-.02em; margin:0 0 12px; }   /* one section-heading size site-wide */
h3 { font-size:22px; line-height:1.3; font-weight:600; letter-spacing:-.01em; margin:28px 0 6px; }
.dek { font-size:22px; line-height:1.42; color:var(--ink-2); margin:0 0 28px; }
.lede { font-size:22px; line-height:1.42; color:var(--ink); }
.overline { display:block; font-size:13px; line-height:16px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); }
.fine { font-size:13px; line-height:1.4; letter-spacing:0; color:var(--ink-2); }
.band p, .band li { color:var(--ink-2); }
.band ul, .band ol { margin:0 0 14px; padding-left:22px; }
.band li { margin-bottom:6px; }

/* ── Layout ── */
.wrap { max-width:680px; margin:0 auto; padding:0 20px 32px; }
#screen { max-width:480px; margin:0; padding-bottom:48px; }   /* left edge lines up with the prose below */
.band { padding:56px 0; border-top:1px solid var(--line); }
.band-inner { max-width:680px; margin:0 auto; padding:0 20px; }
.sitefoot { padding:40px 20px calc(40px + env(safe-area-inset-bottom)); text-align:center; font-size:13px; line-height:1.5; color:var(--ink-2); }
.sitefoot p { margin:0 0 4px; }
.foot-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:4px 14px; margin-bottom:14px !important; }
.sitefoot .foot-nav a { display:inline-block; padding:12px 6px; color:var(--ink); font-weight:500; text-decoration:none; }
.sitefoot .foot-nav a:hover { text-decoration:underline; }

/* ── Screen transition ── */
#screen.enter { animation:screen .42s var(--ease-out) both; }
@keyframes screen { from { opacity:0; transform:translateY(10px); } }

/* ── App bar ── */
.appbar { display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo { display:inline-flex; align-items:center; gap:10px; font-size:22px; font-weight:600; letter-spacing:-.01em; color:var(--ink);
  background:none; border:0; padding:8px 8px 8px 0; cursor:pointer; white-space:nowrap; border-radius:var(--r-sm); }
.logo:hover { text-decoration:none; opacity:.8; }
.brandmark { display:block; height:34px; width:auto; }
.chip { display:inline-flex; align-items:center; height:40px; padding:0 16px; font-size:15px; font-weight:500; letter-spacing:-.005em;
  color:var(--ink); background:var(--bg-2); border:0; border-radius:var(--r-full); white-space:nowrap; transition:background .15s var(--ease); }
.chip:hover { background:var(--bg-3); text-decoration:none; }

/* Tools menu: a chip that opens a short list. No JS. */
.menu { position:relative; }
.menu summary { list-style:none; cursor:pointer; }
.menu summary::-webkit-details-marker { display:none; }
.menu[open] summary .chip { background:var(--bg-3); }
.menu-list { position:absolute; right:0; top:40px; z-index:10; min-width:220px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow:0 8px 28px rgba(0,0,0,.10); padding:6px; animation:screen .22s var(--ease-out) both; }
.menu-list a { display:block; padding:10px 12px; border-radius:var(--r-sm); color:var(--ink); font-size:15px; font-weight:500; text-decoration:none; }
.menu-list a:hover { background:var(--bg-2); text-decoration:none; }
.menu-list a.current { color:var(--ink-2); font-weight:400; }
.menu-list { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; width:340px; padding:8px; }
/* Tools is the first item in the nav, so the panel can't hang from the chip's right edge: on phones it
   spans the screen under the header; on wider screens it centres under the chip. */
@media (max-width:699px) { .menu { position:static; } .menu-list { left:16px; right:16px; width:auto; top:64px; } }
@media (min-width:700px) { .menu-list { left:50%; right:auto; transform:translateX(-50%); } }
.menu-col { display:flex; flex-direction:column; }
.menu-g + .menu-g { margin-top:6px; }
.menu-foot { grid-column:1 / -1; }
.menu-list a { padding:11px 12px; font-size:15px; white-space:nowrap; min-height:44px; display:flex; align-items:center; }
.menu-foot { display:flex; gap:4px; border-top:1px solid var(--line); margin-top:6px; padding-top:6px; }
.menu-foot a { font-size:13px; color:var(--ink-2); padding:12px 8px; }
.menu-group { font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); padding:10px 12px 4px; }
.menu-group + a { margin-top:0; }
@media (prefers-color-scheme: dark) { .menu-list { box-shadow:0 8px 28px rgba(0,0,0,.5); } }

/* Choice chips (win-rate presets, year end) */
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip.on { background:var(--accent); color:var(--on-accent); }
.card-accent .chip { background:var(--bg); }
.card-accent .chip.on { background:var(--accent); color:var(--on-accent); }
.tf.inline { margin:0; flex:1 1 160px; }
.tf.inline input { height:40px; font-size:15px; }

.tool-name { margin-top:24px; }
.tool-name + h1 { margin-top:6px; }

/* ── QuotaBird: nav, home, notes ── */
.topnav { display:flex; align-items:center; gap:6px; }
.toplink { font-size:15px; font-weight:500; color:var(--ink-2); padding:6px 8px; border-radius:var(--r-sm); text-decoration:none; }
.toplink:hover { color:var(--ink); text-decoration:none; }
@media (max-width:699px) { .toplink { display:none; } }
@media (max-width:379px) { .chip-ask { display:none; } }
#screen.home-hero { max-width:620px; margin:0; padding-bottom:40px; }
.home-hero .dek { margin-bottom:20px; }
.home-hero h1 { font-size:clamp(34px, 7vw, 52px); line-height:1.06; margin-top:22px; }
.hero-ctas { display:flex; flex-direction:column; gap:10px; }
@media (min-width:560px) { .hero-ctas { flex-direction:row; } .hero-ctas .btn { flex:0 0 auto; } }
.doors { display:flex; flex-direction:column; gap:8px; margin:10px 0 8px; }
.doors .overline { margin:14px 0 0; }
.doors .overline:first-child { margin-top:0; }
.door { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 18px; background:var(--bg-2);
  border-radius:var(--r-lg); color:var(--ink); text-decoration:none; transition:background .15s var(--ease); }
.door:hover { background:var(--bg-3); text-decoration:none; }
.door b { display:block; font-size:17px; font-weight:600; letter-spacing:-.01em; }
.door .q { display:block; font-size:15px; line-height:1.4; color:var(--ink-2); margin-top:2px; }
.door .to { font-size:15px; font-weight:600; color:var(--accent); white-space:nowrap; }
.door .to::after { content:' →'; }
@media (max-width:519px) { .door { display:block; } .door .to { display:block; margin-top:8px; } }
.note { max-width:680px; margin:0 auto; padding:8px 20px 48px; }
.note h1 { margin-top:10px; }
.note p { font-size:17px; line-height:1.6; color:var(--ink); }
.note p.lede { font-size:22px; line-height:1.45; }
.note .dek, .kit .dek, .ask .dek { font-size:22px; line-height:1.42; color:var(--ink-2); }   /* one intro style on every page */
.note h3 { font-size:22px; margin-top:30px; }
.note .card p { font-size:17px; }

/* ── Home front door: the sales problems shelf ── */
.front { max-width:none; margin:0 0 44px; }
.front h1 { margin-top:10px; margin-bottom:18px; }
.front .dek { margin-bottom:6px; }
.hero-proof { font-size:13px; color:var(--ink-2); margin:0 0 16px; }
.hero-proof a { color:var(--ink); font-weight:600; }
.shelf-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px 10px; }
.bk { display:flex; flex-direction:column; gap:5px; text-decoration:none; color:var(--ink); }
.bk-label { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bk-cover { position:relative; display:flex; flex-direction:column; aspect-ratio:3/4; background:var(--bg); color:var(--ink);
  border-radius:3px 6px 6px 3px; padding:12% 10% 10%; overflow:hidden;
  box-shadow:inset 5px 0 0 rgba(0,0,0,.14), 0 2px 5px rgba(0,0,0,.14), 0 8px 18px rgba(0,0,0,.10); transition:transform .15s var(--ease-out), box-shadow .15s; }
.bk-cover::after { content:""; position:absolute; right:-14%; bottom:-6%; width:78%; aspect-ratio:692/600; background:var(--ink); opacity:.13;
  -webkit-mask:url(/logo.svg) no-repeat center / contain; mask:url(/logo.svg) no-repeat center / contain; pointer-events:none; }
.bk.feat .bk-cover::after { width:62%; right:-6%; bottom:-4%; opacity:.12; }
.bk-title, .bk-sub, .bk-foot { position:relative; z-index:1; }
.bk-title { font-weight:800; font-size:15px; line-height:1.12; letter-spacing:-.01em; }
.bk-sub { margin-top:10px; font-size:13px; line-height:1.35; opacity:.85; }
.bk-foot { margin-top:auto; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; opacity:.7; }
.bk:hover .bk-cover, .bk:focus-visible .bk-cover { transform:translateY(-3px); box-shadow:inset 5px 0 0 rgba(0,0,0,.14), 0 6px 12px rgba(0,0,0,.18), 0 14px 26px rgba(0,0,0,.12); }
.bk:active .bk-cover { transform:translateY(0); }
.bk.feat { grid-column:span 2; grid-row:span 2; }
.bk.feat .bk-cover { aspect-ratio:auto; flex:1; padding:9% 8% 7%; }
.bk.feat .bk-title { font-size:28px; line-height:1.05; }
.bk.feat .bk-label { color:var(--accent); }
@media (max-width:359px) { .bk-title { font-size:12.5px; } .bk.feat .bk-title { font-size:22px; } .bk-label { font-size:10px; letter-spacing:.03em; } }
@media (min-width:720px) {
  .shelf-grid { grid-template-columns:repeat(6, minmax(0, 1fr)); gap:18px 14px; }
  .bk-title { font-size:17px; }
  .bk.feat .bk-title { font-size:36px; }
  .bk.feat .bk-sub { font-size:17px; }
}
#pipeline { scroll-margin-top:16px; }
.home-calc h2.h1 { font-size:clamp(28px, 6vw, 38px); line-height:1.1; margin:6px 0 10px; letter-spacing:-.02em; }

/* ── Context above the questions: what you tapped, in your words ── */
.ctx { margin:2px 0 14px; font-size:13px; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ctx-tool { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); }
.ctx-lead { white-space:normal; margin:0 0 18px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.ctx-lead .ctx-h { font-size:22px; line-height:1.15; letter-spacing:-.02em; margin:4px 0 4px; color:var(--ink); }
.ctx-lead .ctx-sub { font-size:13px; color:var(--ink-2); margin:0; }

.bridge { background:var(--bg-2); border-radius:var(--r-lg); padding:16px 18px; margin:6px 0 18px; font-size:17px; line-height:1.6; font-variant-numeric:tabular-nums; }
.note ul { padding-left:20px; margin:0 0 16px; } .note ul li { font-size:17px; line-height:1.55; margin:0 0 6px; }

/* ── Stuff I Like ── */
.stuff h2 { font-size:22px; margin:34px 0 6px; }
.likes { display:grid; grid-template-columns:1fr; gap:0; }
@media (min-width:720px) { .likes { grid-template-columns:1fr 1fr; column-gap:28px; } }
.like { padding:14px 0; border-top:1px solid var(--line); }
.like p { margin:0 !important; }
.like-t { font-weight:700; font-size:17px !important; color:var(--ink) !important; }
.like-by { font-size:13px !important; color:var(--ink-2) !important; margin-top:1px !important; }
.like-why { font-size:15px !important; color:var(--ink-2) !important; margin-top:5px !important; line-height:1.45 !important; }
.stuff-foot { margin-top:26px !important; }
.helped { font-size:15px !important; color:var(--ink-2) !important; margin:18px 2px 0 !important; }

/* ── fedhoo hand-off: one quiet line under a federal-relevant weak answer ── */
.aside-link { font-size:15px; color:var(--ink-2); margin:14px 4px 0; line-height:1.45; }
.aside-link a { font-weight:600; white-space:nowrap; }

/* ── Ask Mark page: one promise, one button, then proof, then options ── */
.ask h2 { font-size:22px; margin:0 0 6px; }
.ask .dek { margin-bottom:0; }
.ask-cta { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin:22px 0 10px; }
.ask-cta .btn { min-width:240px; }
.ask-alt { font-weight:600; font-size:15px; padding:6px 0; }
@media (max-width:519px) { .ask-cta { gap:6px; } .ask-cta .btn { width:100%; min-width:0; } }
.ask-fine { font-size:13px !important; color:var(--ink-2) !important; margin:0 0 26px !important; }
/* how the call works: three plain steps on one row, stacked on phones */
.how { list-style:none; counter-reset:how; padding:0; margin:14px 0 26px; display:grid; grid-template-columns:1fr; gap:10px; }
@media (min-width:640px) { .how { grid-template-columns:1fr 1fr 1fr; gap:16px; } }
.how li { counter-increment:how; position:relative; padding-left:34px; font-size:15px; line-height:1.45; color:var(--ink-2); }
.how li b { color:var(--ink); font-weight:600; }
.how li::before { content:counter(how); position:absolute; left:0; top:1px; width:24px; height:24px; border-radius:var(--r-full); background:var(--bg-2); color:var(--ink); font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.ask-me { padding:14px 0 6px; border-top:1px solid var(--line); margin:0 0 30px; }
.ask-me img { width:96px; height:96px; }
.ask-me p { font-size:15px !important; color:var(--ink-2) !important; line-height:1.5 !important; margin:0 !important; }
@media (max-width:560px) { .ask-me img { width:80px; height:80px; } }
.ask-list { list-style:none; padding:0; margin:8px 0 34px; }
.ask-list li { padding:12px 0; border-top:1px solid var(--line); font-size:17px; line-height:1.45; }
.ask-list li:last-child { border-bottom:1px solid var(--line); }
.offers { display:grid; grid-template-columns:1fr; gap:14px; margin-top:10px; }
@media (min-width:720px) { .offers { grid-template-columns:1fr 1fr; } }
.offer { border:1px solid var(--line); border-radius:var(--r-lg); padding:18px 20px; display:flex; flex-direction:column; margin:0; }
.offer h3 { font-size:20px; margin:0; }
.offer-when { font-size:13px !important; font-weight:600; color:var(--ink-2) !important; margin:2px 0 8px !important; text-transform:uppercase; letter-spacing:.05em; }
.offer p { margin:0 0 8px; }
.offer .offer-link { margin:auto 0 0 !important; padding-top:6px; font-weight:600; }
.ask-price { margin-top:14px !important; }
.ask-foot { margin-top:30px; color:var(--ink-2); }

/* ── Pipeline Check: try to break it ── */
.breakit { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; margin:0 2px 16px; font-size:15px; color:var(--ink-2); }

/* ── Why the bird? (About page only) ── */
.bird-egg .band-inner { display:flex; align-items:center; gap:16px; }
.bird-egg picture { flex:0 0 48px; }
.bird-egg img { width:48px; height:auto; display:block; }
.bird-egg h2 { font-size:17px; margin:0 0 2px; }
.bird-egg p { margin:0; color:var(--ink-2); font-style:italic; }

/* ── Kit promo card (home, manager tools, the kit page hero) ── */
.pill { display:inline-block; background:var(--accent-soft); color:var(--on-accent-soft); font-size:13px; font-weight:600; line-height:1; padding:7px 12px; border-radius:var(--r-full); }
.kit-promo { display:grid; grid-template-columns:200px minmax(0,1fr); gap:28px; align-items:center; background:var(--bg-2); border:1px solid var(--line); border-radius:28px; padding:24px; }
.kit-promo-body h2 { font-size:22px; margin:12px 0 8px; }
.kit-promo-body p { margin:0 0 16px; }
.kit-promo-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.btn-icon { display:inline-flex; align-items:center; gap:8px; }
.kit-thumb { position:relative; display:block; aspect-ratio:480/622; margin:6px 14px 10px 0; }
.kit-thumb img { position:absolute; inset:0; width:100%; height:100%; border-radius:8px; background:#fff; }
.kt-back { transform:translate(14px, 8px) rotate(3deg); box-shadow:0 2px 10px rgba(0,0,0,.12); opacity:.95; }
.kt-front { box-shadow:0 6px 20px rgba(0,0,0,.16); border-bottom:6px solid var(--accent-bright); }
@media (max-width:599px) {
  .kit-promo { grid-template-columns:1fr; gap:18px; padding:20px; text-align:left; }
  .kit-thumb { width:150px; margin:0 auto 8px; }
  .kit-promo-actions .btn-primary { flex:1 1 100%; justify-content:center; }
  .kit-promo-actions .btn-text { flex:1 1 100%; }
}
.kit-hero { margin:18px 0 8px; }
@media (max-width:599px) { .kit-hero .kit-thumb { order:2; width:130px; margin-top:4px; } .kit-hero .pill { display:none; } .kit-hero-meta { margin-top:0 !important; } }
.kit-hero-meta { font-size:17px !important; color:var(--ink-2) !important; margin:12px 0 16px !important; }
.menu-kit { grid-column:1 / -1; display:flex !important; align-items:center; min-height:44px; gap:10px; font-weight:600; background:var(--bg-2); border-radius:12px; margin-bottom:4px; }
.menu-kit .pill { font-size:13px; padding:5px 10px; }
.leader-band { padding-top:0; }
.kit-next { margin:26px 0 8px; padding:16px 20px; border:1px solid var(--line); border-radius:var(--r-lg); }
.kit-next p { margin:4px 0 0; font-size:17px; }

/* ── The Manager's Field Kit ── */
.kit-start { background:var(--bg-2); border-radius:var(--r-lg); padding:14px 18px 10px; margin:18px 0 6px; }
.kit-start-h { font-weight:700; color:var(--ink) !important; margin:0 0 6px !important; font-size:17px !important; }
.kit-start ul { list-style:none; padding:0; margin:0; }
.kit-start li { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:0; border-top:1px solid var(--line); font-size:17px; }
.kit-start li a { display:block; flex:1; padding:12px 0; }
.kit-start li:first-child { border-top:0; }
.kit-start li span { color:var(--ink-2); white-space:nowrap; }
.kit-cta-job { font-style:italic; }
.kit-actions { margin:18px 0 8px; }
.kit-actions .startnote { text-align:left; margin-top:8px; }
@media (max-width:519px) { .kit-actions .btn { width:100%; } .kit-actions .startnote { text-align:center; } }
.kit-toc { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 6px; }
.kit-toc a { display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border-radius:var(--r-full); background:var(--bg-2); color:var(--ink); font-size:15px; font-weight:500; text-decoration:none; }
.kit-toc a:hover { background:var(--bg-3); }
.kit-ch { scroll-margin-top:16px; }
.kit h2 { font-size:22px; margin:32px 0 10px; }
.kit h3 { font-size:22px; margin:28px 0 8px; }
.kit-note { background:var(--bg-2); border-radius:var(--r-lg); padding:14px 18px; font-size:17px !important; }
.kit-list { padding-left:20px; }
.kit-list li { font-size:17px; line-height:1.55; margin-bottom:8px; color:var(--ink); }
.kit-small table { min-width:0; max-width:320px; }
.sheet { background:var(--bg-2); border-radius:var(--r-lg); padding:18px 20px; margin:16px 0; }
.sheet h3 { margin-top:0; }
.sheet-meta, .sheet-foot { font-size:15px !important; color:var(--ink-2) !important; }
.sheet-label { font-size:15px !important; font-weight:600; margin:14px 0 4px !important; }
.lines { background:repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px); }
.lines.l1 { height:32px; } .lines.l2 { height:64px; } .lines.l3 { height:96px; }
.ws td { height:40px; }
.ws.wide { min-width:640px; }
.kit-cta { background:var(--bg-2); border-radius:var(--r-lg); padding:22px 20px; margin:44px 0 8px; }
.kit-cta h2 { margin-top:0; }
.kit-cta-terms { font-weight:600; color:var(--ink) !important; }
.sheet-tool { font-size:13px !important; color:var(--ink-2) !important; }
.sheet h3 { font-size:17px; }
.kit-ch .sheet { margin-top:22px; }
.kit .startnote, .kit-cta p.fine { font-size:15px !important; line-height:1.45; color:var(--ink-2) !important; }
.kit-cta .btn:not(.btn-primary) { background:var(--bg); }
@media (max-width:519px) { .kit-cta-row .btn { flex:1 1 100%; } }

@media print {
  @page { margin:12mm 14mm; }
  body { background:#fff !important; color:#000 !important; }
  .appbar, .sitefoot, .kit-hero, .kit-band, .kit-next, .kit-toc, .kit-cta .btn-row, .kit-screen-only, .startbar, .sumbar { display:none !important; }
  .note.kit { max-width:none; padding:0; }
  .kit h1 { font-size:30px; margin-top:0; }
  .kit p, .kit li, .kit td { color:#000 !important; font-size:11pt !important; line-height:1.36 !important; }
  .kit p { margin:0 0 5.5pt !important; }
  .kit h2 { font-size:17pt; }
  .kit .dek { font-size:13pt !important; }
  .kit h2, .kit h3 { break-after:avoid; }
  .kit h2 { margin-top:22pt; }
  .kit-ch p, .kit-list li { orphans:3; widows:3; }
  .kit .sheet { break-inside:avoid; background:none; border:1px solid #bbb; border-radius:6pt; padding:7pt 11pt 5pt; margin:8pt 0 2pt; }
  .kit .sheet .sheet-label { margin:6pt 0 1pt !important; }
  .kit .sheet .sheet-meta { margin:0 0 4pt !important; }
  .kit .sheet .sheet-foot { margin:4pt 0 0 !important; }
  .kit .sheet h3 { margin-bottom:3pt !important; }
  .kit .sheet h3 { margin-top:0; font-size:14pt; }
  .kit h2 { margin-top:18pt !important; }
  .kit-cta { break-inside:avoid; margin-top:18pt; }
  .sheet, .mtable, tr { break-inside:avoid; }
  .mtable { overflow:visible; }
  .mtable table, .ws.wide { min-width:0; width:100%; }
  .mtable th, .mtable td { border:1px solid #999 !important; color:#000 !important; padding:3pt 6pt !important; }
  .mtable th { font-size:8pt !important; }
  .kit-list li { margin-bottom:2pt !important; }
  .kit-note { padding:6pt 10pt !important; }
  .ws td { height:26pt; }
  .lines { background:repeating-linear-gradient(transparent 0 23pt, #999 23pt 24pt); }
  .lines.l1 { height:24pt; } .lines.l2 { height:48pt; } .lines.l3 { height:72pt; }
  .kit-note, .kit-cta { background:none; border:1px solid #bbb; }
  a { color:#000 !important; text-decoration:none; }
  .kit-cta { padding:4pt 10pt !important; margin-top:3pt !important; }
  .kit-cta h2 { font-size:11pt !important; margin:0 !important; line-height:1.25 !important; }
  .kit-cta p { font-size:10pt !important; line-height:1.3 !important; }
  .kit-cta p:not(.kit-cta-terms):not(.kit-cta-job) { display:none !important; }
  .kit-cta .kit-cta-job { margin:0 0 1pt !important; }
  .kit-start { background:none; border:1px solid #bbb; padding:5pt 10pt; margin:6pt 0 2pt; columns:2; column-gap:18pt; }
  .kit-start-h { column-span:all; font-size:11pt !important; margin:0 0 2pt !important; }
  .kit-start li { padding:1pt 0; border:0; font-size:10pt; break-inside:avoid; }
  .kit-start a { text-decoration:none; }
  .kit-cta .kit-cta-terms { margin:0 !important; display:inline; }
  .kit-cta::after { content:"  \00B7  mark@quotabird.com  \00B7  quotabird.com/about"; display:inline; font-weight:600; font-size:10pt; }
}

/* ── Sales Math Library ── */
.math h2 { font-size:22px; margin:34px 0 10px; }
.answer { background:var(--bg-2); border-radius:var(--r-lg); padding:16px 20px; margin:16px 0 22px; }
.answer .overline { margin-bottom:4px; }
.answer p { margin:0; font-size:22px; line-height:1.45; color:var(--ink); }
.mtable { overflow-x:auto; margin:10px 0 6px; -webkit-overflow-scrolling:touch; }
.mtable table { border-collapse:collapse; width:100%; min-width:420px; font-size:15px; font-variant-numeric:tabular-nums; }
.mtable th { text-align:right; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-2); padding:8px 10px; border-bottom:1px solid var(--line); }
.mtable td { text-align:right; padding:9px 10px; border-bottom:1px solid var(--line); color:var(--ink); }
.mtable th:first-child, .mtable td:first-child { text-align:left; }
.sources { padding-left:20px; }
.sources li { font-size:15px; line-height:1.5; color:var(--ink-2); margin-bottom:6px; }
.cite { margin-top:14px; }

/* ── Made by Mark, Useful?, shelf link ── */
.madeby { display:flex; gap:18px; align-items:flex-start; }
.madeby img { width:64px; height:64px; border-radius:var(--r-full); object-fit:cover; flex:0 0 64px; margin-top:4px; }
.madeby h2 { font-size:22px; margin:0 0 6px; }
.madeby p { margin:0 0 12px; }
.madeby-links { display:flex; align-items:center; gap:14px; }
.madeby-links a:not(.btn) { display:inline-block; padding:12px 4px; }
@media (max-width:420px) { .madeby { flex-direction:column; gap:10px; } }
.useful { display:flex; align-items:center; justify-content:center; gap:2px; margin:6px 0 10px; font-size:15px; color:var(--ink-2); }
.useful span { margin-right:6px; }
.useful .btn-text { min-height:44px; padding:6px 12px; font-size:15px; }
.shelf { display:inline-block; margin-top:4px; padding:10px 0; font-size:15px; }

/* ── Start, trust, booking ── */
.live { max-width:480px; margin-top:4px; }
.live .progress { margin:0 0 10px; }
.live .question { font-size:22px; margin:4px 0 14px; }
.live .choice { height:52px; font-size:17px; }
.live .choice-group { gap:8px; }
.live .choice { text-decoration:none; }
.live .choice-group { margin-bottom:6px; }
.live .startnote { text-align:left; margin-top:6px; }
.home-hero .sample { margin-top:28px; }
.startnote { font-size:13px; line-height:1.4; color:var(--ink-2); text-align:center; margin:10px 0 0; }
.home-hero .startnote { text-align:left; }
.byline { display:inline-flex; align-items:center; gap:10px; font-size:15px; line-height:1.35; color:var(--ink-2); margin:-8px 0 24px; text-decoration:none; }
.byline:hover { color:var(--ink); text-decoration:none; }
.byline img { width:32px; height:32px; border-radius:var(--r-full); object-fit:cover; flex:0 0 32px; }
.sample { max-width:480px; margin-top:32px; }
.sample .overline { margin-bottom:8px; }
.sample .verdict { margin:0; border-radius:var(--r-lg) var(--r-lg) 0 0; padding:22px 22px 20px; }
.sample .verdict-word, .sample .verdict-meta, .sample .verdict-attack { animation:none; }
.sample .verdict-word { font-size:36px; }
.sample .verdict-attack { font-size:17px; margin-top:12px; }
.sample-q { background:var(--bg-2); border-radius:0 0 var(--r-lg) var(--r-lg); padding:14px 22px 16px; }
.sample-q .overline { margin-bottom:4px; }
.sample-q p { margin:0; font-size:17px; color:var(--ink); }
.steps { list-style:none; counter-reset:step; padding:0; margin:16px 0 18px; }
.steps li { counter-increment:step; position:relative; padding:4px 0 14px 46px; margin:0; color:var(--ink-2); }
.steps li::before { content:counter(step); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:var(--r-full);
  background:var(--bg-2); color:var(--ink); font-weight:700; font-size:15px; display:flex; align-items:center; justify-content:center; }
.steps li b { color:var(--ink); font-weight:600; }
@media (max-width:519px) { #about .btn-row .btn { flex:1 1 100%; } }   /* booking buttons stack on phones so neither label is cut */
.startbar { position:fixed; left:0; right:0; bottom:calc(14px + env(safe-area-inset-bottom)); z-index:25; display:flex; justify-content:center;
  pointer-events:none; animation:screen .25s var(--ease-out) both; }
.startbar[hidden] { display:none; }
.startbar .btn { pointer-events:auto; min-width:230px; box-shadow:0 8px 24px rgba(0,0,0,.18); }
#screen.nf { margin:0 auto; }
.nf-shelf { max-width:920px; margin:8px auto 48px; }
#screen.nf img { width:120px; height:auto; }
#screen.nf .code { font-size:76px; }
.wide-page .band-inner { max-width:920px; }
.wide-page .band-inner > * { max-width:680px; }

/* ── Pipeline Check: calculator ── */
#screen.calc-screen { max-width:480px; }
.wrap.wide { max-width:920px; }
.calc-in .tf-label small { font-weight:400; color:var(--ink-3); }
.calc-out { margin-top:8px; }
.calc-out2 { margin-top:4px; }
.fields-note { text-align:left; margin:0 0 10px; }
.home-calc h1 { font-size:clamp(34px, 7vw, 46px); line-height:1.06; }
.home-calc .dek { margin-bottom:18px; }
.clock { font-size:15px; line-height:1.45; color:var(--ink-2); margin:4px 2px 16px; }
@media (min-width:880px) {
  #screen.calc-screen { max-width:880px; }
  .calc-screen h1, .calc-screen .dek { max-width:620px; }
  .calc { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); grid-template-areas:'form out' 'form out2'; gap:0 32px; align-items:start; }
  .calc-in { grid-area:form; }
  .calc-out { grid-area:out; margin-top:0; }
  .calc-out2 { grid-area:out2; }
}
.cbar { margin:4px 0 14px; }
.cbar-track { position:relative; height:14px; background:var(--bg-3); border-radius:var(--r-full); margin:26px 0 8px; }
.cbar-fill { position:absolute; left:0; top:0; bottom:0; background:var(--ink); border-radius:var(--r-full); transition:width .45s var(--ease-out); }
.cbar-gap { position:absolute; top:0; bottom:0; border-radius:0 var(--r-full) var(--r-full) 0; opacity:.95;
  background-image:repeating-linear-gradient(135deg, rgba(0,0,0,.10) 0 4px, transparent 4px 8px); transition:left .45s var(--ease-out), width .45s var(--ease-out); }
.cbar-mark { position:absolute; top:-6px; bottom:-6px; width:2px; margin-left:-1px; background:var(--ink-2); transition:left .45s var(--ease-out); }
.cbar-mark span { position:absolute; bottom:calc(100% + 2px); left:50%; transform:translateX(-50%); font-size:13px; font-weight:600; color:var(--ink-2); white-space:nowrap; }
.cbar-mark.you { background:var(--ink); width:3px; }
.cbar-mark.you span { color:var(--ink); }
.cbar-legend { display:flex; gap:16px; font-size:13px; color:var(--ink-2); }
.cbar-legend i { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.cbar-legend .k-fill { background:var(--ink); }
.sumbar { position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:20; color:var(--on-verdict);
  border-radius:var(--r-md); padding:12px 16px; font-size:15px; box-shadow:0 6px 24px rgba(0,0,0,.18); animation:screen .25s var(--ease-out) both; }
.sumbar b { font-weight:700; margin-right:4px; }
@media (min-width:880px) { .sumbar { display:none; } }

/* ── Buttons ──
   Button labels: 18 characters or fewer, always one line. Details go in the text around
   the button, never in the label. */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 22px;
  font-size:17px; font-weight:600; letter-spacing:-.01em; border:0; border-radius:var(--r-full); cursor:pointer; text-decoration:none;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:var(--bg-2); color:var(--ink);
  transition:transform .15s var(--ease), background .15s var(--ease), opacity .15s var(--ease); }
.btn:hover { text-decoration:none; background:var(--bg-3); }
.card .btn:not(.btn-primary):not(.btn-text) { background:var(--bg); }
.btn:active { transform:scale(.97); }
.btn-primary { background:var(--accent); color:var(--on-accent); }
.btn-primary:hover { background:var(--accent); opacity:.9; }
.btn-text { background:none; color:var(--accent); padding:0 10px; height:44px; font-weight:500; }
.btn-text:hover { background:none; text-decoration:underline; }
.btn-lg { height:54px; padding:0 28px; font-size:17px; }
.btn-full { width:100%; }
.btn-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.btn-row .btn { flex:1 1 150px; }
.btn-row.center { justify-content:center; }
.btn-row.center .btn { flex:0 1 auto; }

/* ── Choices (answers) ── */
.choice-group { display:flex; flex-direction:column; gap:10px; margin:0 0 20px; }
.choice { display:flex; align-items:center; justify-content:center; height:60px; width:100%; font-size:22px; font-weight:600; letter-spacing:-.01em;
  background:var(--bg-2); color:var(--ink); border:0; border-radius:var(--r-lg); cursor:pointer;
  transition:transform .15s var(--ease), background .15s var(--ease); }
.choice:hover { background:var(--accent-soft); color:var(--on-accent-soft); }
.choice:active { transform:scale(.98); background:var(--accent-soft); color:var(--on-accent-soft); }

/* ── Segmented progress ── */
.progress { display:flex; gap:6px; margin:12px 0 28px; }
.progress i { flex:1; height:4px; border-radius:var(--r-full); background:var(--bg-3); transition:background .3s var(--ease); }
.progress i.done { background:var(--accent-bright); }

/* ── Cards ── */
.card { background:var(--bg-2); border-radius:var(--r-lg); padding:20px; }
.card + .card { margin-top:12px; }
.card h3 { margin:0 0 6px; font-size:17px; }
.card p { margin:0 0 6px; font-size:15px; line-height:1.45; color:var(--ink-2); }
.card p:last-child { margin-bottom:0; }
.card .overline { margin-bottom:6px; }
.card .lede { font-size:17px; color:var(--ink); }
.card-accent { background:var(--accent-soft); color:var(--on-accent-soft); }
.card-accent .overline, .card-accent p, .card-accent .lede { color:inherit; }
.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; margin:16px 0 8px; }
.card-grid .card { margin:0; }

/* ── Verdict ── */
.verdict { color:var(--on-verdict); border-radius:var(--r-lg); padding:28px 24px 26px; margin:8px 0 12px; }
.verdict-ready { background:var(--v-green); }
.verdict-proof { background:var(--v-yellow); }
.verdict-prove { background:var(--v-orange); }
.verdict-dont  { background:var(--v-red); }
.verdict-number { font-size:76px; line-height:1; font-weight:700; letter-spacing:-.04em; animation:pop .55s var(--spring) both; }
/* The verdict word is the hero. Sized to fit two lines at the narrowest phone;
   never breaks mid-word, never overflows the card. Keep labels to 15 characters. */
.verdict-word { font-size:clamp(34px, 11.5vw, 48px); line-height:1.02; font-weight:700; letter-spacing:-.03em; text-transform:uppercase;
  text-wrap:balance; overflow-wrap:normal; animation:pop .55s var(--spring) both; }
.verdict-meta { font-size:15px; line-height:1.4; font-weight:500; margin-top:10px; opacity:.8; animation:pop .55s var(--spring) .06s both; }
.verdict-label { font-size:22px; line-height:1.2; font-weight:600; letter-spacing:-.01em; margin-top:8px; opacity:.92; animation:pop .55s var(--spring) .06s both; }
.verdict-attack { font-size:22px; line-height:1.3; font-weight:500; letter-spacing:-.015em; margin-top:18px; animation:fade .5s var(--ease-out) .18s both; }
.verdict-sub { font-size:15px; line-height:1.45; margin-top:8px; opacity:.72; animation:fade .5s var(--ease-out) .26s both; }
@keyframes pop { from { opacity:0; transform:translateY(14px) scale(.92); } }
@keyframes fade { from { opacity:0; transform:translateY(6px); } }

/* ── Lists ── */
.list { background:var(--bg-2); border-radius:var(--r-lg); padding:2px 20px; margin:12px 0; }
.list-item { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:52px; padding:10px 0; border-bottom:1px solid var(--line); }
.list-item:last-child { border-bottom:0; }
.list-item .headline { font-size:17px; color:var(--ink); }
.list-item .trailing { font-size:15px; font-weight:500; color:var(--ink-2); white-space:nowrap; }
.list-item .trailing.strong { font-size:17px; font-weight:600; color:var(--ink); }
.list-item .trailing.v-no { color:var(--ink); font-weight:600; }
.list-item.compact { min-height:44px; }
.list-item.compact .headline { font-size:15px; color:var(--ink-2); }

/* ── Expansion ── */
details.exp { border-bottom:1px solid var(--line); }
details.exp summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; padding:10px 0;
  font-size:17px; font-weight:500; cursor:pointer; list-style:none; }
details.exp summary::-webkit-details-marker { display:none; }
details.exp summary::after { content:''; width:9px; height:9px; flex:0 0 9px; border-right:1.5px solid var(--ink-3); border-bottom:1.5px solid var(--ink-3);
  transform:rotate(45deg) translate(-2px,-2px); margin-right:6px; transition:transform .25s var(--ease); }
details.exp[open] summary::after { transform:rotate(225deg) translate(-2px,-2px); }
details.exp .body { font-size:17px; line-height:1.5; color:var(--ink-2); padding:0 0 18px; }
details.exp .body p { margin:0 0 8px; }
details.exp.quiet { border-bottom:0; }
details.exp.quiet summary { font-size:15px; color:var(--accent); min-height:44px; }

/* ── Text fields ── */
.tf { display:block; margin-bottom:12px; }
.tf .tf-label { display:block; font-size:13px; font-weight:500; color:var(--ink-2); margin:0 0 6px 2px; }
.tf input { width:100%; height:50px; padding:0 16px; font:500 22px/1 var(--font); letter-spacing:-.01em; color:var(--ink);
  background:var(--bg-2); border:1.5px solid transparent; border-radius:var(--r-md); outline:none; transition:border-color .15s var(--ease), background .15s var(--ease); }
.tf input:focus { border-color:var(--accent); background:var(--bg); }
.tf input.is-example { color:var(--ink-2); font-weight:400; }
.tf input::placeholder { color:var(--ink-3); font-weight:400; }
.tf-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.supporting { font-size:13px; line-height:1.4; color:var(--ink-2); margin:-2px 2px 18px; }

/* ── Preview, banner ── */
.preview { background:var(--bg); border:1px solid var(--line); border-radius:var(--r-md); padding:14px 16px; font-size:15px; line-height:1.55; color:var(--ink-2); margin:12px 0 4px; overflow-wrap:anywhere; }
.banner { background:var(--bg-2); border-radius:var(--r-md); padding:12px 16px; font-size:15px; line-height:1.45; color:var(--ink-2); margin-bottom:12px; }
.banner button { background:none; border:0; padding:10px 0; margin:-10px 0; color:var(--accent); cursor:pointer; font:inherit; }
.banner button:hover { text-decoration:underline; }

/* ── Bio ── */
/* Mark's photo: floats left, round, text wraps against a straight edge (no shape-outside, so lines line up) */
.who { margin:0 0 6px; }
.who img { float:left; width:112px; height:112px; border-radius:var(--r-full); object-fit:cover; margin:4px 24px 10px 0; }
.who h1 { margin:0 0 10px; font-size:36px; line-height:1.1; letter-spacing:-.02em; }
.who p { margin:0 0 14px; }
.who::after { content:''; display:block; clear:both; }
@media (max-width:560px) { .who img { width:88px; height:88px; margin:2px 16px 8px 0; } .who h1 { font-size:28px; } }
/* the About page opens straight on Mark: no header block, no gap above */
.wrap + #about { border-top:0; padding-top:8px; }

/* ── Misc ── */
.question { font-size:28px; line-height:1.18; font-weight:700; letter-spacing:-.02em; margin:10px 0 28px; }
.question-lg { font-size:28px; line-height:1.22; font-weight:600; letter-spacing:-.02em; margin:14px 0 28px; color:var(--ink); }
.empty { background:var(--bg-2); border-radius:var(--r-lg); padding:20px; font-size:15px; line-height:1.45; color:var(--ink-2); }
.pillars { font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); margin:18px 0 0; text-align:center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* ── Pressed states: every tap gets a response ── */
.chip:active, .door:active, .menu-list a:active, .menu summary:active, .kit-start li a:active, .sitefoot .foot-nav a:active { transform:scale(.97); }
.chip, .door, .menu-list a, .menu summary { transition:transform .08s ease-out, background-color .15s; }
@media (prefers-reduced-motion: reduce) { .chip:active, .door:active, .menu-list a:active, .menu summary:active, .kit-start li a:active, .sitefoot .foot-nav a:active { transform:none; } }

/* ── Dark mode: pale covers glare on a dark page; knock them back slightly ── */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bk-cover { filter:brightness(.9) saturate(.92); } }
:root[data-theme="dark"] .bk-cover { filter:brightness(.9) saturate(.92); }

/* on desktop the header already shows Field Kits, Field Notes and About, so the menu doesn't repeat them */
@media (min-width:700px) { .menu-kit, .menu-foot { display:none !important; } }
