/* Growth Bot landing page (public: "/" on the production host, /landing on the dashboard; step 10b).
   Colours and glass come from theme.css tokens (--gb-*), so every theme combo works unchanged; tints are
   color-mix() of tokens. CSS-only motion (no page script beyond theme.js), off under prefers-reduced-motion. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body.landing { font-size: 16px; line-height: 1.6; overflow-x: clip; }
a { color: var(--gb-link); }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px;
  background: var(--gb-accent); color: var(--gb-accent-text); font-weight: 700; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gb-focus); outline-offset: 3px;
  border-radius: 10px; }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--gb-header-bg); color: var(--gb-header-text);
  border-bottom: 1px solid var(--gb-header-border); padding-top: env(safe-area-inset-top); }
.nav-inner { width: min(1200px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 12px;
  min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto;
  min-width: 0; }
.brand img { border-radius: 10px; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gb-brand-teal) 70%, transparent); }
.brand b { display: block; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font-size: 12px; color: var(--gb-header-muted); line-height: 1.25; white-space: nowrap; }
.nav-links { display: none; gap: 2px; }
.nav-links a { position: relative; color: var(--gb-header-text); text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--gb-dur) var(--gb-ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-actions .nav-signup { display: none; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1px solid transparent;
  white-space: nowrap; transition: background-color var(--gb-dur) var(--gb-ease), transform var(--gb-dur) var(--gb-ease),
  box-shadow var(--gb-dur) var(--gb-ease), border-color var(--gb-dur) var(--gb-ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gb-accent); color: var(--gb-accent-text);
  box-shadow: 0 12px 28px -12px var(--gb-accent), inset 0 1px 0 color-mix(in srgb, var(--gb-accent-text) 22%, transparent); }
.btn-primary:hover { background: var(--gb-accent-hover); box-shadow: 0 16px 34px -12px var(--gb-accent); }
.btn-ghost { background: var(--gb-surface); color: var(--gb-heading); border-color: var(--gb-border-strong); }
.btn-ghost:hover { background: var(--gb-surface-hover); border-color: var(--gb-accent); }
.btn-quiet { background: transparent; color: var(--gb-header-text); border-color: var(--gb-header-border); }
.btn-quiet:hover { background: color-mix(in srgb, var(--gb-header-text) 10%, transparent); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; box-shadow: none; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-arrow { width: 18px; height: 18px; stroke-width: 2.2; transition: transform var(--gb-dur) var(--gb-ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ shared type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12.5px; font-weight: 750;
  letter-spacing: .09em; text-transform: uppercase; color: var(--gb-accent-soft-text); }
.eyebrow-pill { padding: 7px 14px; border-radius: 999px; background: var(--gb-accent-soft); border: 1px solid var(--gb-border);
  letter-spacing: .06em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gb-ok); flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gb-ok) 22%, transparent); }
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gb-surface-2) 70%, transparent) 18%,
  color-mix(in srgb, var(--gb-surface-2) 70%, transparent) 82%, transparent); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 0; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.12; letter-spacing: -.025em;
  color: var(--gb-heading); text-wrap: balance; font-weight: 800; }
.section-lead { margin: 14px 0 0; color: var(--gb-text-muted); font-size: 17.5px; text-wrap: pretty; }
.kind { display: inline-block; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); line-height: 1.4; }
.kind-muted { background: var(--gb-surface-2); color: var(--gb-text-muted); border: 1px solid var(--gb-border); }

/* ------------------------------------------------------------------ hero */
.hero-copy .eyebrow-pill { max-width: 100%; }
.hero { padding: 40px 0 24px; position: relative; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 6px 0 0; max-width: 15ch; font-size: clamp(36px, 8.6vw, 66px); line-height: 1.02;
  letter-spacing: -.04em; color: var(--gb-heading); font-weight: 800; text-wrap: balance; }
.hero h1 em { display: block; margin-top: .08em; font-family: var(--gb-font-display); font-style: italic; font-weight: 600;
  letter-spacing: -.02em; padding-bottom: .06em; color: var(--gb-accent-soft-text);
  background: linear-gradient(100deg, var(--gb-accent-soft-text) 20%, var(--gb-gold-text) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 2.3vw, 20px); line-height: 1.6; color: var(--gb-text-muted);
  max-width: 41em; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0 0; padding: 0;
  list-style: none; font-size: 14.5px; font-weight: 600; color: var(--gb-text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--gb-accent) 0 3.5px, transparent 4px), var(--gb-accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--gb-accent); }

/* stage: framed drawing of the real app shell + WhatsApp phone + a refusal chip */
.hero-stage { margin-top: 56px; }
.stage { position: relative; margin: 0 auto; max-width: 1120px; }
.stage::before { content: ""; position: absolute; inset: 8% 4% -4%; z-index: -1; border-radius: 48px; filter: blur(40px);
  background: radial-gradient(50% 60% at 30% 40%, color-mix(in srgb, var(--gb-accent) 34%, transparent), transparent),
              radial-gradient(40% 50% at 80% 70%, color-mix(in srgb, var(--gb-gold) 30%, transparent), transparent); }
.app-frame { overflow: hidden; padding: 0; box-shadow: var(--gb-shadow-lg); border-radius: 20px; }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--gb-border);
  background: var(--gb-surface-2); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--gb-border-strong); }
.url { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; padding: 4px 14px; border-radius: 999px;
  font-size: 12.5px; color: var(--gb-text-muted); background: var(--gb-surface); border: 1px solid var(--gb-border);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.url svg { width: 12px; height: 12px; flex: none; stroke-width: 2.2; }
.app { display: grid; grid-template-columns: 1fr; background: color-mix(in srgb, var(--gb-bg) 80%, transparent);
  font-size: 13px; line-height: 1.45; text-align: left; }
.app-side { display: none; flex-direction: column; padding: 16px 12px; background: var(--gb-header-bg); color: var(--gb-header-text);
  border-right: 1px solid var(--gb-header-border); }
.app-side-note { margin: auto 0 0; padding: 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.4;
  color: var(--gb-header-muted); border: 1px solid var(--gb-header-border); }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px 16px; font-size: 14.5px; }
.app-brand img { border-radius: 7px; }
.app-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-nav li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-weight: 600;
  white-space: nowrap; position: relative; }
.app-nav svg { width: 17px; height: 17px; flex: none; }
.app-nav .group { padding: 12px 10px 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gb-header-muted); font-weight: 750; }
.app-nav .on { background: color-mix(in srgb, var(--gb-header-text) 12%, transparent); }
.app-nav .on::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--gb-gold); }
.count { margin-left: auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; display: grid;
  place-items: center; font-size: 11.5px; font-weight: 800; background: var(--gb-gold); color: var(--gb-brand-ink); }
.app-main { min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--gb-border);
  background: var(--gb-surface); }
.ws { display: inline-flex; align-items: center; gap: 9px; padding: 5px 10px 5px 6px; border-radius: 11px;
  border: 1px solid var(--gb-border-strong); color: var(--gb-heading); font-weight: 700; }
.ws small { display: block; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gb-text-muted);
  font-weight: 700; line-height: 1.2; }
.ws > span:nth-child(2) { line-height: 1.25; }
.ws svg { width: 15px; height: 15px; color: var(--gb-text-muted); }
.ws-av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800;
  background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); }
.app-top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.seg { display: none; padding: 2px; border-radius: 999px; border: 1px solid var(--gb-border-strong); font-size: 11.5px;
  font-weight: 700; color: var(--gb-text-muted); }
.seg i { font-style: normal; padding: 3px 10px; border-radius: 999px; }
.seg .on { background: var(--gb-accent); color: var(--gb-accent-text); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800;
  background: var(--gb-gold); color: var(--gb-brand-ink); flex: none; }
.app-body { padding: 18px 16px 20px; }
.app-eyebrow { margin: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gb-accent-soft-text); }
.app-h1 { margin: 2px 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--gb-heading); }
.app-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pill { font-size: 11.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--gb-border); }
.pill.ok { background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); }
.pill.warn { background: var(--gb-warn-bg); color: var(--gb-warn-text); border-color: var(--gb-warn-border); }
.app-cards { display: grid; gap: 12px; }
.app-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--gb-surface);
  border: 1px solid var(--gb-border); box-shadow: var(--gb-shadow); }
.kinds { display: flex; gap: 5px; flex-wrap: wrap; }
.app-card b { color: var(--gb-heading); font-size: 14px; line-height: 1.3; }
.app-card p { margin: 0; padding: 9px 10px; border-radius: 10px; background: var(--gb-surface-2); border: 1px solid var(--gb-border);
  color: var(--gb-text); font-size: 12.5px; flex: 1; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.act { text-align: center; padding: 6px 4px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--gb-text);
  border: 1px solid var(--gb-border-strong); }
.act.ok { background: var(--gb-accent); color: var(--gb-accent-text); border-color: var(--gb-accent); }
.a2, .a3 { display: none; }

/* phones (WhatsApp in the hero, app in the preview) */
.phone { position: relative; width: 264px; border-radius: 36px; padding: 10px; background: var(--gb-brand-ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gb-text) 16%, transparent), var(--gb-shadow-lg); }
.phone > :not(.phone-notch) { position: relative; }
.phone-notch { position: absolute; z-index: 2; top: 16px; left: 50%; width: 76px; height: 20px; margin-left: -38px;
  border-radius: 999px; background: var(--gb-brand-ink); }
.phone-wa { margin: -36px auto 0; }
.wa-head { display: flex; align-items: center; gap: 9px; padding: 40px 14px 10px; border-radius: 27px 27px 0 0;
  background: var(--gb-surface-solid); color: var(--gb-heading); border-bottom: 1px solid var(--gb-border);
  font-size: 13px; line-height: 1.25; }
.wa-head img { border-radius: 50%; }
.wa-head small { display: block; color: var(--gb-text-muted); font-size: 11px; }
.wa-chat { display: grid; gap: 7px; padding: 12px 10px 16px; border-radius: 0 0 27px 27px; background: var(--gb-bg);
  font-size: 12.5px; line-height: 1.4; }
.bubble { margin: 0; max-width: 88%; padding: 8px 11px; border-radius: 14px; box-shadow: var(--gb-shadow); }
.bubble.in { justify-self: start; background: var(--gb-surface-solid); color: var(--gb-text); border-top-left-radius: 4px;
  border: 1px solid var(--gb-border); }
.bubble.in b { display: block; color: var(--gb-heading); }
.bubble.out { justify-self: end; background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); font-weight: 700;
  border-top-right-radius: 4px; border: 1px solid var(--gb-border); }
.small-b { display: flex; align-items: center; gap: 6px; }
.small-b svg { width: 15px; height: 15px; color: var(--gb-ok); stroke-width: 2.6; flex: none; }
.wa-btns { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; max-width: 92%; }
.wa-btns span { text-align: center; padding: 6px 2px; border-radius: 10px; font-weight: 700; font-size: 12px;
  background: var(--gb-surface-solid); color: var(--gb-link); border: 1px solid var(--gb-border); }
.wa-btns span:first-child { background: var(--gb-accent); color: var(--gb-accent-text); border-color: var(--gb-accent); }

.chip { display: none; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; box-shadow: var(--gb-shadow-lg);
  line-height: 1.3; }
.chip b { display: block; font-size: 14px; color: var(--gb-heading); }
.chip small { display: block; font-size: 12.5px; color: var(--gb-text-muted); }
.chip-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: var(--gb-accent); color: var(--gb-accent-text); }
.chip-ic svg { width: 16px; height: 16px; stroke-width: 2.6; }
.chip-ic.bad { background: var(--gb-danger); color: var(--gb-surface-solid); }
.stage-note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--gb-text-muted); }

/* ------------------------------------------------------------------ official APIs strip */
.apis { padding: 36px 0 8px; }
.apis-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.apis-title { margin: 0; font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gb-text-muted); }
.apis-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.apis-list li { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--gb-text);
  border: 1px solid var(--gb-border); background: color-mix(in srgb, var(--gb-surface) 70%, transparent); }

/* ------------------------------------------------------------------ modules */
.m-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); border: 1px solid var(--gb-border);
  transition: background-color var(--gb-dur) var(--gb-ease), color var(--gb-dur) var(--gb-ease),
              transform var(--gb-dur) var(--gb-ease); }
.m-icon svg { width: 23px; height: 23px; }
.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: mod; }
.module { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: mod;
  transition: transform var(--gb-dur) var(--gb-ease), box-shadow var(--gb-dur) var(--gb-ease),
              border-color var(--gb-dur) var(--gb-ease); }
.module:hover { transform: translateY(-3px); box-shadow: var(--gb-shadow-lg);
  border-color: color-mix(in srgb, var(--gb-accent) 45%, var(--gb-border)); }
.module:hover .m-icon { background: var(--gb-accent); color: var(--gb-accent-text); transform: rotate(-4deg) scale(1.04); }
.module::after { content: counter(mod, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font: 700 12.5px/1 var(--gb-font-mono); color: var(--gb-text-muted); }
.module-platform::after { content: "Platform"; font-family: var(--gb-font); letter-spacing: .08em; text-transform: uppercase;
  font-size: 10.5px; padding: 4px 8px; border-radius: 6px; top: 18px; right: 18px; background: var(--gb-warn-bg);
  color: var(--gb-warn-text); border: 1px solid var(--gb-warn-border); }
.module h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; color: var(--gb-heading); letter-spacing: -.01em; }
.module p { margin: 0; color: var(--gb-text-muted); font-size: 15px; }
.module .m-where { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.m-where span { font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px; color: var(--gb-text);
  background: var(--gb-surface-2); border: 1px solid var(--gb-border); }

/* ------------------------------------------------------------------ how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
/* phone: a dashed connector from each icon down to the next one */
.step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 66px; bottom: -22px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--gb-border-strong) 0 6px, transparent 6px 12px); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
.step-n { grid-row: span 3; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--gb-surface-solid); color: var(--gb-accent-soft-text); border: 1px solid var(--gb-border-strong);
  box-shadow: var(--gb-shadow); transition: transform var(--gb-dur) var(--gb-ease), background-color var(--gb-dur) var(--gb-ease); }
.step-n svg { width: 24px; height: 24px; }
.step:last-child .step-n { background: var(--gb-accent); color: var(--gb-accent-text); border-color: var(--gb-accent); }
.step:hover .step-n { transform: translateY(-3px); }
.step-k { margin: 2px 0 0; font: 700 12px/1.4 var(--gb-font-mono); color: var(--gb-accent-soft-text); letter-spacing: .04em; }
.step h3 { margin: 2px 0 6px; font-size: 19px; line-height: 1.3; color: var(--gb-heading); letter-spacing: -.01em; }
.step p:not(.step-k) { margin: 0; color: var(--gb-text-muted); font-size: 15.5px; }

/* ------------------------------------------------------------------ safety */
.safety { display: grid; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--gb-text); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--gb-accent); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 11px;
  border: solid var(--gb-accent-text); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.safety-visual { position: relative; display: grid; gap: 16px; }
.log { padding: 20px; }
.log-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: var(--gb-heading); }
.log-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.log-rows li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; line-height: 1.35;
  transition: background-color var(--gb-dur) var(--gb-ease); }
.log-rows li:hover { background: var(--gb-surface-hover); }
.log-rows b { display: block; font-size: 14.5px; color: var(--gb-heading); }
.log-rows small { display: block; font-size: 13px; color: var(--gb-text-muted); }
.st { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.st svg { width: 16px; height: 16px; stroke-width: 2.4; }
.st.ok { background: var(--gb-accent); color: var(--gb-accent-text); }
.st.edit { background: var(--gb-warn-bg); color: var(--gb-warn-text); border: 1px solid var(--gb-warn-border); }
.st.skip { background: var(--gb-surface-2); color: var(--gb-text-muted); border: 1px solid var(--gb-border-strong); }
.refuse { padding: 20px; display: grid; gap: 14px; }
.refuse p { margin: 0; font-size: 14.5px; }
.refuse-ask { justify-self: end; max-width: 92%; padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); font-weight: 600; }
.who { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.refuse-answer { display: flex; gap: 12px; color: var(--gb-text-muted); }
.refuse-answer b { display: block; color: var(--gb-heading); }

/* ------------------------------------------------------------------ app preview */
.preview { display: grid; gap: 44px; align-items: center; }
.preview-visual { position: relative; display: grid; justify-items: center; }
.preview-visual::before { content: ""; position: absolute; inset: 10% 8%; z-index: -1; border-radius: 50%; filter: blur(46px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gb-accent) 40%, transparent), transparent); }
.phone-app { width: 290px; }
.pa-top { display: flex; align-items: center; gap: 8px; padding: 40px 14px 10px; border-radius: 27px 27px 0 0;
  background: var(--gb-surface-solid); border-bottom: 1px solid var(--gb-border); font-size: 12.5px; }
.pa-top img { border-radius: 7px; }
.ws-mini { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gb-heading); }
.ws-mini svg { width: 14px; height: 14px; color: var(--gb-text-muted); }
.pa-top .av { margin-left: auto; width: 26px; height: 26px; font-size: 10px; }
.pa-body { padding: 14px 14px 16px; background: var(--gb-bg); display: grid; gap: 9px; font-size: 12.5px; line-height: 1.35; }
.pa-h { margin: -6px 0 2px; font-size: 19px; font-weight: 800; color: var(--gb-heading); letter-spacing: -.02em; }
.pa-tile { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 14px; background: var(--gb-surface-solid);
  border: 1px solid var(--gb-border); }
.pa-tile b { display: block; color: var(--gb-heading); font-size: 13px; }
.pa-tile small { display: block; color: var(--gb-text-muted); font-size: 11.5px; }
.pa-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); }
.pa-ic.gold { background: var(--gb-warn-bg); color: var(--gb-warn-text); }
.pa-ic svg { width: 17px; height: 17px; }
.pa-sub { margin: 4px 0 0; font-weight: 750; color: var(--gb-heading); }
.pa-check { list-style: none; margin: 0; padding: 4px 11px; border-radius: 14px; background: var(--gb-surface-solid);
  border: 1px solid var(--gb-border); }
.pa-check li { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--gb-text); }
.pa-check li + li { border-top: 1px solid var(--gb-border); }
.pa-check svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--gb-ok); color: var(--gb-surface-solid);
  stroke-width: 3; flex: none; }
.pa-check i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--gb-border-strong); flex: none; }
.pa-check .done { color: var(--gb-text-muted); }
.pa-tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px 12px; border-radius: 0 0 27px 27px;
  background: var(--gb-surface-solid); border-top: 1px solid var(--gb-border); }
.pa-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 10px; font-weight: 700; color: var(--gb-text-muted);
  padding: 5px 0; border-radius: 10px; }
.pa-tabs svg { width: 19px; height: 19px; }
.pa-tabs .on { color: var(--gb-accent-soft-text); background: var(--gb-accent-soft); }
.mock-caption { margin: 18px 0 0; font-size: 13px; color: var(--gb-text-muted); text-align: center; }
.features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.features li { display: flex; gap: 14px; color: var(--gb-text-muted); font-size: 15.5px; }
.features b { display: block; color: var(--gb-heading); font-size: 16.5px; margin-bottom: 2px; }
.f-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: var(--gb-surface); color: var(--gb-accent-soft-text); border: 1px solid var(--gb-border-strong); }
.f-ic svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------------ FAQ (details/summary, no script) */
.faq { display: grid; gap: 12px; }
.qa { padding: 0; border-radius: var(--gb-radius-sm); transition: border-color var(--gb-dur) var(--gb-ease); }
.qa[open] { border-color: color-mix(in srgb, var(--gb-accent) 45%, var(--gb-border)); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 16.5px; color: var(--gb-heading); line-height: 1.4; border-radius: inherit; }
.qa summary::-webkit-details-marker { display: none; }
.qa-chev { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gb-accent-soft); color: var(--gb-accent-soft-text); border: 1px solid var(--gb-border);
  transition: transform var(--gb-dur) var(--gb-ease), background-color var(--gb-dur) var(--gb-ease); }
.qa-chev svg { width: 18px; height: 18px; stroke-width: 2.2; }
.qa[open] .qa-chev { transform: rotate(180deg); background: var(--gb-accent); color: var(--gb-accent-text); }
.qa summary:hover { color: var(--gb-link); }
.qa p { margin: 0; padding: 0 20px 20px; color: var(--gb-text-muted); font-size: 15.5px; max-width: 62em; }
.qa[open] p { animation: gb-fade-down .28s var(--gb-ease); }

/* ------------------------------------------------------------------ final CTA */
.section-cta { padding-top: 24px; }
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 44px 24px; text-align: center; display: grid;
  gap: 26px; justify-items: center; box-shadow: var(--gb-shadow-lg); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0, color-mix(in srgb, var(--gb-accent) 26%, transparent), transparent 70%),
              radial-gradient(50% 120% at 0 100%, color-mix(in srgb, var(--gb-gold) 22%, transparent), transparent 70%); }
.cta h2 { font-size: clamp(27px, 4.4vw, 40px); max-width: 24ch; margin-inline: auto; }
.cta-copy p { margin: 14px auto 0; color: var(--gb-text-muted); font-size: 17.5px; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--gb-border); margin-top: 72px; padding: 48px 0 calc(24px + env(safe-area-inset-bottom));
  font-size: 15px; color: var(--gb-text-muted); background: color-mix(in srgb, var(--gb-surface-2) 60%, transparent); }
.footer-grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--gb-heading); margin: 0; }
.footer-brand .brand small { color: var(--gb-text-muted); }
.footer-brand p { margin: 14px 0 0; max-width: 32em; }
.footer-col { display: grid; align-content: start; gap: 4px; }
.footer-col:last-child { grid-column: 1 / -1; }
.footer-h { margin: 0 0 6px; font-size: 12.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gb-heading); }
.footer-col a { color: var(--gb-text); text-decoration: none; font-weight: 600; padding: 6px 0; justify-self: start; }
.footer-col a:hover { color: var(--gb-link); text-decoration: underline; text-underline-offset: 3px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-link svg { width: 20px; height: 20px; flex: none; color: var(--gb-accent-soft-text); }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--gb-border); font-size: 13.5px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 429px) {
  .nav .brand small { display: none; }
  .hide-xs { display: none; }
}
@media (min-width: 560px) {
  .nav-actions .nav-signup { display: inline-flex; }
  .a2 { display: flex; }
  .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg { display: inline-flex; }
}
@media (max-width: 479px) {
  .nav-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand b { font-size: 15.5px; }
  .brand small { font-size: 11px; }
  .nav-login { padding: 0 12px; }
  .btn-lg { width: 100%; }
  .cta-row, .cta-actions { width: 100%; }
}
@media (min-width: 640px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; }
}
@media (min-width: 760px) {
  .phone-wa { position: absolute; margin: 0; right: -6px; bottom: -18px; width: 240px; }
  .app-main { padding-right: 0; }
  .app-body { padding-right: 250px; min-height: 420px; }
  .app-cards { grid-template-columns: minmax(0, 1fr); }
  .phone-wa { top: 120px; bottom: auto; }
  .chip { display: flex; position: absolute; left: -10px; bottom: 47px; }   /* half over the frame's bottom edge */
  .stage-note { margin-top: 56px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .step:not(:last-child)::after { display: none; }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; margin-right: 8px; }
  .brand { margin-right: 20px; }
  .nav-links { margin-right: auto; }
  .hero { padding-top: 84px; }
  .app { grid-template-columns: 224px minmax(0, 1fr); }
  .app-side { display: flex; }
  .app-body { padding: 22px 300px 64px 24px; }
  .app-top { padding: 10px 22px; }
  .a3 { display: flex; }
  .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a3 { grid-column: 1 / -1; }
  .phone-wa { right: -30px; top: 132px; width: 272px; }
  .chip { left: 262px; }
  .a3 .acts { max-width: 330px; }
  .section { padding: 96px 0; }
  .modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* four steps in a row, joined by a dashed line through the icons */
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps::before { content: ""; position: absolute; left: 28px; right: 12%; top: 27px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--gb-border-strong) 0 6px, transparent 6px 12px); }
  .step { grid-template-columns: 1fr; row-gap: 0; }
  .step-n { grid-row: auto; margin-bottom: 18px; }
  .safety { grid-template-columns: 1fr 1fr; gap: 64px; }
  .refuse { margin-left: 48px; margin-top: -4px; }
  .log { margin-right: 32px; }
  .preview { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .preview-visual { order: 0; }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: 104px; margin: 0; }
  .cta { padding: 64px 48px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
  .footer-brand { grid-column: auto; }
}

/* ------------------------------------------------------------------ motion (all CSS; none under reduced motion) */
@keyframes gb-fade-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes gb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes gb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gb-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gb-accent) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--gb-accent) 0%, transparent); } }
@keyframes gb-ping { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gb-ok) 22%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--gb-ok) 8%, transparent); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: gb-rise .7s var(--gb-ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .stage { animation: gb-rise .9s .2s var(--gb-ease) both; }
  .app-card { animation: gb-rise .6s var(--gb-ease) both; }
  .a1 { animation-delay: .5s; } .a2 { animation-delay: .62s; } .a3 { animation-delay: .74s; }
  .a1 .act.ok { animation: gb-pulse 2.4s 1.4s ease-out infinite; }
  .phone-wa { animation: gb-float 7s 1s ease-in-out infinite; }
  .chip { animation: gb-float 8s 2s ease-in-out infinite; }
  .dot { animation: gb-ping 2.6s ease-in-out infinite; }
  /* scroll reveal where the browser supports scroll-driven animations; elsewhere content is simply visible */
  @supports (animation-timeline: view()) {
    .module, .step, .qa, .log, .refuse, .features li, .preview-visual, .cta {
      animation: gb-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .btn:hover, .module:hover, .step:hover .step-n, .module:hover .m-icon, .btn:hover .btn-arrow { transform: none; }
}
