/* Spottra marketing site
   Visual system from the Spottra Brand Identity deck: the "dawn light" spectrum
   (#066eff -> #50abff -> #b2c7ff -> #ffddb7), midnight #1f3051, a soft display serif,
   Plus Jakarta Sans for text, thin vertical rules, gradient-outlined cards and the
   toggle capsule from the logo. Product UI content comes from the Figma Hi-Fi flow. */

/* Self-hosted fonts (SIL Open Font License), so every device renders the same type. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/young-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/young-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --canvas: #f5f7fc;
  --ink: #0b1220;
  --ink-2: #4a5468;
  --ink-3: #848da0;
  --line: #e2e7f1;
  --line-2: #ccd5e5;

  --primary: #066eff;
  --primary-ink: #0057d6;
  --sky: #50abff;
  --peri: #b2c7ff;
  --peach: #ffddb7;
  --midnight: #1f3051;
  --midnight-2: #2a3d63;

  --tint: #ebf2ff;
  --tint-2: #d8e6ff;
  --peri-t: #eef1ff;
  --sky-t: #e6f3ff;
  --peach-t: #fff3e6;
  --warm: #a85a14;
  --rose: #e0364f;

  --dawn: linear-gradient(60deg, #066eff 0%, #3b8bff 30%, #a9c1ff 58%, #d4d2e4 80%, #ffddb7 100%);
  --dawn-soft: linear-gradient(60deg, #4f97ff 0%, #b2c7ff 50%, #ffddb7 100%);
  --dusk: linear-gradient(115deg, #0b1220 0%, #1f3051 45%, #0b4fc0 100%);

  --radius: 18px;
  --max: 1160px;
  --gutter: 24px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { font-synthesis: style; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.serif, .h2, .hero h1, .doc h1, .problem-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo (assets/logo*.svg, split from the master file) ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 26px; width: auto; }
.footer .logo img { height: 30px; }

/* Toggle capsule from the logo's "oo": used as the brand's on-state everywhere */
.toggle { --h: 22px; position: relative; display: inline-block; width: calc(var(--h) * 1.62); height: var(--h); border-radius: 999px; background: var(--dawn); flex: none; vertical-align: middle; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: calc(var(--h) - 6px); height: calc(var(--h) - 6px); border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(11,18,32,.18); }
.toggle.off { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.toggle.off::after { right: auto; left: 3px; background: transparent; box-shadow: inset 0 0 0 2px var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .nav .btn-sm { padding: 0 13px; font-size: 14px; } .nav .logo img { height: 22px; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Section scaffolding ---------- */
section { padding: 112px 0; }
.kicker { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 16px; padding-left: 26px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; max-width: 20ch; position: relative; padding-left: 26px; }
.h2::before { content: ""; position: absolute; left: 0; top: .08em; bottom: .08em; width: 4px; background: currentColor; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 58ch; }
@media (max-width: 760px) { section { padding: 76px 0; } }

/* ---------- Hero (v5): deck cover gradient + phone, floating match card, quiet network lines ---------- */
.hero { position: relative; padding: 64px 0 112px; background: linear-gradient(60deg, #066eff 0%, #2f84ff 30%, #a9c1ff 60%, #d4d2e4 82%, #ffddb7 100%); color: #fff; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.5); pointer-events: none; }
.hero::before { left: max(12px, calc((100vw - var(--max)) / 2 + 8px)); }
.hero::after { left: 50%; top: 14%; bottom: 26%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #fff; padding: 7px 14px 7px 8px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.12); }
.status .toggle { --h: 18px; background: #fff; }
.status .toggle::after { background: var(--primary); box-shadow: none; }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); line-height: 1; color: #fff; margin: 26px 0 22px; max-width: 12ch; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: #fff; }
.hero .lede { color: #fff; font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; max-width: 46ch; text-shadow: 0 1px 12px rgba(6,40,110,.18); }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--primary-ink); box-shadow: 0 14px 30px -14px rgba(6,40,110,.6); }
.btn-white:hover { background: #eef4ff; }
.btn-white svg { width: 16px; height: 16px; }
.btn-clear { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-clear:hover { background: rgba(255,255,255,.2); }
.hero-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.85); }
.hero-stage { position: relative; min-height: 700px; display: grid; align-items: center; justify-items: end; padding-right: 8px; }
.hero-stage .graph { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph .edge { stroke: rgba(255,255,255,.35); stroke-width: 1.2; fill: none; }
.graph .edge.hot { stroke: #fff; stroke-width: 2; stroke-dasharray: 5 6; }
.graph .node { fill: rgba(255,255,255,.55); stroke: #fff; stroke-width: 1.5; }
.graph .node.hot { fill: var(--peach); stroke: #fff; stroke-width: 2.5; }
.graph .ring { fill: none; stroke: #fff; stroke-width: 1.4; opacity: .7; }
.hero-stage .phone { position: relative; z-index: 2; box-shadow: 0 40px 80px -36px rgba(6,40,110,.6), 0 10px 24px -14px rgba(6,40,110,.35); border-color: rgba(255,255,255,.7); }
.rec { position: absolute; left: -24px; bottom: -34px; z-index: 3; width: 320px; background: rgba(255,255,255,.95); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 2px 6px rgba(13,21,38,.06), 0 40px 80px -32px rgba(20,40,90,.28); padding: 16px 16px 14px; text-align: left; color: var(--ink); }
.rec-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.badge { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: rgba(6,110,255,.1); padding: 4px 8px; border-radius: 6px; font-weight: 600; }
.rec-top .match { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-2); }
.rec-top .match .toggle { --h: 16px; }
.rec h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: -0.01em; line-height: 1.15; }
.rec p { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.rec .stats { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(13,21,38,.06); }
.rec .k { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rec .v { font-family: var(--serif); font-size: 14.5px; font-weight: 400; margin-top: 2px; line-height: 1.2; }
@media (max-width: 1180px) { .rec { left: -4px; } }
@media (max-width: 980px) {
  .hero { background: linear-gradient(172deg, #066eff 0%, #2f84ff 42%, #9fbaff 72%, #d4d2e4 88%, #ffddb7 100%); }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stage { min-height: 0; padding: 24px 0 0; display: flex; flex-direction: column; align-items: center; }
  .rec { position: relative; left: auto; bottom: auto; margin-top: -60px; width: min(360px, 100%); }
  .hero { padding-bottom: 56px; }
}

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.problem-statement { font-size: clamp(21px, 2vw, 26px); line-height: 1.42; letter-spacing: -0.01em; font-weight: 500; margin-bottom: 40px; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ruled > li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ruled .num { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.ruled h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.015em; }
.ruled p { color: var(--ink-2); }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- How it works ---------- */
.how { background: var(--canvas); }
.how-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 32px 28px 0; border-left: 1px solid var(--line-2); }
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step .num { font-size: 14px; font-weight: 600; color: var(--primary); }
.step h3 { font-size: 21px; margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 16px; margin-bottom: 28px; }
.step .frag { margin-top: auto; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step:first-child { border-left: 0; padding: 32px 0; border-top: 1px solid var(--line-2); }
}

/* ---------- Features ---------- */
.features-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.feature-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.feature { display: grid; grid-template-columns: 64px 1.1fr 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ficon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.ficon svg { width: 20px; height: 20px; }
.ficon.c-lav { background: var(--tint); color: var(--primary); }
.ficon.c-sky { background: var(--sky-t); color: var(--primary-ink); }
.ficon.c-peach { background: var(--peach-t); color: var(--warm); }
.ficon.c-mint { background: var(--peri-t); color: var(--midnight); }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 16px; }
.later { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.later span.tag { border: 1px dashed var(--line-2); border-radius: 999px; padding: 5px 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .features-head { grid-template-columns: 1fr; gap: 20px; }
  .feature { grid-template-columns: 52px 1fr; }
  .feature .example { grid-column: 1 / -1; }
}

/* ---------- AI section (dark plum, like the product's hero cards) ---------- */
.ai { background: var(--dusk); color: #f1f5fc; }
.ai .kicker { color: var(--peach); }
.ai .lede { color: #c9d3e6; }
.ai-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.plan-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 15px; font-weight: 500; }
.plan-line .toggle { --h: 18px; }
.usecases { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.18); }
.usecase { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.usecase .tier { font-size: 13px; font-weight: 600; color: #a9b6cf; padding-top: 3px; }
.usecase.primary .tier { color: var(--peach); }
.usecase h3 { font-size: 19px; margin-bottom: 4px; color: #fff; }
.usecase p { color: #c9d3e6; font-size: 15.5px; }
.usecase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #e6ecf7; font-size: 16px; }
.usecase ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); margin-right: 12px; vertical-align: middle; }

.pipeline { display: grid; gap: 14px; }
.pipe-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a9b6cf; margin-bottom: 8px; }
.pipe-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px 20px; }
.pipe-box.raw p { font-size: 16px; color: #eef2fa; line-height: 1.5; }
.pipe-arrow { display: flex; align-items: center; gap: 10px; color: #a9b6cf; font-size: 13px; padding-left: 20px; }
.pipe-arrow svg { width: 16px; height: 16px; }
.pipe-box.light { background: #fff; color: var(--ink); border-color: #fff; }
.pipe-note { font-size: 13px; color: #a9b6cf; margin-top: 4px; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; font-size: 14.5px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; gap: 48px; } .usecase { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Product preview rail ---------- */
.preview { background: var(--canvas); overflow: hidden; }
.preview-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.rail-controls { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.rail-btn:hover { border-color: var(--ink-3); }
.rail-btn svg { width: 18px; height: 18px; }
.rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; --inset: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding: 4px var(--inset) 24px; scroll-padding-left: var(--inset); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail .phone { height: 560px; }
.rail figure { margin: 0; scroll-snap-align: start; flex: none; }
.rail figcaption { margin-top: 18px; max-width: 300px; }
.rail figcaption b { display: block; font-size: 16px; font-weight: 600; }
.rail figcaption span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Team: photos in the deck's rounded, gradient-edged frames ---------- */
.team-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.member { display: flex; flex-direction: column; align-items: flex-start; }
.member .photo { width: 100%; max-width: 320px; aspect-ratio: 385 / 511; padding: 3px; border-radius: 26% / 20%; background: linear-gradient(200deg, #066eff, #b2c7ff 45%, #ffddb7 70%, #50abff); margin-bottom: 24px; }
.member .photo .crop { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: var(--canvas); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 30%); }
.member h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.01em; line-height: 1.1; }
.member .role { color: var(--primary-ink); font-weight: 600; font-size: 15px; margin-top: 6px; }
.member .creds { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45; margin: 14px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.member p { color: var(--ink-2); font-size: 15.5px; }
.member .li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 999px; margin-top: 18px; }
.member .li:hover { border-color: var(--primary); color: var(--primary-ink); }
.member .li svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; gap: 56px; } .member .photo { max-width: 280px; } }

/* ---------- Connect wall ---------- */
.wall { background: var(--bg); padding-top: 0; }
.wall-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.wall-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.call { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.call:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line-2); }
.call p { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.call-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.t-blue { background: var(--tint); color: var(--primary-ink); }
.t-peach { background: var(--peach-t); color: var(--warm); }
.t-peri { background: var(--peri-t); color: var(--midnight); }
.call-meta { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--ink-3); }
.call-meta .offer { color: var(--ink-2); font-weight: 600; }
.wall-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) {
  .wall-head { grid-template-columns: 1fr; gap: 16px; }
  .wall-list { grid-template-columns: 1fr 1fr; }
  .call, .call:not(:nth-child(3n+1)) { padding: 22px 20px 22px 0; border-left: 0; }
  .call:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-2); }
}
@media (max-width: 600px) {
  .wall-list { grid-template-columns: 1fr; }
  .call, .call:nth-child(2n) { padding: 20px 0; border-left: 0; }
}

/* ---------- Need <-> Offer sandbox ---------- */
.sandbox { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sb-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.sb-sub { color: var(--ink-2); margin: 10px 0 28px; max-width: 44ch; }
.sb-group { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.sb-group legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.sb-card { padding: 22px; }
.sb-person { display: flex; gap: 14px; align-items: center; }
.sb-person .av { width: 48px; height: 48px; font-size: 15px; }
.sb-person .t { font-size: 18px; }
.sb-state { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; }
.sb-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sb-ex span { display: block; font-size: 12.5px; }
.sb-ex b { font-weight: 600; }
.sb-ex .none { color: var(--ink-3); font-weight: 500; }
.sb-card.oneway .why { background: var(--peach-t); }
.sb-card.oneway .why b { color: var(--warm); }
.sb-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.sb-card .why span { transition: opacity .2s; }
@media (max-width: 900px) { .sandbox { grid-template-columns: 1fr; gap: 28px; } }


/* ---------- Early access form ---------- */
.join { background: var(--canvas); }
.join-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.join-steps { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.join-steps li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; color: var(--ink-2); display: grid; grid-template-columns: 36px 1fr; }
.join-steps li b { color: var(--ink); font-weight: 600; }
.join-steps ol { margin: 0; padding: 0; }
.join-steps .n { font-size: 14px; font-weight: 600; color: var(--primary); padding-top: 2px; }
form.early { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(200deg, #066eff, #b2c7ff 45%, #ffddb7 70%, #50abff) border-box; border: 1.5px solid transparent; border-radius: 28px; padding: 36px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; }
.field .hint { font-weight: 400; color: var(--ink-3); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23554e62' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--tint); }
.field input::placeholder, .field textarea::placeholder { color: #a8a1b4; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.choice input:checked + span { background: var(--tint); border-color: var(--primary); color: var(--primary-ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.field .consent { font-weight: 400; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot small { color: var(--ink-3); font-size: 13.5px; max-width: 36ch; }
.form-error { color: var(--rose); font-size: 14px; margin-top: 12px; display: none; }
.form-error.show { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rose); }
.thanks { display: none; background: var(--dawn); color: #fff; border-radius: 28px; padding: 48px 36px; }
.thanks.show { display: block; }
.thanks .marks { margin-bottom: 24px; }
.thanks .marks .toggle { --h: 48px; }
.thanks h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin-bottom: 12px; }
.thanks p { color: #fff; font-size: 18px; max-width: 44ch; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } form.early { padding: 24px 20px; } }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.trust-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.trust-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.trust-list li { grid-template-columns: 52px 1fr; }
.trust-list .toggle { margin-top: 2px; }
.trust-links { display: flex; gap: 20px; margin-top: 28px; font-size: 15px; font-weight: 600; }
.trust-links a { color: var(--primary); text-decoration: none; }
.trust-links a:hover { text-decoration: underline; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--ink); }
.footer a:hover { color: var(--primary); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* =====================================================================
   Phone mockups, rebuilt in HTML from the Figma Hi-Fi frames so they stay
   crisp at every size and share one consistent style.
   ===================================================================== */
.phone {
  --p-ink: #1c1526; --p-ink-2: #6a6377; --p-line: #ece8f2;
  width: 300px; height: 624px; flex: none;
  background: #fff; border-radius: 40px; border: 1px solid #e6e0ef;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -30px rgba(43,33,57,.35), 0 8px 20px -12px rgba(43,33,57,.18);
  overflow: hidden; display: flex; flex-direction: column;
  font-size: 12px; line-height: 1.4; color: var(--p-ink); text-align: left;
  letter-spacing: 0;
}
.phone .scr { flex: 1; padding: 26px 18px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; background: #fdfcff; }
.phone .t1 { font-size: 20px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.phone .t2 { font-size: 15px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.phone .sub { color: var(--p-ink-2); font-size: 11.5px; margin-top: 3px; }
.phone .card { border: 1px solid var(--p-line); border-radius: 16px; background: #fff; padding: 12px; }
.phone .muted { color: var(--p-ink-2); }
.phone .cap { font-size: 9.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.phone .pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--p-line); color: var(--p-ink-2); background: #fff; white-space: nowrap; }
.phone .pill.lav { background: var(--tint); border-color: transparent; color: var(--primary); }
.phone .pill.mint { background: var(--peri-t); border-color: transparent; color: var(--midnight); }
.phone .pill.sky { background: var(--sky-t); border-color: transparent; color: var(--primary-ink); }
.phone .pill.peach { background: var(--peach-t); border-color: transparent; color: var(--warm); }
.phone .row { display: flex; gap: 6px; flex-wrap: wrap; }
.phone .pbtn { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 12.5px; }
.phone .pbtn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--p-line); }
.phone .link { color: var(--primary); font-weight: 600; font-size: 11.5px; }
.phone .why { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.phone .why b { display: block; color: var(--primary); font-size: 11px; margin-bottom: 3px; }
.phone .av { border-radius: 50%; background: var(--tint-2); color: var(--primary); display: grid; place-items: center; font-weight: 650; flex: none; }
.phone .back { display: flex; align-items: center; gap: 10px; }
.phone .back svg { width: 14px; height: 14px; }
.phone .tabbar { display: flex; justify-content: space-around; border-top: 1px solid var(--p-line); padding: 10px 6px 16px; background: #fff; }
.phone .tab { display: grid; justify-items: center; gap: 3px; font-size: 9px; color: #9a93a6; }
.phone .tab svg { width: 16px; height: 16px; }
.phone .tab.on { color: var(--primary); font-weight: 600; }
.phone .tab .badge { position: relative; }
.phone .tab .badge::after { content: attr(data-n); position: absolute; top: -6px; right: -9px; background: var(--rose); color: #fff; font-size: 8px; font-weight: 700; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; }
.phone .opt { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: 11.5px; color: var(--p-ink-2); }
.phone .opt.on { background: var(--tint); color: var(--primary); font-weight: 600; }
.phone .opt i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #cfc7dc; flex: none; }
.phone .opt.on i { border-color: var(--primary); background: radial-gradient(var(--primary) 0 3px, transparent 3.5px); }
.phone .bubble { border-radius: 14px; padding: 10px 12px; font-size: 11.5px; }
.phone .bubble small { display: block; font-size: 9px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; color: var(--p-ink-2); }
.phone .hub { border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; }
.phone .hub .ic { width: 28px; height: 18px; border-radius: 999px; grid-row: span 3; margin-top: 1px; display: grid; place-items: center; }
.phone .hub .ic svg { width: 10px; height: 10px; color: #fff; }
.phone .duo { display: flex; justify-content: center; padding: 18px 0 8px; }
.phone .duo .toggle { --h: 56px; }
.phone .progress { height: 4px; border-radius: 4px; background: var(--p-line); overflow: hidden; }
.phone .progress span { display: block; height: 100%; background: var(--primary); }
.phone .input { border: 1px solid var(--p-line); border-radius: 999px; padding: 9px 14px; color: #a8a1b4; font-size: 11.5px; display: flex; justify-content: space-between; background: #fff; }

/* Fragments: product components shown outside a phone */
.frag { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(200deg, #066eff, #b2c7ff 45%, #ffddb7 70%, #50abff) border-box; border: 1.5px solid transparent; border-radius: 22px; padding: 18px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 20px 40px -32px rgba(43,33,57,.4); }
.frag .cap { font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.frag .muted { color: var(--ink-3); }
.frag .pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.frag .pill.lav { background: var(--tint); border-color: transparent; color: var(--primary); }
.frag .pill.mint { background: var(--peri-t); border-color: transparent; color: var(--midnight); }
.frag .pill.sky { background: var(--sky-t); border-color: transparent; color: var(--primary-ink); }
.frag .row { display: flex; gap: 6px; flex-wrap: wrap; }
.frag .why { background: var(--tint); border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
.frag .why b { display: block; color: var(--primary); font-size: 12.5px; margin-bottom: 2px; }
.frag hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.frag .opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); }
.frag .opt.on { background: var(--tint); color: var(--primary); font-weight: 600; }
.frag .opt i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #cfc7dc; flex: none; }
.frag .opt.on i { border-color: var(--primary); background: radial-gradient(var(--primary) 0 3px, transparent 3.5px); }
.frag .duo { margin-bottom: 12px; }
.frag .duo .toggle { --h: 34px; }
.frag .t { font-weight: 650; font-size: 16px; letter-spacing: -0.015em; }
.frag .av { width: 36px; height: 36px; border-radius: 50%; background: var(--tint-2); color: var(--primary); display: grid; place-items: center; font-weight: 650; font-size: 13px; flex: none; }
.pipe-box .frag { background: none; border: 0; padding: 0; box-shadow: none; }
.example .frag { max-width: 420px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .example .frag { justify-self: start; } }

/* ---------- Legal / contact pages ---------- */
.doc { padding: 72px 0 112px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5.4vw, 60px); margin-bottom: 14px; }
.doc .meta { color: var(--ink-3); font-size: 15px; margin-bottom: 48px; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; margin: 12px 0 0; }
.doc a { color: var(--primary); }
.doc .notice { background: var(--peach-t); border-radius: 14px; padding: 16px 18px; font-size: 15px; color: #6d3a12; margin-bottom: 40px; }
.contact-rows { border-top: 1px solid var(--ink); margin-top: 32px; }
.contact-rows div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-rows dt { color: var(--ink-3); font-size: 15px; }
.contact-rows dd { margin: 0; font-size: 18px; font-weight: 500; }
.contact-rows dd a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
@media (max-width: 600px) { .contact-rows div { grid-template-columns: 1fr; gap: 4px; } }
