/* Plumbo — plumbo.app
   Colors come from the app's Palette (Plumbo/Views/DesignSystem.swift) and its icon. */

:root {
  --canvas: #F5F5F0;
  --paper: #FFFFFF;
  --ink: #14211F;
  --ink-2: #4B5856;
  --ink-3: #7C8784;
  --rule: #DEDFD8;
  --rule-2: #CDCFC6;
  --teal: #0D574F;
  --teal-soft: #1A7A6E;
  --mint: #D9F0E1;
  --mint-2: #E8F2EC;
  --amber: #91540D;
  --amber-soft: #FBF0DF;
  --alert: #B0301C;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--teal); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */

h1 {
  font-weight: 600;
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: .98;
  letter-spacing: -.035em;
}
h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }

.label {
  font: 500 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.label span {
  color: var(--teal);
  padding-right: 10px;
  border-right: 1px solid var(--rule-2);
}
.fine { font-size: 14px; color: var(--ink-3); }
.center { text-align: center; }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 12px 20px;
  transition: background .2s;
}
.btn:hover { background: #0A4740; }
.btn-small { font-size: 14px; padding: 9px 16px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px; height: 56px; padding: 0 20px 0 16px;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 14px;
  transition: transform .2s var(--ease), background .2s;
}
.store:hover { background: #000; transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 600; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; }
.store small { font-weight: 400; font-size: 11px; letter-spacing: .01em; opacity: .8; margin-bottom: 2px; }
.store-soon, .store-soon:hover { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--rule-2); transform: none; cursor: default; }
.store-soon small { opacity: 1; }
@media (max-width: 480px) {
  .stores .store { flex: 1 1 0; min-width: 0; padding: 0 12px; gap: 8px; }
  .store svg { width: 20px; height: 20px; }
  .store span { font-size: 16px; }
}

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 240, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; display: block; }
.nav-links { display: none; gap: 32px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */

.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin-top: 4px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero .stores { margin-top: 8px; }
.hero-meta { font-size: 14px; color: var(--ink-3); }

@media (min-width: 960px) {
  .hero { padding: 72px 0 112px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 24px; }
.hero-visual::before {
  /* a faint drafting grid behind the phone */
  content: ""; position: absolute; inset: -24px -8px 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  opacity: .7;
  pointer-events: none;
}

/* ---------- Phone mockup (mirrors the app's chat UI) ---------- */

.phone {
  position: relative;
  width: 300px; height: 620px;
  padding: 10px;
  background: #1C1F1E;
  border-radius: 52px;
  box-shadow:
    0 0 0 1px #3A3F3D inset,
    0 40px 80px -30px rgba(20, 33, 31, .45),
    0 12px 24px -12px rgba(20, 33, 31, .25);
}
@media (min-width: 400px) { .phone { width: 320px; height: 660px; } }
.screen {
  position: relative; height: 100%;
  background: var(--canvas);
  border-radius: 42px;
  overflow: hidden;
  font-family: var(--ios);
  font-size: 13px; line-height: 1.35;
  color: #111;
  display: flex; flex-direction: column;
}
.island { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #000; border-radius: 20px; z-index: 2; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 50px 12px 8px; }
.round-btn { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-title { text-align: center; display: flex; flex-direction: column; }
.app-title b { font-size: 15px; font-weight: 600; }
.app-title small { font-size: 11px; color: #8A8A8E; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); display: inline-block; }

.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; padding: 8px 10px 10px; }
.day { font-size: 11px; font-weight: 600; color: #8A8A8E; background: rgba(0,0,0,.04); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.bubble {
  align-self: flex-end; max-width: 82%;
  background: var(--mint); color: #111;
  padding: 9px 12px 7px; border-radius: 18px 18px 6px 18px;
  font-size: 13.5px;
}
.bubble time { display: block; text-align: right; font-size: 10px; color: #7D8784; margin-top: 2px; }
.receipt { font-size: 11.5px; color: #77807E; background: rgba(255,255,255,.7); padding: 5px 11px; border-radius: 999px; }
.q-card { align-self: stretch; background: #fff; border-radius: 18px; padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 4px; }
.q-from { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #8A8A8E; }
.q-from svg { width: 12px; height: 12px; fill: none; stroke: #8A8A8E; stroke-width: 1.8; stroke-linecap: round; }
.q-from b { margin-left: auto; color: var(--teal); font-weight: 600; }
.q-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14px; margin-top: 6px; }
.q-title em { font-style: normal; font-size: 11px; color: var(--teal); font-weight: 600; white-space: nowrap; }
.q-sub { font-size: 11.5px; color: #8A8A8E; margin-bottom: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--ios); font-weight: 600; font-size: 12.5px;
  color: var(--teal);
  background: #E8EEEC; border: 1px solid #BFD3CE;
  padding: 6px 12px; border-radius: 999px;
  white-space: nowrap;
}
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }

.composer { display: flex; align-items: center; gap: 8px; padding: 8px 10px 22px; border-top: 1px solid rgba(0,0,0,.06); background: rgba(250,250,247,.9); }
.plus { font-size: 22px; color: var(--teal); width: 22px; text-align: center; line-height: 1; }
.field { flex: 1; position: relative; height: 36px; background: #fff; border-radius: 18px; padding: 0 12px; display: flex; align-items: center; color: #B0B4B2; overflow: hidden; }
.rec { position: absolute; inset: 0 12px; display: flex; align-items: center; gap: 6px; color: #333; opacity: 0; }
.rec > i { width: 7px; height: 7px; border-radius: 50%; background: #E5402F; flex: none; }
.timer { font-size: 11.5px; font-variant-numeric: tabular-nums; color: #666; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 18px; margin-left: 4px; }
.wave b { width: 2.5px; height: 30%; background: var(--teal); border-radius: 2px; }
.mic { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; position: relative; flex: none; }
.mic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; }
.mic .stop { position: absolute; width: 11px; height: 11px; border-radius: 2.5px; background: #fff; opacity: 0; }

/* hero sequence: JS sets data-step on .phone's parent */
.seq { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hero-visual[data-step="1"] .rec,
.hero-visual[data-step="1"] .mic .stop { opacity: 1; }
.hero-visual[data-step="1"] .placeholder,
.hero-visual[data-step="1"] .mic svg { opacity: 0; }
.hero-visual[data-step="1"] .wave b { animation: wave 1s ease-in-out infinite; }
.wave b:nth-child(3n)   { animation-delay: -.2s !important; }
.wave b:nth-child(3n+1) { animation-delay: -.55s !important; }
.wave b:nth-child(4n)   { animation-delay: -.8s !important; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.hero-visual[data-step="2"] .seq[data-step="2"],
.hero-visual[data-step="3"] .seq[data-step="2"], .hero-visual[data-step="3"] .seq[data-step="3"],
.hero-visual[data-step="4"] .seq:not([data-step="5"]),
.hero-visual[data-step="5"] .seq { opacity: 1; transform: none; }
.hero-visual .receipt.seq[data-step="3"]:nth-of-type(3) { transition-delay: .15s; }

.float-quote {
  position: absolute; left: 50%; bottom: 0;
  margin-left: -186px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px;
  padding: 12px 16px 12px 12px;
  font-family: var(--ios); font-size: 13px;
  box-shadow: 0 18px 40px -16px rgba(20,33,31,.35), 0 0 0 1px rgba(20,33,31,.05);
}
.float-quote b { display: block; font-weight: 600; font-size: 14px; }
.float-quote small { color: #8A8A8E; font-size: 12px; }
.float-quote strong { font-size: 17px; margin-left: 10px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
@media (max-width: 480px) { .float-quote { left: 0; margin-left: 0; } }
.doc-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--mint); display: grid; place-items: center; flex: none; }
.doc-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; border-top: 1px solid var(--rule); }
@media (min-width: 960px) { .section { padding: 128px 0; } }
.section-head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin-bottom: 56px; }
.section-head > p:last-child:not(.label) { color: var(--ink-2); font-size: 18px; max-width: 34em; }

/* ---------- The pipe ---------- */

.pipeline { list-style: none; margin: 0; padding: 0; position: relative; --pipe-x: 15px; }
@media (min-width: 720px) { .pipeline { --pipe-x: 27px; } }

.pipe {
  position: absolute; left: var(--pipe-x); top: 14px; bottom: 54px;
  width: 12px; margin-left: -6px;
  border-radius: 6px;
  background: #E7E8E2;
  box-shadow: inset 0 0 0 1px var(--rule-2), inset 3px 0 0 rgba(255,255,255,.7);
  overflow: hidden;
}
.water {
  position: absolute; left: 1px; right: 1px; top: 0;
  height: calc(var(--fill, 0) * 100%);
  border-radius: 5px;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.18) 22px 26px, rgba(255,255,255,0) 26px 48px),
    linear-gradient(90deg, #12695F, var(--teal) 60%, #0A4840);
  background-size: 100% 48px, 100% 100%;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { background-position: 0 48px, 0 0; } }

.step {
  position: relative;
  display: grid; gap: 20px;
  padding: 0 0 64px calc(var(--pipe-x) * 2 + 18px);
  opacity: .38;
  transition: opacity .5s var(--ease);
}
.step.wet { opacity: 1; }
@media (min-width: 880px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 88px; }
}
.flange {
  position: absolute; left: var(--pipe-x); top: 10px;
  width: 26px; height: 10px; margin-left: -13px;
  background: var(--canvas);
  border: 1.5px solid var(--rule-2);
  border-radius: 3px;
  transition: border-color .4s, background .4s;
}
.flange::before, .flange::after { content: ""; position: absolute; top: 2.5px; width: 2px; height: 2px; border-radius: 50%; background: var(--rule-2); transition: background .4s; }
.flange::before { left: 3px; } .flange::after { right: 3px; }
.step.wet .flange { border-color: var(--teal); background: var(--mint); }
.step.wet .flange::before, .step.wet .flange::after { background: var(--teal); }

.step-copy { display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
.step-n { font: 500 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; transition: color .4s; }
.step.wet .step-n { color: var(--teal); }
.step h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -.02em; }
.step-copy p:last-child { color: var(--ink-2); }

.mini {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 16px;
  font-family: var(--ios); font-size: 14px; color: #111;
  max-width: 420px;
}
.mini-q { font-weight: 600; margin-bottom: 12px; }
.mini-voice { display: flex; align-items: center; gap: 12px; }
.mini-voice p { flex: 1; color: #555; font-style: italic; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5402F; flex: none; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mini-mic { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.mini-mic svg { width: 16px; height: 16px; fill: #fff; }
.mini-lines p, .doc-lines p { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-variant-numeric: tabular-nums; }
.mini-lines p + p { border-top: 1px solid #F0F0EC; }
.mini-warn { display: flex; gap: 12px; align-items: flex-start; border-color: #EBC6BE; }
.mini-warn svg, .warn-title svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--alert); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mini-warn p { display: flex; flex-direction: column; gap: 2px; }
.mini-warn span { color: #8A8A8E; font-size: 13px; }
.mini-sign svg { width: 100%; max-width: 240px; height: 56px; }
.mini-sign path, .sheet-sign path { fill: none; stroke: #1F2D2B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-sign .sig { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s ease-out .2s; }
.step.wet .mini-sign .sig { stroke-dashoffset: 0; }
.mini-sign p { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 4px; font-size: 12.5px; color: #8A8A8E; }

.outlet {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding-left: calc(var(--pipe-x) * 2 + 18px); height: 40px;
}
.drop {
  position: absolute; left: var(--pipe-x); top: -6px;
  width: 10px; height: 13px; margin-left: -5px;
  background: var(--teal);
  border-radius: 50% 50% 50% 50% / 62% 62% 40% 40%;
  clip-path: path("M5 0 C5 0 0 6 0 8.5 A5 4.5 0 0 0 10 8.5 C10 6 5 0 5 0 Z");
  opacity: 0;
}
.paid {
  font: 500 13px/1 var(--mono); letter-spacing: .02em;
  color: var(--teal); background: var(--mint);
  padding: 10px 14px; border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease) .5s, transform .5s var(--ease) .5s;
}
.pipeline.full .drop { animation: drip 1.1s var(--ease) forwards; }
.pipeline.full .paid { opacity: 1; transform: none; }
@keyframes drip {
  0% { opacity: 0; transform: translateY(0) scale(.4); }
  25% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(24px) scale(1); }
  100% { opacity: 0; transform: translateY(30px) scale(.9); }
}

/* ---------- Quote Guard ---------- */

.guard { background: var(--paper); }
.guard-grid { display: grid; gap: 56px; align-items: start; }
.guard-grid > *, .hero-grid > *, .docs-grid > *, .faq-grid > *, .band-grid > * { min-width: 0; }
@media (min-width: 960px) { .guard-grid { grid-template-columns: 1fr 1fr; gap: 88px; } }
.guard-copy { display: flex; flex-direction: column; gap: 22px; }
.guard-copy > p:not(.label):not(.fine) { color: var(--ink-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; border-top: 1px solid var(--rule); }
.checks li { position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--teal);
  background: radial-gradient(circle, var(--teal) 0 3px, transparent 3.5px);
}

.guard-demo {
  background: var(--canvas);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--ios);
}
@media (min-width: 720px) { .guard-demo { padding: 28px; } }
.gauge-row { display: flex; align-items: center; gap: 16px; padding: 4px 4px 8px; }
.gauge { width: 96px; height: 56px; flex: none; }
.gauge path { fill: none; stroke-linecap: round; }
.g-track { stroke: var(--rule-2); stroke-width: 6; }
.g-ok { stroke: var(--teal); stroke-width: 6; }
.g-ticks path { stroke: var(--ink-3); stroke-width: 1.5; }
.needle { transform-origin: 60px 62px; transform: rotate(-38deg); transition: transform 1.1s cubic-bezier(.3, 1.6, .5, 1); }
.needle path { stroke: var(--ink); stroke-width: 2.5; }
.needle circle { fill: var(--ink); }
.guard-demo.clear .needle { transform: rotate(58deg); }
.g-label { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.g-status { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -.01em; color: var(--amber); margin-top: 2px; transition: color .3s; }
.guard-demo.clear .g-status { color: var(--teal); }

.doc-card { background: #fff; border-radius: 20px; padding: 14px 16px; font-size: 14px; }
.doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.doc-head b { display: block; font-weight: 600; font-size: 15px; }
.doc-head small { color: #8A8A8E; font-size: 12.5px; }
.doc-head strong { margin-left: auto; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: color .3s; }
.doc-lines p.added { color: var(--teal); animation: slot .5s var(--ease); }
@keyframes slot { from { opacity: 0; transform: translateY(-4px); } }

.warn-card { background: #fff; border: 1.5px solid #E7B9B0; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.warn-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.warn-sub { color: #8A8A8E; font-size: 13.5px; margin: 0 0 10px 30px; }
.warn-card .chips { margin-left: 30px; }
.warn-card .chip { cursor: pointer; font-size: 14px; padding: 9px 14px; white-space: normal; text-align: left; transition: background .15s, transform .1s; }
.warn-card .chip:hover { background: #DCE7E3; }
.warn-card .chip:active { transform: scale(.97); }

.guard-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 4px; animation: slot .5s var(--ease); }
.guard-done[hidden], .warn-card[hidden] { display: none; }
.guard-done .receipt { font-family: var(--ios); }
.send-btn { align-self: stretch; display: flex; justify-content: space-between; align-items: center; background: var(--teal); color: #fff; font-weight: 600; font-size: 16px; padding: 15px 18px; border-radius: 18px; }
.send-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reset { background: none; border: 0; font-family: var(--sans); font-size: 14px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }

/* ---------- Features: spec sheet ---------- */

.spec { display: grid; border-top: 1px solid var(--ink); }
.spec article { padding: 28px 0 32px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.spec-n { font: 500 12px/1 var(--mono); color: var(--teal); letter-spacing: .04em; }
.spec article p:last-child { color: var(--ink-2); font-size: 16px; }
@media (min-width: 720px) {
  .spec { grid-template-columns: repeat(2, 1fr); }
  .spec article { padding: 32px 32px 36px 0; }
  .spec article:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--rule); }
}
@media (min-width: 1040px) {
  .spec { grid-template-columns: repeat(3, 1fr); }
  .spec article, .spec article:nth-child(2n) { padding: 36px 36px 40px; border-left: 1px solid var(--rule); }
  .spec article:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .spec article:nth-child(3n) { padding-right: 0; }
}

/* ---------- Documents ---------- */

.docs-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .docs-grid { grid-template-columns: .85fr 1.15fr; gap: 88px; } }
.docs-copy { display: flex; flex-direction: column; gap: 22px; }
.docs-copy > p:last-child { color: var(--ink-2); font-size: 18px; }

.sheet {
  margin: 0;
  background: #fff;
  padding: 28px 22px;
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -30px rgba(20,33,31,.35);
  font-family: var(--ios); font-size: 12px; color: #1B1B1B;
  position: relative;
}
@media (min-width: 560px) { .sheet { padding: 40px 44px; font-size: 13px; } }
.sheet small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #8B8B8B; margin-bottom: 4px; }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #CFCFCF; }
.sheet-biz b { display: block; font-size: 15px; color: var(--teal); }
.sheet-biz span, .sheet-no span { color: #7B7B7B; font-size: 11.5px; }
.sheet-no { text-align: right; }
.sheet-no b { display: block; font-size: 18px; }
.sheet-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0 14px; }
.sheet-meta b, .sheet-scope > b { font-weight: 600; }
.sheet-scope dl { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 5px 14px; margin: 10px 0 0; color: #333; }
.sheet-scope dt { color: #8B8B8B; }
.sheet-scope dd { margin: 0; }
@media (max-width: 480px) { .sheet-scope dl { grid-template-columns: auto 1fr; } }
.sheet table { width: 100%; border-collapse: collapse; margin-top: 20px; font-variant-numeric: tabular-nums; }
.sheet th { font-size: 9.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #8B8B8B; text-align: left; padding: 0 0 6px; border-bottom: 1px solid #BDBDBD; }
.sheet td { padding: 9px 0; border-bottom: 1px solid #EDEDED; }
.sheet th:nth-child(2), .sheet td:nth-child(2) { text-align: center; width: 48px; }
.sheet th:last-child, .sheet td:last-child { text-align: right; font-weight: 600; }
.sheet-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 18px; }
.sheet-sign svg { width: 150px; height: 42px; }
.sheet-sign span { display: block; border-top: 1px solid #CFCFCF; padding-top: 5px; color: #7B7B7B; font-size: 11px; }
.sheet-total { display: flex; align-items: baseline; gap: 14px; }
.sheet-total span { font-weight: 600; }
.sheet-total b { font-size: 20px; color: var(--teal); letter-spacing: -.01em; }

/* ---------- Privacy band ---------- */

.band { background: var(--teal); color: #fff; padding: 88px 0; }
.band-grid { display: grid; gap: 40px; }
.band h2 { color: #fff; max-width: 10em; }
.band-points { display: grid; gap: 28px; }
.band-points p { color: rgba(255,255,255,.78); font-size: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); }
.band-points b { display: block; color: #fff; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
@media (min-width: 960px) {
  .band { padding: 112px 0; }
  .band-grid { grid-template-columns: 1fr 1.6fr; gap: 72px; }
  .band-points { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---------- Pricing ---------- */

.pricing .section-head { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.pricing .section-head .label { justify-content: center; }
.plans { display: grid; gap: 16px; max-width: 760px; margin: 0 auto 24px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--rule); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-best { border: 1.5px solid var(--teal); }
.plan-name { min-height: 24px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.plan-name span { color: var(--teal); background: var(--mint); padding: 6px 9px; border-radius: 999px; letter-spacing: .04em; }
.plan-price { font-weight: 600; font-size: 44px; letter-spacing: -.035em; line-height: 1.1; }
.plan-price small { font-size: 16px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.plan-note { color: var(--ink-2); font-size: 15px; }

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

.faq-grid { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 88px; } }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 24px 0; max-width: 40em; }

/* ---------- CTA + footer ---------- */

.cta { padding: 96px 0 104px; border-top: 1px solid var(--rule); background: var(--paper); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta-mark { width: 64px; height: 64px; display: block; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); }

.footer { padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer .brand { color: var(--ink); font-size: 16px; }
.footer .brand-mark { width: 28px; height: 28px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

.langs { display: flex; gap: 4px; }
.langs a { text-decoration: none; padding: 4px 8px; border-radius: 999px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { color: var(--ink); background: var(--rule); }

/* ---------- Language offer ---------- */

.lang-offer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px var(--gutter);
  background: var(--ink); color: rgba(255,255,255,.8);
  font-size: 14px;
}
.lang-offer p { text-align: center; }
.lang-offer a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.lang-offer button { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 20px; line-height: 1; padding: 4px 8px; cursor: pointer; border-radius: 6px; }
.lang-offer button:hover { color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Legal pages ---------- */

.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: calc(720px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(40px, 6vw, 60px); margin: 20px 0 20px; }
.legal .lede { margin-bottom: 24px; }
.legal h2 { font-size: 22px; letter-spacing: -.015em; margin: 40px 0 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal p + p { margin-top: 12px; }
.legal p:not(.label):not(.lede) { color: var(--ink-2); }
.legal a { color: var(--teal); }

/* ---------- Coming soon (until the app is on the stores) ---------- */

.soon { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .soon { align-items: center; }
.soon-note { font-size: 15px; color: var(--ink-3); }
.btn-big {
  justify-content: center; min-height: 56px; padding: 16px 24px;
  font-size: 17px; border-radius: 16px; border: 0; cursor: pointer;
}
.btn-big:disabled { background: var(--rule-2); color: var(--ink-3); cursor: default; }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.btn-quiet:hover { background: var(--paper); }

/* ---------- /try: the demo and the early-access list ---------- */

.try-body { min-height: 100dvh; display: flex; flex-direction: column; }
.try-bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 240, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.try-bar-inner { max-width: 560px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; height: 60px; }
.try-back { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: var(--paper); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 0 var(--rule); }
.try-back svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.try-bar .brand { font-size: 17px; }
.try-progress { flex: 1; height: 4px; border-radius: 4px; background: var(--rule); overflow: hidden; margin-left: 8px; }
.try-progress span { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 4px; transition: width .45s var(--ease); }

.try { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 28px var(--gutter) 56px; }
.pane { display: flex; flex-direction: column; gap: 16px; }
.pane.is-current { animation: screen-in .4s var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } }
.pane h1, .pane h2 { outline: none; }
.try-title { font-size: clamp(38px, 10vw, 56px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.pane h2 { font-size: clamp(28px, 7vw, 36px); line-height: 1.08; }
.try-lede { font-size: 19px; color: var(--ink-2); }
.try-sub { color: var(--ink-2); font-size: 16px; margin-top: -6px; }
.try-note { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: -4px; }
.try-link { align-self: center; background: none; border: 0; padding: 8px; font: inherit; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.try-question, .try-q { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.try-q { font-size: 16px; margin-top: 10px; }
.pane .cta-mark { width: 56px; height: 56px; }

.try-options { display: grid; gap: 10px; }
.option {
  text-align: left; cursor: pointer;
  font: 600 17px/1.3 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 16px;
  padding: 16px 18px; min-height: 58px;
  transition: border-color .15s, background .15s, transform .1s;
}
.option:hover { border-color: var(--teal); }
.option:active { transform: scale(.985); }
.option.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip { cursor: pointer; }
button.chip:hover { background: #DCE7E3; }
.chip.on, button.chip.on:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* voice */
.try-phone { background: var(--paper); border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; font-family: var(--ios); }
.try-phone .try-thread { min-height: 180px; padding: 16px; justify-content: flex-end; }
.try-thread { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--ios); }
.try-thread .bubble { font-size: 15px; max-width: 88%; }
.try-live:empty { display: none; }
.try-composer { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.try-timer { font-variant-numeric: tabular-nums; }
.try-listening { flex: 1; }
.pane:not(.recording) .try-composer { opacity: .5; }
.pane:not(.recording) .rec-dot { animation: none; background: var(--ink-3); }
.recording .wave b { animation: wave 1s ease-in-out infinite; }
.stop-square { width: 12px; height: 12px; border-radius: 3px; background: currentColor; display: inline-block; margin-right: 10px; }
#voiceStop:disabled .stop-square { display: none; }

/* ask */
.try-receipts { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.try-thread .receipt { font-size: 13px; }
.try-thread .q-card { width: 100%; border: 1px solid var(--rule); font-size: 14px; }
.q-card.in { animation: slot .45s var(--ease); }
.try-thread .q-card .chip { font-size: 15px; padding: 10px 16px; }

/* quote + guard */
.pane .doc-card { border: 1px solid var(--rule); font-family: var(--ios); }
.pane .warn-card { font-family: var(--ios); }
.pane .warn-card .chip { font-size: 15px; padding: 10px 16px; }
.pane .gauge-row { padding: 0; }
.pane.clear .needle { transform: rotate(58deg); }
.pane.clear .g-status { color: var(--teal); }
.pane .send-btn { border: 0; cursor: pointer; font-family: var(--ios); }

/* done */
.try-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--ios); }
.try-steps .mini { width: 100%; max-width: none; }
.try-steps .mini-sign svg { margin: 0 auto; }
.paid-pill { font: 500 14px/1 var(--mono); color: var(--teal); background: var(--mint); padding: 10px 14px; border-radius: 999px; }
.try-steps.play > * { opacity: 0; animation: appear .5s var(--ease) forwards; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.try-steps.play > :nth-child(2) { animation-delay: 1.2s; }
.try-steps.play > :nth-child(3) { animation-delay: 1.8s; }
.try-steps.play .sig { stroke-dasharray: 520; stroke-dashoffset: 520; animation: sign 1.2s ease-out .2s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }

/* email */
.try-form { display: flex; flex-direction: column; gap: 12px; }
.try-label { font-weight: 600; font-size: 15px; }
.try-input {
  height: 56px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--rule-2); background: var(--paper);
  font: 400 18px var(--sans); color: var(--ink);
}
.try-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint); }
.try-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.try-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.try-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.try-fine { font-size: 13px; color: var(--ink-3); }
.try-fine a { color: var(--ink-2); }
.try-error { color: var(--alert); font-size: 15px; }

/* thanks */
.try-extra { display: flex; flex-direction: column; gap: 8px; }
.try-extra .chip { font-size: 15px; padding: 10px 14px; white-space: normal; }
.try-saved { color: var(--teal); font-size: 14px; }
.try-body .footer { border-top: 1px solid var(--rule); }
