/* ─────────────────────────────────────────────────────────────────────
   Everyknock — design partner page
   No framework, no build step, no external requests. Edit and deploy.
   Dark on purpose: the page is a stage, and the orange glow is the light.
   Every colour is a custom property below.
   ───────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg:            #04060d;
  --bg-2:          #070b16;
  --surface:       #0b1020;
  --surface-2:     #10162a;
  --surface-3:     #182038;
  --border:        rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --text:          #eef2ff;
  --text-muted:    #97a0b8;
  --text-dim:      #8b94aa;

  /* The palette. Five colours, as space-separated RGB so every tint can be derived:
     --a the accent, --a2 its partner, --a3 the brightest highlight, --deep a darker shade,
     --hi the rim light on the horizon, --deep-dark the shadow under the Apply section, and
     --on-a the text colour that reads on top of the accent. Change these and the page follows. */
  --a:         59 130 246;
  --a2:        34 211 238;
  --a3:        165 243 252;
  --deep:      29 78 216;
  --hi:        186 230 253;
  --deep-dark: 8 30 70;
  --on-a:      3 12 26;

  --accent:        rgb(var(--a));
  --accent-2:      rgb(var(--a2));
  --accent-deep:   rgb(var(--deep));
  --accent-soft:   rgb(var(--a) / .16);
  --accent-ink:    rgb(var(--on-a));
  /* --grad lights text and fills; --grad-btn sits under --on-a text, so it stays light enough
     for dark text to read on it. */
  --grad:          linear-gradient(135deg, rgb(var(--a)) 0%, rgb(var(--a2)) 60%, rgb(var(--a3)) 100%);
  --grad-btn:      linear-gradient(135deg, rgb(var(--a)) 0%, rgb(var(--a2)) 100%);
  --grad-hot:      linear-gradient(135deg, rgb(var(--deep)), rgb(var(--a)) 45%, rgb(var(--a2)));

  --good:          #6cd394;
  --good-soft:     rgba(108, 211, 148, .13);
  --bad:           #f2837b;
  --fb:            linear-gradient(135deg, #2563eb, #8b5cf6);
  --web:           linear-gradient(135deg, #0e7490, #22d3ee);

  --radius:   16px;
  --radius-l: 24px;
  --wrap: 1180px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --shadow:   0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .9);
  --shadow-l: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 50px 100px -30px rgba(0, 0, 0, .95);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .5em; font-weight: 750; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); }
strong, b { font-weight: 650; color: var(--text); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 8px 14px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pulse {
  position: relative; display: inline-block; width: 8px; height: 8px; flex: none;
  border-radius: 50%; background: var(--good);
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--good);
  animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ─── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--grad-btn); color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 30px -8px rgb(var(--a) / .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 40px -8px rgb(var(--a) / .75); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .i { transition: transform .18s ease; }
.btn-primary:hover .i { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn-small { padding: 9px 16px; font-size: 14.5px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ─── Header: a floating pill ─────────────────────────────────────── */

.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  width: 100%; max-width: 940px; padding: 8px 8px 8px 18px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(8, 12, 22, .62);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .9);
  transition: background .25s ease, border-color .25s ease;
}
/* Frosted only once scrolled. At the top the pill sits over near-black, where a blur shows
   nothing but still costs a re-blur of the animated hero behind it on every frame. */
.site-header.scrolled .header-pill {
  background: rgba(8, 12, 22, .82); border-color: var(--border-strong);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
}

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -0.03em;
}
.wordmark.small { font-size: 16px; }
.wordmark-mark {
  position: relative; display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: var(--grad-hot); box-shadow: 0 0 20px -2px rgb(var(--a) / .55);
}
.wordmark.small .wordmark-mark { width: 24px; height: 24px; border-radius: 7px; }
.wordmark-mark::before, .wordmark-mark::after {
  content: ""; position: absolute; left: 24%; height: 10%; border-radius: 3px; background: #fff;
}
.wordmark-mark::before { top: 33%; width: 50%; }
.wordmark-mark::after  { top: 53%; width: 32%; }

.header-nav { display: flex; gap: 26px; margin-left: auto; }
.header-nav a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 550; transition: color .15s ease; }
.header-nav a:hover { color: var(--text); }

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative; padding: 168px 0 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 50% 108%, rgb(var(--a) / .20), transparent 70%),
    var(--bg);
}
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; z-index: -1; }
.hero-rays {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 38%, rgb(var(--hi) / .06) 44%, transparent 52%),
    linear-gradient(65deg, transparent 45%, rgb(var(--hi) / .05) 50%, transparent 57%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  /* Still on purpose: a masked layer is expensive to animate, and the drift was barely visible. */
}

.hero-center { position: relative; text-align: center; display: grid; justify-items: center; }

.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .04);
  color: var(--text-muted); font-size: 14px; font-weight: 550; text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.announce:hover { border-color: var(--accent); color: var(--text); }
.announce-tag {
  padding: 3px 10px; border-radius: 999px; background: var(--grad-btn); color: var(--accent-ink);
  font-weight: 750; font-size: 12.5px;
}

.hero h1 {
  font-size: clamp(52px, 9.4vw, 124px); font-weight: 780; letter-spacing: -0.055em; line-height: .98;
  margin-bottom: 26px;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .5);
}
.hero h1 .grad { filter: drop-shadow(0 0 34px rgb(var(--a) / .45)); }
/* A pool of dark behind the words, so the cubes never compete with them. */
.hero-center::before {
  content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; pointer-events: none;
  width: min(980px, 110vw); height: 620px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(4 6 13 / .82), rgb(4 6 13 / .5) 55%, transparent);
}
.lede { font-size: 20px; color: var(--text-muted); max-width: 34em; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 24px; }

.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 0; }
.assurances li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14.5px; font-weight: 550; }
.assurances .i { color: var(--good); }
.hero-demo { margin: 18px 0 0; font-size: 15px; }
.hero-demo a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(var(--a) / .5); }
.hero-demo a:hover, .hero-demo a:focus-visible { color: var(--text); text-decoration-color: rgb(var(--a2)); }
.assurances.stacked { flex-direction: column; align-items: flex-start; gap: 10px; }

/* The glowing horizon the inbox rises out of. */
.horizon { position: relative; height: 170px; margin-top: 96px; pointer-events: none; }
.horizon-ring {
  position: absolute; left: 50%; top: 0; width: min(1500px, 150vw); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg) 97.2%, transparent 100%);
  box-shadow:
    0 -2px 0 0 rgb(var(--hi) / .9),
    0 -10px 40px 0 rgb(var(--a) / .75),
    0 -40px 120px 10px rgb(var(--a) / .45),
    0 -120px 240px 40px rgb(var(--a2) / .14);
}
/* The breathing is a second, stronger glow fading in and out. Only its opacity animates, which
   the compositor handles on its own; animating the box-shadow itself repainted a 1500px blur
   every frame, and that was most of the hero's lag on a laptop. */
.horizon-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow:
    0 -2px 0 0 rgb(var(--hi) / .5),
    0 -12px 50px 2px rgb(var(--a) / .35),
    0 -50px 140px 14px rgb(var(--a) / .22),
    0 -140px 260px 50px rgb(var(--a2) / .08);
  opacity: 0; will-change: opacity;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 1; } }

/* The stage: the app window rises and flattens as the page scrolls (site.js sets --p 0→1). */
.stage {
  --p: 0;
  position: relative; z-index: 2; margin: -120px auto 0; padding: 0 24px 90px;
  max-width: 1240px; display: grid; justify-items: center; gap: 18px;
  perspective: 1600px;
}
/* The customer's website and the inbox, side by side, tilting as one. */
.stage-row {
  width: 100%; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px;
  transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.9 + var(--p) * .1)) translateY(calc((1 - var(--p)) * 30px));
  will-change: transform;
}
.app, .site-win {
  width: 100%; min-width: 0;
  border: 1px solid var(--border-strong); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 30, 37, .96), rgba(20, 18, 23, .98));
  box-shadow: 0 -1px 0 rgb(var(--hi) / .35) inset, 0 0 0 1px rgba(0, 0, 0, .6), 0 -30px 120px -40px rgb(var(--a) / .55), var(--shadow-l);
}

/* The customer's own website: light, and plainly not Everyknock's, because it's theirs. */
.site-win { display: flex; flex-direction: column; text-align: left; }
.sw-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 16px; background: #f7f4f0; color: #1f1a17; }
.sw-nav { display: flex; align-items: center; gap: 8px; }
.sw-logo { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #db2777, #f472b6); }
.sw-nav b { width: 64px; height: 7px; border-radius: 4px; background: #1f1a17; opacity: .8; }
.sw-nav i { width: 26px; height: 5px; border-radius: 3px; background: #1f1a17; opacity: .22; }
.sw-nav i:first-of-type { margin-left: auto; }
.sw-hero { display: grid; gap: 5px; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, #fde2e7, #fbcfe8 60%, #f5e1ff); }
.sw-kicker { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #be185d; }
.sw-title { font-size: 19px; font-weight: 780; letter-spacing: -0.03em; line-height: 1.1; color: #3b0a1e; }
.sw-lines { display: grid; gap: 5px; margin-top: 4px; }
.sw-lines i { height: 5px; border-radius: 3px; background: rgba(59, 10, 30, .16); }
.sw-lines i.short { width: 60%; }
.sw-form {
  position: relative; display: grid; gap: 9px; padding: 14px; border-radius: 12px;
  background: #fff; box-shadow: 0 10px 28px -14px rgba(60, 20, 30, .35);
}
.sw-form-title { font-size: 14px; font-weight: 750; }
.sw-field { display: grid; gap: 2px; padding: 7px 10px; border: 1px solid #e8e2db; border-radius: 8px; background: #fcfbf9; transition: border-color .2s ease, box-shadow .2s ease; }
.sw-field small { font-size: 10px; font-weight: 650; color: #6f625a; }
.sw-val { min-height: 1.35em; font-size: 12.5px; line-height: 1.35; color: #1f1a17; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s ease; }
.sw-field.tall .sw-val { min-height: 2.7em; white-space: normal; }
.sw-field.typing { border-color: #ec4899; box-shadow: 0 0 0 3px rgba(236, 72, 153, .14); }
.sw-field.typing .sw-val::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #ec4899; animation: blink 1s steps(1) infinite; }
.sw-form.clearing .sw-val { opacity: 0; }
.sw-send {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #1f1a17; color: #fff; font-size: 12px; font-weight: 700; transition: transform .15s ease, background .3s ease, opacity .3s ease;
}
.sw-send .i { width: 13px; height: 13px; }
.sw-send.pressed { transform: scale(.92); background: #be185d; }
.sw-ok {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px; background: #ecfdf5; color: #047857; font-size: 11.5px; font-weight: 650;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.sw-ok .i { width: 13px; height: 13px; }
.sw-form.sent .sw-send { opacity: 0; }
.sw-form.sent .sw-ok { opacity: 1; transform: none; }

/* The inquiry, in flight from the website's form to the inbox. */
.fly {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--grad-btn); color: var(--accent-ink); font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 0 30px rgb(var(--a2) / .6);
}
.fly .i { width: 14px; height: 14px; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a343d; }
.app-dots i:first-child { background: #f26b5f; }
.app-dots i:nth-child(2) { background: #f5bf4f; }
.app-dots i:nth-child(3) { background: #5ec76b; }
.app-url {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 14px;
  border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text-muted); font-size: 12.5px; font-weight: 550;
}
.app-url .i { color: var(--good); width: 12px; height: 12px; }
.app-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; color: var(--text-muted); }

.app-body { display: grid; grid-template-columns: 200px 1fr; min-height: 430px; }
.app-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid var(--border); background: rgba(0, 0, 0, .15); }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 14px; font-weight: 700; font-size: 14px; }
.app-brand .wordmark-mark { width: 22px; height: 22px; border-radius: 7px; }
.app-nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--text-muted); font-size: 13.5px; font-weight: 550; }
.app-nav.on { background: var(--accent-soft); color: var(--accent); }
.app-note { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 10px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-dim); font-size: 11.5px; }
.app-note .i { color: var(--good); width: 12px; height: 12px; }

.app-main { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.app-stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; }
.app-stat { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .025); text-align: left; }
.app-stat span { font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.app-stat b { font-size: 26px; font-weight: 780; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.app-stat.hot { border-color: rgb(var(--a) / .45); background: linear-gradient(135deg, rgb(var(--a) / .12), rgb(var(--a2) / .04)); }
.app-stat.hot b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bump { animation: bump .45s ease; display: inline-block; }
@keyframes bump { 40% { transform: scale(1.25); } }

.app-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; min-width: 0; }

.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; min-height: 312px; text-align: left; min-width: 0; }
.demo-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 13px; background: rgba(255, 255, 255, .025);
  max-height: 90px; overflow: hidden;
  transition: max-height .45s ease, opacity .45s ease, transform .45s ease, padding .45s ease, background .6s ease, border-color .6s ease;
}
.demo-item.enter { max-height: 0; opacity: 0; transform: translateY(-10px) scale(.98); padding-top: 0; padding-bottom: 0; }
.demo-item.waiting { background: linear-gradient(90deg, rgb(var(--a) / .13), rgba(255, 255, 255, .02) 60%); border-color: rgb(var(--a) / .25); }
.demo-item.active { box-shadow: 0 0 0 1px rgb(var(--a2) / .5); }
.demo-item.flash { animation: flash .9s ease; }
@keyframes flash { 30% { background: var(--good-soft); } }
.demo-av {
  position: relative; flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 750;
}
.av-web { background: var(--web); }
.av-fb { background: var(--fb); }
.demo-ch {
  position: absolute; right: -5px; bottom: -4px; width: 17px; height: 17px; padding: 2px;
  border-radius: 50%; background: var(--surface-3); color: var(--text); box-shadow: 0 0 0 2px var(--surface);
}
.av-fb .demo-ch { color: #8fb0ff; }
.av-web .demo-ch { color: #67e8f9; }
.demo-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.demo-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.demo-body b { font-size: 13.5px; white-space: nowrap; }
.demo-body em {
  font-style: normal; font-size: 13px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-item.waiting em { color: var(--text); }
.demo-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 10.5px; font-weight: 700; white-space: nowrap;
}
.demo-tag.done { background: var(--good-soft); color: var(--good); }
.demo-tag .i { width: 11px; height: 11px; }
.demo-time { align-self: start; font-size: 11.5px; color: var(--text-dim); font-variant-numeric: tabular-nums; }

.convo {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0;
  border: 1px solid var(--border); border-radius: 14px; background: rgba(0, 0, 0, .18); text-align: left;
}
.convo-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.convo-head b { display: block; font-size: 14px; }
.convo-head small { display: block; color: var(--text-muted); font-size: 11.5px; }
.bubble {
  max-width: 90%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45;
  transition: opacity .35s ease, transform .35s ease;
}
.bubble.them { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 5px; }
.bubble.you { align-self: flex-end; background: linear-gradient(135deg, rgb(var(--a) / .28), rgb(var(--a2) / .16)); border: 1px solid rgb(var(--a) / .3); border-bottom-right-radius: 5px; min-height: 40px; }
.bubble.hidden { opacity: 0; transform: translateY(6px); }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent-2); animation: blink 1s steps(1) infinite; }
.caret.off { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.convo-foot { align-self: flex-end; transition: opacity .35s ease; }
.convo-foot.hidden { opacity: 0; }

.knock {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, .03); color: var(--text-muted); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.knock:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
/* The button only works with the animation running; site.js reveals it then. */
.knock[hidden] { display: none; }
.knock-hand { display: inline-block; }
.knock.knocked .knock-hand { animation: knock .5s ease; }
@keyframes knock { 20%, 60% { transform: rotate(-18deg) translateX(-2px); } 40%, 80% { transform: rotate(8deg); } }

/* ─── Channels marquee ────────────────────────────────────────────── */

.channels { padding: 30px 0 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.channels-title {
  text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.channel-row { list-style: none; margin: 0; padding: 0 0 10px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.js .marquee.running .channel-row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .channel-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ch {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; flex: none;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 15px; font-weight: 600; color: var(--text-muted); white-space: nowrap;
}
.ch.live { color: var(--text); border-color: var(--border-strong); }
.ch-state { padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--text-dim); }
.ch.live .ch-state { background: var(--good-soft); color: var(--good); }

/* ─── Sections ────────────────────────────────────────────────────── */

.section { position: relative; padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { margin-left: auto; margin-right: auto; }
.kicker {
  width: fit-content; margin-bottom: 14px; padding: 5px 13px; border-radius: 999px;
  border: 1px solid rgb(var(--a) / .35); background: var(--accent-soft);
  color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.kicker.dark { border-color: rgb(var(--on-a) / .25); background: rgb(var(--on-a) / .12); color: var(--accent-ink); }
.section-title { font-size: clamp(34px, 5vw, 60px); font-weight: 760; letter-spacing: -0.045em; line-height: 1.02; }
.section-sub { font-size: 19px; color: var(--text-muted); }

/* Reveal: only when JavaScript is running, so a page without it is never left invisible. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.steps [data-reveal]:nth-child(2), .options [data-reveal]:nth-child(2), .deal-grid [data-reveal]:nth-child(2),
.live-grid [data-reveal]:nth-child(2) { transition-delay: .12s; }
.steps [data-reveal]:nth-child(3), .options [data-reveal]:nth-child(3) { transition-delay: .24s; }

/* Cards with a light-catching edge */
.option, .step, .deal-card, .live-list, .statement, .fit-note {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--surface);
  box-shadow: var(--shadow);
}
.option::before, .step::before, .deal-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgb(var(--hi) / .35), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* Pick what you need: three separate offers */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.option { display: flex; flex-direction: column; padding: 28px; transition: transform .35s ease, box-shadow .35s ease; }
.option:hover { transform: translateY(-6px); box-shadow: var(--shadow-l), 0 30px 80px -40px rgb(var(--a) / .45); }
.option.both { border-color: rgb(var(--a) / .35); }
.option h3 { font-size: 26px; }
.option > p:not(.half-tag) { color: var(--text-muted); }
.option-list { list-style: none; margin: 4px 0 26px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.option-list li { display: flex; align-items: flex-start; gap: 10px; }
.option-list .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-2); }
.option-list .not-yet { color: var(--text-dim); }
.option-list .dot { flex: none; width: 18px; height: 18px; display: grid; place-items: center; margin-top: 2px; }
.option-list .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); }
.option-pick {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  color: var(--accent); font-weight: 700; text-decoration: none;
}
.option-pick .i { width: 18px; height: 18px; transition: transform .25s ease; }
.option-pick:hover .i, .option-pick:focus-visible .i { transform: translateX(4px); }
.mini-both { position: relative; width: 86%; height: 170px; }
.mini-both .mini-browser { position: absolute; left: 0; top: 0; width: 66%; }
.mini-both .mini-inbox { position: absolute; right: 0; bottom: 0; width: 64%; }
.option:hover .mini-both .mini-browser { transform: translate(-4px, -6px); }
.option:hover .mini-both .mini-inbox { transform: translate(4px, 4px); }
.half-tag { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.half-art {
  display: grid; place-items: center; height: 220px; margin-bottom: 26px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgb(var(--a) / .35), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--border);
}
.mini-browser { width: 78%; border-radius: 12px; background: var(--surface-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); overflow: hidden; border: 1px solid var(--border-strong); transition: transform .5s ease; }
.option:hover .mini-browser, .option:hover .mini-inbox { transform: translateY(-6px) scale(1.02); }
.mb-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--border); }
.mb-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a343d; }
.mb-bar span { margin-left: 8px; font-size: 11px; color: var(--text-muted); }
.mb-body { padding: 12px; display: grid; gap: 9px; }
.mb-hero { position: relative; height: 46px; border-radius: 8px; background: var(--grad-hot); overflow: hidden; }
.mb-hero b { position: absolute; left: 10px; top: 10px; width: 45%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.mb-hero i { position: absolute; left: 10px; top: 24px; width: 30%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.mb-lines { display: grid; gap: 6px; }
.mb-lines i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.mb-lines i.short { width: 60%; }
.mb-btn { width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--grad-btn); color: var(--accent-ink); }
.mini-inbox { width: 80%; display: grid; gap: 8px; transition: transform .5s ease; }
.mi-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9); }
.mi-row.w { background: linear-gradient(90deg, rgb(var(--a) / .18), var(--surface-2) 60%); border-color: rgb(var(--a) / .3); }
.mi-row .av { flex: none; width: 24px; height: 24px; border-radius: 50%; }
.av.web { background: var(--web); }
.av.fb { background: var(--fb); }
.mi-row span { flex: 1; display: grid; gap: 5px; }
.mi-row b { display: block; width: 45%; height: 6px; border-radius: 3px; background: var(--text); opacity: .75; }
.mi-row em { display: block; width: 80%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.mi-row u { text-decoration: none; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.mi-row u.ok { background: var(--good-soft); color: var(--good); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 30px; }
.step h3 { font-size: 23px; }
.step p { margin: 0; color: var(--text-muted); }
.step-num {
  display: block; margin-bottom: 26px; font-size: 64px; font-weight: 780; letter-spacing: -0.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
}
.step.key { background: linear-gradient(180deg, rgb(var(--a) / .14), rgb(var(--a) / .02)), var(--surface); border-color: rgb(var(--a) / .4); }
.step.key .step-num { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* Carousel: who it's for */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.carousel-head .section-title { max-width: 14em; margin-bottom: 0; }
.carousel-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.carousel-count { margin-right: 10px; font-size: 44px; font-weight: 750; letter-spacing: -0.05em; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.round-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.round-btn:hover { background: var(--accent-soft); border-color: var(--accent); transform: scale(1.05); }
.round-btn .i { width: 20px; height: 20px; }

.carousel {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 26px;
  scroll-padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid rgb(var(--a2)); outline-offset: 4px; border-radius: 12px; }
.card {
  position: relative; flex: none; width: 300px; height: 380px; padding: 26px; scroll-snap-align: start;
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55)); pointer-events: none; }
.card > * { position: relative; z-index: 1; }
.card-kind { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.card-q { margin: auto 0 18px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: #fff; }
.card-ch { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.c1 { background: radial-gradient(circle at 80% 10%, #a5f3fc, transparent 55%), linear-gradient(160deg, #0e7490, #164e63); }
.c2 { background: radial-gradient(circle at 20% 15%, #93c5fd, transparent 50%), linear-gradient(160deg, #1d4ed8, #312e81); }
.c3 { background: radial-gradient(circle at 80% 20%, #f9a8d4, transparent 50%), linear-gradient(160deg, #be185d, #4c1d95); }
.c4 { background: radial-gradient(circle at 20% 10%, #cbd5e1, transparent 50%), linear-gradient(160deg, #334155, #0f172a); }
.c5 { background: radial-gradient(circle at 75% 15%, #fbcfe8, transparent 50%), linear-gradient(160deg, #9d174d, #3f1d38); }
.c6 { background: radial-gradient(circle at 25% 15%, #86efac, transparent 50%), linear-gradient(160deg, #047857, #064e3b); }
.c7 { background: radial-gradient(circle at 80% 15%, #c7d2fe, transparent 50%), linear-gradient(160deg, #4338ca, #1e1b4b); }

.fit-note { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; padding: 26px 30px; }
.fit-note p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

/* Statement */
.statement {
  padding: 64px; overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% -10%, rgb(var(--a) / .28), transparent 70%),
    radial-gradient(500px 300px at 0% 110%, rgba(139, 92, 246, .12), transparent 70%),
    var(--surface);
}
.statement h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 760; max-width: 17em; letter-spacing: -0.045em; line-height: 1.04; }
.statement-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.statement-cols p { margin: 0; color: var(--text-muted); }

/* What's live */
.live-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.live-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 4px; align-content: start; }
.live-list li { display: flex; gap: 14px; padding: 13px 14px; border-radius: 12px; color: var(--text-muted); transition: background .2s ease; }
.live-list li:hover { background: rgba(255, 255, 255, .03); }
.live-list .done .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--good-soft); color: var(--good); vertical-align: 0; }
.live-list .dot { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.live-list .dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.live-list .soon .dot::before { background: var(--accent-2); box-shadow: 0 0 0 5px rgb(var(--a2) / .14), 0 0 14px rgb(var(--a2) / .6); }
.live-list .later .dot::before { background: var(--text-dim); }

/* Deal */
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.deal-card { padding: 30px; }
.deal-card h3 { font-size: 23px; }
.deal-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.deal-card li { position: relative; padding-left: 32px; color: var(--text-muted); }
.deal-card li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; }
.deal-card.give li::before { background: var(--good-soft); box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 9px var(--good); }
.deal-card.ask li::before { background: var(--accent-soft); box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 9px var(--accent); }
.deal-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; color: var(--text-muted); text-align: center; font-size: 15.5px; }
.deal-foot .i { color: var(--good); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: border-color .2s ease, background .2s ease; }
.faq details[open] { border-color: rgb(var(--a) / .35); background: linear-gradient(180deg, rgb(var(--a) / .06), transparent), var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 650; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--text-muted); font-size: 18px; font-weight: 400;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); }

/* ─── Apply: full-bleed orange ────────────────────────────────────── */

.section-apply {
  background:
    radial-gradient(900px 600px at 10% 0%, rgb(var(--hi) / .45), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgb(var(--a3) / .35), transparent 60%),
    linear-gradient(135deg, rgb(var(--a)), rgb(var(--a2)));
  color: rgb(var(--on-a));
}
.apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.apply-intro { position: sticky; top: 110px; }
.apply-intro .section-title { color: rgb(var(--on-a)); font-size: clamp(40px, 5.6vw, 72px); }
.apply-intro p { color: rgb(var(--on-a) / .8); font-size: 18.5px; }
.apply-intro .assurances li { color: rgb(var(--on-a)); font-weight: 650; }
.apply-intro .assurances .i { color: rgb(var(--on-a)); }

.form {
  position: relative; display: grid; gap: 20px; padding: 34px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; background: rgba(14, 12, 16, .96); color: var(--text);
  box-shadow: 0 40px 90px -30px rgb(var(--deep-dark) / .8);
  overflow: hidden;
}
.form-progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, .06); }
.form-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .35s ease; box-shadow: 0 0 12px rgb(var(--a2) / .7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: 15px; padding: 0; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.opt { font-size: 13px; color: var(--text-dim); }
.hint { margin: -2px 0 6px; font-size: 14px; color: var(--text-muted); }

.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 13px;
  background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field select option { background: var(--surface); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 4px rgb(var(--a) / .2);
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pills label { position: relative; font-weight: 550; font-size: 15px; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, .03);
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .1s ease;
}
.pills label:hover span { border-color: rgba(255, 255, 255, .3); }
.pills input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.pills input[type="checkbox"]:checked + span::before { content: "\2713"; font-weight: 800; }
.pills input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.pills label:active span { transform: scale(.97); }

.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(242, 131, 123, .12); color: var(--bad); font-size: 15px; }
.form-foot { margin: -6px 0 0; text-align: center; font-size: 14px; color: var(--text-muted); }

/* ─── Footer ──────────────────────────────────────────────────────── */

.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ─── Privacy page ────────────────────────────────────────────────── */

.legal { padding: 140px 0 90px; background: radial-gradient(900px 420px at 50% -10%, rgb(var(--a) / .18), transparent 70%), var(--bg); }
.legal h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 780; letter-spacing: -0.045em; }
.legal-kicker { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-meta { margin: 18px 0 0; color: var(--text-dim); font-size: 14px; }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 10px; padding: 16px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
}
.legal-toc a {
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04);
  color: var(--text-muted); font-size: 14px; font-weight: 550; text-decoration: none;
}
.legal-toc a:hover { color: var(--text); background: var(--accent-soft); }
.legal section { padding-top: 34px; scroll-margin-top: 90px; }
.legal h2 { font-size: 26px; margin-bottom: .6em; }
.legal p, .legal li { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.legal strong { color: var(--text); font-weight: 650; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { color: var(--accent); }

/* ─── Thank-you page ──────────────────────────────────────────────── */

.thanks {
  position: relative; min-height: 100vh; display: grid; place-items: center; padding: 140px 0 80px; overflow: hidden;
  background: radial-gradient(900px 500px at 50% 110%, rgb(var(--a) / .25), transparent 70%), var(--bg);
}
.thanks-card { position: relative; max-width: 640px; text-align: center; }
.thanks-check {
  display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 26px;
  border-radius: 26px; background: var(--grad-btn); color: var(--accent-ink);
  box-shadow: 0 0 60px rgb(var(--a) / .6); animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.thanks-check .i { width: 42px; height: 42px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks h1 { font-size: clamp(48px, 7vw, 80px); font-weight: 780; letter-spacing: -0.05em; }
.thanks .lede { margin-left: auto; margin-right: auto; }
.next-steps { display: grid; gap: 10px; margin: 30px auto; padding: 0; list-style: none; text-align: left; max-width: 480px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text-muted); }
.next-steps .n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 750; font-size: 14px; }

/* ─── Small screens ───────────────────────────────────────────────── */

/* Side by side, the inbox gives up its sidebar before its conversation pane. */
@media (max-width: 1279px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 1100px) {
  .stage-row { grid-template-columns: 1fr; gap: 16px; }
  .site-win { max-width: 520px; justify-self: center; }
}

@media (max-width: 980px) {
  .header-nav { display: none; }
  .header-pill { justify-content: space-between; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .steps, .statement-cols { grid-template-columns: 1fr; }
  .live-grid, .apply-grid, .fit-note { grid-template-columns: 1fr; }
  .apply-intro { position: static; }
}

@media (max-width: 720px) {
  .site-win { border-radius: 18px; }
  .sw-lines { display: none; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header { top: 10px; padding: 0 10px; }
  .header-pill { padding: 6px 6px 6px 14px; gap: 12px; }
  .hide-s { display: none; }
  .hero { padding-top: 124px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .lede { font-size: 17.5px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .assurances { gap: 8px 18px; }
  .horizon { height: 110px; margin-top: 40px; }
  .stage { margin-top: -80px; padding: 0 12px 64px; }
  .app { border-radius: 18px; }
  .app-url { display: none; }
  .app-main { padding: 12px; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .app-stat.wide { display: none; }
  .app-split { grid-template-columns: 1fr; }
  .convo { display: none; }
  .demo-list { min-height: 300px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 34px; }
  .section-sub { font-size: 17px; }
  .options, .deal-grid, .field-row { grid-template-columns: 1fr; }
  .option, .step, .deal-card { padding: 22px; }
  .half-art { height: 180px; }
  .statement { padding: 34px 22px; }
  .carousel-head { align-items: flex-start; flex-direction: column; }
  .carousel-count { font-size: 32px; }
  .round-btn { width: 44px; height: 44px; }
  .card { width: 260px; height: 330px; }
  .card-q { font-size: 23px; }
  .fit-note { padding: 22px; gap: 16px; }
  .form { padding: 26px 18px; border-radius: 22px; }
  .faq summary { padding: 17px 18px; font-size: 16.5px; }
  .faq details p { padding: 0 18px 18px; }
  .deal-foot { text-align: left; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .stage-row { transform: none; }
  .thanks-check .i { stroke-dashoffset: 0; }
}
