/* Blanqe Growth website. Always light: white and warm paper, ink type, one growth-green accent.
   Headings in Bricolage Grotesque (friendly, current), text in Geist (clean, very readable).
   Motion is quick and gentle, and switched off for anyone whose device asks for less motion. */
:root {
  color-scheme: light;
  --ink: #0b0b0c; --ink-2: #34343a; --muted: #686870; --line: #e5e5df; --line-2: #d6d6cf;
  --paper: #ffffff; --bg: #fafaf7; --sunk: #f1f1ec;
  --grow: #0e9f6e; --grow-2: #2fd38a; --grow-soft: #e8f7ef; --grow-ink: #0a6b4a;
  --link: #1a5fd8; --star: #f5b400; --wa: #1fae5a;
  --r: 24px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.045);
  --shadow-up: 0 18px 44px rgba(16,24,20,.10), 0 0 0 1px rgba(0,0,0,.045);
  --display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header: 70px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, .h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 .5em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(38px, 5.8vw, 72px); font-weight: 750; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3, .h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--grow-2); outline-offset: 2px; border-radius: 6px; }
.eyebrow { font: 600 13px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--grow); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.lead.sm { font-size: 18px; }
.lead .short { display: none; }
.lbl { font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lbl.new { color: var(--grow); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 22px;
  background: var(--ink); color: #fff; font: 600 15px var(--font); text-decoration: none; border: 1px solid var(--ink); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, opacity .25s, visibility .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.btn:active { transform: none; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 26px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--bg); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- header and navigation ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: var(--header); transition: height .25s ease; }
.top .wrap { max-width: 1320px; }
.top.scrolled .top-in { height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 19px var(--display); letter-spacing: -0.02em; text-decoration: none; flex: none; }
.logo img { border-radius: 9px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.menu { display: flex; align-items: center; gap: 0; margin-left: 6px; min-width: 0; }
.nav-link { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 18px; text-decoration: none; color: var(--ink-2);
  font: 500 15px var(--font); background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav-link:hover, .nav-link[aria-current], .dd-btn[data-current], .dd.open .dd-btn { background: var(--sunk); color: var(--ink); }
.dd-btn svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-up); padding: 10px; width: 360px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-grid { display: grid; gap: 2px; }
.dd-grid.wide { grid-template-columns: 1fr 1fr; }
.dd-panel:has(.wide) { width: 620px; }
.dd-grid a { display: grid; gap: 2px; padding: 11px 13px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.dd-grid a:hover, .dd-grid a:focus-visible { background: var(--bg); }
.dd-grid b { font-weight: 600; font-size: 15px; }
.dd-grid span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.dd-all { display: block; margin-top: 4px; padding: 11px 13px; border-top: 1px solid var(--line); font: 600 14.5px var(--font); color: var(--grow); text-decoration: none; }
.menu-extra { display: none; }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.top-act > * { flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 12px; border-radius: 21px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.kbd { font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; color: var(--muted); }
/* Client sign in: an outline button that fills black on hover, the arrow slides in, and a click presses it with a ripple */
.signin { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 21px;
  border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 600 14.5px var(--font); text-decoration: none; white-space: nowrap; isolation: isolate; flex: none;
  transition: transform .15s ease, box-shadow .25s ease, border-color .3s ease; }
/* hover: green sweeps in from the left and an arrow slides out; click: a press and a light-green ripple */
.signin::before { content: ""; position: absolute; inset: 0; background: var(--grow); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.signin svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.signin .arr { width: 0; opacity: 0; margin-left: -8px; transform: translateX(-6px); transition: width .25s ease, opacity .25s ease, margin .25s ease, transform .25s ease; }
.signin:hover, .signin:focus-visible { border-color: var(--grow); box-shadow: 0 8px 22px rgba(14,159,110,.32); }
.signin:hover::before, .signin:focus-visible::before { transform: scaleX(1); }
.signin:hover .arr, .signin:focus-visible .arr { width: 17px; opacity: 1; margin-left: 0; transform: none; }
.signin:active { transform: scale(.96); }
.signin .ripple { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: rgba(47,211,138,.75); transform: translate(-50%, -50%) scale(0); animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(26); opacity: 0; } }
.cta-dim { opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none; }
/* the header button takes no room while hidden, and slides open when it appears */
.cta-top { max-width: 200px; overflow: hidden; transition: max-width .3s ease, padding .3s ease, margin .3s ease, opacity .25s, visibility .25s, transform .25s; }
.cta-top.cta-dim { max-width: 0; padding-left: 0; padding-right: 0; border-width: 0; margin-left: -10px; transform: none; }
.burger { display: none; width: 44px; padding: 0; flex-direction: column; gap: 5px; flex: none; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.crumbs { padding-top: 22px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* floating WhatsApp and back-to-top */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 28px; background: var(--wa); color: #fff;
  text-decoration: none; font: 600 15px var(--font); box-shadow: 0 10px 28px rgba(31,174,90,.35); transition: gap .25s ease, transform .2s; }
.wa svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.wa svg path:last-child { fill: #fff; stroke: none; }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.wa:hover, .wa:focus-visible { gap: 10px; transform: translateY(-2px); }
.wa:hover span, .wa:focus-visible span { max-width: 180px; }
.to-top { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 68px); z-index: 44;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-up); display: grid; place-items: center; cursor: pointer; }
.to-top[hidden] { display: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--bg)); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,211,138,.22), rgba(47,211,138,0) 66%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-70px, 50px) scale(1.08); } }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.rot { display: inline-grid; color: var(--grow); vertical-align: bottom; height: 1.08em; overflow: hidden; }
.rot span { grid-area: 1 / 1; height: 1.08em; transform: translateY(110%); transition: transform .6s cubic-bezier(.7,0,.25,1); }
.rot span.on { transform: none; } .rot span.out { transform: translateY(-110%); }
html:not(.js) .rot span:not(.on) { display: none; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grow-soft); color: var(--grow); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.hero .ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }

/* example AI chat */
.chat { background: #fff; border-radius: 26px; padding: 18px 18px 14px; box-shadow: var(--shadow-up); width: 100%; max-width: 480px; justify-self: end; }
.chat-top { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chat-label { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.replay { margin-left: auto; font: 500 12.5px var(--font); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 14px; padding: 6px 13px; cursor: pointer; min-height: 36px; }
.bubble { border-radius: 18px; padding: 12px 15px; margin-bottom: 12px; font-size: 15.5px; }
.bubble.you { background: var(--ink); color: #fff; margin-left: 14%; border-bottom-right-radius: 6px; min-height: 48px; }
.bubble.you.sm { margin-left: 0; display: inline-block; margin-right: 8px; }
.bubble.ai { background: var(--bg); border-bottom-left-radius: 6px; margin-right: 6%; }
.bubble.ai p { margin: 0 0 6px; }
.bubble.ai ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.you-li { background: #fff; border: 2px dashed var(--grow-2); border-radius: 12px; padding: 6px 10px; margin-left: -6px; }
.you-li span { display: block; font-size: 13.5px; color: var(--muted); }
.chat.answered .you-li { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px var(--grow-soft); } }
.chat-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; text-align: center; }
.chat-note.left { text-align: left; }
.typing::after { content: "▍"; animation: blink .8s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.js .chat.waiting .bubble.ai, .js .chat.waiting .bubble.ai li { opacity: 0; transform: translateY(8px); }
.chat .bubble.ai, .chat .bubble.ai li { transition: opacity .45s ease, transform .45s ease; }
.chat .bubble.ai li:nth-child(2) { transition-delay: .25s; } .chat .bubble.ai li:nth-child(3) { transition-delay: .55s; }
.asks { display: flex; flex-wrap: wrap; gap: 8px; }

/* questions strip */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 16px; background: #fff; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { white-space: nowrap; border: 1px solid var(--line); border-radius: 20px; padding: 7px 15px; font-size: 15px; color: var(--ink-2); background: var(--bg); }
.marquee span::before { content: "“"; color: var(--grow); } .marquee span::after { content: "”"; color: var(--grow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections and cards */
.sect { padding: 96px 0; }
.sect.tight { padding: 40px 0 76px; }
.sect.alt { background: var(--bg); }
.sect-head { max-width: 700px; margin-bottom: 38px; }
.sect-head p:last-child { margin-bottom: 0; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.sect.alt .card { box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card.link { text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card.link:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 15px; color: var(--grow); }
.card .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* scroll story: the phone stays still while the steps change it */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s ease; }
.step.on { opacity: 1; }
html:not(.js) .step { opacity: 1; min-height: 0; padding: 18px 0; }
.step-n { font: 600 14px var(--mono); color: var(--grow); margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 44ch; }
.stage { position: sticky; top: 110px; align-self: start; display: grid; place-items: center; height: min(560px, 74vh); }
.phone { width: min(300px, 100%); aspect-ratio: 9 / 17; background: var(--ink); border-radius: 42px; padding: 12px; box-shadow: 0 40px 80px rgba(16,24,20,.18); }
.screen { width: 100%; height: 100%; background: #fff; border-radius: 31px; position: relative; overflow: hidden; }
.scene { position: absolute; inset: 0; padding: 40px 16px 16px; display: grid; align-content: start; gap: 10px; opacity: 0; transform: scale(.96) translateY(10px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.scene.on { opacity: 1; transform: none; }
.sbar { height: 40px; border-radius: 20px; background: var(--sunk); display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--ink-2); }
.sq { background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 12px; font-size: 14px; justify-self: end; max-width: 90%; }
.src { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 9px 11px; font-size: 13.5px; }
.src i { width: 22px; height: 22px; border-radius: 7px; background: var(--grow-soft); color: var(--grow); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; flex: none; }
.src i.x { background: var(--sunk); color: var(--muted); }
.scene.on .src { animation: rise .5s both; }
.scene.on .src:nth-child(4) { animation-delay: .1s } .scene.on .src:nth-child(5) { animation-delay: .2s } .scene.on .src:nth-child(6) { animation-delay: .3s } .scene.on .src:nth-child(7) { animation-delay: .4s }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.scan { height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--grow), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: scan 1.4s linear infinite; }
@keyframes scan { from { background-position: -50% 0 } to { background-position: 150% 0 } }
.sans { background: var(--sunk); border-radius: 16px; padding: 12px; font-size: 14px; display: grid; gap: 7px; }
.sans div { border-radius: 10px; padding: 6px 8px; background: #fff; }
.sans .me { outline: 2px solid var(--grow-2); font-weight: 600; }
.ring { justify-self: center; width: 150px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin-top: 10px;
  background: conic-gradient(var(--grow) calc(var(--v, 0) * 1%), var(--sunk) 0); }
.ring b { width: 118px; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 700 34px var(--display); letter-spacing: -0.03em; }
.ring.big { width: 140px; } .ring.big b { width: 108px; }

/* services as tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { font: 600 15px var(--font); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 22px; height: 44px; padding: 0 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--line-2); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; background: #fff; border-radius: 26px; padding: 34px; box-shadow: var(--shadow); min-height: 340px; }
.panel[hidden] { display: none; }
.panel.enter > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; } .panel.enter > *:nth-child(2) { animation-delay: .08s; }
.panel .ticks { margin-top: 14px; }
.panel-more { margin: 18px 0 0; font-weight: 600; font-size: 15px; color: var(--grow); }
.panel-more a { color: var(--grow); }
.vis { background: var(--bg); border-radius: 20px; padding: 22px; min-height: 230px; display: grid; gap: 10px; align-content: center; min-width: 0; }
.bars { display: grid; gap: 10px; }
.bars > div { display: grid; grid-template-columns: 96px 1fr 46px; align-items: center; gap: 10px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.track { height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w, 0); border-radius: 4px; background: var(--line-2); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bars > div:last-child .track i, .track i.me { background: var(--grow); }
.serp { font-family: Arial, sans-serif; display: grid; gap: 3px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.serp .u { color: var(--muted); font-size: 12.5px; } .serp .t { color: var(--link); font-size: 17px; line-height: 1.3; } .serp .d { color: var(--ink-2); font-size: 14px; }
.stars { font-size: 30px; letter-spacing: 4px; color: var(--line-2); position: relative; width: max-content; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--star); overflow: hidden; width: var(--s, 0); transition: width 1.2s ease; white-space: nowrap; }
.revs { display: flex; align-items: end; gap: 8px; height: 90px; }
.revs i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--line-2); height: var(--h, 4%); transition: height .9s cubic-bezier(.2,.7,.2,1); }
.revs i.me { background: var(--grow); }
.dir { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.dir b { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 12px; color: transparent; transition: all .3s ease; flex: none; }
.dir.ok b { background: var(--grow); border-color: var(--grow); color: #fff; }
.spark { width: 100%; height: 140px; }
.pp .spark { height: 100px; }
.spark line { stroke: var(--line); }
.spark path.l { fill: none; stroke: var(--grow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: var(--dash, 0); transition: stroke-dashoffset 1.6s cubic-bezier(.3,.7,.2,1); }
.spark path.f { fill: var(--grow-soft); transition: opacity 1s .6s; }
.js .spark:not(.draw) path.l { --dash: 520; } .js .spark:not(.draw) path.f { opacity: 0; }

/* how it works: cards stack on top of each other as you scroll */
.stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.stack li { position: sticky; top: calc(var(--header) + 24px + var(--i) * 16px); background: #fff; border-radius: 26px; padding: 28px 32px; box-shadow: 0 -1px 0 var(--line), 0 20px 50px rgba(16,24,20,.09);
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; transform-origin: top center; }
.stack-n { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 20px var(--display); }
.stack h3 { margin-bottom: 4px; } .stack p { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* before / after: a homepage in a browser window */
.ba-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; }
.browser { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-up); background: #fff; min-width: 0; }
.chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.chrome b { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.chrome span { margin-left: 10px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 10px; font: 12.5px var(--mono); color: var(--muted); }
.ba { position: relative; user-select: none; touch-action: pan-y; display: grid; }
.site { display: grid; align-content: start; grid-area: 1 / 1; min-width: 0; background: #fff; }
.site-nav { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.site-nav strong { color: var(--ink); font-size: 15px; margin-right: auto; }
.site-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 26px 22px; align-items: center; }
.site-hero h4 { margin: 0 0 8px; font: 700 clamp(19px, 2.3vw, 27px)/1.15 var(--display); letter-spacing: -0.02em; }
.site-hero p { font-size: 14px; color: var(--ink-2); margin: 0; }
.photo { aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(135deg, #dfeee7, #cfe3f1); position: relative; overflow: hidden; }
.photo::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 62%; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.65); }
.site-btn { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; background: #2b5fd9; color: #fff; border-radius: 8px; padding: 7px 12px; }
.site-btn.green { background: var(--grow); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.facts span { font-size: 12px; font-weight: 600; background: var(--grow-soft); color: var(--grow-ink); border-radius: 10px; padding: 3px 9px; }
.site-faq { margin: 0 22px 22px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.site-faq b { display: block; margin-bottom: 3px; } .site-faq.grey { color: var(--muted); }
.new { position: relative; }
.new::before { content: attr(data-n); position: absolute; left: -11px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: var(--grow); color: #fff;
  font: 700 12px var(--font); display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; z-index: 1; }
.ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--grow); transform: translateX(-1px); pointer-events: none; z-index: 2; }
.ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--grow); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.ba-tag { position: absolute; top: 10px; z-index: 2; font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 8px; padding: 3px 8px; pointer-events: none; }
.ba-tag.l { left: 10px; } .ba-tag.r { right: 10px; background: var(--grow); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.changes { display: grid; gap: 10px; }
.change { display: grid; grid-template-columns: 26px 1fr; gap: 12px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); align-items: start; }
.change-n { width: 24px; height: 24px; border-radius: 50%; background: var(--grow); color: #fff; font: 700 12px var(--font); display: grid; place-items: center; }
.change b { display: block; font-size: 15.5px; } .change small { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; margin-top: 3px; }

/* portal preview */
.pp { background: var(--paper); border-radius: 26px; padding: 18px; box-shadow: var(--shadow-up); display: grid; gap: 12px; min-width: 0; }
.pp-card { background: var(--bg); border-radius: 18px; padding: 18px; }
.pp-big { font: 750 48px var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0; }
.pp-big small { font-size: 18px; color: var(--muted); font-weight: 500; }
.pp-done { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.pp-done div::first-letter { color: var(--grow); font-weight: 700; }

/* services page */
.svc { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 20px); }
.svc:first-child { border-top: 0; }
.svc-n { font: 700 44px var(--display); color: var(--grow); letter-spacing: -0.04em; line-height: 1; }

/* timeline (how it works page) */
.timeline { list-style: none; padding: 0; margin: 0 0 34px; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 19px; top: 8px; width: 2px; height: calc(var(--p, 1) * (100% - 16px)); background: var(--grow); transition: height .2s linear; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; position: relative; z-index: 1; }
.tl-n { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 16px var(--display); }
.timeline h3 { margin: 6px 0 4px; } .timeline p { color: var(--ink-2); margin: 0; }

/* page heads, prose */
.page-head { padding: 48px 0 8px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; background: #fff; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--sunk); }

/* FAQ: smooth open and close */
.faq { background: #fff; border-radius: var(--r-sm); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .25s ease; flex: none; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }
.faq[open] .faq-body, .faq[open] > p { animation: open .3s ease both; }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }

/* sample report */
.example-flag { display: inline-block; background: #fff7e0; color: #7a5600; border-radius: 12px; padding: 8px 14px; font-size: 14.5px; font-weight: 500; }
.report { display: grid; gap: 18px; max-width: 980px; }
.report-card { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.r-summary { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.r-score { font: 750 64px var(--display); letter-spacing: -0.045em; line-height: 1; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.r-score small { font-size: 22px; color: var(--muted); font-weight: 500; }
.r-summary p { margin: 0; color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.r-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.r-table th, .r-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.r-table th:first-child, .r-table td:first-child { text-align: left; }
.r-table th { font-weight: 600; font-size: 13.5px; color: var(--muted); }
.r-table .hit { color: var(--grow); font-weight: 700; } .r-table .miss { color: var(--line-2); }
.report-card .bars > div { grid-template-columns: 110px 1fr 46px; }
.r-list, .r-fixes { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.r-list li, .r-fixes li { display: grid; gap: 2px; } .r-list span, .r-fixes span { color: var(--ink-2); font-size: 15.5px; }
.r-fixes { counter-reset: f; } .r-fixes li { counter-increment: f; padding-left: 40px; position: relative; }
.r-fixes li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 14px var(--display); }
.report-cta { background: var(--grow-soft); border-radius: var(--r); padding: 30px; text-align: center; }
.report-cta p { color: var(--ink-2); }

/* forms */
.form-wrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.form { display: grid; gap: 6px; }
.form label { font-weight: 600; font-size: 15px; margin-top: 10px; display: block; }
.form input, .form textarea { width: 100%; font: 16px var(--font); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; margin-top: 6px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--grow); box-shadow: 0 0 0 4px rgba(14,159,110,.14); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; margin: 14px 0 10px; }
.form .check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--grow); }
.form .btn { margin-top: 6px; justify-self: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-error { background: #fff1f0; color: #a3261b; border-radius: 12px; padding: 10px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-side { padding: 8px 6px; }
.form-side .ticks { margin-bottom: 18px; } .form-side .h3 { margin-bottom: 14px; }

/* band + footer */
.band { background: var(--grow-soft); padding: 64px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 { margin-bottom: .3em; } .band p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.band .btn.light { background: var(--ink); color: #fff; border-color: var(--ink); }
.band-cta { display: grid; gap: 10px; justify-items: center; flex: none; }
.band-link { font-weight: 600; font-size: 15px; color: var(--grow-ink); }
.foot { background: var(--bg); color: var(--ink-2); padding: 56px 0 28px; font-size: 15px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h3 { font: 600 15px var(--font); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .logo { margin-bottom: 12px; }
.socials { display: flex; gap: 14px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 14px; color: var(--muted); }

/* search overlay */
.search { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,12,.35); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search[hidden] { display: none; }
.search-box { width: 100%; max-width: 640px; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.22); overflow: hidden; animation: pop .2s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.search-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-row svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search-row input { flex: 1; border: 0; font: 18px var(--font); outline: none; min-width: 0; background: transparent; }
.esc { border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 12px; padding: 4px 8px; cursor: pointer; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 56vh; overflow: auto; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--bg); }
.search-results b { display: block; } .search-results span { font-size: 14.5px; color: var(--muted); }
.search-results mark { background: rgba(47,211,138,.3); color: inherit; border-radius: 3px; }
.search-hint { padding: 14px 22px 18px; color: var(--muted); font-size: 14.5px; }
.search-hint p { margin: 0 0 10px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chips a { text-decoration: none; border: 1px solid var(--line); border-radius: 16px; padding: 6px 12px; color: var(--ink-2); font-size: 14px; }
.search-chips a:hover { background: var(--bg); }

/* scroll-in animation (with a fallback so nothing stays hidden) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); animation: reveal-anyway 0s 3s forwards; }
.js [data-reveal].in { opacity: 1; transform: none; animation: none; }
@keyframes reveal-anyway { to { opacity: 1; transform: none; } }

/* ---------- tablets ---------- */
@media (max-width: 1279px) {
  .top { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .story .stage { order: -1; }
  .menu { position: fixed; inset: var(--header) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 28px; margin: 0;
    overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; border-top: 1px solid var(--line); }
  .top.scrolled .menu { top: 60px; }
  .menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 4px; border-radius: 0; font-size: 18px; border-bottom: 1px solid var(--line); background: none !important; }
  .dd-panel { position: static; width: auto !important; box-shadow: none; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.open .dd-panel { display: block; }
  .dd-grid.wide { grid-template-columns: 1fr; }
  .dd-grid a { padding: 10px 6px; }
  .menu-extra { display: grid; gap: 10px; margin-top: 22px; }
  .menu-extra .btn { width: 100%; }
  .menu-signin { display: flex !important; justify-content: center; height: 52px; border-radius: 26px; font-size: 16px; }
  .burger { display: inline-flex; }
  .top-act .signin, .kbd { display: none; }
  .hero-in, .split, .form-wrap, .story, .panel, .ba-wrap { grid-template-columns: 1fr; }
  .chat { justify-self: start; }
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .stage { top: calc(var(--header) + 4px); height: 290px; z-index: 2; background: var(--paper); box-shadow: 0 12px 20px -14px rgba(0,0,0,.12); }
  .phone { width: 140px; border-radius: 26px; padding: 6px; } .screen { border-radius: 22px; }
  .scene { padding: 22px 9px 9px; gap: 6px; } .sbar, .src, .sans, .sq { font-size: 10.5px; } .sbar { height: 28px; }
  .src { padding: 5px 7px; } .src i { width: 15px; height: 15px; font-size: 9px; } .ring { width: 92px; } .ring b { width: 72px; font-size: 22px; }
  .step { min-height: 68vh; justify-content: flex-end; padding-bottom: 10vh; }
}
/* ---------- phones ---------- */
@media (max-width: 640px) {
  :root { --header: 62px; }
  body { font-size: 16px; }
  .cta-top { display: none; }
  .hero { padding: 26px 0 52px; }
  .lead .long { display: none; } .lead .short { display: inline; }
  .sect { padding: 64px 0; }
  .cards.three, .cards.two, .grid2, .foot-in, .report-grid { grid-template-columns: 1fr; }
  .band-in { flex-direction: column; align-items: flex-start; } .band-cta { justify-items: start; }
  .svc { grid-template-columns: 1fr; gap: 6px; } .svc-n { font-size: 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .bubble.you { margin-left: 8%; }
  .icon-btn { height: 44px; min-width: 44px; }
  .top-in { gap: 12px; } .logo { font-size: 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; } .tabs::-webkit-scrollbar { display: none; } .tab { flex: none; }
  .panel { padding: 22px; min-height: 0; }
  .stack li { grid-template-columns: 1fr; padding: 22px; gap: 10px; top: calc(var(--header) + 12px + var(--i) * 12px); } .stack-n { width: 42px; height: 42px; font-size: 17px; }
  .site-hero { grid-template-columns: 1fr; } .photo { display: none; } .site-nav span { display: none; }
  .r-summary { grid-template-columns: 1fr; } .ring.big { display: none; }
  .prose table { font-size: 14.5px; } .prose th, .prose td { padding: 10px 9px; }
  .faq summary { padding: 16px 18px; }
  .form .btn { width: 100%; }
  .search { padding: 12px; align-items: stretch; }
  .search-box { max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
  .search-results { max-height: none; flex: 1; }
  .foot ul a { display: inline-block; padding: 4px 0; }
  .wa { height: 54px; min-width: 54px; padding: 0 15px; }
  .to-top { right: max(23px, env(safe-area-inset-right, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .chat.waiting .bubble.ai, .js .chat.waiting .bubble.ai li { opacity: 1; transform: none; }
  .js .spark:not(.draw) path.l { --dash: 0; } .js .spark:not(.draw) path.f { opacity: 1; }
}
.search-none { padding: 12px 14px; color: var(--muted); font-size: 14.5px; }
