:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --card: #fffdf8;
  --ink: #1d1a16;
  --ink-2: #4f4a42;
  --ink-3: #6e675c;
  --line: rgba(60, 45, 20, 0.14);
  --line-2: rgba(60, 45, 20, 0.24);
  --sign: #f2b632;
  --sign-ink: #5a3f00;
  --cta: #1d1a16;
  --cta-ink: #fff8e8;
  --ok: #2f7d4f;
  --ok-bg: #e4f1e8;
  --warn: #a8461d;
  --warn-bg: #fbe9df;

  --scout: #2563a8;
  --lookout: #6a47a6;
  --collector: #2f7d4f;
  --closer: #c95a16;
  --rulebook: #b5332b;

  --font-display: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --text-hero: clamp(2.5rem, 1.3rem + 4vw, 4.25rem);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(70, 50, 20, 0.08), 0 6px 20px rgba(70, 50, 20, 0.07);
  --shadow-lg: 0 2px 4px rgba(70, 50, 20, 0.08), 0 18px 48px rgba(70, 50, 20, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rb-h: 48px;
  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55;
  -webkit-font-smoothing: antialiased; padding-top: var(--rb-h);
}
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--scout); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; top: 56px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Review bar ---------- */
.rb {
  position: fixed; inset: 0 0 auto 0; height: var(--rb-h); z-index: 100;
  background: #26221c; color: #f4ecdc; display: flex; align-items: center; gap: 10px;
  padding: 0 12px; border-bottom: 3px solid var(--sign);
  font-size: var(--text-sm);
}
.rb-tag { background: var(--sign); color: #2a1f00; font-weight: 700; font-size: 12px; letter-spacing: .08em; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.rb-note { color: #d9cfbd; white-space: nowrap; }
.rb-spacer { flex: 1; }
.rb label { color: #d9cfbd; }
.rb select {
  background: #3a342b; color: #fff; border: 1px solid #5b5244; border-radius: 6px; height: 34px; padding: 0 8px; max-width: 46vw;
}
.rb-variants { display: flex; gap: 4px; align-items: center; }
.rb-variants button {
  background: transparent; border: 1px solid #5b5244; color: #f4ecdc; height: 34px; min-width: 34px; border-radius: 6px; padding: 0 9px; font-weight: 600;
}
.rb-variants button[aria-pressed="true"] { background: var(--sign); color: #2a1f00; border-color: var(--sign); }
.rb-reset { background: transparent; border: 1px solid #5b5244; color: #f4ecdc; height: 34px; border-radius: 6px; padding: 0 10px; }
@media (max-width: 720px) {
  .rb-note, .rb-label-text, .rb-reset { display: none; }
  .rb { gap: 6px; padding: 0 8px; }
  .rb select { max-width: none; flex: 1; min-width: 0; }
  .rb-spacer { display: none; }
  .rb-variants button { min-width: 32px; padding: 0 6px; }
  .rb-variants .rb-vlabel { display: none; }
}

/* ---------- Shared bits ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--text-base); text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 2px 0 #000; }
.btn-primary:hover { background: #35302a; }
.btn-sign { background: var(--sign); color: #2a1f00; box-shadow: 0 2px 0 #b98410; }
.btn-sign:hover { background: #f6c34f; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(60,45,20,.05); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { background: #276b43; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: var(--text-sm); }
.btn-block { width: 100%; }
.btn-danger { background: var(--rulebook); color: #fff; }
.btn i, .btn svg { width: 18px; height: 18px; }

.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sample-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sign-ink); background: #fbe8b6; border-radius: 4px; padding: 2px 7px; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 600; font-size: var(--text-sm); }
.input {
  min-height: 52px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 14px; width: 100%; font-size: var(--text-base);
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,182,50,.45); }
textarea.input { padding: 12px 14px; min-height: 120px; line-height: 1.5; resize: vertical; }

/* Crew tiles: the signature element */
.tile {
  --c: var(--ink); width: 44px; height: 44px; border-radius: 10px; background: var(--c); color: #fff;
  display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1;
  flex: none; position: relative; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
  letter-spacing: -.02em;
}
.tile::after { content: ""; position: absolute; right: 6px; bottom: 7px; width: 9px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.55); }
.tile.sm { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
.tile.sm::after { right: 4px; bottom: 5px; width: 6px; height: 2px; }
.tile.lg { width: 64px; height: 64px; font-size: 32px; border-radius: 14px; }
.tile.lg::after { right: 9px; bottom: 10px; width: 13px; height: 4px; }
.tile.xl { width: 84px; height: 84px; font-size: 42px; border-radius: 18px; }
.tile.xl::after { right: 12px; bottom: 13px; width: 16px; height: 5px; }
.t-scout { --c: var(--scout); } .t-lookout { --c: var(--lookout); } .t-collector { --c: var(--collector); }
.t-closer { --c: var(--closer); } .t-rulebook { --c: var(--rulebook); }

.toast-zone { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; pointer-events: none; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff8e8; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 500; animation: toastIn .35s var(--ease); }
.toast svg { width: 20px; height: 20px; color: var(--sign); flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 860px) { .toast-zone { bottom: 92px; } }

.view { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Landing ---------- */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wm-tiles { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; }
.wm-tiles span { width: 13px; height: 13px; border-radius: 3px; }
.wm-text { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1; }
.wm-by { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; }
.lp-nav-links { display: flex; gap: 22px; align-items: center; font-size: var(--text-sm); font-weight: 500; }
.lp-nav-links a { text-decoration: none; color: var(--ink-2); }
.lp-nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .lp-nav-links .hide-m { display: none; } }

.hero { padding: clamp(16px, 3vw, 36px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.trade-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--text-sm); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; }
.trade-line .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--collector); color: #fff; display: grid; place-items: center; }
.trade-line .dot svg { width: 13px; height: 13px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-hero); letter-spacing: -.035em; line-height: .98; margin: 22px 0 18px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--sign) 62%, var(--sign) 92%, transparent 92%); padding: 0 .04em; }
.hero-sub { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 40ch; }
.hero-form { margin-top: 28px; padding: 18px; display: grid; gap: 12px; max-width: 560px; }
.hero-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .hero-form .row { grid-template-columns: 1fr; } }
.hero-form .fine { font-size: var(--text-sm); color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.hero-form .fine span { display: inline-flex; align-items: center; gap: 6px; }
.hero-form .fine svg { width: 16px; height: 16px; color: var(--ok); }

/* Phone mock */
.phone {
  width: min(360px, 100%); margin: 0 auto; background: #1d1a16; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen { background: var(--paper); border-radius: 31px; overflow: hidden; padding: 18px 14px 16px; min-height: 560px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; padding: 0 6px 12px; }
.mock-h { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; padding: 0 4px 4px; }
.mock-sub { font-size: 14px; color: var(--ink-3); padding: 0 4px 12px; }
.mock-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(70,50,20,.06); }
.mock-card .mc-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.mock-card .mc-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.mock-card .mc-meta { font-size: 13px; color: var(--ink-3); }
.mock-card .mc-body { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.mock-actions { display: flex; gap: 6px; margin-top: 10px; }
.mock-actions span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 8px; border: 1px solid var(--line-2); }
.mock-actions span.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.hero-art { position: relative; }
.hero-badge { position: absolute; left: -24px; top: 150px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.hero-badge strong { font-family: var(--font-display); font-size: 22px; display: block; line-height: 1; }
@media (max-width: 1100px) { .hero-badge { display: none; } }
.phone-screen { min-height: 0; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: #221e19; color: #f4ecdc; }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -.03em; margin: 10px 0 12px; text-wrap: balance; }
.sec-head p { color: var(--ink-2); font-size: var(--text-lg); }
.dark .sec-head p, .dark .muted { color: #cfc4b0; }
.dark .eyebrow { color: var(--sign); }

/* Crew lineup */
.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .lineup { grid-template-columns: repeat(2, 1fr); } .lineup .crew-card:first-child { grid-column: span 2; } }
@media (max-width: 560px) {
  .lineup { grid-template-columns: 1fr; gap: 10px; } .lineup .crew-card:first-child { grid-column: auto; }
  .crew-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 16px; }
  .crew-card > .tile { grid-row: span 4; width: 52px; height: 52px; font-size: 26px; }
  .crew-card h3 { font-size: 22px; }
  .crew-card .saves { padding-top: 8px; margin-top: 4px; }
}
.crew-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.crew-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.crew-card .job { font-weight: 600; }
.crew-card p { color: var(--ink-2); font-size: var(--text-sm); }
.crew-card .saves { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: var(--text-sm); font-weight: 600; }
.price-strip { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff8e8; }
.price-strip strong { font-family: var(--font-display); font-size: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 28px 28px 0; border-top: 3px solid var(--ink); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-2); }
@media (max-width: 860px) { .step, .step + .step { padding: 22px 0; border-left: 0; } }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--sign); -webkit-text-stroke: 1.5px var(--ink); }
.step h3 { font-size: var(--text-lg); margin: 14px 0 8px; }
.step p { color: var(--ink-2); }

/* Report preview on landing */
.report-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .report-split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

/* Email (shared with email screen) */
.mail { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--ink); }
.mail-band { background: var(--ink); color: #fff8e8; padding: 18px 20px; }
.mail-band .eyebrow { color: var(--sign); }
.mail-band h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin-top: 6px; }
.mail-body { padding: 18px 20px 22px; }
.mail-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.mail-kpis div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.mail-kpis strong { font-family: var(--font-display); font-size: 24px; display: block; line-height: 1.1; }
.mail-kpis span { font-size: 13px; color: var(--ink-3); }
.mail-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mail-item .mi-text { flex: 1; min-width: 0; }
.mail-item .mi-text b { display: block; font-weight: 600; }
.mail-item .mi-text span { color: var(--ink-3); font-size: 13px; }
.mail-item .done { color: var(--ok); font-weight: 600; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.mail-item .done svg { width: 16px; height: 16px; }

/* Proof */
.proof { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }
.proof-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.proof-card blockquote { margin: 0; font-size: var(--text-lg); line-height: 1.45; }
.proof-card:first-child blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.01em; }
.who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); flex: none; }
.who b { display: block; }
.who span { font-size: var(--text-sm); color: var(--ink-3); }
.proof-stat { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; line-height: 1; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--ink); position: relative; }
.plan .flag { position: absolute; top: -13px; left: 22px; background: var(--sign); color: #2a1f00; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.plan .amt { font-family: var(--font-display); font-weight: 800; font-size: 54px; letter-spacing: -.03em; line-height: 1; }
.plan .amt small { font-family: var(--font-body); font-size: var(--text-base); font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.nolock { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.nolock span { font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: var(--text-sm); display: inline-flex; gap: 8px; align-items: center; }
.nolock svg { width: 16px; height: 16px; color: var(--ok); }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: var(--text-lg); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .2s; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

.final-cta { text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -.03em; margin-bottom: 14px; }
.final-cta p { color: #cfc4b0; margin-bottom: 26px; font-size: var(--text-lg); }

.lp-foot { padding: 40px 0 56px; font-size: var(--text-sm); color: var(--ink-3); }
.lp-foot .cols { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.lp-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-foot a { text-decoration: none; }

/* ---------- Flow pages (report, checkout, onboarding) ---------- */
.flow { min-height: calc(100vh - var(--rb-h)); padding: 0 0 64px; }
.flow-head { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; gap: 12px; }
.flow-main { max-width: 640px; margin: 0 auto; padding: 16px var(--gut) 0; }
.flow-main.wide { max-width: 920px; }
.flow h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -.03em; margin: 8px 0 10px; text-wrap: balance; }
.flow .lead { color: var(--ink-2); font-size: var(--text-lg); margin-bottom: 22px; }
.stack { display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff8e8; border-color: var(--ink); }
.chip svg { width: 18px; height: 18px; }

.loading { text-align: center; padding: 56px 0; }
.loading .tile { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.load-steps { list-style: none; padding: 0; margin: 26px auto 0; max-width: 360px; text-align: left; display: grid; gap: 10px; }
.load-steps li { display: flex; gap: 10px; align-items: center; color: var(--ink-3); transition: color .3s; }
.load-steps li.on { color: var(--ink); font-weight: 500; }
.load-steps li svg { width: 20px; height: 20px; }
.load-steps li.on svg { color: var(--ok); }

.rival-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.rival-table th { text-align: left; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; padding: 0 8px 10px; }
.rival-table td { padding: 12px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.rival-table tr.you td { background: #fdf3d6; font-weight: 600; }
.rival-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.stars { color: #c98a00; letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.bar { height: 10px; background: var(--paper-2); border-radius: 99px; overflow: hidden; min-width: 60px; }
.bar span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
tr.you .bar span { background: var(--sign); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }
.stat { padding: 18px; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; line-height: 1; display: block; margin: 6px 0; }
.stat p { color: var(--ink-2); font-size: var(--text-sm); }
.money { padding: 22px; background: var(--ink); color: #fff8e8; border: 0; }
.money strong { font-family: var(--font-display); font-size: 44px; color: var(--sign); display: block; line-height: 1.05; margin: 6px 0; }
.money p { color: #d9cfbd; }
.blur-lock { position: relative; }
.blur-lock .blurred { filter: blur(5px); user-select: none; pointer-events: none; }
.gate { padding: 22px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { min-height: 72px; text-align: left; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); }
.seg button[aria-pressed="true"] { border: 2px solid var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(242,182,50,.5); }
.seg b { display: block; font-size: var(--text-lg); }
.seg span { font-size: var(--text-sm); color: var(--ink-3); }
.mock-tag { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 6px; }
.order { padding: 18px; display: grid; gap: 8px; font-size: var(--text-base); }
.order .line { display: flex; justify-content: space-between; gap: 12px; }
.order .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }

.progress { display: flex; gap: 6px; margin: 4px 0 18px; }
.progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--paper-2); }
.progress span.on { background: var(--ink); }
.gcard { padding: 20px; display: grid; gap: 14px; }
.gcard .biz { display: flex; gap: 14px; align-items: center; }
.gmap { height: 120px; border-radius: 12px; background:
  linear-gradient(90deg, rgba(60,45,20,.07) 1px, transparent 1px) 0 0/28px 28px,
  linear-gradient(rgba(60,45,20,.07) 1px, transparent 1px) 0 0/28px 28px, #ebe4d4; position: relative; overflow: hidden; }
.gmap::before { content: ""; position: absolute; left: -10%; right: -10%; top: 54%; height: 14px; background: #fffdf8; transform: rotate(-8deg); }
.gmap::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 12px; background: #fffdf8; transform: rotate(10deg); }
.gmap .pin { position: absolute; left: 50%; top: 42%; z-index: 2; width: 34px; height: 34px; transform: translate(-50%, -50%); color: var(--rulebook); }
.rival-pick { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.rival-pick .rp-name { flex: 1; min-width: 0; }
.rival-pick .rp-name b { display: block; }
.rival-pick .rp-name span { font-size: var(--text-sm); color: var(--ink-3); }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.q { padding: 18px; display: grid; gap: 12px; }
.q h3 { font-size: var(--text-lg); }
.addr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--ink); }
.addr code { flex: 1 1 180px; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: 15px; font-weight: 600; white-space: nowrap; overflow-wrap: anywhere; }
.flow-foot { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; }
.flow-foot .btn-primary { flex: 1; max-width: 340px; margin-left: auto; }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - var(--rb-h)); }
.side { border-right: 1px solid var(--line); padding: 18px 14px; position: sticky; top: var(--rb-h); height: calc(100vh - var(--rb-h)); overflow-y: auto; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.side .wordmark { padding: 4px 8px 18px; }
.side-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; padding: 14px 10px 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 10px; border-radius: 10px; border: 0; background: transparent; text-align: left; font-weight: 500; width: 100%; }
.nav-item:hover { background: rgba(60,45,20,.06); }
.nav-item[aria-current="page"] { background: var(--card); box-shadow: var(--shadow); font-weight: 600; }
.nav-item > svg { width: 22px; height: 22px; margin: 0 4px; }
.nav-item .count { margin-left: auto; background: var(--sign); color: #2a1f00; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 1px 8px; }
.side-foot { margin-top: auto; padding: 12px 10px 0; font-size: var(--text-sm); color: var(--ink-3); }

.main { min-width: 0; }
.topbar { position: sticky; top: var(--rb-h); z-index: 20; background: rgba(247,242,232,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; gap: 14px; align-items: center; padding: 12px clamp(16px, 3vw, 32px); }
.topbar .m-brand { display: none; }
.ask { flex: 1; max-width: 640px; position: relative; }
.ask form { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 4px 4px 4px 14px; }
.ask form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,182,50,.45); }
.ask svg.lead-ic { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.ask input { border: 0; outline: none; flex: 1; min-width: 0; height: 44px; background: transparent; font-size: var(--text-base); }
.ask button { min-height: 40px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--ink); color: #fff8e8; font-weight: 600; font-size: var(--text-sm); }
.ask-answer { margin: 12px clamp(16px, 3vw, 32px) 0; padding: 16px 18px; display: grid; gap: 10px; max-width: 900px; animation: fade .3s var(--ease); }
.ask-answer .aa-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.ask-answer .aa-head > div { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ask-answer ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ask-sugg { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px) 12px; }
.ask-sugg button { min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; font-size: var(--text-sm); color: var(--ink-2); }
.ask-sugg button:hover { background: #fff; color: var(--ink); }
.me { display: flex; align-items: center; gap: 10px; margin-left: auto; font-weight: 600; font-size: var(--text-sm); }
.me .avatar { width: 40px; height: 40px; background: var(--ink); color: #fff8e8; border: 0; }

.content { padding: clamp(18px, 3vw, 32px); max-width: 1180px; }
.page-h { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.page-h h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -.02em; }
.page-h p { color: var(--ink-2); margin-top: 4px; }
.page-h .who-crew { display: flex; gap: 14px; align-items: center; }

.launcher { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.launch { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-align: left; box-shadow: var(--shadow); transition: transform .15s var(--ease), box-shadow .15s; }
.launch:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.launch b { font-size: var(--text-base); display: block; }
.launch .desc { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 1080px) { .launch .desc { display: none; } }

.home-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1120px) { .home-grid { grid-template-columns: 1fr; } }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-h h2 { font-size: var(--text-lg); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.panel-h h2 .count { background: var(--sign); color: #2a1f00; font-size: 13px; font-weight: 700; border-radius: 99px; padding: 2px 9px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { padding: 16px; }
.kpi .k-label { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.kpi .k-ic { width: 30px; height: 30px; border-radius: 7px; background: var(--ink); color: var(--sign); display: grid; place-items: center; }
.kpi .k-ic svg { width: 17px; height: 17px; }
.kpi strong { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; line-height: 1.05; display: block; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 13px; font-weight: 600; color: var(--ok); }
.kpi .delta.neutral { color: var(--ink-3); font-weight: 500; }

/* Approval items */
.items { display: grid; gap: 12px; }
.item { padding: 16px; display: grid; gap: 12px; transition: opacity .3s, background .3s; }
.item-head { display: flex; gap: 12px; align-items: flex-start; }
.item-head .ih-text { flex: 1; min-width: 0; }
.item-head .ih-who { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.item-head h3 { font-size: var(--text-base); font-weight: 600; line-height: 1.35; margin-top: 2px; }
.item-head .amt { font-family: var(--font-display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.draft { background: var(--paper); border-radius: 10px; padding: 12px 14px; color: var(--ink-2); font-size: var(--text-base); line-height: 1.5; border: 1px solid var(--line); }
.voice { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--scout); }
.voice svg { width: 15px; height: 15px; }
.item-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.item-actions .btn { min-height: 46px; }
.item-actions .btn-ok { min-width: 120px; }
.item.done { background: var(--ok-bg); border-color: rgba(47,125,79,.25); }
.item.skipped { opacity: .62; }
.status-line { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status-line svg { width: 20px; height: 20px; }
.status-line.ok { color: var(--ok); }
.status-line.skip { color: var(--ink-3); }
.undo { margin-left: auto; background: transparent; border: 0; text-decoration: underline; color: var(--ink-2); min-height: 44px; padding: 0 6px; }
.legal { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: #7a2f10; font-size: var(--text-sm); font-weight: 500; border: 1px solid rgba(168,70,29,.25); }
.legal svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.all-clear { padding: 28px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.all-clear svg { width: 36px; height: 36px; color: var(--ok); }

.side-cards { display: grid; gap: 16px; }
.side-card { padding: 18px; }
.side-card h2 { font-size: var(--text-lg); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rw-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rw-row:first-of-type { border-top: 0; }
.rw-row .rw-name { flex: 1; min-width: 0; }
.rw-row .rw-name b { display: block; font-size: var(--text-base); }
.rw-row .rw-name span { font-size: 13px; color: var(--ink-3); }
.rw-row .rw-num { text-align: right; font-weight: 600; white-space: nowrap; }
.rw-row .rw-num span { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.prof dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: var(--text-sm); }
.prof dt { color: var(--ink-3); }
.prof dd { margin: 0; font-weight: 500; }
.used-by > span:first-child { width: 100%; }
.used-by { display: flex; gap: 4px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* Crew screens */
.crew-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.crew-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -.02em; }
.crew-hero p { color: var(--ink-2); }
.crew-hero .ch-stat { margin-left: auto; text-align: right; }
.crew-hero .ch-stat strong { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1; }
.crew-hero .ch-stat span { font-size: var(--text-sm); color: var(--ink-3); }
@media (max-width: 640px) { .crew-hero .ch-stat { margin-left: 0; text-align: left; width: 100%; display: flex; gap: 10px; align-items: baseline; } }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1080px) { .two { grid-template-columns: 1fr; } .two.side-first > aside { order: -1; } }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: transparent; font-weight: 600; font-size: var(--text-sm); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff8e8; border-color: var(--ink); }
.review-quote { font-size: var(--text-base); color: var(--ink); }
.review-quote .stars { margin-right: 6px; }

.ai-q { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.ai-q:first-child { border-top: 0; }
.ai-q .src { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.ai-q .qtext b { display: block; font-weight: 600; }
.ai-q .qtext span { font-size: 13px; color: var(--ink-3); }
.yes, .no { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.yes { background: var(--ok-bg); color: #1f5e39; }
.no { background: var(--warn-bg); color: #8a3412; }
.yes svg, .no svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .ai-q { grid-template-columns: 1fr auto; } .ai-q .src { grid-column: 1 / -1; justify-self: start; } }
.dots5 { display: flex; gap: 6px; margin: 10px 0; }
.dots5 span { width: 34px; height: 34px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; }
.dots5 span.on { background: var(--lookout); border-color: var(--lookout); color: #fff; }
.dots5 svg { width: 16px; height: 16px; }
.trend { display: flex; gap: 10px; align-items: flex-end; height: 90px; margin-top: 12px; }
.trend div { flex: 1; display: grid; gap: 6px; justify-items: center; font-size: 12px; color: var(--ink-3); }
.trend i { display: block; width: 100%; background: var(--lookout); border-radius: 6px 6px 2px 2px; opacity: .85; }

.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; padding: 0 10px 10px; }
.inv-table td { padding: 14px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.inv-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.inv-table tr.new td { background: #fdf3d6; }
.late { font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.late.l1 { background: #fdf0d2; color: #6b4700; }
.late.l2 { background: var(--warn-bg); color: #8a3412; }
.late.l3 { background: #f7dcd9; color: #8c231c; }
.late.paid { background: var(--ok-bg); color: #1f5e39; }
.sched { display: flex; gap: 4px; }
.sched span { width: 22px; height: 8px; border-radius: 4px; background: var(--paper-2); }
.sched span.on { background: var(--collector); }
.inv-table thead { display: none; }
.inv-table, .inv-table tbody, .inv-table tr, .inv-table td { display: block; width: 100%; }
.inv-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 4px; border-top: 1px solid var(--line); align-items: center; }
.inv-table tr.new { background: #fdf3d6; border-radius: 10px; padding-inline: 10px; }
.inv-table tr.new td { background: none; }
.inv-table td { border: 0; padding: 0; width: auto; }
.inv-table td.num { text-align: right; grid-column: 2; grid-row: 1; font-size: var(--text-lg); }
.inv-table td.c-late { grid-column: 1; display: flex; gap: 10px; align-items: center; }
.inv-table td.c-sched { grid-column: 2; grid-row: 2; }
.inv-table td.c-next { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--ink-3); }
}
.drop {
  border: 2px dashed var(--line-2); border-radius: 16px; padding: 22px; text-align: center; display: grid; gap: 8px; justify-items: center; background: #fff; cursor: pointer; transition: background .2s, border-color .2s;
}
.drop.over { background: #eef6f0; border-color: var(--collector); }
.drop svg.big { width: 34px; height: 34px; color: var(--collector); }
.drop b { font-size: var(--text-lg); }
.formats { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.formats span { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); }
.ai-read { padding: 16px; background: var(--ok-bg); border-radius: 14px; border: 1px solid rgba(47,125,79,.25); display: grid; gap: 8px; }
.ai-read .status-line { color: #1f5e39; }
.meter { height: 14px; background: var(--paper-2); border-radius: 99px; overflow: hidden; display: flex; }
.meter .rec { background: var(--collector); }
.meter .owe { background: var(--sign); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--text-sm); margin-top: 10px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; line-height: 1.05; }

.outline { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.outline li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); counter-increment: o; }
.outline li::before { content: counter(o, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; color: var(--ink-3); width: 28px; flex: none; }
.outline li .o-name { flex: 1; min-width: 0; }
.outline li .o-name span { display: block; font-size: 13px; color: var(--ink-3); }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pill.ready { background: var(--ok-bg); color: #1f5e39; }
.pill.update { background: #fdf0d2; color: #6b4700; }
.doc { padding: 22px; background: #fff; }
.doc h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-bottom: 4px; }
.doc h4 { margin: 14px 0 6px; font-size: var(--text-base); }
.doc ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.alert-card { padding: 18px; display: grid; gap: 10px; border: 1.5px solid rgba(181,51,43,.35); }
.alert-card .ah { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--rulebook); }
.alert-card .ah svg { width: 22px; height: 22px; }

/* Settings */
.set-grid { display: grid; gap: 16px; max-width: 760px; }
.set-card { padding: 20px; display: grid; gap: 12px; }
.set-card h2 { font-size: var(--text-lg); }
.set-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.set-row:first-of-type { border-top: 0; }
.confirm-box { padding: 18px; border-radius: 14px; background: var(--warn-bg); border: 1px solid rgba(168,70,29,.3); display: grid; gap: 12px; animation: fade .25s var(--ease); }
.confirm-box .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Email screen */
.inbox-wrap { display: grid; place-items: start center; padding: 24px var(--gut) 64px; }
.inbox-frame { width: min(400px, 100%); background: #fff; border-radius: 34px; border: 10px solid #1d1a16; box-shadow: var(--shadow-lg); overflow: hidden; }
.inbox-bar { padding: 14px 16px 10px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.inbox-bar .ib-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.inbox-bar h1 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.inbox-from { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 14px; }
.inbox-from .tile { width: 36px; height: 36px; font-size: 16px; border-radius: 50%; }
.inbox-from .tile::after { display: none; }
.inbox-from b { display: block; }
.inbox-from span { color: var(--ink-3); font-size: 13px; }
.inbox-frame .mail { border-radius: 0; box-shadow: none; border: 0; }

/* Mobile app chrome */
.tabbar { display: none; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { position: static; }
  .topbar-in { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .topbar .m-brand { display: flex; }
  .me { order: 2; }
  .me .me-name { display: none; }
  .ask { order: 3; flex-basis: 100%; max-width: none; }
  .ask-sugg { padding: 0 14px 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ask-sugg button { flex: none; }
  .content { padding: 18px 14px 110px; }
  .ask-answer { margin: 10px 14px 0; }
  .launcher { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .launch { align-items: center; text-align: center; padding: 10px 2px; gap: 6px; border-radius: 12px; }
  .launch b { font-size: 13px; }
  .launch .tile { width: 40px; height: 40px; font-size: 19px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,253,248,.97); border-top: 1px solid var(--line-2); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px); }
  .tabbar button { background: none; border: 0; min-height: 56px; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ink-3); border-radius: 10px; position: relative; }
  .tabbar button svg { width: 24px; height: 24px; }
  .tabbar button[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
  .tabbar .tb-count { position: absolute; top: 4px; left: calc(50% + 6px); background: var(--sign); color: #2a1f00; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 0 6px; }
  .item-actions .btn { flex: 1; min-width: 0; padding: 0 10px; }
  .item-actions .btn-ok { flex: 1.4; min-width: 0; }
  .kpi strong { font-size: 30px; }
}

/* Crew sheet (mobile) */
.sheet-back { position: fixed; inset: 0; background: rgba(29,26,22,.45); z-index: 90; animation: fade .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--paper); border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: up .3s var(--ease); max-height: 80vh; overflow: auto; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet h2 { font-size: var(--text-lg); margin-bottom: 10px; }
.sheet .nav-item { min-height: 58px; }
.modal-back { position: fixed; inset: 0; background: rgba(29,26,22,.45); z-index: 120; display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); padding: 20px; display: grid; gap: 12px; max-height: 86vh; overflow: auto; }

@media (max-width: 640px) {
  .rival-table .c-bar, .rival-table .stars { display: none; }
  .rival-table td, .rival-table th { padding-inline: 6px; }
}
.gate-wrap { position: relative; margin: -70px auto 0; max-width: 520px; z-index: 2; }

/* ---------- Revision 1: trade selector ---------- */
.rb-trade { display: flex; align-items: center; gap: 6px; }
.rb-trade select { max-width: 200px; }
.rb-break { display: none; }
@media (max-width: 1400px) { html.lp .rb-note { display: none; } }
@media (max-width: 1180px) { html.lp .rb-variants .rb-vlabel { display: none; } }
@media (max-width: 720px) {
  html.lp { --rb-h: 96px; }
  html.lp .rb { flex-wrap: wrap; align-content: center; row-gap: 6px; padding: 6px 8px; }
  html.lp .rb-tag { order: 1; }
  html.lp .rb label[for="rbScreen"] { order: 2; }
  html.lp #rbScreen { order: 3; }
  html.lp .rb-break { display: block; order: 4; flex-basis: 100%; height: 0; }
  html.lp .rb-variants { order: 5; }
  html.lp .rb-trade { order: 6; flex: 1; min-width: 0; }
  html.lp .rb-trade select { max-width: none; flex: 1; min-width: 0; width: 100%; }
}

/* ---------- Revision 1: problem mocks (generic UI, no third-party marks) ---------- */
.pc { background: #fff; border: 1px solid #ddd6c8; border-radius: 14px; box-shadow: 0 1px 2px rgba(40,30,10,.08), 0 10px 28px rgba(40,30,10,.12); font-family: Arial, 'Helvetica Neue', sans-serif; color: #202124; overflow: hidden; position: relative; text-align: left; }
.pc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #ece7dc; background: #fafafa; }
.pc-bar-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pc-bar-t b { font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-bar-t span { font-size: 12px; color: #5f6368; }
.pc-bar-t u { text-decoration: none; color: #b3261e; font-weight: 700; border-bottom: 2px solid #b3261e; }
.pc-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.pc-ico svg { width: 16px; height: 16px; }
.pc-ico.pin { background: #c0392b; border-radius: 50%; }
.pc-ico.ledger { background: #2e7d5b; }
.pc-ico.grp { background: #6b7785; border-radius: 50%; }
.pc-ico.ai { background: #3b3b3b; border-radius: 50%; }
.pc-ico.sent { background: #3d5a80; }
.pc-body { padding: 12px; }
.pc-body.flush { padding: 0; }
.pc-rv-head { display: flex; gap: 10px; align-items: center; }
.pc-rv-head b { display: block; font-size: 14px; }
.pc-rv-head span { font-size: 12px; color: #5f6368; }
.pc-av { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }
.pc-av.sm { width: 26px; height: 26px; font-size: 12px; }
.pc-stars { color: #c9c4b8; font-size: 16px; letter-spacing: 1px; margin: 8px 0 4px; }
.pc-stars .on { color: #e3a008; }
.pc-text { font-size: 14px; line-height: 1.45; color: #303134; }
.pc-flag { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: #fdecea; color: #a12a1f; font-size: 13px; font-weight: 700; }
.pc-flag svg { width: 15px; height: 15px; flex: none; }
.pc-flag.muted { background: #f1efe9; color: #4f4a42; }
.pc-inv-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eee9de; }
.pc-inv-who { min-width: 0; }
.pc-inv-who b, .pc-inv-amt b { display: block; font-size: 14px; line-height: 1.3; }
.pc-inv-who span { font-size: 12px; color: #5f6368; }
.pc-inv-amt { text-align: right; flex: none; }
.pc-overdue { display: inline-block; margin-top: 3px; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; }
.pc-quiet { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; color: #8a4b0f; font-size: 12px; font-weight: 700; }
.pc-quiet svg { width: 13px; height: 13px; }
.pc-inv-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; background: #fdf3f1; font-size: 13px; color: #5f6368; gap: 8px; }
.pc-inv-total b { color: #a12a1f; font-size: 16px; }
.pc-quote .pc-inv-total { background: #faf6ee; }
.pc-quote .pc-inv-total b { color: #202124; }
.pc-unread { background: #d93025; color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 6px; }
.pc-body.thread { background: #f3f4f6; display: grid; gap: 8px; }
.pc-msg { display: flex; gap: 8px; align-items: flex-end; }
.pc-msg > div { min-width: 0; }
.pc-msg-n { display: block; font-size: 11px; color: #5f6368; margin: 0 0 2px 4px; }
.pc-bubble { display: inline-block; background: #e4e6eb; color: #1c1e21; border-radius: 16px; padding: 7px 11px; font-size: 14px; line-height: 1.35; }
.pc-ask { margin-left: auto; width: fit-content; max-width: 92%; background: #ececec; border-radius: 16px; padding: 8px 12px; font-size: 14px; }
.pc-ol { margin: 6px 0 0 20px; padding: 0; font-size: 14px; line-height: 1.6; }
.pc-trade { position: absolute; top: 9px; right: 10px; font-size: 11px; font-weight: 700; color: #4f4a42; background: #fff7e0; border: 1px solid #ecd9a0; padding: 2px 7px; border-radius: 999px; font-family: var(--font-body); }

.pc:has(.pc-trade) .pc-bar { padding-right: 120px; }

/* Hero stage: problem behind, crew fix in front */
.stage { position: relative; min-height: 620px; }
.stage .phone { width: min(330px, 100%); margin: 0 0 0 auto; z-index: 2; }
.stage-problem { position: absolute; left: -36px; top: 72px; width: 290px; z-index: 1; transform: rotate(-3deg); }
.stage-problem .pc { padding-right: 0; }
.stage-problem .pc-body, .stage-problem .pc-bar { padding-right: 46px; }
.stage-problem .pc-body.flush .pc-inv-row, .stage-problem .pc-inv-total { padding-right: 46px; }
.stage-arrow { display: none; }
.ptag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.ptag svg { width: 15px; height: 15px; }
.ptag.before { top: -14px; left: 14px; background: #fbe4dc; color: #8a2a12; border: 1px solid #efb9a6; }
.ptag.after { top: -14px; right: 18px; background: var(--ok); color: #fff; }
.mock-card.fix { border: 2px solid var(--ok); }
.mc-voice { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ok); }
.mc-voice svg { width: 13px; height: 13px; }
.mc-policy { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.mc-policy b { display: block; color: var(--ink); font-size: 13px; }
.mock-win { background: var(--ok-bg); border: 1px solid #bcdcc6; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 2px; }
.mock-win .mw-k { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.mock-win strong { font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: -.02em; color: #1f5c38; }
.mock-win .mw-s { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: #1f5c38; font-weight: 600; }
.mock-win .mw-s svg { width: 14px; height: 14px; }
@media (max-width: 1100px) and (min-width: 961px) { .stage-problem { left: -20px; width: 260px; } }
@media (max-width: 960px) {
  .stage { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .stage-problem { position: relative; left: auto; top: auto; transform: none; width: min(420px, 100%); margin-top: 14px; }
  .stage-problem .pc-body, .stage-problem .pc-bar, .stage-problem .pc-body.flush .pc-inv-row, .stage-problem .pc-inv-total { padding-right: 12px; }
  .stage-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--sign); margin: 14px 0 22px; }
  .stage-arrow svg { width: 20px; height: 20px; }
  .stage .phone { margin: 0 auto; }
}

/* Sound familiar strip */
.familiar { background: var(--paper); border-top: 1px solid var(--line); }
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .fam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fam-grid { grid-template-columns: 1fr; } }
.fam-card { display: flex; flex-direction: column; gap: 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.fam-shot { flex: 1; }
.fam-fix { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.fam-fix p { font-size: var(--text-sm); line-height: 1.45; }
.fam-cta { background: var(--ink); color: #fff8e8; justify-content: space-between; padding: 24px; }
.fam-cta h3 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; margin: 10px 0; }
.fam-cta p { color: #d9cfbd; }
.fam-cta .eyebrow { color: var(--sign); }
.before-line { color: #8a2a12 !important; font-size: var(--text-sm); background: #fbeee8; border-radius: 8px; padding: 6px 9px; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.founder { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.f-row { display: flex; gap: 14px; align-items: center; }
.f-row b { display: block; font-size: var(--text-lg); }
.f-row span { color: var(--ink-3); font-size: var(--text-sm); }
.f-av { width: 64px; height: 64px; font-size: 22px; background: var(--sign); color: #2a1f00; border: 0; }
.f-quote { font-size: var(--text-lg); line-height: 1.45; }
.f-phone { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: var(--text-base); padding-top: 14px; border-top: 1px dashed var(--line-2); }
.f-phone svg { width: 18px; height: 18px; color: var(--ok); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .promises { grid-template-columns: 1fr; } }
.promises li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.promises li > svg { width: 24px; height: 24px; color: var(--ok); flex: none; margin-top: 2px; }
.promises b { display: block; margin-bottom: 4px; }
.promises span { color: var(--ink-2); font-size: var(--text-sm); }
.promises .sample-pill { color: var(--sign-ink); font-size: 11px; vertical-align: middle; }
.av-irrigation { background: #dfe9f5 !important; color: #1e4f86 !important; }
.av-hvac { background: #e4f1e8 !important; color: #1f5c38 !important; }
.av-salon { background: #f6e1df !important; color: #8a2a22 !important; }
.av-restaurant { background: #fbe9d4 !important; color: #7a3e0c !important; }
.av-retail { background: #ece4f5 !important; color: #4e3482 !important; }
/* stage tuning */
@media (min-width: 961px) { .hero-grid:has(.stage) { grid-template-columns: 1fr 1fr; } }
.stage .phone { width: min(310px, 100%); }
.stage-problem { left: -14px; top: 96px; width: 280px; }
.ptag.before { top: -30px; left: 10px; }
@media (max-width: 1100px) and (min-width: 961px) { .stage-problem { left: -30px; width: 250px; } }
@media (max-width: 960px) { .stage-problem { margin-top: 36px; } }
.pc-inv-amt span { font-size: 12px; color: #5f6368; }
.pc-inv-who .pc-overdue { display: table; }
.stage .phone { width: min(300px, 100%); }
.stage-problem { left: -24px; width: 290px; }
.stage-problem .pc-body, .stage-problem .pc-bar, .stage-problem .pc-body.flush .pc-inv-row, .stage-problem .pc-inv-total { padding-right: 34px; }
@media (max-width: 960px) { .stage-problem .pc-body, .stage-problem .pc-bar, .stage-problem .pc-body.flush .pc-inv-row, .stage-problem .pc-inv-total { padding-right: 12px; } }
.pc-inv-who .pc-overdue { color: #fff; font-size: 11px; margin-top: 4px; }
.pc-rv-head .pc-av, .pc-msg .pc-av { color: #fff; font-size: 13px; }
.f-row .f-av { color: #2a1f00; font-size: 22px; }
@media (max-width: 960px) {
  .stage-problem { left: auto; top: auto; width: min(420px, 100%); margin-top: 36px; }
  .stage .phone { width: min(330px, 100%); }
}
@media (max-width: 1000px) { html.lp .rb-label-text { display: none; } }
@media (max-width: 860px) { html.lp .rb-reset { display: none; } }
@media (max-width: 860px) and (min-width: 721px) { html.lp .rb select { max-width: 30vw; } }

/* ---------- Round 2: AI identity ---------- */
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; background: var(--ink); color: #fff8e8; border-radius: 999px; padding: 7px 16px 7px 12px; }
.ai-badge svg { width: 17px; height: 17px; color: var(--sign); }
.trade-line.sm { font-size: 13px; font-weight: 600; padding: 4px 12px 4px 6px; color: var(--ink-2); }
.trade-line.sm .dot { width: 18px; height: 18px; }
.trade-line.sm .dot svg { width: 11px; height: 11px; }
.tagline { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); border-left: 4px solid var(--sign); padding-left: 12px; margin: 2px 0; }
.crew-card .role { display: inline-block; justify-self: start; align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--c, var(--ink)); background: color-mix(in srgb, var(--c, #888) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c, #888) 30%, #fff); border-radius: 999px; padding: 3px 10px; margin: 2px 0 4px; }
.ai-proud { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 15px; background: #fdf1cf; border: 1px solid #ecd28a; color: #5a4300; border-radius: 12px; padding: 6px 14px 6px 10px; }
.ai-proud svg { width: 16px; height: 16px; color: #b07d00; }
.ai-proud-inline { display: block; font-family: var(--font-display); font-size: 1.125rem; }

/* Variant D: blank chat box */
.pc-chat { padding: 0; }
.pc-chat-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #ece7dc; font-size: 14px; }
.pc-chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #c9c3b6; }
.pc-chat-sub { margin-left: auto; font-size: 12px; color: #8a8478; }
.pc-chat-empty { padding: 26px 16px 18px; text-align: center; display: grid; gap: 10px; }
.pc-chat-q { font-size: 19px; font-weight: 700; color: #3a3833; }
.pc-chat-empty span { font-size: 13px; color: #7a7468; line-height: 1.45; }
.pc-chat-input { margin: 0 12px 14px; display: flex; align-items: center; gap: 6px; border: 1px solid #d6d0c3; border-radius: 22px; padding: 10px 10px 10px 14px; font-size: 15px; color: #9a9488; }
.pc-chat-ph { flex: 1; }
.pc-chat-input svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #d9d4c9; color: #fff; }
.pc-caret { width: 2px; height: 20px; background: #202124; animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.stage-problem.is-chat .ptag.before { white-space: normal; max-width: 270px; line-height: 1.25; }
.crew-row { display: flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.crew-row span:last-child { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }

/* Not another chatbot */
.chatbot { background: var(--paper); border-top: 1px solid var(--line); }
.cmp { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); max-width: 920px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-cell { display: flex; align-items: flex-start; gap: 10px; padding: 16px 20px; font-size: 1.0625rem; line-height: 1.4; }
.cmp-cell > svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.cmp-them { color: var(--ink-2); background: #f3eee4; }
.cmp-them > svg { color: #a2412a; }
.cmp-us { font-weight: 600; background: #fffdf7; border-left: 3px solid var(--sign); }
.cmp-us > svg { color: var(--ok); }
.cmp-head .cmp-cell { align-items: center; padding: 18px 20px; }
.cmp-head b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; color: var(--ink); }
.cmp-head .cmp-cell span:not(.tile):not(.cmp-ic):not(.cmp-tiles) { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.cmp-ic { width: 40px; height: 40px; border-radius: 10px; background: #e2dccf; display: grid; place-items: center; flex: none; }
.cmp-ic svg { width: 22px; height: 22px; color: #6d675c; }
.cmp-tiles { display: flex; gap: 3px; flex: none; }
.cmp-foot { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; }
@media (max-width: 640px) {
  .cmp-cell { padding: 13px 12px; font-size: 1rem; gap: 8px; }
  .cmp-cell > svg { width: 18px; height: 18px; }
  .cmp-head .cmp-cell { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; }
  .cmp-head b { font-size: 1.125rem; }
}

/* Mission strip */
.mission { background: var(--sign); color: var(--ink); padding: clamp(28px, 4vw, 44px) 0; }
.mission p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em; max-width: 860px; text-wrap: balance; }
.mission b { font-weight: 800; }

/* Settings AI badge (idea) */
.set-badge-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.set-badge-h h2 { margin: 0; }
.ai-sticker { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff8e8; border-radius: 16px; padding: 16px 18px; border: 3px solid var(--sign); margin: 6px 0 4px; }
.ai-sticker b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }
.ai-sticker div span { font-size: 13px; color: var(--sign); font-weight: 700; }
.ai-sticker-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--sign); color: var(--ink); display: grid; place-items: center; flex: none; }
.ai-sticker-ic svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .crew-card > .tile { grid-row: 1 / span 6; }
  .crew-card > :not(.tile) { grid-column: 2; }
  .crew-card .role { justify-self: start; }
}
@media (min-width: 961px) {
  .stage-problem.is-chat .pc-chat-top { padding-right: 46px; }
  .stage-problem.is-chat .pc-chat-empty { padding-right: 50px; padding-left: 14px; }
  .stage-problem.is-chat .pc-chat-input { margin-right: 46px; }
  .stage-problem.is-chat .pc-chat-sub { display: none; }
  .stage-problem.is-chat .pc-chat-q { font-size: 17px; }
  .stage-problem.is-chat .ptag.before { max-width: 220px; top: -44px; }
}
@media (max-width: 960px) {
  .stage-problem.is-chat { margin-top: 52px; }
  .stage-problem.is-chat .ptag.before { white-space: normal; max-width: calc(100% - 28px); top: -42px; }
}
@media (min-width: 961px) {
  .stage-problem .pc-review .pc-body, .stage-problem .pc-review .pc-bar, .stage-problem .pc-staff .pc-bar, .stage-problem .pc-staff .pc-body { padding-right: 54px; }
  .stage-problem .pc-staff .pc-bubble { max-width: 172px; }
  .stage-problem .pc-flag { margin-right: 0; }
}

/* ===================== Round 3: rebrand + funnel ===================== */
:root {
  --scout: #b8592a; --lookout: #7d6a1e; --collector: #3f7a4a; --closer: #8a5536; --rulebook: #a2393a;
}
/* review bar: price select, 2 rows on phones for every screen */
.rb-price select { max-width: 110px; }
@media (max-width: 720px) {
  :root { --rb-h: 96px; }
  .rb { flex-wrap: wrap; align-content: center; row-gap: 6px; padding: 6px 8px; }
  .rb-tag { order: 1; } .rb label[for="rbScreen"] { order: 2; } #rbScreen { order: 3; }
  .rb-break { display: block; order: 4; flex-basis: 100%; height: 0; }
  .rb-variants { order: 5; } .rb-trade { order: 6; flex: 1; min-width: 0; } .rb-price { order: 7; }
  .rb-trade select { max-width: none; width: 100%; }
  html:not(.lp) .rb-price { flex: 1; } html:not(.lp) .rb-price select { max-width: none; width: 100%; }
  html.fnv.lp .rb-price { flex: 1; } html.fnv.lp .rb-price select { max-width: none; width: 100%; }
}
/* wordmark */
.wordmark { gap: 9px; }
.wm-mark { width: 24px; height: 28px; flex: none; }
.wm-text { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.025em; color: var(--ink); }
.wm-text span { color: #b07a0a; }
.wordmark.sm .wm-mark { width: 20px; height: 24px; }
.wordmark.sm .wm-text { font-size: 21px; }
/* crew avatars: round, line icon, warm tints */
.tile.av { border-radius: 50%; background: color-mix(in srgb, var(--c) 13%, #fffaf0); color: var(--c); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 32%, transparent); font-size: 0 !important; }
.tile.av::after { display: none; }
.tile.av svg { width: 52%; height: 52%; stroke-width: 2.1; }
.inbox-from .tile.av { width: 36px; height: 36px; }
/* app home: crew strip instead of a launcher grid */
.launcher { display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
.launch { flex-direction: row; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; min-height: 52px; }
.launch .desc { display: none; }
.launch:hover { transform: none; box-shadow: var(--shadow); }
@media (max-width: 720px) {
  .launcher { flex-wrap: nowrap; overflow-x: auto; grid-template-columns: none; padding-bottom: 4px; }
  .launch { flex: none; flex-direction: row; padding: 5px 14px 5px 5px; text-align: left; border-radius: 999px; }
  .launch .tile { width: 36px; height: 36px; }
}
.ai-sticker-ic { background: var(--sign); }

/* ---------- Funnel ---------- */
.fn { min-height: calc(100vh - var(--rb-h)); background: var(--paper); }
.fn-col { max-width: 480px; margin: 0 auto; padding: 14px 20px 40px; }
.fn.has-foot .fn-col { padding-bottom: 210px; }
.fn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-bottom: 14px; }
.fn-dots { display: flex; gap: 6px; }
.fn-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.fn-dots span.cur { width: 26px; border-radius: 6px; background: var(--ink); }
.fn-dots span.done { background: #b07a0a; }
.fn-hero { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; padding: 4vh 0 24px; }
.fn-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; background: var(--ink); color: #fff8e8; border-radius: 999px; padding: 6px 12px 6px 10px; }
.fn-badge svg { width: 15px; height: 15px; color: var(--sign); }
.fn-h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.fn-h1.sm { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem); }
.fn-sub { font-size: 1.125rem; color: var(--ink-2); margin: 8px 0 18px; }
.fn-form { display: grid; gap: 10px; }
.fn-label { font-weight: 700; font-size: 1rem; }
.fn-input { width: 100%; min-height: 58px; border: 2px solid var(--line-2); border-radius: 14px; background: #fff; padding: 0 16px; font-size: 1.125rem; }
.fn-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242,182,50,.45); }
.fn-ac { position: relative; }
.fn-ac .fn-input { padding-left: 46px; }
.fn-ac-ic { position: absolute; left: 15px; top: 19px; color: var(--ink-3); pointer-events: none; }
.fn-ac-ic svg { width: 20px; height: 20px; }
.fn-sugg-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.fn-sugg { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 16px; border: 0; background: #fff; text-align: left; border-bottom: 1px solid var(--line); }
.fn-sugg:hover, .fn-sugg:focus-visible { background: #fdf3d8; }
.fn-sugg svg { width: 18px; height: 18px; color: #b07a0a; flex: none; }
.fn-sugg b { display: block; font-size: 1.0625rem; }
.fn-sugg small { display: block; color: var(--ink-3); font-size: 14px; }
.fn-sugg-foot { font-size: 12px; color: var(--ink-3); padding: 6px 16px; text-align: right; }
.fn-cta { width: 100%; min-height: 60px; font-size: 1.1875rem; font-weight: 700; border-radius: 14px; }
.fn-cta svg { width: 20px; height: 20px; }
.fn-cta[disabled] { opacity: .55; cursor: not-allowed; }
.fn-cta2 { width: 100%; min-height: 56px; font-size: 1.0625rem; border-radius: 14px; }
.fn-ticks { display: flex; justify-content: center; gap: 16px; white-space: nowrap; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.fn-ticks span { display: inline-flex; align-items: center; gap: 5px; }
.fn-ticks svg { width: 16px; height: 16px; color: var(--ok); }
.fn-err { color: var(--warn); font-weight: 600; font-size: 15px; }
.fn-hint { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.fn-hint svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.fn-below { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.fn-ba { display: grid; gap: 22px; }
.fn-ba-col { position: relative; }
.fn-ba-tag { position: absolute; top: -12px; left: 12px; z-index: 2; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.fn-ba-tag.bad { background: #fbe4dc; color: #8a2a12; border: 1px solid #efb9a6; }
.fn-ba-tag.good { background: var(--ok); color: #fff; }
.fn-sms-mini { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 12px 12px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.fn-bub { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; font-size: 15px; line-height: 1.35; }
.fn-bub span { background: #efe9dd; border-radius: 16px 16px 16px 4px; padding: 9px 12px; }
.fn-bub.me { justify-self: end; background: #2f7d4f; color: #fff; border-radius: 16px 16px 4px 16px; padding: 8px 16px; font-weight: 700; }
.fn-quotes { display: grid; gap: 12px; }
.fn-q { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.fn-q blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.fn-q figcaption { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.fn-sample { font-size: 12px; color: var(--ink-3); text-align: right; }
.fn-price-line { text-align: center; font-size: 1.125rem; }
.fn-price-line b { font-family: var(--font-display); font-size: 1.5rem; }
/* scan */
.fn-scan { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fn-scan-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px 8px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: opacity .3s; }
.fn-scan-row.wait { opacity: .38; }
.fn-scan-row.now { border-color: var(--sign); box-shadow: 0 0 0 3px rgba(242,182,50,.3); }
.fn-scan-row .tile { width: 36px; height: 36px; }
.fn-scan-t { flex: 1; font-weight: 600; font-size: 1rem; line-height: 1.3; display: grid; gap: 2px; }
.fn-scan-r { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--ok); }
.fn-scan-r.bad { color: var(--warn); }
.fn-scan-r svg { width: 16px; height: 16px; flex: none; }
.fn-dotdot { display: inline-block; margin-left: 2px; animation: caret 1s steps(1) infinite; }
/* toggles */
.fn-togs { display: grid; gap: 10px; }
.fn-tog { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); min-height: 88px; transition: border-color .15s, background .15s, opacity .15s; }
.fn-tog.on { border-color: #2f7d4f; background: #fbfdf8; }
.fn-tog:not(.on) { opacity: .7; }
.fn-tog .tile { width: 48px; height: 48px; }
.fn-tog-t { flex: 1; display: grid; gap: 3px; }
.fn-tog-t small { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.fn-tog-t b { font-size: 1.125rem; line-height: 1.25; }
.fn-chip { justify-self: start; font-size: 13px; font-weight: 700; color: #1f5c38; background: var(--ok-bg); border-radius: 999px; padding: 3px 10px; }
.fn-tog:not(.on) .fn-chip { color: var(--ink-3); background: var(--paper-2); }
.fn-switch { width: 52px; height: 32px; border-radius: 999px; background: #cfc6b6; position: relative; flex: none; transition: background .15s; }
.fn-switch span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s var(--ease); }
.fn-tog.on .fn-switch { background: var(--ok); }
.fn-tog.on .fn-switch span { transform: translateX(20px); }
.fn-anchor { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.fn-anchor svg { width: 18px; height: 18px; flex: none; }
.fn-anchor a { color: var(--ink-3); font-size: 13px; }
/* sticky foot */
.fn-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,253,248,.97); border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px rgba(40,30,10,.1); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
.fn-foot-in { max-width: 480px; margin: 0 auto; display: grid; gap: 10px; }
.fn-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.fn-total > div { display: grid; }
.fn-total b { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.1; }
.fn-total .fn-total-d { color: var(--ok); }
.fn-total-k { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.fn-total-p { text-align: right; }
.fn-est { font-size: 12px; color: var(--ink-3); }
/* signup */
.fn-plan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.fn-plan b { font-family: var(--font-display); font-size: 1.75rem; }
.fn-plan span { color: var(--ink-2); }
.fn-plan-sw { flex-basis: 100%; text-align: left; font-size: 15px; min-height: 32px; }
.fn-pay { display: grid; gap: 10px; margin-top: 8px; }
.fn-paybtn { min-height: 60px; border-radius: 14px; font-size: 1.125rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid var(--ink); }
.fn-paybtn svg { width: 20px; height: 20px; }
.fn-paybtn.apple { background: #000; color: #fff; }
.fn-paybtn.google { background: #fff; color: var(--ink); }
.fn-cardlink { justify-self: center; min-height: 44px; font-size: 1rem; }
.fn-card { display: grid; gap: 8px; }
.fn-card-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fn-fine { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-2); }
.fn-fine svg { width: 16px; height: 16px; color: var(--ok); }
.fn-paying { display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 700; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* done */
.fn-done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.fn-done-ic svg { width: 34px; height: 34px; stroke-width: 3; }
.fn-how { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.fn-how li { display: flex; gap: 12px; align-items: center; font-size: 1.0625rem; }
.fn-how svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fdf1cf; color: #8a5a00; flex: none; }
.fn-phone { background: #fff; border: 8px solid #1d1a16; border-radius: 30px; padding: 14px 10px; margin: 6px 0 18px; box-shadow: var(--shadow-lg); }
.fn-connect { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.fn-connect .addr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fn-connect code { font-size: 14px; background: var(--paper-2); padding: 6px 8px; border-radius: 6px; word-break: break-all; }
.fn-dash { text-align: center; margin-top: 10px; }
.fn-dash .link-btn { min-height: 44px; }
/* sms */
.sms { display: grid; gap: 8px; }
.sms-day { text-align: center; font-size: 12px; color: #8a8478; font-weight: 600; margin: 6px 0 2px; }
.sms-row { display: flex; gap: 6px; align-items: flex-end; }
.sms-row .tile { width: 28px; height: 28px; }
.sms-bub { max-width: 82%; font-size: 15px; line-height: 1.38; padding: 9px 12px; border-radius: 18px 18px 18px 5px; background: #ece6da; color: #1d1a16; }
.sms-bub b { display: block; font-size: 12px; color: #6e675c; margin-bottom: 1px; }
.sms-row.sms-me { justify-content: flex-end; }
.sms-row.sms-me .sms-bub { background: #2f7d4f; color: #fff; border-radius: 18px 18px 5px 18px; font-weight: 600; }
.sms-top { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; border-bottom: 1px solid #ece7dc; margin-bottom: 6px; }
.sms-top svg { width: 20px; height: 20px; color: var(--ink-3); }
.sms-who b { display: block; font-size: 15px; } .sms-who small { color: var(--ink-3); font-size: 12px; }
.sms-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.sms-quick .btn { min-height: 52px; }
@media (min-width: 900px) {
  .fn-hero { min-height: calc(100vh - var(--rb-h) - 110px); justify-content: center; padding-top: 0; }
  .fn { background: radial-gradient(1200px 500px at 50% -10%, #fbefcf 0%, var(--paper) 60%); }
  .fn-col { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .fn-switch span, .fn-tog { transition: none; } }
.fn-trial { flex-basis: 100%; font-weight: 800; color: var(--ok); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.fn-fine.strong { font-weight: 700; color: var(--ink); font-size: 15px; text-align: center; }
.fn-price-line span { font-size: 15px; color: var(--ink-3); }
.fn-scan-ok { flex: none; color: var(--ok); } .fn-scan-ok.bad { color: var(--warn); }
.fn-scan-ok svg { width: 22px; height: 22px; }
.fn-scan-r { font-size: 14px; }

.t-ac { --c: #9a6a00; }
.fn-sms-mini { padding-top: 20px; }
