@font-face {
  font-family: "Onest";
  src: url("/assets/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: hsl(219 52% 10%);
  --ink-soft: hsl(217 21% 35%);
  --line: hsl(219 52% 10% / 0.1);
  --blue: hsl(216 100% 52%);
  --blue-ink: hsl(216 91% 44%);
  --blue-deep: hsl(221 88% 26%);
  --bg: hsl(215 63% 94%);
  --glass: hsl(0 0% 100% / 0.62);
  --glass-strong: hsl(0 0% 100% / 0.82);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --flux-x: clamp(20px, 4.5vw, 64px);
  --shadow: 0 30px 70px -30px hsl(221 70% 30% / 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Header */
.top {
  position: sticky; top: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 12px var(--gutter) 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand b { color: var(--blue); font-weight: inherit; }
.brand svg { width: 32px; height: 32px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.top nav .only-wide { display: inline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 0; border-radius: 12px;
  background: var(--blue); color: #fff !important;
  font: inherit; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--blue-ink); transform: translateY(-1px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn.big { min-height: 54px; padding: 14px 28px; font-size: 17px; border-radius: 14px; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) var(--gutter) 0; isolation: isolate; }
.waves { position: absolute; inset: -90px 0 auto 0; width: 100%; height: 1100px; z-index: -1; pointer-events: none; }
.hero-copy { max-width: 980px; margin-left: calc(var(--flux-x) - var(--gutter) + 40px); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--blue-ink); letter-spacing: -0.005em; }
h1 {
  margin-top: 16px;
  font-size: clamp(40px, 7.4vw, 96px);
  line-height: 1;
  font-weight: 620;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 620px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-soft); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.link { font-weight: 600; font-size: 15.5px; color: var(--blue-ink); text-underline-offset: 4px; }

.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); margin-right: calc(var(--gutter) * -1); padding-left: clamp(0px, 9vw, 150px); }
.channels { position: absolute; left: 0; top: 10%; bottom: 18%; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  width: max-content;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--glass-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 26px -14px hsl(221 70% 30% / .4);
}
.chip svg { width: 18px; height: 18px; flex: none; }
.flow-lines { position: absolute; left: 0; top: 0; width: clamp(0px, 13vw, 210px); height: 100%; z-index: 1; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 11; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

.frame {
  position: relative;
  border: 1px solid hsl(0 0% 100% / .7);
  border-radius: var(--radius);
  background: var(--glass);
  padding: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.frame img { border-radius: calc(var(--radius) - 8px); width: 100%; }
.hero-stage .frame { border-radius: var(--radius) 0 0 var(--radius); padding-right: 0; }
.hero-stage .frame img { border-radius: calc(var(--radius) - 8px) 0 0 calc(var(--radius) - 8px); }

/* The line that runs through the page: every stage of a sale hangs on it */
.journey { position: relative; padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.flux-rail { position: absolute; left: var(--flux-x); top: 0; bottom: 0; width: 2px; background: hsl(216 100% 52% / .16); }
.flux-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(var(--progress, 1)); }

.journey-head { padding-left: calc(var(--flux-x) - var(--gutter) + 40px); max-width: 900px; }
h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; font-weight: 620; letter-spacing: -0.035em; text-wrap: balance; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(64px, 9vw, 130px);
  padding-left: calc(var(--flux-x) - var(--gutter) + 40px);
}
.stage::before {
  content: ""; position: absolute;
  left: calc(var(--flux-x) - var(--gutter) - 6px);
  top: calc(clamp(64px, 9vw, 130px) + 6px);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--blue);
}
.stage .kicker { font-size: 15px; font-weight: 600; color: var(--blue-ink); }
.stage h3 { margin-top: 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 610; letter-spacing: -0.03em; text-wrap: balance; }
.stage p { margin-top: 14px; color: var(--ink-soft); }
.stage ul { margin-top: 18px; display: grid; gap: 8px; font-size: 16px; }
.stage li { padding-left: 22px; position: relative; }
.stage li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--blue); }
.stage.flip .stage-copy { order: 2; }
.stage.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }

/* Connections */
.connect { padding: clamp(72px, 10vw, 130px) var(--gutter) 0; position: relative; }
.connect-inner { padding-left: calc(var(--flux-x) - var(--gutter) + 40px); }
.connect-list { margin-top: 32px; border-top: 1px solid var(--line); }
.connect-list li {
  display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 7fr); gap: 8px 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.connect-list strong { font-weight: 620; letter-spacing: -0.01em; }
.connect-list span { color: var(--ink-soft); }

/* Demo: where the line ends */
.demo {
  position: relative;
  margin-top: clamp(72px, 10vw, 130px);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  background:
    radial-gradient(900px 500px at 85% 0%, hsl(205 100% 62% / .55), transparent 70%),
    radial-gradient(700px 600px at 0% 100%, hsl(232 90% 45% / .6), transparent 70%),
    linear-gradient(160deg, var(--blue), var(--blue-deep));
  color: #fff;
}
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; max-width: 1280px; margin: 0 auto; }
.demo h2 { color: #fff; }
.demo-copy p { margin-top: 18px; color: hsl(0 0% 100% / .86); font-size: 18px; }
.demo-copy ol { margin-top: 28px; display: grid; gap: 14px; counter-reset: s; }
.demo-copy li { counter-increment: s; padding-left: 40px; position: relative; color: hsl(0 0% 100% / .92); }
.demo-copy li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: hsl(0 0% 100% / .18); font-size: 14px; font-weight: 600;
}
.form {
  border: 1px solid hsl(0 0% 100% / .4);
  border-radius: var(--radius);
  background: hsl(0 0% 100% / .94);
  color: var(--ink);
  padding: clamp(20px, 3vw, 36px);
  display: grid; gap: 16px;
  box-shadow: 0 40px 80px -30px hsl(225 90% 12% / .6);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid hsl(219 52% 10% / .22); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.field input:focus-visible { border-color: var(--blue); outline: 3px solid hsl(216 100% 52% / .25); outline-offset: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-ink); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { font-size: 15px; font-weight: 500; min-height: 1.4em; }
.form-status.error { color: hsl(0 72% 42%); }
.form-done { text-align: center; padding: 32px 8px; }
.form-done h3 { font-size: 26px; letter-spacing: -0.02em; font-weight: 620; }
.form-done p { margin-top: 10px; color: var(--ink-soft); }

/* FAQ */
.faq { padding: clamp(64px, 8vw, 110px) var(--gutter); max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }
.faq h2 { margin-bottom: 24px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px var(--gutter); display: grid; gap: 16px 40px; grid-template-columns: minmax(0, 1fr) auto; font-size: 14.5px; color: var(--ink-soft); }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-underline-offset: 3px; }
.foot address { font-style: normal; margin-top: 10px; line-height: 1.5; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 40px; }
.legal h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.035em; }
.legal .updated { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }
.legal .summary { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass-strong); }
.legal h2 { margin-top: 44px; font-size: 25px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 620; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 620; letter-spacing: -0.01em; }
.legal p { margin-top: 12px; }
.legal ul, .legal ol { margin-top: 12px; display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: var(--blue-ink); text-underline-offset: 3px; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 620; }
.table-scroll { overflow-x: auto; }

@media (max-width: 900px) {
  .stage, .stage.flip { grid-template-columns: minmax(0, 1fr); }
  .stage.flip .stage-copy { order: 0; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .top nav .only-wide { display: none; }
  .hero-stage { padding-left: 0; margin-top: 88px; }
  .channels { flex-direction: row; flex-wrap: wrap; gap: 8px; position: absolute; top: -56px; bottom: auto; left: 0; right: var(--gutter); }
  .flow-lines { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .connect-list li { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .chip { font-size: 13px; padding: 6px 12px 6px 8px; }
  .top nav a:not(.btn) { display: none; }
  .top .btn { white-space: nowrap; }
  .hero-stage { margin-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-lines path { animation: none; }
  .btn { transition: none; }
}
