:root {
  color-scheme: light;
  --teal: #087f6d;
  --teal-deep: #05604f;
  --teal-ink: #033d33;
  --mint: #5dcaa5;
  --mint-soft: #e3f6ef;
  --sun: #ffb84d;
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-2: #eef5f2;
  --text: #0f1f1b;
  --muted: #55665f;
  --line: #dbe7e2;
  --danger: #b3261e;
  --danger-soft: #fdecea;
  --shadow: 0 1px 2px rgba(3, 61, 51, 0.06), 0 12px 32px rgba(3, 61, 51, 0.08);
  --shadow-lg: 0 2px 4px rgba(3, 61, 51, 0.08), 0 24px 60px rgba(3, 61, 51, 0.16);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --teal: #5dcaa5;
    --teal-deep: #2fa385;
    --teal-ink: #d6f5ea;
    --mint-soft: #12302a;
    --bg: #0b1412;
    --surface: #111d1a;
    --surface-2: #162622;
    --text: #e7f2ee;
    --muted: #9db3ab;
    --line: #22352f;
    --danger: #ffb4ab;
    --danger-soft: #3a1f1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 14px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(3, 61, 51, 0.06); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.logo svg { width: 34px; height: 34px; transition: transform 0.4s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 127, 109, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 127, 109, 0.36); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-danger { background: var(--danger); box-shadow: 0 8px 20px rgba(179, 38, 30, 0.25); }
@media (prefers-color-scheme: dark) {
  .btn { color: #04221c; }
  .nav-links .btn { color: #04221c; }
  .btn-ghost { color: var(--text); }
  .btn-danger { color: #3a0906; }
}
.btn svg { width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: pulse 2.4s infinite; }
.lead { color: var(--muted); font-size: 1.15rem; }
.muted { color: var(--muted); }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
code { background: var(--surface-2); border-radius: 6px; padding: 2px 7px; font-size: 0.92em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 16px 0 20px; }
.hero h1 .accent { background: linear-gradient(100deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.blob.one { width: 460px; height: 460px; background: var(--mint); top: -120px; right: -80px; opacity: 0.35; }
.blob.two { width: 360px; height: 360px; background: var(--teal); bottom: -140px; left: -120px; opacity: 0.18; animation-duration: 22s; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
}

.phone {
  position: relative; width: min(340px, 100%); margin-inline: auto;
  aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1b2a26, #0a1311);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: float 6s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 92px; height: 24px; border-radius: 999px; background: #050908; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f4f8f6; color: #0f1f1b; padding: 54px 14px 14px; display: flex; flex-direction: column; }
.screen-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; }
.screen-head strong { font-size: 1.15rem; letter-spacing: -0.01em; }
.screen-head span { font-size: 0.75rem; color: #55665f; font-weight: 600; }
.chips { display: flex; gap: 6px; padding: 0 2px 12px; overflow: hidden; }
.chip { font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #dbe7e2; color: #55665f; white-space: nowrap; transition: all 0.4s var(--ease); }
.chip.on { background: #087f6d; border-color: #087f6d; color: #fff; }
.stack { position: relative; flex: 1; }
.order {
  position: absolute; left: 0; right: 0;
  background: #fff; border-radius: 18px; padding: 12px 12px 12px 14px;
  box-shadow: 0 1px 2px rgba(3, 61, 51, 0.06), 0 8px 18px rgba(3, 61, 51, 0.08);
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center;
  transition: transform 0.7s var(--ease), opacity 0.6s var(--ease);
}
.order .who { font-weight: 700; font-size: 0.9rem; }
.order .what { grid-column: 1; font-size: 0.76rem; color: #55665f; }
.order .step { grid-column: 1 / -1; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 0.74rem; font-weight: 700; color: #087f6d; background: #e3f6ef; border-radius: 12px; padding: 7px 8px 7px 10px; }
.order .src { grid-row: 1 / span 2; grid-column: 2; font-size: 0.66rem; font-weight: 700; color: #55665f; background: #eef5f2; padding: 3px 8px; border-radius: 999px; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: #087f6d; display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.35s; }
.tick svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.order.is-done .tick { transform: scale(1.18); background: #05604f; }
.order.is-done .tick svg { animation: draw 0.45s var(--ease) forwards; }
.order.is-new { animation: pop-in 0.7s var(--ease); }
.toast { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #0f1f1b; color: #fff; font-size: 0.75rem; font-weight: 600; border-radius: 14px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(14px); transition: all 0.5s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast b { color: #5dcaa5; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.sources { display: grid; gap: 14px; }
.source { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.source .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); flex: none; }
.source .ic svg { width: 22px; height: 22px; }
.source p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.source strong { display: block; color: var(--text); font-size: 0.98rem; }
.funnel { position: relative; width: 120px; height: 260px; }
.funnel svg { width: 100%; height: 100%; overflow: visible; }
.funnel path { fill: none; stroke: var(--line); stroke-width: 2; }
.funnel .dot { fill: var(--teal); }
.result { text-align: left; }
.result .card { padding: 22px; }
.mini-order { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mini-order:last-child { border-bottom: 0; }
.mini-order .bar { width: 6px; align-self: stretch; border-radius: 6px; background: var(--mint); }
.mini-order .bar.b2 { background: var(--sun); }
.mini-order .bar.b3 { background: var(--teal); }
.mini-order strong { display: block; font-size: 0.95rem; }
.mini-order span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .funnel { width: 100%; height: 80px; }
  .funnel svg { transform: rotate(90deg) scale(0.4); }
}

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { position: relative; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.way .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--teal), var(--mint)); color: #fff; margin-bottom: 18px; }
.way .ic svg { width: 28px; height: 28px; }
.way h3 { font-size: 1.3rem; margin-bottom: 8px; }
.way p { color: var(--muted); margin: 0; }
.way .demo { margin-top: 20px; background: var(--surface-2); border-radius: 14px; padding: 14px; font-size: 0.86rem; min-height: 74px; }
.typing::after { content: "▍"; color: var(--teal); animation: blink 1s steps(1) infinite; }
.demo-center { display: grid; place-items: center; }
.wave { display: flex; gap: 5px; align-items: center; justify-content: center; width: 100%; height: 46px; }
.wave i { width: 4px; height: 8px; border-radius: 4px; background: linear-gradient(var(--mint), var(--teal)); animation: wave 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.11s); }
.wave i:nth-child(3n) { animation-duration: 0.95s; }
.wave i:nth-child(4n + 1) { animation-duration: 1.45s; }
.scan { position: relative; height: 54px; border-radius: 10px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 14px); overflow: hidden; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mint) 70%, transparent), transparent); animation: scan 2.2s ease-in-out infinite; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step-card { text-align: center; padding: 22px 14px; }
.step-card .n { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-weight: 800; background: var(--mint-soft); color: var(--teal); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.step-card.lit .n { background: var(--teal); color: #fff; transform: scale(1.1); }
@media (prefers-color-scheme: dark) { .step-card.lit .n { color: #04221c; } }
.step-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps .step-card:last-child { grid-column: 1 / -1; } }

.trust { background: linear-gradient(150deg, var(--teal-deep), var(--teal)); color: #fff; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .trust { background: linear-gradient(150deg, #0d3b32, #0f5a4b); } }
.trust::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -120px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.07); }
.trust h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 10px 0 28px; max-width: 560px; }
.trust .eyebrow { color: #c9f3e4; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; }
.trust-item { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 20px; }
.trust-item h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.trust-item p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; }
.trust-item svg { width: 26px; height: 26px; stroke: #c9f3e4; }
.trust a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .trust { padding: 36px 22px; } .trust-grid { grid-template-columns: 1fr; } }

.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin: 12px 0 14px; }
.cta .lead { max-width: 560px; margin: 0 auto 28px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--teal); }

.doc-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.doc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 14px 0 12px; }
.doc-hero .lead { max-width: 640px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--teal); }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 92px; font-size: 0.9rem; max-height: calc(100vh - 110px); overflow: auto; }
.toc strong { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: all 0.25s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--teal); border-color: var(--teal); background: var(--mint-soft); border-radius: 0 10px 10px 0; font-weight: 700; }
.toc-mobile { display: none; }
.prose { min-width: 0; }
.prose h2 { font-size: 1.55rem; margin: 48px 0 16px; padding-top: 4px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 16px; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--text); }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 0 0 20px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--mint)); z-index: 30; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all 0.35s var(--ease); z-index: 25; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .toc-mobile { display: block; margin: 0 0 28px; }
  .toc-mobile summary { cursor: pointer; font-weight: 700; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
  
  .toc-mobile summary::after {
    content: ""; flex: none; width: 14px; height: 14px;
    background:
      linear-gradient(var(--teal), var(--teal)) center / 14px 2px no-repeat,
      linear-gradient(var(--teal), var(--teal)) center / 2px 14px no-repeat;
    transition: transform 0.3s var(--ease), background-size 0.3s var(--ease);
  }
  .toc-mobile[open] summary::after { transform: rotate(180deg); background-size: 14px 2px, 2px 0; }
  .toc-mobile nav { padding: 10px 6px; }
  .toc-mobile a { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; }
}

.del { display: grid; gap: 18px; max-width: 760px; padding-bottom: 40px; }
.promise { display: flex; gap: 14px; align-items: flex-start; background: var(--danger-soft); border-radius: 18px; padding: 18px 20px; font-weight: 600; }
.promise svg { width: 26px; height: 26px; flex: none; stroke: var(--danger); }
.del .card h2 { font-size: 1.3rem; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.del .card h2 .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); flex: none; }
.del .card h2 .badge svg { width: 18px; height: 18px; }
.steps-list { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: st; }
.steps-list li { counter-increment: st; position: relative; padding: 4px 0 14px 46px; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .steps-list li::before { color: #04221c; } }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 2px; width: 2px; background: var(--line); }
.del ul { padding-left: 1.2rem; }
.del li::marker { color: var(--teal); }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--mint-soft); } 50% { box-shadow: 0 0 0 8px transparent; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(0.5deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: 42px; } }
@keyframes scan { 0% { top: -18px; } 100% { top: 54px; } }
@keyframes travel { from { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.rise { animation: rise 0.9s var(--ease) both; }
.rise[data-delay="1"] { animation-delay: 0.08s; }
.rise[data-delay="2"] { animation-delay: 0.18s; }
.rise[data-delay="3"] { animation-delay: 0.28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-color-scheme: dark) {
  .blob.one { opacity: 0.14; }
  .blob.two { opacity: 0.12; }
}
.phone { text-align: left; }
@media (max-width: 900px) {
  .funnel { height: 64px; display: grid; place-items: center; }
  .funnel svg { display: none; }
  .funnel::before { content: ""; width: 2px; height: 64px; background: linear-gradient(var(--line), var(--teal)); }
  .funnel::after { content: ""; position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--teal); animation: drop 1.6s ease-in infinite; }
}
@keyframes drop { from { top: 0; opacity: 0; } 20% { opacity: 1; } to { top: 58px; opacity: 0; } }
@media (max-width: 900px) {
  .blob.one { width: 300px; height: 300px; top: -60px; right: -120px; opacity: 0.22; }
}

.join-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.join-copy h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 12px 0 14px; }
.join-points { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.join-points li { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.join-points span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); font-weight: 800; }
.join-direct { font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy { font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--teal); background: var(--mint-soft); border: 0; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.form-card { padding: 30px; position: relative; overflow: hidden; }
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 14px; padding: 5px; margin-bottom: 22px; }
.segmented label { position: relative; z-index: 1; text-align: center; cursor: pointer; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 10px 8px; font-weight: 700; font-size: 0.95rem; color: var(--muted); transition: color 0.3s; }
.segmented input:checked + span { color: var(--text); }
.segmented input:focus-visible + span { outline: 2px solid var(--mint); border-radius: 10px; }
.segmented-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); transition: transform 0.4s var(--ease); }
.segmented:has(input[value="question"]:checked) .segmented-thumb { transform: translateX(100%); }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 700; font-size: 0.9rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355665f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 28%, transparent); background: var(--surface); }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface-2); font-weight: 700; color: var(--muted); }
.prefix input { border-radius: 0 12px 12px 0; }
.hint { color: var(--muted); font-size: 0.82rem; }
.error { display: none; color: var(--danger); font-size: 0.84rem; font-weight: 600; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid { animation: shake 0.4s; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.is-question .early-only { display: none; }
.submit { width: 100%; justify-content: center; padding: 15px 22px; font-size: 1.02rem; position: relative; }
.submit .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.submit.busy { pointer-events: none; opacity: 0.85; }
.submit.busy .spinner { display: inline-block; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-error { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 0.92rem; }
.sent { text-align: center; padding: 26px 6px; animation: rise 0.6s var(--ease) both; }
.sent:focus { outline: none; }
.sent h3 { font-size: 1.6rem; margin: 18px 0 10px; }
.sent p { color: var(--muted); max-width: 400px; margin: 0 auto 22px; }
.sent-mark svg { width: 84px; height: 84px; margin: 0 auto; }
.sent-mark circle { fill: var(--mint-soft); stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.8s var(--ease) forwards; }
.sent-mark path { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (max-width: 900px) {
  .join-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 22px 18px; }
  .row { grid-template-columns: 1fr; gap: 0; }
}
.email-fix { justify-self: start; font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--teal); background: var(--mint-soft); border: 0; border-radius: 10px; padding: 6px 10px; cursor: pointer; text-align: left; }
.email-fix[hidden] { display: none; }
.field.invalid select { border-color: var(--danger); }

.select-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.select { position: relative; }
.select-button {
  width: 100%; text-align: left; font: inherit; font-size: 1rem; color: var(--text); cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 44px 12px 14px;
  position: relative; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.select-button::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.3s var(--ease), margin 0.3s var(--ease);
}
.select.open .select-button::after { transform: rotate(-135deg); margin-top: -1px; }
.select-button.is-placeholder { color: var(--muted); }
.select-button:focus-visible, .select.open .select-button { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 28%, transparent); background: var(--surface); }
.field.invalid .select-button { border-color: var(--danger); }
.select-list {
  position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  max-height: 340px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.select.open .select-list { opacity: 1; transform: none; pointer-events: auto; }
.select-list:focus { outline: none; }
.select-list li { padding: 10px 12px 10px 36px; border-radius: 10px; cursor: pointer; position: relative; font-size: 0.97rem; transition: background 0.15s; }
.select-list li.active { background: var(--surface-2); }
.select-list li[aria-selected="true"] { color: var(--teal); font-weight: 700; }
.select-list li[aria-selected="true"]::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 5px; margin-top: -4px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}

textarea { resize: none; overflow: hidden; min-height: 150px; }

html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--teal) 55%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--teal) 45%, transparent); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--teal); }

* { -webkit-tap-highlight-color: transparent; }
.btn:active, .copy:active, .email-fix:active, .to-top:active { transform: scale(0.97); }
.nav-links a:not(.btn):active, .footer a:active, .toc a:active, .toc-mobile a:active { opacity: 0.6; }
.select-button:active { background: var(--surface-2); }
.segmented label:active span { opacity: 0.7; }
.toc-mobile summary { transition: background 0.2s, border-color 0.2s; }
.toc-mobile summary:active { background: var(--surface-2); }
.toc-mobile summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
summary::-webkit-details-marker { display: none; }
.logo:active svg { transform: scale(0.94); }

body { overflow-x: hidden; }
.hero, .doc-hero { overflow-x: clip; overflow-y: visible; }
.blob { filter: none; opacity: 1; animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.blob.one { width: 720px; height: 720px; top: -320px; right: -260px; background: radial-gradient(closest-side, color-mix(in srgb, var(--mint) 45%, transparent), transparent); }
.blob.two { width: 640px; height: 640px; bottom: -320px; left: -300px; background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 22%, transparent), transparent); }
@media (prefers-color-scheme: dark) {
  .blob.one { background: radial-gradient(closest-side, color-mix(in srgb, var(--mint) 18%, transparent), transparent); opacity: 1; }
  .blob.two { background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 14%, transparent), transparent); opacity: 1; }
}
@media (max-width: 900px) {
  .blob.one { width: 520px; height: 520px; top: -240px; right: -260px; opacity: 1; }
}
main { position: relative; z-index: 0; }
.select-list { min-width: max(100%, 250px); }
.select-list li { white-space: nowrap; }
.row .field:last-child .select-list { left: auto; right: 0; }
.select.up .select-list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom; transform: translateY(6px) scale(0.98); }
.select.up.open .select-list { transform: none; }
