/* ============================================================
   MagneTrack — Landing styles
   Aesthetic: clean, airy, modern tech. Electric blue→cyan
   "magnetic signal" accent. Original identity.
   ============================================================ */

:root {
  --bg: #fbfcfe;
  --bg-tint: #eef3ff;
  --bg-tint-2: #f3f6fc;
  --surface: #ffffff;

  --ink: #0c1729;
  --ink-2: #2c3a4f;
  --ink-soft: #5d6c82;
  --ink-faint: #93a0b3;

  --line: #e6ebf3;
  --line-2: #d9e1ee;

  --accent: #1e64ff;
  --accent-deep: #1450e0;
  --accent-cyan: #14ccd6;
  --accent-tint: #e7eeff;

  --grad: linear-gradient(108deg, #1e64ff 0%, #2f8bff 48%, #18cdd6 100%);
  --grad-soft: linear-gradient(108deg, #4a82ff 0%, #21c6d3 100%);

  --shadow-sm: 0 1px 2px rgba(12, 23, 41, .06), 0 1px 1px rgba(12, 23, 41, .04);
  --shadow-md: 0 10px 30px -12px rgba(20, 50, 110, .22);
  --shadow-lg: 0 40px 80px -28px rgba(20, 50, 110, .35);
  --shadow-glow: 0 24px 60px -20px rgba(30, 100, 255, .45);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --display: "Space Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink);
  --fg-btn: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--bg-btn);
  color: var(--fg-btn);
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 30px 70px -20px rgba(30,100,255,.55); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 252, 254, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(30,100,255,.6);
  position: relative;
  flex: none;
}
.brand__mark span {
  width: 14px; height: 14px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}
.brand__mark::after {
  content: ""; position: absolute;
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
}
.brand b { font-weight: 600; }
.brand b em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 13px; border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--bg-tint); color: var(--ink); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang {
  display: inline-flex; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 3px; box-shadow: var(--shadow-sm);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 12.5px;
  color: var(--ink-soft); padding: 5px 11px; border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.lang button.active { background: var(--ink); color: #fff; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; pointer-events: none; z-index: 0;
  inset: -10% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 70% 30%, rgba(33,150,243,.20), rgba(20,205,214,.12) 35%, transparent 62%);
  filter: blur(10px);
}
.hero__dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30,100,255,.10) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 72%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .01em;
  color: var(--accent-deep);
  background: #fff; border: 1px solid var(--accent-tint);
  padding: 7px 14px 7px 9px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(30,100,255,.14); }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 70px);
  margin-top: 22px;
}
.hero h1 .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 38ch;
  margin-top: 22px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.hero__note svg { color: var(--accent); flex: none; }

/* ---------- Dashboard mock ---------- */
.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transform-origin: center;
}
.mock__chip {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
}
.mock__chip .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.mock__chip .k { font-size: 11px; color: var(--ink-faint); font-weight: 500; }
.mock__chip .v { font-family: var(--display); font-weight: 600; font-size: 16px; }
.mock__chip--tr { top: 196px; right: -28px; }
.mock__chip--bl { bottom: -26px; left: -26px; }
.mock__chip .up { color: #16a34a; font-size: 12px; font-weight: 600; }

.mockhd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockhd__t { font-family: var(--display); font-weight: 600; font-size: 14px; }
.mockhd__dot { display: flex; gap: 6px; }
.mockhd__dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mockhd__pill { font-size: 11px; font-weight: 600; color: var(--accent-deep); background: var(--accent-tint); padding: 4px 10px; border-radius: var(--r-pill); }

.mockstats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mockstat { background: var(--bg-tint-2); border-radius: 14px; padding: 13px 15px; }
.mockstat .k { font-size: 11px; color: var(--ink-faint); font-weight: 500; }
.mockstat .v { font-family: var(--display); font-weight: 600; font-size: 22px; margin-top: 3px; letter-spacing: -.02em; }
.mockstat .v.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.funnelbox { background: var(--bg-tint-2); border-radius: 14px; padding: 15px; }
.funnelbox__t { font-size: 11px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.frow { display: grid; grid-template-columns: 64px 1fr 42px; align-items: center; gap: 10px; margin-bottom: 9px; }
.frow:last-child { margin-bottom: 0; }
.frow .lbl { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.frow .bar { height: 22px; border-radius: 7px; background: var(--grad); }
.frow .pct { font-size: 12px; font-weight: 600; color: var(--ink-soft); text-align: right; font-family: var(--display); }

/* ---------- Trust strip ---------- */
.trust { padding: 8px 0 12px; }
.trust__label { text-align: center; font-size: 12.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); margin-top: 22px; opacity: .72; }
.trust__logo { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink-2); letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.trust__logo svg { width: 22px; height: 22px; flex: none; }

/* ---------- Section scaffold ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--tint { background: var(--bg-tint); }
.sec--ink { background: var(--ink); color: #fff; }

.kicker {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec--ink .kicker { color: #6fb7ff; }

.sechead { max-width: 720px; margin-bottom: 56px; }
.sechead.center { margin-inline: auto; text-align: center; }
.sechead h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.sechead p { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; }
.sec--ink .sechead p { color: #9fb2cc; }
.sechead.center p { margin-inline: auto; }

/* ---------- Feature grid ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat__ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-tint); color: var(--accent-deep);
}
.feat.is-hot .feat__ic { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.feat h3 { font-size: 19px; }
.feat p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }

/* ---------- Split (funnel / commissions) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split.rev .split__media { order: -1; }
.split__copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 18px; }
.split__copy > p { color: var(--ink-soft); font-size: 17px; margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.checks .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.checks span { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }

/* funnel media */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 28px;
}
.sec--tint .panel { box-shadow: var(--shadow-lg); }
.bigfunnel { display: grid; gap: 12px; }
.bigfunnel .stage { display: grid; gap: 8px; }
.bigfunnel .stage__top { display: flex; align-items: baseline; justify-content: space-between; }
.bigfunnel .stage__name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.bigfunnel .stage__val { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.bigfunnel .track { height: 44px; border-radius: 12px; background: var(--bg-tint-2); overflow: hidden; }
.bigfunnel .fill { height: 100%; border-radius: 12px; background: var(--grad); display: flex; align-items: center; padding-left: 16px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; }
.bigfunnel .drop { font-size: 12px; color: var(--ink-faint); font-weight: 500; text-align: right; }

/* channels */
.chan { display: grid; gap: 14px; }
.chanrow { display: grid; grid-template-columns: 130px 1fr 90px; gap: 16px; align-items: center; }
.chanrow .nm { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14.5px; }
.chanrow .nm i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.chanrow .track { height: 12px; border-radius: var(--r-pill); background: var(--bg-tint-2); overflow: hidden; display: block; }
.chanrow .fill { display: block; height: 100%; border-radius: var(--r-pill); }
.chanrow .amt { text-align: right; font-family: var(--display); font-weight: 600; font-size: 14px; }

/* ---------- Attribution (ink) ---------- */
.attrgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.attrcard {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md); padding: 28px 24px;
}
.attrcard__n { font-family: var(--display); font-weight: 600; font-size: 13px; color: #6fb7ff; }
.attrcard h3 { font-size: 20px; margin-top: 14px; color: #fff; }
.attrcard p { color: #9fb2cc; font-size: 14.5px; margin-top: 10px; }
.attrcard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; margin-bottom: 18px; }

/* ---------- Integration ---------- */
.code {
  background: #0c1729; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid #1c2c46;
}
.code__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #1c2c46; }
.code__bar i { width: 11px; height: 11px; border-radius: 50%; }
.code__bar i:nth-child(1){ background:#ff5f57; } .code__bar i:nth-child(2){ background:#febc2e; } .code__bar i:nth-child(3){ background:#28c840; }
.code__bar .fn { margin-left: 10px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; color: #6b7c98; }
.code pre { margin: 0; padding: 24px 22px; overflow-x: auto; }
.code code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.85; color: #c9d6ea; white-space: pre; }
.code .c-tag { color: #6fb7ff; }
.code .c-attr { color: #8fe3a8; }
.code .c-str { color: #ffd479; }
.code .c-com { color: #5d6c82; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.role__tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 11.5px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent-deep); }
.role h3 { font-size: 17px; margin-top: 16px; }
.role p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

/* ---------- CTA band ---------- */
.ctaband {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
  border-radius: 32px; padding: clamp(48px, 7vw, 88px) var(--pad); text-align: center;
}
.ctaband::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 70%);
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { font-size: clamp(30px, 4.4vw, 52px); }
.ctaband p { font-size: clamp(16px, 1.5vw, 19px); margin: 18px auto 0; max-width: 50ch; color: rgba(255,255,255,.9); }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.ctaband .btn--primary { background: #fff; color: var(--accent-deep); box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }
.ctaband .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.ctaband .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Footer ---------- */
.foot { padding: 72px 0 40px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot__tag { color: var(--ink-soft); font-size: 14.5px; margin-top: 18px; max-width: 30ch; }
.foot__col h4 { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.foot__col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.foot__col a { font-size: 14.5px; color: var(--ink-2); }
.foot__col a:hover { color: var(--accent-deep); }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__bottom p { font-size: 13px; color: var(--ink-faint); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(10,18,34,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal.open .modal__scrim { opacity: 1; }
.modal__card {
  position: relative; width: 100%; max-width: 420px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 34px 32px 30px; transform: translateY(14px) scale(.98); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .25s;
}
.modal.open .modal__card { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--bg-tint-2); cursor: pointer; color: var(--ink-soft); display: grid; place-items: center; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--bg-tint); color: var(--ink); }
.modal__brand { display: flex; align-items: center; gap: 10px; }
.modal h3 { font-size: 24px; margin-top: 20px; }
.modal__sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

.field { margin-top: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; font-family: var(--display); }
.field input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px;
  font-family: var(--body); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(30,100,255,.14); }

.formrow { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.remember { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.remember input { width: 16px; height: 16px; accent-color: var(--accent); }
.forgot { font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }
.forgot:hover { text-decoration: underline; }

.modal .btn--primary { width: 100%; justify-content: center; margin-top: 22px; }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-faint); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.roles-hint { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.roles-hint span { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); background: var(--bg-tint-2); padding: 5px 10px; border-radius: var(--r-pill); }

.signup { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; }
.signup a { font-weight: 600; color: var(--accent-deep); }
.signup a:hover { text-decoration: underline; }

/* ---------- Mobile menu sheet ---------- */
.sheet { display: none; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  /* staggered children inside feature/role/attr grids */
  .feats .reveal:nth-child(2), .roles .reveal:nth-child(2), .attrgrid .reveal:nth-child(2) { transition-delay: .08s; }
  .feats .reveal:nth-child(3), .roles .reveal:nth-child(3), .attrgrid .reveal:nth-child(3) { transition-delay: .16s; }
  .feats .reveal:nth-child(4), .roles .reveal:nth-child(4) { transition-delay: .24s; }
  .feats .reveal:nth-child(5), .roles .reveal:nth-child(5) { transition-delay: .32s; }
  .feats .reveal:nth-child(6) { transition-delay: .4s; }
}

/* ============================================================
   MOTION & EFFECTS
   ============================================================ */

/* animated gradient on primary buttons + CTA band */
.btn--primary, .ctaband, .frow .bar, .bigfunnel .fill, .feat.is-hot .feat__ic,
.brand__mark, .mock__chip .ic, .feat__ic, .checks .ck, .attrcard .ic, .role__tag {
  background-size: 180% 180%;
}
@media (prefers-reduced-motion: no-preference) {
  .btn--primary { animation: gradShift 8s ease infinite; }
  .ctaband { animation: gradShift 14s ease infinite; }
  @keyframes gradShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* drifting hero glow */
  .hero__glow { animation: glowDrift 16s ease-in-out infinite alternate; }
  @keyframes glowDrift {
    0%   { transform: translate(0, 0) scale(1); opacity: .9; }
    50%  { transform: translate(-4%, 3%) scale(1.08); opacity: 1; }
    100% { transform: translate(3%, -2%) scale(1.04); opacity: .85; }
  }

  /* gentle floating product card */
  .mock { animation: floatY 7s ease-in-out infinite; }
  @keyframes floatY {
    0%, 100% { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) translateY(0); }
    50%      { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) translateY(-14px); }
  }
  .mock__chip--tr { animation: floatChipA 5.5s ease-in-out infinite; }
  .mock__chip--bl { animation: floatChipB 6.5s ease-in-out infinite; }
  @keyframes floatChipA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes floatChipB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

  /* pulsing eyebrow dot */
  .eyebrow .dot { animation: pulseDot 2.4s ease-in-out infinite; }
  @keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30,100,255,.32); }
    60% { box-shadow: 0 0 0 7px rgba(30,100,255,0); }
  }
}

/* animated bar fills — JS sets target width, CSS eases it */
.frow .bar, .bigfunnel .fill, .chanrow .fill {
  transition: width 1.15s cubic-bezier(.2,.8,.25,1);
}

/* gradient-text shimmer on hero highlight */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hl { background-size: 200% auto; animation: gradShift 9s ease infinite; }
}

/* ---------- Logo marquee ---------- */
.trust__viewport {
  position: relative; overflow: hidden; margin-top: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 80px);
  width: max-content; opacity: .72;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 32s linear infinite; }
  .trust__viewport:hover .marquee { animation-play-state: paused; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
.marquee .trust__logo { white-space: nowrap; }

/* magnetic button press feedback */
.btn--primary:active { animation-play-state: paused; }

/* ============================================================
   2026 — AURORA MESH + FLUID ORGANIC SHAPES + GRAIN
   ============================================================ */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  filter: blur(64px); opacity: .55; will-change: transform, border-radius;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}
.blob--a { top: -12%; right: -6%;  background: radial-gradient(circle at 35% 35%, #2f8bff, transparent 68%); }
.blob--b { top: 14%;  right: 18%;  background: radial-gradient(circle at 50% 50%, #18cdd6, transparent 66%); opacity: .42; }
.blob--c { top: -4%;  right: 30%;  background: radial-gradient(circle at 60% 40%, #6a8bff, transparent 70%); opacity: .35; }

/* dark-section aurora tuned for contrast */
.aurora--ink .blob--a { background: radial-gradient(circle at 40% 40%, #1e64ff, transparent 66%); opacity: .5; top: -18%; left: -8%; right: auto; }
.aurora--ink .blob--b { background: radial-gradient(circle at 50% 50%, #18cdd6, transparent 64%); opacity: .38; top: auto; bottom: -22%; right: -6%; }
.aurora--ink .blob--c { background: radial-gradient(circle at 50% 50%, #7a4dff, transparent 70%); opacity: .26; top: 30%; left: 38%; right: auto; }

/* CTA band aurora (over the gradient, screen-blended highlights) */
.aurora--cta { z-index: 0; }
.aurora--cta .blob { mix-blend-mode: soft-light; filter: blur(50px); opacity: .8; }
.aurora--cta .blob--a { background: radial-gradient(circle at 40% 40%, #ffffff, transparent 64%); top: -24%; left: -6%; right: auto; }
.aurora--cta .blob--b { background: radial-gradient(circle at 50% 50%, #b9ecff, transparent 66%); bottom: -28%; right: -4%; top: auto; }
.aurora--cta .blob--c { background: radial-gradient(circle at 50% 50%, #8fe3ff, transparent 70%); top: 20%; left: 40%; right: auto; opacity: .5; }

/* ensure content sits above aurora */
.hero__grid, .sec--ink .wrap, .ctaband > h2, .ctaband > p, .ctaband__btns { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .blob--a { animation: morph 18s ease-in-out infinite, drift1 22s ease-in-out infinite; }
  .blob--b { animation: morph 22s ease-in-out infinite reverse, drift2 26s ease-in-out infinite; }
  .blob--c { animation: morph 26s ease-in-out infinite, drift3 30s ease-in-out infinite; }
  @keyframes morph {
    0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
    33%  { border-radius: 63% 37% 41% 59% / 57% 63% 37% 43%; }
    66%  { border-radius: 38% 62% 56% 44% / 49% 37% 63% 51%; }
  }
  @keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%, 6%) scale(1.12); } }
  @keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(6%, -5%) scale(.95); } }
  @keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-7%, -4%) scale(1.1); } }
}

/* subtle film grain for depth (2026) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .attrgrid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .lang { order: 2; }
  .nav__right .btn--ghost { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .mock { transform: none; margin-top: 8px; animation: none; }
  .mock__chip--tr { right: -8px; } .mock__chip--bl { left: -8px; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split__media { order: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }

  .sheet.open {
    display: block; position: fixed; inset: 72px 0 auto 0; z-index: 99;
    background: rgba(251,252,254,.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 16px var(--pad) 24px;
  }
  .sheet a { display: block; padding: 13px 4px; font-family: var(--display); font-weight: 500; font-size: 16px; border-bottom: 1px solid var(--line); }
  .sheet .btn { width: 100%; justify-content: center; margin-top: 16px; }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .mockstats { grid-template-columns: 1fr; }
  .mock__chip--tr, .mock__chip--bl { display: none; }
}
