/* Rectifai · rebuilt 2026-08-07 to the 11-reference spec.
   WhatsApp marketing language in Fernand's register: Inter, cream/mint bands,
   near-black ink, bright green pills, components breaking out of the mocks. */

:root {
  --bg: #FFFDFA;
  --cream: #FDF5EA;
  --mint: #E9F8DF;
  --card: #FFFFFF;
  --ink: #0F1A13;
  --ink-soft: #43544A;
  --ink-faint: #5C6A61;
  --ink-grey: #9AA59D;
  --line: rgba(15, 26, 19, 0.1);
  --green: #1E3A2F;
  --dark: #0D120F;
  --wa-green: #1FA45B;
  --cta-green: #25D366;
  --cta-green-hover: #1FBE5C;
  --cta-ink: #0B130D;
  --bubble-me: #D9FDD3;
  --chat-bg: #F3EDE3;
  --gold: #E8A33D;
  --shadow-card: 0 1px 2px rgba(15, 26, 19, 0.04), 0 14px 40px -16px rgba(15, 26, 19, 0.12);
  --shadow-float: 0 2px 6px rgba(15, 26, 19, 0.08), 0 18px 44px -14px rgba(15, 26, 19, 0.24);
  --font: "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font-family: var(--font); font-size: 1rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font-family: inherit; }

.shell { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.shell-wide { max-width: 1400px; margin: 0 auto; padding-inline: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top 0.15s ease-out; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wa-green); outline-offset: 2px; border-radius: 4px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic.big { width: 42px; height: 42px; }
.ic.sm-ic { width: 13px; height: 13px; }
.star-fill { fill: var(--gold); stroke: none; }
.delta-ic { width: 9px; height: 9px; fill: currentColor; flex: none; }
.mark { width: 28px; height: 28px; flex: none; }
.mark.sm { width: 20px; height: 20px; }
.stars { color: var(--gold); letter-spacing: 0.08em; font-size: 0.9em; }
.foot-ref { color: var(--ink-faint); text-decoration: none; font-size: 0.75em; vertical-align: baseline; position: relative; top: -0.35em; line-height: 1; }
.foot-ref.light { color: rgba(251, 250, 248, 0.7); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--font); padding: 13px 26px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-ic { width: 15px; height: 15px; }
.btn-primary { background: var(--cta-green); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-green-hover); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(15, 26, 19, 0.4); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease-out;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 30px; padding-block: 12px; }
.wordmark { display: inline-flex; align-items: center; font: 400 1.35rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; font: 500 0.92rem/1 var(--font); color: var(--ink-soft); transition: color 0.14s ease-out; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero (photo card, floats on the photo) ---------- */

.hero { padding: clamp(0.8rem, 2vw, 1.4rem) 0 0; }

.hero-card {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 26px; min-height: 620px;
  display: flex; align-items: center;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(82deg, rgba(8, 16, 11, 0.66) 8%, rgba(8, 16, 11, 0.3) 40%, rgba(8, 16, 11, 0.02) 62%);
}
.hero-copy { position: relative; z-index: 2; padding: clamp(26px, 4vw, 56px); max-width: 520px; color: #FDFCFA; }
.hero-copy h1 { font-size: clamp(2.6rem, 4.2vw, 3.9rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
.lede { margin-top: 16px; max-width: 42ch; font-size: 1.06rem; line-height: 1.6; color: rgba(253, 252, 250, 0.9); }
.hero-copy .btn { margin-top: 24px; }

.hero-foot { margin-top: 10px; text-align: right; font-size: 0.78rem; color: var(--ink-faint); }

/* floats */
.hero-float { position: absolute; z-index: 3; box-shadow: var(--shadow-float); }

.hf-alert {
  top: 9%; right: 4%;
  display: flex; align-items: center; gap: 12px;
  background: #FFFFFF; border-radius: 16px; padding: 12px 14px;
}
.hf-alert-ic {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #FBEADB; color: #A25A17;
}
.hf-alert-ic .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.hf-alert-text { display: grid; line-height: 1.3; }
.hf-alert-text strong { font: 600 0.9rem/1.3 var(--font); color: var(--ink); }
.hf-alert-text span { font-size: 0.78rem; color: var(--ink-faint); }
.hf-alert-tag {
  flex: none; margin-left: 4px;
  background: var(--mint); color: var(--green);
  border-radius: 999px; padding: 6px 12px;
  font: 600 0.75rem/1 var(--font);
}

.hf-out, .hf-in {
  max-width: 250px; border-radius: 12px; padding: 9px 12px 18px;
  font-size: 0.86rem; line-height: 1.4; position: absolute;
}
.hf-out { background: var(--bubble-me); right: 6%; top: 36%; border-top-right-radius: 4px; }
.hf-in { background: #FFFFFF; right: 14%; top: 55%; border-top-left-radius: 4px; }
.hf-name { display: block; font: 600 0.78rem/1.3 var(--font); color: var(--wa-green); margin-bottom: 2px; }
.hf-time { position: absolute; right: 10px; bottom: 4px; font-size: 0.66rem; color: var(--ink-faint); }
.ticks { color: #4FB6E2; }
.hf-reactions {
  position: absolute; left: 10px; bottom: -14px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 9px; font-size: 0.78rem; letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(15, 26, 19, 0.12);
}

/* ---------- Sections & bands ---------- */

.section { padding: clamp(6rem, 10vw, 8.5rem) 0; }
.band-green { background: var(--mint); }
.band-cream { background: var(--cream); }
.statement-band { background: var(--cream); }

.band-head { max-width: 680px; margin: 0 auto clamp(3.5rem, 7vw, 5rem); text-align: center; }
.band-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; }
.band-head p { margin-top: 14px; font-size: 1.05rem; color: var(--ink-soft); }

.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -0.02em; }

/* two-tone heading (Fernand) */
.twotone { font-size: clamp(1.9rem, 2.9vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; }
.twotone span { display: block; color: var(--ink-grey); }
.twotone.center { text-align: center; }
.twotone-body { margin-top: 20px; max-width: 52ch; font-size: 1.02rem; color: var(--ink-soft); }

/* ---------- Statement with avatar bubbles ---------- */

.statement-wrap { position: relative; padding-block: clamp(4.5rem, 8vw, 7rem); }

.ava-field { position: absolute; inset: 0; pointer-events: none; }
.ava-chip { position: absolute; display: inline-flex; align-items: flex-start; gap: 6px; }
.ava-chip img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 2px 8px rgba(15, 26, 19, 0.16); }
.mini-bubble {
  position: relative; background: #FFFFFF; border-radius: 10px; border-top-left-radius: 3px;
  padding: 7px 32px 7px 11px; font: 500 0.86rem/1.35 var(--font);
  box-shadow: 0 2px 8px rgba(15, 26, 19, 0.1); white-space: nowrap;
}
.mini-bubble.green { background: var(--bubble-me); border-radius: 10px; border-top-right-radius: 3px; }
.mini-bubble time { position: absolute; right: 7px; bottom: 4px; font-size: 0.58rem; color: var(--ink-faint); }

.v1 { left: 4%; top: 0; }
.v2 { left: 38%; top: -6%; }
.v3 { right: 4%; top: 4%; }
.v4 { left: 2%; bottom: 2%; }
.v5 { left: 42%; bottom: -6%; }
.v6 { right: 3%; bottom: 6%; }

.statement {
  max-width: 820px; margin-inline: auto; text-align: center;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem); font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.35;
}

/* ---------- Organise pattern ---------- */

.organise { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: center; }
.organise.flip { grid-template-columns: 1fr minmax(340px, 470px); }
.organise.flip > :first-child { order: 2; }
.organise.flip > :last-child { order: 1; }

.feature-rows { display: grid; align-content: center; border-top: 1px solid rgba(15, 26, 19, 0.18); max-width: 580px; width: 100%; }
.frow { position: relative; padding: 24px 0; border-bottom: 1px solid rgba(15, 26, 19, 0.18); }
.frow h3 { font-size: 1.15rem; font-weight: 550; letter-spacing: -0.005em; }
.frow p { margin-top: 9px; font-size: 0.98rem; color: var(--ink-soft); max-width: 48ch; }
.frow.active { padding-block: 27px; }
.frow.active::before { content: ""; position: absolute; top: -1px; left: 0; width: 72px; height: 2px; background: var(--wa-green); }
.row-link {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 10px;
  font: 550 0.88rem/1 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.row-link .ic { width: 13px; height: 13px; }
.row-link:hover { color: var(--wa-green); }

/* ---------- Device mock (white frame) + pops ---------- */

.device-wrap, .panel-wrap { position: relative; width: fit-content; margin-inline: auto; }

.accent-dot { position: absolute; left: -34px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #3B82E0; }

.device {
  width: min(352px, 86vw);
  background: #FFFFFF; border-radius: 38px; padding: 9px;
  border: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.device-screen { border-radius: 30px; overflow: hidden; background: var(--chat-bg); display: flex; flex-direction: column; }
.status-row { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 8px 16px 0; font: 600 0.72rem/1 var(--font); }
.status-dots { color: var(--ink-faint); letter-spacing: 2px; }
.phone-head { display: flex; align-items: center; gap: 9px; background: #fff; padding: 8px 12px 10px; border-bottom: 1px solid rgba(15, 26, 19, 0.07); }
.back-ic { color: var(--wa-green); width: 17px; height: 17px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--gold); color: var(--dark); font: 700 0.9rem/1 var(--font); }
.avatar.sm-av { width: 24px; height: 24px; font-size: 0.72rem; }
.phone-name { font-weight: 600; font-size: 0.88rem; line-height: 1.2; }
.phone-status { font-size: 0.72rem; color: var(--ink-faint); }
.phone-body { padding: 16px 12px 8px; display: grid; gap: 9px; min-height: 310px; align-content: start; }
.chat-day { justify-self: center; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255, 255, 255, 0.8); color: var(--ink-soft); padding: 3px 9px; border-radius: 7px; }
.bubble { position: relative; max-width: 88%; padding: 8px 10px 17px; border-radius: 10px; font-size: 0.82rem; line-height: 1.42; box-shadow: 0 1px 1px rgba(15, 26, 19, 0.07); }
.bubble.them { background: #FFFFFF; justify-self: start; border-top-left-radius: 3px; }
.bubble.me { background: var(--bubble-me); justify-self: end; border-top-right-radius: 3px; }
.tick { position: absolute; right: 8px; bottom: 3px; font-size: 0.6rem; color: var(--ink-faint); }
.chat-btn { display: block; margin: 7px -10px -8px; padding: 8px 10px; border-top: 1px solid rgba(15, 26, 19, 0.09); color: var(--wa-green); font-weight: 600; font-size: 0.8rem; text-align: center; text-decoration: none; }
.phone-input { display: flex; align-items: center; gap: 7px; padding: 6px 8px 12px; }
.phone-input-field { flex: 1; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.82rem; color: var(--ink-faint); }
.phone-mic { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--cta-green); color: #fff; }
.phone-mic .ic { width: 16px; height: 16px; }

/* pops: components breaking the frame */
.pop { position: absolute; z-index: 4; }
.pop-pin {
  top: 78px; left: -26px; right: -26px;
  display: flex; align-items: center; gap: 9px;
  background: #FFFFFF; border-radius: 13px; padding: 11px 14px;
  font: 550 0.84rem/1.2 var(--font);
  box-shadow: var(--shadow-float);
}
.pop-pin .ic { width: 15px; height: 15px; color: var(--ink-soft); }
.pop-bubble { right: -34px; bottom: 118px; width: 210px; }
.pop-bubble .bubble.pop-me { max-width: 100%; box-shadow: var(--shadow-float); }

/* frameless chat panel (currently unused; feature section removed 2026-08-07) */
.chat-panel {
  position: relative; width: min(500px, 92vw);
  background: var(--chat-bg); border-radius: 28px;
  padding: 66px 30px 20px; display: grid; gap: 12px;
  box-shadow: var(--shadow-card);
}
.panel-pin { top: -16px; left: 26px; right: 26px; }
.chat-panel .bubble { font-size: 0.86rem; }
.chat-panel .bubble.hang-left { margin-left: -46px; box-shadow: var(--shadow-float); }
.chat-panel .bubble.hang-right { margin-right: -46px; box-shadow: var(--shadow-float); }
.panel-tip {
  justify-self: center; background: var(--dark); color: #F6F4EF;
  font: 550 0.72rem/1 var(--font); padding: 6px 11px; border-radius: 999px; margin-top: 4px;
}
.chat-panel .phone-input { padding: 4px 0 0; }
.chat-panel .phone-input-field { box-shadow: 0 2px 8px rgba(15, 26, 19, 0.08); }

/* ---------- Switch list (Fernand) ---------- */

.switch-copy { max-width: 480px; }
.switch-list { display: grid; margin-top: 30px; }
.switch-item {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font: 550 1.2rem/1.3 var(--font); letter-spacing: -0.01em;
  color: var(--ink-grey); transition: color 0.18s ease-out;
}
.switch-item:first-child { border-top: 1px solid var(--line); }
.switch-item:hover { color: var(--ink-soft); }
.switch-item.on { color: var(--ink); }

.switch-panel {
  background: var(--mint); border-radius: 26px;
  min-height: 460px; display: grid; place-items: center; padding: 42px;
}
.switch-card {
  display: none; width: min(400px, 100%);
  background: #FFFFFF; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-card); padding: 18px;
}
.switch-card.on { display: block; }
.sc-head { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.sc-head img { width: 36px; height: 36px; border-radius: 50%; }
.sc-head strong { display: block; font: 600 0.92rem/1.3 var(--font); }
.sc-head span { font-size: 0.78rem; color: var(--ink-faint); }
.sc-cal { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; color: var(--green); }
.sc-cal .ic { width: 16px; height: 16px; }
.sc-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.92rem; color: var(--ink-soft); }
.sc-row + .sc-row { border-top: 1px solid rgba(15, 26, 19, 0.06); }
.sc-row.quote { color: var(--ink); background: #F5F2EA; border-radius: 9px; padding: 9px 11px; margin-bottom: 4px; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.sc-dot.green { background: var(--wa-green); }
.sc-dot.amber { background: #D98B3B; }
.sc-dot.gold { background: var(--gold); }

/* ---------- App window (dashboard) ---------- */

.app-window {
  display: grid; grid-template-columns: 208px 1fr;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 2px 6px rgba(15, 26, 19, 0.05), 0 32px 70px -28px rgba(15, 26, 19, 0.25);
  overflow: hidden;
}
.aw-side { background: #FBFAF6; border-right: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 22px; }
.aw-brand { display: inline-flex; align-items: center; gap: 8px; font: 700 0.95rem/1 var(--font); }
.aw-nav { display: grid; gap: 2px; font-size: 0.86rem; color: var(--ink-soft); }
.aw-nav span { padding: 7px 10px; border-radius: 8px; }
.aw-nav .on { background: #FFFFFF; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.aw-account { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 550 0.8rem/1 var(--font); color: var(--ink-soft); }
.aw-main { padding: 20px 26px 26px; }
.aw-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.aw-search { flex: 1; display: inline-flex; align-items: center; gap: 8px; background: #F6F4EE; border-radius: 9px; padding: 8px 12px; font-size: 0.84rem; color: var(--ink-faint); }
.aw-search .ic { width: 15px; height: 15px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 600; color: var(--green); background: var(--mint); border-radius: 999px; padding: 5px 11px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #2E9E5B; }
.dash-greeting { padding: 10px 0 2px; font: 600 0.95rem/1.3 var(--font); }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding: 12px 0; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 1px; align-content: start; }
.kpi-num { font: 600 1.6rem/1.15 var(--font); letter-spacing: -0.02em; }
.kpi-star { color: var(--gold); font-size: 0.72em; vertical-align: 0.12em; margin-left: 2px; }
.kpi-label { font-size: 0.76rem; color: var(--ink-soft); }
.kpi-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; color: #237A47; }
.dash-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 11px; }
.dash-chart { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px 9px; }
.dash-chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; }
.dash-chart > svg { width: 100%; height: auto; }
.chart-line { stroke: var(--green); stroke-width: 2.25; }
.chart-x { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 0.68rem; color: var(--ink-faint); margin-top: 5px; }
.chart-dot { fill: var(--wa-green); stroke: #fff; stroke-width: 2; }
.dash-feed { border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; display: grid; align-content: start; gap: 1px; }
.dash-feed-head { font-size: 0.8rem; font-weight: 600; padding-block: 3px 6px; }
.feed-item { display: flex; align-items: center; gap: 10px; padding-block: 9px; border-top: 1px solid rgba(15, 26, 19, 0.06); font-size: 0.85rem; color: var(--ink-soft); }
.feed-item strong { color: var(--ink); }
.feed-item time { margin-left: auto; flex: none; font-size: 0.68rem; color: var(--ink-faint); }
.feed-ic { width: 23px; height: 23px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--mint); color: var(--green); font: 600 0.7rem/1 var(--font); }
.feed-ic.star { background: #F7EEDC; }
.feed-item.alert .feed-ic { background: #F6E3D3; color: #A25A17; }

/* Chart draw */
.chart-line { stroke-dasharray: 620; stroke-dashoffset: 0; }
.will-draw .chart-line { stroke-dashoffset: 620; }
.will-draw.in .chart-line { animation: draw 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Chat reveal */
.bubble[data-step] { opacity: 0; transform: translateY(9px); transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.bubble[data-step].shown { opacity: 1; transform: none; }

/* ---------- Focused moment (escalations) ---------- */

.focus-wrap { max-width: 720px; margin-inline: auto; text-align: center; }
.keycaps { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.keycap {
  min-width: 46px; height: 46px; padding-inline: 12px;
  display: inline-grid; place-items: center;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 2px 0 rgba(15, 26, 19, 0.08), var(--shadow-card);
  font: 600 0.85rem/1 var(--font); color: var(--ink-soft);
}
.keycap .ic { width: 17px; height: 17px; }
.focus-title { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.015em; }
.focus-sub { margin: 14px auto 0; max-width: 52ch; font-size: 1.02rem; color: var(--ink-soft); }
.palette-card {
  margin-top: 42px; text-align: left;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 15px;
  box-shadow: 0 2px 6px rgba(15, 26, 19, 0.05), 0 28px 60px -26px rgba(15, 26, 19, 0.22);
  padding: 4px 0 10px; overflow: hidden;
}
.palette-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font: 550 0.9rem/1 var(--font); color: var(--ink-faint); }
.pal-row { display: flex; align-items: center; gap: 13px; padding: 14px 20px; font-size: 0.95rem; }
.pal-row + .pal-row { border-top: 1px solid rgba(15, 26, 19, 0.05); }
.pal-row em { font-style: normal; color: var(--wa-green); font-weight: 600; }
.pal-row kbd {
  margin-left: auto; flex: none; font: 550 0.72rem/1 var(--font); color: var(--ink-faint);
  background: #F6F4EE; border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px;
}
.pal-ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.pal-ic.amber { background: #F6E3D3; color: #A25A17; }
.pal-ic.green { background: var(--mint); color: var(--green); }
.pal-row.fade { opacity: 0.45; }
.pal-row.fade.more { opacity: 0.25; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; align-items: stretch; }
.bento-col { display: grid; gap: 16px; align-content: stretch; }
.bento-card {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; text-align: center;
  display: grid; justify-items: center; align-content: center; gap: 6px;
}
.bento-moment { margin-bottom: 12px; }
.bento-card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.bento-card p { font-size: 0.96rem; color: var(--ink-soft); max-width: 40ch; }
.keycap.word { font-size: 0.8rem; }
.pulse-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--wa-green); box-shadow: 0 0 0 7px rgba(31, 164, 91, 0.14); }

.bento-tall { text-align: left; justify-items: start; align-content: start; padding: 28px; }
.bento-tall p { max-width: none; }
.compose {
  margin-top: 18px; width: 100%;
  background: #FBFAF6; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; font-size: 0.95rem; color: var(--ink-soft);
}
.tok { background: #EDF6EC; border: 1px solid rgba(31, 164, 91, 0.3); border-radius: 6px; padding: 1px 6px; font-size: 0.8em; color: var(--green); white-space: nowrap; }
.rule-rows { width: 100%; margin-top: 12px; display: grid; gap: 8px; }
.rule { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; }
.rule-if { flex: none; min-width: 132px; background: #F6F4EE; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; font-weight: 550; }
.rule-then { flex: 1; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; color: var(--ink-soft); }
.rule.add { color: var(--ink-faint); font-size: 0.82rem; padding-left: 2px; }

/* ---------- Guarantee ---------- */

.section-dark { background: var(--dark); color: #F6F4EF; }
.guarantee { max-width: 720px; text-align: center; margin-inline: auto; display: grid; justify-items: center; }
.guarantee h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.02em; }
.guarantee h2 em { font-style: normal; color: var(--cta-green); }
.guarantee-body { margin-top: 18px; max-width: 58ch; color: rgba(251, 250, 248, 0.8); font-size: 1.02rem; }
.guarantee-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.guarantee-badges span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.9rem; }
.guarantee-badges .ic { color: var(--cta-green); }
.guarantee .btn { margin-top: 26px; }

/* ---------- Quotes + founder ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.quote { margin: 0; display: grid; gap: 12px; align-content: start; }
.quote blockquote { margin: 0; font: 500 1.05rem/1.55 var(--font); }
.quote figcaption { font-size: 0.84rem; color: var(--ink-soft); }

.founder { max-width: 640px; margin: clamp(2.8rem, 6vw, 4rem) auto 0; text-align: center; }
.founder p { font-size: 0.95rem; color: var(--ink-soft); }
.founder-sig { display: inline-block; margin-top: 14px; font: 600 0.9rem/1 var(--font); color: var(--green); }

/* ---------- Integrations strip ---------- */

.integrations-strip { padding: 26px 0; border-block: 1px solid var(--line); }
.integrations-strip p { text-align: center; font: 550 0.88rem/1.7 var(--font); color: var(--ink-soft); }
.integrations-strip span { color: var(--ink-faint); font-weight: 500; margin-right: 6px; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 760px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 550 1.1rem/1.4 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; translate: 0 -50%;
  background:
    linear-gradient(var(--ink-soft), var(--ink-soft)) center/11px 1.6px no-repeat,
    linear-gradient(var(--ink-soft), var(--ink-soft)) center/1.6px 11px no-repeat;
  transition: transform 0.22s ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 66ch; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Booking funnel ---------- */

.booking { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: center; }
.booking-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.02em; }
.booking-copy p { margin-top: 16px; color: var(--ink-soft); max-width: 48ch; font-size: 1.02rem; }

.funnel {
  position: relative; background: #FFFFFF; color: var(--ink);
  border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  padding: 32px 32px 28px; min-height: 330px; display: grid; align-content: center;
}
.funnel-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 20px 20px 0 0; overflow: hidden; background: rgba(15, 26, 19, 0.07); }
.funnel-progress span { display: block; height: 100%; width: 100%; background: var(--cta-green); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.fstep { border: 0; margin: 0; padding: 0; display: none; }
.fstep.on { display: grid; gap: 15px; }
.fstep label, .fstep legend { font: 600 1.32rem/1.3 var(--font); letter-spacing: -0.015em; padding: 0; }
.fstep-hint { font-size: 0.88rem; color: var(--ink-soft); margin-top: -5px; }
.fstep input {
  font: 500 1.08rem/1.4 var(--font); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid rgba(15, 26, 19, 0.18);
  padding: 7px 2px; border-radius: 0; width: 100%; transition: border-color 0.15s ease-out;
}
.fstep input::placeholder { color: var(--ink-faint); }
.fstep input:focus { outline: none; border-bottom-color: var(--wa-green); }
.fstep input.invalid { border-bottom-color: #B3552F; }
.fstep-actions { display: flex; align-items: center; gap: 13px; }
.key-hint { font-size: 0.82rem; color: var(--ink-faint); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  font: 550 0.94rem/1.3 var(--font); color: var(--ink);
  background: transparent; border: 1.5px solid rgba(15, 26, 19, 0.16);
  border-radius: 999px; padding: 12px 16px; cursor: pointer; text-align: center;
  transition: border-color 0.14s ease-out, background 0.14s ease-out;
}
.choice:hover { border-color: var(--wa-green); background: #F1F9EC; }
.done-step { text-align: center; justify-items: center; }
.done-step .ic { color: #237A47; margin-bottom: 6px; }
.done-title { font: 600 1.2rem/1.25 var(--font); letter-spacing: -0.01em; }
.done-step .fstep-hint { max-width: 38ch; margin: 6px auto 0; }
.funnel-error { margin: 12px 0 0; font-size: 0.88rem; color: #B3552F; }

/* ---------- Footer ---------- */

.footer { background: var(--dark); color: rgba(246, 244, 239, 0.76); padding: 40px 0 36px; }
.footer-trust {
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  padding-bottom: 30px; margin-bottom: 38px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.12);
  font: 550 0.84rem/1 var(--font);
}
.footer-trust span { display: inline-flex; align-items: center; gap: 8px; }
.footer-trust .ic { width: 16px; height: 16px; color: var(--cta-green); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; max-width: 32ch; font-size: 0.88rem; }
.footer-fine { font-size: 0.78rem; color: rgba(246, 244, 239, 0.5); }
.wordmark.light { color: #F6F4EF; }
.footer h3 { font: 600 0.72rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 244, 239, 0.5); margin: 0 0 14px; }
.footer nav { display: grid; gap: 9px; align-content: start; }
.footer nav a { text-decoration: none; font-size: 0.88rem; transition: color 0.14s ease-out; }
.footer nav a:hover { color: #fff; }
.footer-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(246, 244, 239, 0.12); font-size: 0.8rem; color: rgba(246, 244, 239, 0.5); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .organise, .organise.flip, .booking { grid-template-columns: 1fr; }
  .organise.flip > :first-child { order: 1; }
  .organise.flip > :last-child { order: 2; }
  .switch-panel { min-height: 320px; }
  .bento { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; max-width: 600px; }
  .app-window { grid-template-columns: 1fr; }
  .aw-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; }
  .aw-nav { display: flex; gap: 4px; overflow-x: auto; flex: 1 1 100%; order: 3; min-width: 0; }
  .aw-nav span { white-space: nowrap; flex: none; }
  .aw-account { margin-top: 0; margin-left: auto; }
  .hero-card { min-height: 480px; }
  .hf-out { display: none; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero-card { min-height: 500px; align-items: flex-end; }
  .hero-copy { padding: 22px 20px 26px; }
  .hf-alert { top: 4%; right: 4%; left: 4%; }
  .hf-alert-tag { display: none; }
  .hf-in { display: none; }
  .ava-field { display: none; }
  .statement-wrap { padding-block: 1rem; }
  .accent-dot { display: none; }
  .pop-pin { left: -8px; right: -8px; }
  .pop-bubble { right: -6px; }
  .chat-panel { width: min(440px, calc(100vw - 32px)); }
  .chat-panel .bubble.hang-left { margin-left: -10px; }
  .chat-panel .bubble.hang-right { margin-right: -10px; }
  .panel-pin { left: 8px; right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .funnel { padding: 26px 20px 22px; }
  .rule-if { min-width: 104px; }
}

@media (max-width: 460px) {
  .dash-grid, .choice-grid { grid-template-columns: 1fr; }
  .hero-copy .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .rule { flex-direction: column; align-items: stretch; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble[data-step] { opacity: 1; transform: none; transition: none; }
  .will-draw .chart-line { stroke-dashoffset: 0; animation: none; }
  .btn, .funnel-progress span { transition: none; }
}
