/* ZHD Cleaning growth proposal. Trade Tech Solutions. */

:root {
  /* Surfaces */
  --bg: #F1F5F7;
  --surface: #FFFFFF;
  --tint: #E6EEF2;
  --line: #CFDAE0;
  /* Ink */
  --ink: #14191D;
  --ink-2: #3B464E;
  --ink-3: #5F6C75;
  /* ZHD (client) */
  --zhd: #1C4A7E;
  --zhd-bright: #5CC3E8;
  --zhd-soft: #DCEFF8;
  /* TradeEngine / Trade Tech (system) */
  --te: #B85E1E;
  --te-bright: #F07224;
  --te-soft: #F7E7DA;
  /* Dark band, same look in both themes */
  --band: #191D20;
  --band-2: #22282C;
  --band-line: #343C42;
  --on-band: #EEF2F4;
  --on-band-2: #B4BFC6;
  --plate: #FFFFFF;
  --ios-bg: #FFFFFF;
  --ios-bubble: #E9E9EB;
  --ios-text: #000000;
  --ios-meta: #8A8A8E;
  --ios-sent: #34C759;
  --ios-lockbg: linear-gradient(160deg, #5B7FA6, #2D4A6E);
  --ios-notify: rgba(245, 245, 247, .92);
  --ios-avatar: linear-gradient(180deg, #A5ABB9, #858994);
  --ok: #1F7A4A;
  --ok-soft: #E2F1E7;
  --bad: #8B1D1D;
  --bad-soft: #F6E2E0;
  --shadow: 0 1px 2px rgba(20, 25, 29, .06), 0 8px 24px rgba(20, 25, 29, .06);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
  --r-sm: 6px;
  --gutter: clamp(16px, 4.5vw, 44px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0E1215;
    --surface: #161B1F;
    --tint: #12171A;
    --line: #2A3238;
    --ink: #EDF1F3;
    --ink-2: #BFC9CF;
    --ink-3: #8E9BA3;
    --zhd: #7FCDEE;
    --zhd-bright: #5CC3E8;
    --zhd-soft: #12303F;
    --te: #EE8A48;
    --te-bright: #F07224;
    --te-soft: #3A2417;
    --band: #1A1F23;
    --band-2: #22292E;
    --band-line: #353E45;
    --ios-bg: #000000;
    --ios-bubble: #262629;
    --ios-text: #FFFFFF;
    --ios-meta: #8D8D93;
    --ios-avatar: linear-gradient(180deg, #6E7280, #52555E);
    --ios-bg: #000000;
  --ios-bubble: #262629;
  --ios-text: #FFFFFF;
  --ios-meta: #8D8D93;
  --ios-avatar: linear-gradient(180deg, #6E7280, #52555E);
  --ok: #62C58F;
    --ok-soft: #13301F;
    --bad: #E58580;
    --bad-soft: #3B1715;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1215;
  --surface: #161B1F;
  --tint: #12171A;
  --line: #2A3238;
  --ink: #EDF1F3;
  --ink-2: #BFC9CF;
  --ink-3: #8E9BA3;
  --zhd: #7FCDEE;
  --zhd-bright: #5CC3E8;
  --zhd-soft: #12303F;
  --te: #EE8A48;
  --te-bright: #F07224;
  --te-soft: #3A2417;
  --band: #1A1F23;
  --band-2: #22292E;
  --band-line: #353E45;
  --ok: #62C58F;
  --ok-soft: #13301F;
  --bad: #E58580;
  --bad-soft: #3B1715;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 17px; } }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--zhd-bright); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h2 {
  font-weight: 750;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 24ch;
}
.h3 {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
}
.eyebrow, .label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-3);
}
.eyebrow { margin-bottom: 14px; display: block; }
.eb-zhd { color: var(--zhd); }
.eb-te { color: var(--te); }
.band .eb-te { color: #F29A5E; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 60ch; margin-top: 22px; }
.intro { color: var(--ink-2); max-width: 64ch; margin-top: 16px; }
.small { font-size: .88rem; }
.muted { color: var(--ink-3); }
.mt { margin-top: 48px; }
.accent-zhd { color: var(--zhd); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-zhd { background: var(--zhd); color: var(--bg); }
.btn-zhd:hover { filter: brightness(1.08); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-te { background: var(--te-bright); color: #1A1208; }
.btn-te:hover { background: #F58A45; }
.btn-ghost-band { border-color: var(--band-line); color: var(--on-band); background: transparent; }
.btn-ghost-band:hover { border-color: var(--on-band-2); }
.btn-zhd-soft { background: var(--zhd-soft); color: var(--zhd); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Logo plates (logos always on white, with clear space) ---------- */
.plate { background: var(--plate); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.plate img { width: 100%; height: auto; }
.plate-xs { width: 44px; padding: 3px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.plate-md { width: min(100%, 250px); padding: 14px 18px; box-shadow: 0 0 0 1px var(--line); }
.plate-lg { width: 170px; padding: 12px 16px; box-shadow: var(--shadow); }
.plate-te { width: min(100%, 230px); box-shadow: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg);
  transition: box-shadow .25s;
}
.topbar.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.05); }
.topbar-inner {
  max-width: 1180px; margin-inline: auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-id { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.topbar-title { display: flex; flex-direction: column; line-height: 1.15; }
.topbar-title strong { font-weight: 750; font-size: .95rem; }
.topbar-sub { font-size: .75rem; color: var(--ink-3); }
.topbar-now { display: none; font-size: .82rem; color: var(--ink-3); }
.topbar-now span { font-weight: 600; color: var(--ink-2); }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1000px) { .topbar-now { display: block; } }
.progress { height: 3px; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--te-bright); transition: width .1s linear; }

/* ---------- Contents sheet ---------- */
.contents {
  position: fixed; z-index: 60; inset: auto 0 0 0;
  background: var(--surface); color: var(--ink);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
  max-height: 78vh; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 720px) {
  .contents { inset: 72px var(--gutter) auto auto; width: 360px; border-radius: 12px; max-height: calc(100vh - 100px); }
}
.contents-inner { padding: 20px; }
.contents-head { font-weight: 700; margin-bottom: 10px; }
.contents-list { counter-reset: c; }
.contents-list a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2);
}
.contents-list a:hover { background: var(--tint); }
.contents-list a.is-current { background: var(--zhd-soft); color: var(--zhd); font-weight: 600; }
.scrim { position: fixed; inset: 0; background: rgba(10, 14, 17, .45); z-index: 55; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head-tight { margin-bottom: 26px; }
.band { background: var(--band); color: var(--on-band); }
.band .intro, .band p { color: var(--on-band-2); }
.band .h2, .band .h3, .band h4, .band strong { color: var(--on-band); }
.muted-on-band { color: var(--on-band-2); }

/* ---------- Cover ---------- */
.cover { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 100px); }
.cover-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .cover-grid { grid-template-columns: 1.55fr 1fr; align-items: end; gap: 56px; } }
.prepared { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.cover .eyebrow { color: var(--zhd); }
.cover-card {
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 26px; display: grid; gap: 26px;
}
.meta { display: grid; gap: 14px; margin: 0; }
.meta div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.meta dt { font-size: .72rem; color: var(--ink-3); font-weight: 650; }
.meta dd { margin: 0; font-weight: 550; }
.by { display: grid; gap: 14px; }
.by-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.by-row .plate-md { width: min(100%, 230px); padding: 12px 14px; }

/* ---------- Starting point ---------- */
.assets { display: grid; gap: 16px; }
@media (min-width: 640px) { .assets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .assets { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.asset { background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.asset-k { font-weight: 700; font-size: .78rem; color: var(--zhd); display: flex; align-items: center; gap: 8px; }
.asset h3 { font-size: 1.12rem; line-height: 1.3; }
.asset p:last-child { color: var(--ink-2); font-size: .95rem; }

/* ---------- Question ---------- */
.question-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .question-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.question-old, .question-new { display: flex; flex-direction: column; gap: 10px; }
.question-old { font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--ink-3); font-weight: 500; margin-bottom: 32px; }
.question-old .label { text-decoration: none; display: block; }
.question-new { font-weight: 750; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; max-width: 28ch; }
.question-new .label { color: var(--zhd); }
.note-card { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.note-card h3 { font-size: 1.15rem; }
.note-card p { color: var(--ink-2); font-size: .96rem; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 760px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .roadmap { grid-template-columns: 1.25fr 1fr 1fr 1fr; } }
.rm a {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 24px; border-radius: var(--r); text-decoration: none;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s;
}
.rm a:hover { box-shadow: 0 0 0 1.5px var(--ink-3); transform: translateY(-2px); }
.rm-start a { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.rm-start a:hover { box-shadow: var(--shadow); }
.rm-n { font-weight: 800; font-size: .85rem; color: var(--ink-3); }
.rm-start .rm-n { color: var(--te-bright); }
.rm-title { font-weight: 750; font-size: 1.25rem; line-height: 1.2; }
.rm-desc { font-size: .93rem; color: var(--ink-2); flex: 1; }
.rm-start .rm-desc { color: inherit; opacity: .78; }
.rm-price { font-size: .92rem; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; padding-top: 12px; }
.rm-price strong { font-size: 1.2rem; }
.rm-price-muted { color: var(--ink-3); }
.rm-plus { opacity: .6; }
.rm-small { font-size: .8rem; color: var(--ink-3); width: 100%; }
.rm-tag {
  align-self: flex-start; display: inline-block;
  font-size: .7rem; font-weight: 650;
  padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2);
}
.rm-tag-rec { background: var(--te-bright); color: #1A1208; }
.rm-tag-later { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.rm-tag-band { background: var(--band-2); color: var(--on-band-2); }

/* ---------- TradeEngine band ---------- */
.te-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.te-intro { display: grid; gap: 18px; max-width: 70ch; }
@media (min-width: 980px) { .te-intro { grid-template-columns: 1fr 1fr; max-width: none; gap: 40px; } }
.outcomes { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcome-col { background: var(--band-2); border-radius: var(--r); padding: 26px; }
.outcome-h { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-zhd { background: var(--zhd-bright); }
.dot-te { background: var(--te-bright); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 8px;
  border-left: 2.5px solid var(--zhd-bright); border-bottom: 2.5px solid var(--zhd-bright);
  transform: rotate(-45deg); transform-origin: center;
}
.ticks-te li::before { border-color: var(--te-bright); }
.band .ticks li { color: var(--on-band-2); }
.promise { margin-top: 22px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(240, 114, 36, .12); color: var(--on-band) !important; font-size: .93rem; }

/* Journey */
.journey { margin-top: 56px; background: var(--band-2); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.journey-head { margin-bottom: 20px; }
.journey-head .small { margin-top: 6px; }
.journey-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.journey-controls .btn { flex: 1; max-width: 160px; }
.journey-side { display: grid; gap: 12px; }
.track { display: grid; gap: 10px; }
.track-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.track-bar span { height: 6px; border-radius: 3px; background: var(--band); transition: background-color .3s; }
.track-bar span.is-done { background: #8C5A36; }
.track-bar span.is-active { background: var(--te-bright); }
.track-label { font-size: .9rem; font-weight: 600; color: #F29A5E !important; }
@media (min-width: 620px) { .track { display: none; } }
.journey-count { font-size: .85rem; color: var(--on-band-2); font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.journey-body { display: grid; gap: 20px; }
@media (min-width: 900px) { .journey-body { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.pipeline { display: grid; gap: 8px; }
.pipeline { display: none; }
@media (min-width: 620px) { .pipeline { display: grid; grid-template-columns: repeat(5, 1fr); } }
.pipeline li {
  background: var(--band); border-radius: var(--r-sm); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; min-height: 60px;
  transition: background-color .3s;
}
@media (min-width: 620px) { .pipeline li { min-height: 190px; } }
.pipeline li.is-active { background: #2B2118; }
.pipeline li.is-done .stage-name::after { content: " \2713"; color: var(--te-bright); }
.stage-name { font-size: .72rem; font-weight: 650; color: var(--on-band-2); }
.pipeline li.is-active .stage-name { color: #F29A5E; }
.lead-card {
  background: var(--plate); color: #14191D; border-radius: 8px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px; font-size: .8rem; line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  animation: land .45s ease;
}
.lead-card strong { color: #14191D !important; font-size: .85rem; }
.lead-card span:last-child { color: #4A555D; }
.lead-type { font-size: .66rem; font-weight: 700; color: #1C4A7E; }
@keyframes land { from { transform: translateY(-8px); opacity: .3; } to { transform: none; opacity: 1; } }
.journey-panel { background: var(--band); border-radius: var(--r-sm); padding: 22px; display: grid; gap: 10px; }
.jp-time { font-size: .78rem; color: #F29A5E !important; font-weight: 650; }
.journey-panel h4 { font-size: 1.1rem; }
.jp-msg { margin-top: 6px; display: grid; gap: 8px; }
.jp-msg b { display: block; font-size: .7rem; color: var(--on-band-2); margin-bottom: 4px; font-weight: 650; }

/* ---------- Workflow ---------- */
.flip { display: inline-flex; background: var(--tint); padding: 4px; border-radius: 999px; margin-bottom: 20px; }
.flip-btn { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); min-height: 44px; }
.flip-btn.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.flip-btn[data-show="manual"].is-on { background: var(--bad); color: #fff; }
.flip-btn[data-show="auto"].is-on { background: var(--ok); color: #fff; }
@media (min-width: 900px) { .flip { display: none; } }
.compare { display: grid; gap: 20px; }
@media (max-width: 899px) {
  .compare[data-view="manual"] .compare-auto, .compare[data-view="auto"] .compare-manual { display: none; }
}
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1.1fr; } }
.compare-col { border-radius: var(--r); padding: 26px; }
.compare-manual { background: var(--bad-soft); }
.compare-auto { background: var(--surface); box-shadow: var(--shadow); }
.compare-h { font-size: 1.05rem; margin-bottom: 18px; }
.compare-manual .compare-h { color: var(--bad); }
.compare-auto .compare-h { color: var(--ok); }
.compare-auto { box-shadow: 0 0 0 2px var(--ok), var(--shadow); }
.flow { counter-reset: f; display: grid; gap: 6px; }
.flow li {
  counter-increment: f; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center;
  padding: 9px 12px; border-radius: 8px; font-size: .95rem; color: var(--ink-2);
  background: var(--surface);
}
.compare-manual .flow li { background: var(--surface); color: var(--ink); }
.compare-manual .flow li::before { background: var(--bad); color: #fff; }
.flow li::before {
  content: counter(f); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--tint); color: var(--ink-3);
}
.flow-auto li { background: var(--ok-soft); color: var(--ink); }
.flow-auto li::before { background: var(--ok); color: #fff; }

/* ---------- Database ---------- */
.db-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .db-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.db-copy { display: grid; gap: 16px; }
.db-copy .h2 { margin-bottom: 4px; }
.db-copy p:not(.eyebrow) { color: var(--ink-2); }
.db-visual { background: var(--surface); border-radius: var(--r); padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow); }
.db-source { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; background: var(--zhd); color: #fff; border-radius: var(--r-sm); padding: 16px; }
:root[data-theme="dark"] .db-source { color: #0E1215; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .db-source { color: #0E1215; } }
.db-source-top { display: flex; gap: 14px; align-items: center; }
.db-source-top strong { display: block; }
.db-source-top .small { opacity: .85; display: block; }
.db-icon { display: grid; gap: 3px; flex: none; }
.db-icon i { display: block; width: 30px; height: 8px; border-radius: 50%; border: 2px solid currentColor; }
.db-source .btn-zhd-soft { background: rgba(255,255,255,.16); color: inherit; }
.db-arrow { height: 26px; width: 2px; margin: 0 auto; background: var(--line); position: relative; }
.db-arrow::after { content: ""; position: absolute; bottom: -2px; left: 50%; width: 9px; height: 9px; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.segments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
@media (min-width: 560px) { .segments { grid-template-columns: repeat(4, 1fr); } }
.seg {
  border: 0; text-align: left; cursor: pointer; min-height: 64px;
  padding: 10px 12px; border-radius: 8px; background: var(--tint); color: var(--ink);
  font-size: .84rem; font-weight: 600; line-height: 1.3;
  display: flex; flex-direction: column; gap: 6px; justify-content: space-between;
  transition: background-color .2s, color .2s, transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.seg .seg-kind { font-size: .66rem; font-weight: 700; color: var(--ink-3); }
.seg.kind-commercial .seg-kind { color: var(--zhd); }
.seg:hover { background: var(--zhd-soft); }
.seg[aria-pressed="true"] { background: var(--zhd); color: var(--bg); }
.seg[aria-pressed="true"] .seg-kind { color: inherit; opacity: .8; }
.segments.is-merging .seg { transform: translateY(-40px) scale(.6); opacity: 0; }
.segment-detail { margin-top: 16px; background: var(--bg); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 10px; }
.sd-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.sd-head h4 { font-size: 1.05rem; }
.sd-row { display: grid; gap: 2px; font-size: .92rem; color: var(--ink-2); }
.sd-row b { font-size: .7rem; color: var(--ink-3); font-weight: 650; }
.chan { display: inline-block; font-size: .66rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; margin-right: 4px; }
.chan-sms { background: var(--zhd-soft); color: var(--zhd); }
.chan-email { background: var(--te-soft); color: var(--te); }

.react { margin-top: clamp(56px, 8vw, 88px); }
.messages { display: grid; gap: 16px; }
@media (min-width: 760px) { .messages { grid-template-columns: repeat(2, 1fr); } }
.msg { background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.msg header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.msg-to { font-weight: 650; font-size: .9rem; margin-left: 4px; }
.bubble { background: var(--bg); border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-size: .93rem; color: var(--ink-2); }
.subj { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; font-size: .88rem; }
.consent { margin-top: 24px; font-size: .9rem; color: var(--ink-2); max-width: 80ch; padding: 16px 18px; background: var(--surface); border-radius: var(--r-sm); }

/* ---------- Sources flow ---------- */
.sources-flow { display: grid; gap: 20px; align-items: center; }
@media (min-width: 980px) { .sources-flow { grid-template-columns: 1fr 200px 1fr; gap: 28px; } }
.sf-sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sf-sources li {
  background: var(--zhd-soft); color: var(--zhd); border-radius: 8px; padding: 12px 14px;
  font-size: .9rem; font-weight: 600; line-height: 1.3;
  animation: pulse-in 8s infinite; animation-delay: calc(var(--i, 0) * 1s);
}
.sf-hub { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (min-width: 980px) { .sf-hub { flex-direction: row; } }
.sf-arrow { width: 2px; height: 28px; background: var(--line); position: relative; flex: none; }
@media (min-width: 980px) { .sf-arrow { width: 28px; height: 2px; } }
.sf-hub-core { background: var(--surface); border-radius: 50%; width: 150px; height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; box-shadow: var(--shadow), 0 0 0 8px var(--te-soft); flex: none; }
.sf-hub-core img { width: 56px; }
.sf-hub-core strong { font-size: .9rem; }
.sf-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; counter-reset: s; }
@media (min-width: 560px) { .sf-steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .sf-steps { grid-template-columns: 1fr 1fr; } }
.sf-steps li {
  counter-increment: s; background: var(--surface); border-radius: 8px; padding: 12px 14px;
  font-weight: 650; display: flex; gap: 10px; align-items: center; box-shadow: 0 0 0 1px var(--line);
  animation: step-in 8s infinite; animation-delay: calc(var(--i, 0) * .6s + 1s);
}
.sf-steps li::before { content: counter(s); font-size: .75rem; color: var(--te); font-variant-numeric: tabular-nums; font-weight: 750; }
@keyframes pulse-in { 0%, 100% { box-shadow: none; } 5% { box-shadow: 0 0 0 2px var(--zhd-bright); } 12% { box-shadow: none; } }
@keyframes step-in { 0%, 100% { box-shadow: 0 0 0 1px var(--line); } 5% { box-shadow: 0 0 0 2px var(--te-bright); } 12% { box-shadow: 0 0 0 1px var(--line); } }

/* ---------- Commercial ---------- */
.sector-key { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; color: var(--ink-2); margin-bottom: 16px; }
.sector-key span { display: flex; align-items: center; gap: 8px; }
.k { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.k-on { background: var(--zhd); }
.k-target { box-shadow: inset 0 0 0 2px var(--ink-3); }
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .sectors { grid-template-columns: repeat(5, 1fr); } }
.sectors li {
  padding: 16px; border-radius: 8px; font-weight: 650; font-size: .95rem; line-height: 1.3;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); background: transparent; min-height: 74px;
  display: flex; align-items: flex-end;
}
.sectors li.on { background: var(--zhd); color: var(--bg); box-shadow: none; }
.domestic { margin-top: 36px; background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
@media (min-width: 900px) { .domestic { grid-template-columns: 260px 1fr; gap: 32px; align-items: start; } }
.domestic p { color: var(--ink-2); }

/* ---------- Phases ---------- */
.phase-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.phase-n { font-weight: 800; font-size: 1rem; color: var(--te); }
.band .phase-n { color: #F29A5E; }
.phase-split { display: grid; gap: 28px; }
@media (min-width: 980px) { .phase-split { grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; } }
.phase-split > div:first-child { display: grid; gap: 0; }

.fees { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 720px) { .fees { grid-template-columns: 1fr 1fr; max-width: 820px; } }
.fee { border-radius: var(--r); padding: 26px; display: grid; gap: 8px; align-content: start; }
.fee-setup { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.fee-monthly { background: var(--ink); color: var(--bg); }
.fee-monthly .label { color: var(--te-bright); }
.fee-num { font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.fee-num-sm { font-size: clamp(2.2rem, 4.5vw, 2.8rem); }
.cur { font-size: .55em; margin-right: 2px; align-self: flex-start; margin-top: .18em; }
.per { font-size: .32em; font-weight: 600; letter-spacing: 0; margin-left: 6px; opacity: .75; }
.fee-note { font-size: .9rem; opacity: .8; }

.inc-groups { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 900px) { .inc-groups { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.inc { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.inc summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-weight: 700;
}
.inc summary::-webkit-details-marker { display: none; }
.inc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; margin-left: 4px; }
.inc[open] summary::after { transform: rotate(-135deg); }
.inc summary > span:first-child { flex: 1; }
.inc-n { font-size: .75rem; background: var(--te-soft); color: var(--te); border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.inc ul { padding: 0 20px 20px; }

.launch { margin-top: 40px; background: var(--te-soft); border-radius: var(--r); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 24px; }
@media (min-width: 980px) { .launch { grid-template-columns: 1fr 1.5fr; gap: 44px; } }
.launch-head { display: grid; gap: 12px; align-content: start; }
.launch-head p { color: var(--ink-2); }
.launch-badge { justify-self: start; background: var(--te); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.launch-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .launch-list { grid-template-columns: 1fr 1fr; } }
.launch-list li { background: var(--surface); border-radius: 8px; padding: 14px 16px; display: grid; gap: 4px; }
.launch-list strong { font-size: .95rem; }
.launch-list span { font-size: .86rem; color: var(--ink-2); }

.price-card { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.price-card-band { background: var(--band-2); box-shadow: none; }
.price-card-band .fee-num { color: var(--on-band); }
.terms { display: grid; gap: 8px; font-size: .92rem; }
.terms li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.band .terms li { color: var(--on-band-2); }
.terms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--te-bright); flex: none; }

.chips-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips-list li { background: var(--surface); padding: 9px 14px; border-radius: 999px; font-size: .88rem; font-weight: 550; box-shadow: 0 0 0 1px var(--line); }

.seo { margin-top: 56px; }
.seo-list { display: grid; gap: 8px; margin-top: 22px; }
.seo-list li { background: var(--surface); border-radius: 8px; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; }
.seo-list strong { font-weight: 650; }
.seo-tag { font-size: .75rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.seo-existing { background: var(--zhd-soft); color: var(--zhd); box-shadow: none; }
.principle { margin-top: 20px; max-width: 72ch; color: var(--ink-2); }

/* Audiences + loop */
.audiences { margin-top: 44px; }
.aud-list { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 720px) { .aud-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aud-list { grid-template-columns: repeat(4, 1fr); } }
.aud-list li { background: var(--band-2); border-radius: 8px; padding: 14px 16px; font-size: .9rem; color: var(--on-band); line-height: 1.4; }

.loop-wrap { margin-top: 64px; display: grid; }
@media (min-width: 1000px) { .loop-wrap { grid-template-columns: 1fr 500px; grid-template-rows: auto 1fr; column-gap: 56px; } .loop { grid-column: 2; grid-row: 1 / span 2; } .loop-detail { grid-column: 1; grid-row: 2; align-self: start; } }
.loop-wrap { gap: 14px; }
.loop-intro { margin-bottom: 6px; }
.loop-intro p { margin-top: 8px; }
.loop { position: relative; }
.loop-ring, .loop-core { display: none; }
.loop { display: none; }
.loop-stages { display: grid; gap: 6px; counter-reset: l; }
.loop-dots { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.loop-dot { border: 0; cursor: pointer; min-height: 40px; border-radius: 6px; background: var(--band-2); color: var(--on-band-2); font-weight: 650; font-size: .85rem; font-variant-numeric: tabular-nums; padding: 0; }
.loop-dot.is-te { box-shadow: inset 0 0 0 1.5px var(--te-bright); }
.loop-dot[aria-pressed="true"] { background: var(--te-bright); color: #1A1208; }
.loop-mbtns { display: flex; justify-content: space-between; gap: 10px; }
.loop-mbtns .btn { flex: 1; }
@media (min-width: 760px) { .loop { display: block; } .loop-dots, .loop-mbtns { display: none; } }
.loop-stage {
  counter-increment: l; width: 100%; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px;
  background: var(--band-2); color: var(--on-band); font-weight: 650; font-size: .88rem;
  transition: background-color .25s, color .25s;
}
.loop-stage::before { content: counter(l); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--band); font-size: .75rem; flex: none; font-variant-numeric: tabular-nums; }
.loop-stage.is-te { box-shadow: inset 0 0 0 1.5px var(--te-bright); }
.loop-stage[aria-pressed="true"] { background: var(--te-bright); color: #1A1208; }
.loop-stage[aria-pressed="true"]::before { background: rgba(0,0,0,.15); }
@media (min-width: 760px) {
  .loop { width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
  .loop-ring { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .ring-base { fill: none; stroke: var(--band-line); stroke-width: 2; }
  .ring-progress { fill: none; stroke: var(--te-bright); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 200px 200px; transition: stroke-dashoffset .6s ease; }
  .loop-core { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--plate); border-radius: 50%; }
  .loop-core img { width: 58%; }
  .loop-stages { position: absolute; inset: 0; display: block; }
  .loop-stages li { position: absolute; transform: translate(-50%, -50%); }
  .loop-stage { width: auto; padding: 8px 12px 8px 8px; font-size: .72rem; gap: 8px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
  .loop-stage::before { width: 22px; height: 22px; font-size: .7rem; }
  .loop-stage.is-te { box-shadow: inset 0 0 0 1.5px var(--te-bright), 0 4px 14px rgba(0,0,0,.3); }
}
.loop-detail { background: var(--band-2); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; min-height: 190px; align-content: start; }
.loop-detail .ld-step { font-size: .75rem; color: #F29A5E !important; font-weight: 650; }
.loop-detail h4 { font-size: 1.25rem; }

/* Phase 4 */
.knowns { margin-top: 40px; }
.know-grid { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .know-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .know-grid { grid-template-columns: repeat(4, 1fr); } }
.know-grid li { background: var(--surface); border-radius: 8px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 0 0 1px var(--line); }
.know-grid li span { font-size: .88rem; color: var(--ink-2); }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 20px; }
@media (min-width: 980px) { .calc { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 28px; } }
.calc-options { display: grid; gap: 12px; }
.opt { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.opt-locked { box-shadow: 0 0 0 2px var(--te-bright), var(--shadow); }
.opt-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: flex-start; }
.opt-title { display: block; font-weight: 750; font-size: 1.12rem; margin-top: 8px; }
.opt-price { text-align: right; font-size: .9rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.opt-price strong { font-size: 1.15rem; }
.opt-inc { display: grid; gap: 6px 18px; margin-top: 16px; font-size: .88rem; color: var(--ink-2); }
@media (min-width: 560px) { .opt-inc { grid-template-columns: 1fr 1fr; } }
.opt-inc li { padding-left: 16px; position: relative; }
.opt-inc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--te-bright); }
.opt-lock { margin-top: 16px; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.opt-toggle { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; cursor: pointer; transition: box-shadow .2s; }
.opt-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-toggle .opt-title { margin-top: 0; }
.opt-sub { display: block; font-size: .85rem; color: var(--ink-3); margin-top: 2px; }
.opt-amt { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt-amt span { font-weight: 500; font-size: .8rem; color: var(--ink-3); }
.switch { width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.opt-toggle input:checked + .switch { background: var(--zhd); }
.opt-toggle input:checked + .switch::after { transform: translateX(20px); }
.opt-toggle input:focus-visible + .switch { outline: 3px solid var(--zhd-bright); outline-offset: 3px; }
.opt-toggle:has(input:checked) { box-shadow: 0 0 0 2px var(--zhd), var(--shadow); }

.calc-total { background: var(--ink); color: var(--bg); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; position: sticky; top: 90px; }
.calc-total .label { color: var(--te-bright); }
.calc-sel { font-weight: 650; font-size: 1.05rem; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 0; }
.total-row > span { font-size: .9rem; opacity: .8; }
.total-row strong { font-weight: 800; font-size: 1.8rem; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.total-row-main strong { font-size: clamp(2.2rem, 4vw, 2.8rem); color: var(--te-bright); }
.total-row .cur { font-size: .6em; align-self: flex-start; margin-top: .15em; }
.spend-note { font-size: .88rem; background: rgba(240, 114, 36, .16); padding: 10px 12px; border-radius: 6px; }
.calc-foot { font-size: .82rem; opacity: .72; }

/* ---------- Approach + close ---------- */
.approach { max-width: 900px; }
.approach .h2 { max-width: 22ch; }
.close { background: var(--band); color: var(--on-band); padding-bottom: 40px; }
.close .intro { color: var(--on-band-2); }
.display-close { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.close-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .close-grid { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 56px; } }
.contact { background: var(--band-2); border-radius: var(--r); padding: 26px; display: grid; gap: 22px; }
.contact .plate-md { box-shadow: none; }
.meta-band dt { color: var(--on-band-2); }
.meta-band dd { color: var(--on-band); }
.meta-band a { text-decoration: none; }
.meta-band a:hover { text-decoration: underline; }
.footer { margin-top: 72px; }
.footer p { font-size: .8rem; color: var(--on-band-2); max-width: 90ch; opacity: .8; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(160%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.mobile-cta.is-shown { transform: none; visibility: visible; }
@media (min-width: 720px) { .mobile-cta { display: none; } }

/* ---------- Reveal (content is visible by default; only enhanced when JS runs) ---------- */
.js .reveal.pre { opacity: 0; transform: translateY(14px); }
.js .reveal { transition: opacity .6s ease, transform .6s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

/* iOS style text message */
.ios {
  background: var(--ios-bg); border-radius: 14px; padding: 14px 14px 16px;
  display: grid; gap: 10px; box-shadow: 0 0 0 1px rgba(128,128,128,.18);
}
.ios-head { display: grid; justify-items: center; gap: 4px; }
.ios-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ios-avatar);
  color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 600;
}
.ios-name { font-size: .72rem; color: var(--ios-text) !important; }
.ios-time { text-align: center; font-size: .68rem; line-height: 1.35; color: var(--ios-meta) !important; }
.ios-time span { color: inherit !important; }
.ios-bubble {
  position: relative; justify-self: start; max-width: 86%;
  background: var(--ios-bubble); color: var(--ios-text) !important;
  border-radius: 18px; padding: 8px 13px; font-size: .92rem; line-height: 1.35;
  margin-left: 6px;
}
.ios-bubble::before {
  content: ""; position: absolute; bottom: 0; left: -7px; width: 20px; height: 20px;
  background: var(--ios-bubble); border-bottom-right-radius: 15px;
}
.ios-bubble::after {
  content: ""; position: absolute; bottom: 0; left: -10px; width: 10px; height: 20px;
  background: var(--ios-bg); border-bottom-right-radius: 10px;
}

/* Sent bubble (customer's own reply), iOS SMS green, tail on the right */
.ios-bubble.ios-sent { justify-self: end; background: var(--ios-sent); color: #fff !important; margin-left: 0; margin-right: 6px; }
.ios-bubble.ios-sent::before { left: auto; right: -7px; background: var(--ios-sent); border-bottom-right-radius: 0; border-bottom-left-radius: 15px; }
.ios-bubble.ios-sent::after { left: auto; right: -10px; border-bottom-right-radius: 0; border-bottom-left-radius: 10px; }
.ios-link { color: #0A84FF; text-decoration: underline; }

/* iOS lock screen notification */
.ios-lock { background: var(--ios-lockbg); border-radius: 14px; padding: 18px 12px; }
.ios-notify { background: var(--ios-notify); border-radius: 16px; padding: 12px 14px; display: grid; gap: 3px; color: #000; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.ios-notify-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ios-app { width: 22px; height: 22px; border-radius: 6px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ios-app img { width: 16px; }
.ios-app-name { font-size: .72rem; color: #3C3C43; flex: 1; }
.ios-notify-when { font-size: .72rem; color: #6C6C70; }
.ios-notify-title { font-size: .9rem; color: #000 !important; }
.ios-notify-body { font-size: .88rem; line-height: 1.35; color: #000 !important; }

/* TradeEngine record timeline */
.te-timeline { background: var(--band-2); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.te-timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: .88rem; line-height: 1.4; position: relative; }
.tl-when { color: #F29A5E; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl-text { color: var(--on-band); }

/* Phase one: first growth campaign */
.first-campaign { margin-top: 40px; background: var(--zhd-soft); border-radius: var(--r); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 22px; }
@media (min-width: 980px) { .first-campaign { grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: start; } .fc-note { grid-column: 1 / -1; } }
.fc-head { display: grid; gap: 12px; }
.fc-head p { color: var(--ink-2); }
.fc-list { display: grid; gap: 8px; }
.fc-list li { background: var(--surface); border-radius: 8px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
@media (min-width: 560px) { .fc-list li { grid-template-columns: 1.4fr 24px 1fr; } }
.fc-seg { font-weight: 650; font-size: .95rem; }
.fc-arrow { color: var(--zhd); font-weight: 700; text-align: center; }
@media (max-width: 559px) { .fc-arrow { display: none; } .fc-aim { grid-column: 1 / -1; } }
.fc-aim { color: var(--zhd); font-weight: 600; font-size: .92rem; }
.fc-note { font-size: .88rem; color: var(--ink-2); }
.launch-wide { grid-column: 1 / -1; }
.price-name { font-weight: 700; font-size: 1rem; color: var(--te); }
.band .price-name { color: #F29A5E; }
.scope-note { margin-top: 18px; max-width: 72ch; color: var(--ink-2); background: var(--surface); border-radius: var(--r-sm); padding: 16px 18px; font-size: .95rem; }
.mt-sm { margin-top: 36px; }
.phase .intro + .intro { margin-top: 14px; }
.scope-list { margin-top: 18px; gap: 12px 32px; }
@media (min-width: 760px) { .scope-list { grid-template-columns: 1fr 1fr; } }

/* Journey: fixed size stage, so stepping through never moves the page */
.journey-body { align-items: stretch; }
.journey-side { display: flex; flex-direction: column; gap: 10px; height: 620px; }
.journey-side .lead-card { display: none; }
.journey-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.jp-msg { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 4px; }
.jp-msg[hidden] { display: none !important; }
.jp-msg > .ios, .jp-msg > .te-timeline { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; scrollbar-width: none; }
.jp-msg > .ios::-webkit-scrollbar, .jp-msg > .te-timeline::-webkit-scrollbar { display: none; }
.jp-msg > .ios-lock { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.journey-controls { flex: none; }
@media (min-width: 900px) { .journey-side { height: 640px; } .pipeline { align-self: start; } }

@media (max-width: 619px) {
  .journey { padding: 14px; }
  .journey-head { margin-bottom: 12px; }
  .journey-head .h3 { font-size: 1.1rem; }
  /* Fits one phone screen below the sticky header, same size on every step */
  .journey-side { height: calc(100vh - 110px); height: calc(100svh - 110px); min-height: 520px; max-height: 740px; }
  .track { gap: 8px; }
  .track-label { font-size: .85rem; }
  .track-slot { display: none; }
  .journey-panel { padding: 14px; gap: 6px; }
  .jp-time { font-size: .75rem; }
  .journey-panel h4 { font-size: 1rem; }
  #jp-text { font-size: .9rem; line-height: 1.45; min-height: calc(3 * 1.45em); }
  .jp-msg b { margin-bottom: 2px; }
  .ios { padding: 10px 10px 12px; gap: 8px; }
  .ios-avatar { width: 30px; height: 30px; font-size: .62rem; }
  .ios-bubble { font-size: .86rem; }
  .ios-lock { padding: 14px 10px; }
  .te-timeline { padding: 12px; gap: 10px; }
  .te-timeline li { grid-template-columns: 70px 1fr; font-size: .84rem; }
  .journey-controls .btn { min-height: 44px; }
}

/* Loop on phones: fixed card height so the buttons stay put */
@media (max-width: 759px) { .loop-detail { min-height: 230px; } }
