@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/InstrumentSerif-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/InstrumentSerif-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #fafafb; --surface: #ffffff; --surface-2: #f3f3f6; --border: #e6e6eb; --border-strong: #d4d4dc;
  --text: #15151b; --text-2: #4d4d59; --text-3: #85858f;
  --accent: #3b5bdb; --accent-2: #2f4bc0; --accent-soft: rgba(59, 91, 219, 0.09); --ok: #148a5b;
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Geist', 'Segoe UI', system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --r: 12px; --shadow: 0 1px 2px rgba(17, 17, 26, 0.05), 0 12px 32px -14px rgba(17, 17, 26, 0.18);
  --shadow-lg: 0 2px 4px rgba(17, 17, 26, 0.04), 0 40px 80px -30px rgba(30, 40, 90, 0.35);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
h1, h2 { text-wrap: balance; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--accent); margin: 0 0 16px; letter-spacing: 0.01em; }
.body { color: var(--text-2); font-size: 17px; max-width: 60ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* aurora background, same family as the product onboarding */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.aurora span:nth-child(1) { width: 60vmax; height: 60vmax; top: -30vmax; left: -18vmax; background: radial-gradient(circle, rgba(59, 91, 219, 0.55), transparent 65%); animation: d1 28s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 50vmax; height: 50vmax; top: -10vmax; right: -22vmax; background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 65%); animation: d2 34s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 40vmax; height: 40vmax; top: 30vmax; left: 30%; background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 65%); animation: d3 40s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(16vmax, 10vmax) scale(1.12); } }
@keyframes d2 { to { transform: translate(-14vmax, 12vmax) scale(1.08); } }
@keyframes d3 { to { transform: translate(-20vmax, -8vmax) scale(1.15); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font: 500 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, transform 0.1s, border-color 0.15s; position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(20, 30, 80, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--border-strong); }
.btn.ghost:hover { background: var(--surface); }
.btn.sm { height: 34px; font-size: 14px; padding: 0 14px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 16px; }
.glint::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: glint 5.5s ease-in-out infinite; }
@keyframes glint { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(1.4); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.tag { font: 500 11px var(--mono); color: var(--text-3); border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 8px; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.links a:hover { color: var(--text); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); }
.lede { font-size: 18.5px; color: var(--text-2); margin: 24px 0 32px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: 14px; }
.promises li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 2px; }
.hero-media { margin: 0; }
.browser { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-media:hover .browser, .browser.playing { transform: none; }
.bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.bar span { margin-left: 12px; font: 12px var(--mono); color: var(--text-3); }
.screen { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.screen img, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen video { opacity: 0; transition: opacity 0.4s; }
.screen video.on { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(59, 91, 219, 0.18), var(--shadow); transition: transform 0.2s, opacity 0.3s; }
.play:hover { transform: scale(1.06); }
.play svg { margin-left: 3px; }
.browser.playing .play { opacity: 0; pointer-events: none; }
.full { position: absolute; right: 12px; bottom: 12px; font: 500 12.5px var(--sans); color: #fff; background: rgba(15, 18, 30, 0.72); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(6px); }
.browser.playing .full { opacity: 1; }
.hero-media figcaption { font-size: 13px; color: var(--text-3); margin-top: 12px; text-align: center; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 40px; }
.stat { background: color-mix(in srgb, var(--surface) 92%, transparent); padding: 26px 28px; }
.stat b { font: 400 48px/1 var(--serif); display: block; margin-bottom: 10px; }
.stat p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; }
.stat a { font: 12px var(--mono); color: var(--text-3); text-decoration: none; }
.stat a:hover { color: var(--accent); }

/* sections */
.section { padding: 96px 0; }
.band { background: color-mix(in srgb, var(--surface) 80%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2, .two h2, .join h2 { font-size: clamp(34px, 4vw, 54px); }
.sec-head h2 { max-width: 18em; margin: 0 auto; }
.sec-head .body { margin-top: 16px; }

.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.step:last-child { margin-bottom: 0; }
.step.flip .step-copy { order: 2; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); font: 500 13px var(--mono); color: var(--accent); margin-bottom: 18px; background: var(--surface); }
.step h3 { font: 400 34px/1.1 var(--serif); letter-spacing: -0.01em; margin-bottom: 14px; }
.step p { color: var(--text-2); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%233b5bdb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 5.2 2 2 4-4.4'/%3E%3C/svg%3E") no-repeat center; }
.shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.split-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-shots figure { margin: 0; }
.split-shots img { border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-shots figcaption { font-size: 13px; color: var(--text-3); margin-top: 10px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two .body { margin: 20px 0 24px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.code { background: #111318; color: #e7e7ee; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #262833; font: 13px var(--mono); color: #9a9aab; }
.copy { font: 12px var(--mono); background: #23252f; color: #e7e7ee; border: 1px solid #343744; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.copy:hover { background: #2d303c; }
.code pre { margin: 0; padding: 20px 18px; font: 13.5px/1.7 var(--mono); overflow-x: auto; }
.code-note { margin: 0; padding: 12px 18px 16px; color: #9a9aab; font-size: 13px; border-top: 1px solid #262833; }

.compare { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); user-select: none; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-top img { width: 100%; height: 100%; object-fit: cover; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); pointer-events: none; }
.handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 600 14px var(--sans); color: var(--text); box-shadow: var(--shadow); }

.join { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.join .body { margin: 20px 0 28px; }
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deal h3 { font-size: 15px; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.form h3 { font: 400 28px var(--serif); margin: 0 0 4px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input:not([type=checkbox]), .form select, .form textarea { font: 15px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 10px 12px; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .invalid { border-color: #d92d42 !important; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; font-weight: 450; color: var(--text); border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.checks input { accent-color: var(--accent); margin: 0; }
.opt { color: var(--text-3); font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 12.5px; color: var(--text-3); margin: 0; }
.status { margin: 0; font-size: 14.5px; font-weight: 500; }
.status.ok { color: var(--ok); }
.status.err { color: #d92d42; }

details { border-bottom: 1px solid var(--border); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 550; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 300 26px var(--sans); color: var(--text-3); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--text-2); max-width: 64ch; }

.foot { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--text-3); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--text-2); }

.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 52px; margin-bottom: 24px; }
.legal h2 { font-size: 28px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-2); }

/* reveal only with JS */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero, .step, .two, .join { grid-template-columns: 1fr; gap: 36px; }
  .step.flip .step-copy { order: 0; }
  .hero { padding: 44px 0 40px; }
  .browser { transform: none; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .step { margin-bottom: 64px; }
}
@media (max-width: 640px) {
  .tag { display: none; }
  .grid4, .split-shots, .deal, .form .row { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 36px; }
  .cta-row .btn { width: 100%; }
  .form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
