:root {
  --ocean: #0b5fa5;
  --ocean-deep: #08467a;
  --ocean-light: #e8f2fb;
  --ocean-mist: #f5f9fd;
  --magenta: #c2185b;
  --turquoise: #13a8a8;
  --purple: #7b3fc4;
  --ink: #0d2236;
  --muted: #51667a;
  --line: #d7e4f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 95, 165, .10), 0 2px 6px rgba(11, 95, 165, .06);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ocean); }
a:hover { color: var(--ocean-deep); }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
nav.top { display: flex; gap: 22px; align-items: center; }
nav.top a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
nav.top a:hover { color: var(--ocean); }
nav.top a.cta { color: #fff; background: var(--ocean); padding: 8px 16px; border-radius: 999px; }
nav.top a.cta:hover { background: var(--ocean-deep); color: #fff; }

/* hero */
.hero { background: linear-gradient(180deg, var(--ocean-light) 0%, var(--ocean-mist) 70%, #fff 100%); padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); background: #fff; border: 1px solid #e3d8f5; padding: 5px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); }
h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.025em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--ocean); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }

/* signup */
form.signup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); max-width: 520px; }
form.signup .row { display: flex; gap: 10px; }
form.signup input[type=email] { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
form.signup input[type=email]:focus { outline: 3px solid rgba(11, 95, 165, .2); border-color: var(--ocean); }
form.signup button { font: inherit; font-weight: 600; color: #fff; background: var(--ocean); border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer; white-space: nowrap; }
form.signup button:hover { background: var(--ocean-deep); }
form.signup button[disabled] { opacity: .6; cursor: default; }
form.signup .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 12px; }
form.signup .consent input { margin-top: 4px; }
form.signup .hp { position: absolute; left: -5000px; }
.form-msg { font-size: 15px; margin: 10px 0 0; min-height: 1.4em; }
.form-msg.ok { color: #0e7d6a; }
.form-msg.err { color: var(--magenta); }

/* example card */
.example { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 20px; }
.example .tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.example h3 { margin: 4px 0 14px; font-size: 18px; }
.tx { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.tx:first-of-type { border-top: 0; }
.chip { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.chip.m { background: var(--magenta); } .chip.p { background: var(--purple); } .chip.t { background: var(--turquoise); }
.tx .what { font-weight: 600; font-size: 15px; }
.tx .meta { font-size: 13px; color: var(--muted); }
.tx .amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.tx .amt.in { color: #0e7d6a; }
.pending { font-size: 11px; font-weight: 600; color: var(--purple); background: #f1ebfb; padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.example .foot { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--ocean-mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.n.b { background: var(--ocean); } .n.m { background: var(--magenta); } .n.t { background: var(--turquoise); } .n.p { background: var(--purple); }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; list-style: none; padding: 0; margin: 0; }
.promises li { display: flex; gap: 14px; }
.promises svg { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.promises strong { display: block; }
.promises span { color: var(--muted); font-size: 16px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ocean); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 46em; }
.closing { text-align: center; }
.closing form.signup { margin: 24px auto 0; text-align: left; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ocean); }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; margin-top: 0; }
.legal .updated { color: var(--muted); margin-top: -6px; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: #24394d; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .summary { background: var(--ocean-light); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 8px; }
.legal .summary ul { margin: 6px 0 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--ocean-mist); }

.notice-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid3 { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  nav.top a:not(.cta) { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 480px) {
  form.signup .row { flex-direction: column; }
  header.site .wrap { padding: 0 16px; }
  .brand { font-size: 15px; gap: 8px; white-space: nowrap; }
  .brand svg { width: 26px; height: 26px; }
  nav.top a.cta { padding: 7px 12px; font-size: 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- v2: Follow the money ---------- */
.hero { padding: 64px 0 72px; }
.hero .wrap { grid-template-columns: .85fr 1.15fr; gap: 48px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1; letter-spacing: -.035em; margin: 18px 0 16px; }
.hero h1 em { background: linear-gradient(90deg, var(--magenta), var(--purple) 55%, var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 20px; margin-bottom: 24px; }
.guarantee { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.guarantee svg { width: 22px; height: 22px; flex: none; }
.guarantee strong { color: var(--ink); }

figure.flow { margin: 0; }
figure.flow svg { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(46, 15, 87, .35), 0 0 0 1px rgba(181, 108, 255, .25); }
figure.flow figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.bands path { stroke-opacity: .55; mix-blend-mode: screen; }
.particles path { stroke-dasharray: 1 26; stroke-opacity: .9; animation: flow linear infinite; }
@keyframes flow { to { stroke-dashoffset: -270; } }
.bands path { animation: pulse 6s ease-in-out infinite; }
.bands path:nth-child(2n) { animation-delay: -2s; }
.bands path:nth-child(3n) { animation-delay: -4s; }
@keyframes pulse { 50% { stroke-opacity: .75; } }
.grid { animation: grid 4s linear infinite; }
@keyframes grid { 50% { stroke-opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .particles path, .bands path, .grid { animation: none; }
}

.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.k-turq { color: #0b7d7d; background: #dcf5f5; }
.k-purple { color: var(--purple); background: #f1ebfb; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .sub { margin-bottom: 20px; }
.sub.small { font-size: 16px; margin-top: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--turquoise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.record { background: #0f1d2e; color: #e6f0fa; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); font-size: 15px; }
.record-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #9fb6cc; margin-bottom: 10px; }
.record .del { font: 600 13px/1 inherit; font-family: inherit; color: #fff; background: var(--magenta); border: 0; border-radius: 8px; padding: 8px 12px; text-transform: none; letter-spacing: 0; pointer-events: none; }
.record dl { margin: 0; }
.record dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid #1f3349; }
.record dt { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: #8fd3ff; }
.record dd { margin: 0; }
.record .yours dt { color: #ffb3dc; }
.record small { font-size: 11px; color: #9fb6cc; margin-left: 6px; }
.record .never { margin-top: 14px; background: #1a1230; border: 1px dashed #5a3b8f; border-radius: 12px; padding: 10px 14px; }
.record .never span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #d7b8ff; }
.record .never p { margin: 4px 0 0; font-size: 14px; color: #c9d6e3; text-decoration: line-through; text-decoration-color: rgba(255, 79, 163, .7); }
.record .api { display: block; margin-top: 14px; font-size: 13px; color: #2ee6d6; font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.caps { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-weight: 600; }
.caps li { display: flex; gap: 10px; align-items: center; }
.caps b { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.caps .c1 { background: var(--magenta); } .caps .c2 { background: var(--purple); } .caps .c3 { background: var(--turquoise); }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--ocean); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--ocean-light); border-bottom-left-radius: 4px; }
.msg .bar { display: block; height: 6px; background: #fff; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.msg .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--turquoise), var(--purple)); }
.mcp { margin-top: 6px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.mcp span { font-weight: 700; font-size: 11px; color: #fff; background: var(--purple); border-radius: 6px; padding: 3px 7px; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 480px) {
  .caps { grid-template-columns: 1fr; }
  .record dl div { grid-template-columns: 100px 1fr; }
}
.chat .tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 860px) {
  .hero .wrap { gap: 18px; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; justify-self: start; }
  .hero h1 { order: 2; margin: 4px 0 0; }
  .hero .lede { order: 3; margin: 0 0 4px; }
  .hero figure.flow { order: 4; margin-bottom: 8px; }
  .hero form.signup { order: 5; }
  .hero .guarantee { order: 6; margin-top: 0; }
}

/* ---------- v3: full-width hero + multi-level Sankey ---------- */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--ocean-light) 0%, #fff 78%); }
.hero .wrap { display: block; }
.hero-top { text-align: center; }
.hero-top .eyebrow { margin-bottom: 6px; }
.hero h1 { font-size: clamp(48px, 9vw, 112px); line-height: .98; letter-spacing: -.045em; margin: 14px 0 16px;
  background: linear-gradient(90deg, var(--ocean-deep) 0%, var(--ocean) 45%, var(--purple) 75%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 20px; margin: 0 auto 14px; max-width: 34em; }
.hero .guarantee { justify-content: center; margin: 0 0 28px; }
.wrap.wide { max-width: 1220px; }
figure.flow { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 18px 18px 10px; }
figure.flow svg { width: 100%; height: auto; border-radius: 0; box-shadow: none; display: block; }
figure.flow figcaption { margin-top: 4px; }
.flow-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.swipe { display: none; }
.bands .b { stroke-opacity: .28; mix-blend-mode: multiply; animation: none; transition: stroke-opacity .2s; }
.bands .b.in { stroke-opacity: .45; }
.bands .b:hover { stroke-opacity: .55; }
.bands .p { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 30; stroke-opacity: .95; fill: none; pointer-events: none; animation: flow linear infinite; }
.labels text { font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; fill: var(--ink); }
.labels .ln { font-size: 15px; font-weight: 700; }
.labels .la { font-size: 13px; font-weight: 500; fill: var(--muted); }
.labels .ls { font-size: 13.5px; font-weight: 600; }
.labels .halo { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .bands .p { animation: none; display: none; } }
section.join { background: linear-gradient(180deg, #fff, var(--ocean-light)); border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .hero .wrap { display: block; }
  .flow-scroll svg { min-width: 860px; }
  .swipe { display: inline; }
}
.bands .b { stroke-opacity: .38; }
.bands .b.in { stroke-opacity: .5; }
.bands .b:hover { stroke-opacity: .65; }

/* ---------- v4 ---------- */
.hero h1 { font-size: clamp(44px, 8vw, 96px); }
.hero .lede { font-size: 21px; margin-bottom: 30px; }
.hero .lede strong { color: var(--ink); }
.center-head { text-align: center; }
.center-head .sub { margin: 0 auto 36px; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.record .pill { font-size: 11px; text-transform: none; letter-spacing: 0; background: #1f3349; color: #8fd3ff; padding: 3px 9px; border-radius: 999px; }
.record dl div { grid-template-columns: 130px 1fr; }
.record small { display: inline-block; }
.data-actions { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; margin-top: 24px; }
.act { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.act h3 { margin: 0 0 8px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.act p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.act.never { background: #faf7ff; border: 1px dashed #c9b4ee; }
.act .strike { text-decoration: line-through; text-decoration-color: rgba(194, 24, 91, .6); color: #4a3a66; }
.act .note { margin: 0; font-weight: 600; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot.m { background: var(--magenta); } .dot.t { background: var(--turquoise); }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.fake-btn { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); color: var(--ocean); background: var(--ocean-mist); }
.fake-btn.danger { color: #fff; background: var(--magenta); border-color: var(--magenta); }
.act code { display: block; font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--purple); background: var(--ocean-mist); border-radius: 8px; padding: 7px 10px; }
@media (max-width: 860px) {
  .data-grid, .data-actions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .record dl div { grid-template-columns: 1fr; gap: 2px; }
}
