/* ==========================================================================
   TEKTONIS — site styles
   Brand: blue and purple, used together as one gradient.
   Type: Geist (display and text), Geist Mono (labels).

   To match exact brand colours, change --blue and --violet below.
   Everything else (gradients, tints, glows) follows from them.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #2F6BFF;
  --indigo: #5B5CFF;
  --violet: #8B4DFF;
  --blue-soft: #8FB1FF;
  --violet-soft: #C2A6FF;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--indigo) 48%, var(--violet) 100%);
  --grad-soft: linear-gradient(100deg, var(--blue-soft) 0%, #A9A8FF 50%, var(--violet-soft) 100%);

  /* Light surfaces */
  --bg: #F7F8FC;
  --bg-2: #EEF0F8;
  --card: #FFFFFF;
  --ink: #0A0C1F;
  --ink-2: #474C69;
  --ink-3: #777C9C;
  --line: rgba(10, 12, 31, .11);
  --line-2: rgba(10, 12, 31, .06);
  --tint: #E8EDFF;
  --tint-2: #F2F4FF;
  --tint-v: #EFE8FF;
  --rose: #E5487A;

  /* Dark surfaces */
  --night: #070919;
  --night-2: #0F1130;
  --night-3: #1A1D4A;
  --on-dark: #F4F5FF;
  --on-dark-2: rgba(244, 245, 255, .72);
  --on-dark-3: rgba(244, 245, 255, .5);
  --line-dark: rgba(244, 245, 255, .12);

  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --nav-h: 76px;
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-1: 0 1px 2px rgba(10, 12, 31, .04), 0 14px 34px -18px rgba(27, 29, 74, .22);
  --shadow-2: 0 2px 6px rgba(10, 12, 31, .05), 0 44px 80px -36px rgba(27, 29, 74, .45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
sup { font-size: .46em; vertical-align: .9em; margin-left: .1em; font-weight: 400; color: var(--ink-3); line-height: 0; letter-spacing: 0; }

:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
::selection { background: #D9D4FF; color: var(--ink); }

[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; border-radius: 2px; background: var(--grad); }
.eyebrow--pill {
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.eyebrow--pill::before { display: none; }
.eyebrow--light { color: var(--blue-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-soft); box-shadow: 0 0 0 4px rgba(143, 177, 255, .18), 0 0 14px rgba(143, 177, 255, .8); }

/* Gradient emphasis: the brand's blue and purple, always together */
.h2 em, .hero__title em, .card--custom em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding: .14em .04em .14em 0; margin: -.14em 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__title em, .impact .h2 em, .card--custom em { background-image: var(--grad-soft); }

.h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.042em;
  text-wrap: balance;
}

.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font-size: .98rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease), filter .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 11px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 12px 28px -12px rgba(91, 92, 255, .8);
}
.btn--primary:hover { filter: brightness(1.1) saturate(1.05); box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 16px 36px -12px rgba(123, 84, 255, .95); }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, .7); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--on-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--live { background: var(--tint); color: #2450D8; }
.pill--live i { animation: blink 2s ease-in-out infinite; }
.pill--off { background: #ECEEF6; color: #555B7A; }
.pill--off i { background: #F5A524; }

@keyframes blink { 50% { opacity: .25; } }

/* --------------------------------------------------------------------------
   Navigation: a floating bar that sits over light and dark sections alike
   -------------------------------------------------------------------------- */
.nav { position: fixed; inset: 12px 0 auto 0; z-index: 90; padding-inline: clamp(10px, 2.4vw, 28px); pointer-events: none; }
.nav__in, .nav__mobile { pointer-events: auto; }
.nav__in {
  max-width: 1224px; margin-inline: auto; height: 60px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 18px; color: var(--on-dark);
  background: rgba(9, 11, 30, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 12px 40px -16px rgba(7, 9, 25, .7);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck .nav__in { background: rgba(9, 11, 30, .86); box-shadow: 0 16px 44px -16px rgba(7, 9, 25, .8); }

/* The name is the logo */
.brand {
  display: inline-block;
  font-size: 1.12rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  background: var(--grad-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding: .3em 0;
}
.brand--lg { font-size: 1.3rem; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 8px 14px; border-radius: 10px; font-size: .92rem; color: var(--on-dark-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__toggle {
  display: none; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); cursor: pointer;
  position: relative;
}
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.nav__mobile {
  max-width: 1224px; margin: 8px auto 0; padding: 8px 20px 12px; border-radius: 18px;
  background: rgba(9, 11, 30, .95); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -20px rgba(7, 9, 25, .8);
}
.nav__mobile a { display: block; padding: 14px 2px; font-size: 1.06rem; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.nav__mobile a:last-child { border-bottom: 0; color: var(--blue-soft); font-weight: 500; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-dark);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: calc(var(--nav-h) + clamp(44px, 7vw, 92px)) 0 clamp(30px, 4vw, 48px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 58% at 76% 34%, rgba(91, 92, 255, .6), transparent 70%),
    radial-gradient(38% 50% at 100% 78%, rgba(139, 77, 255, .5), transparent 70%),
    radial-gradient(42% 46% at 4% 0%, rgba(47, 107, 255, .34), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 72%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__title {
  margin-top: 26px;
  font-weight: 600;
  font-size: clamp(2.6rem, 5.9vw, 4.85rem);
  line-height: 1.01;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.hero__title em { display: block; }
.hero__lead { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--on-dark-2); max-width: 50ch; text-wrap: pretty; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__notes { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--on-dark-2); }
.hero__notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero__notes svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Stage: paper becomes product */
.stage { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 1 / 1.04; }
.stage__glow { position: absolute; inset: 8% -6% 0% 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 104, 255, .55), transparent); filter: blur(24px); }

.stage__tag {
  position: absolute; z-index: 3; top: -13px; left: 18px;
  padding: 4px 11px; border-radius: 999px;
  font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.stage__tag--before { background: #DADDEC; color: #3B4060; }
.stage__tag--after { background: var(--grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(91, 92, 255, .9); }

.paper-stack { position: absolute; left: 0; top: 3%; width: 56%; aspect-ratio: 1 / 1.32; transform: rotate(-5deg); transform-origin: 30% 60%; }
.paper-stack .stage__tag { top: -12px; left: 10px; }
.sheet {
  position: absolute; inset: 0; border-radius: 4px;
  background: #F4F3EE;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 40px -18px rgba(0, 0, 0, .6);
}
.sheet--3 { transform: rotate(5deg) translate(10px, 4px); background: #CFCFD6; }
.sheet--2 { transform: rotate(2.4deg) translate(5px, 2px); background: #E1E0E0; }
.sheet--1 {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 27px, rgba(229, 72, 122, .38) 27px, rgba(229, 72, 122, .38) 28px, transparent 28px),
    repeating-linear-gradient(180deg, transparent 0 23px, rgba(52, 84, 160, .2) 23px 24px),
    #F4F3EE;
  background-position: 0 0, 0 46px, 0 0;
}
.sheet__head {
  position: absolute; left: 0; right: 0; top: 0; height: 40px; padding: 0 14px 0 38px;
  display: flex; align-items: center;
  background: #F4F3EE; border-bottom: 1.5px solid rgba(10, 12, 31, .5);
  font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(10, 12, 31, .72);
  white-space: nowrap;
}
.sheet__ink { position: absolute; left: 38px; top: 54px; width: calc(100% - 56px); height: 62%; fill: none; stroke: #2D4C9E; stroke-width: 1.5; stroke-linecap: round; opacity: .72; }
.sheet__sig { stroke-width: 1.9; }
.sheet__stamp {
  position: absolute; left: 44px; bottom: 7%;
  padding: 3px 8px; border: 1.5px solid var(--rose); border-radius: 4px; color: var(--rose);
  font-family: var(--mono); font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-7deg); opacity: .8;
}

.app-card {
  position: absolute; right: 0; top: 13%; width: 67%;
  padding: 20px 20px 18px; color: var(--ink);
  background: #fff; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 50px 90px -30px rgba(60, 50, 200, .75), 0 20px 40px -20px rgba(7, 9, 25, .6);
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-7px); } }

.app-card__bar { display: flex; align-items: center; justify-content: space-between; }
.app-card__app { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.app-card__app i { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.app-card__title { margin-top: 14px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.app-card__title span { color: var(--ink-3); font-weight: 400; }

.checks { margin-top: 14px; display: grid; gap: 9px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.box {
  flex: none; width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center;
  border: 1.5px solid rgba(10, 12, 31, .24);
  animation: boxfill 9s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s + .5s);
}
.box svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; animation: tick 9s var(--ease) infinite; animation-delay: calc(var(--i) * .5s + .5s); }
@keyframes boxfill {
  0%, 2% { background: transparent; border-color: rgba(10, 12, 31, .24); }
  6%, 86% { background: var(--indigo); border-color: var(--indigo); }
  92%, 100% { background: transparent; border-color: rgba(10, 12, 31, .24); }
}
@keyframes tick {
  0%, 3% { stroke-dashoffset: 14; }
  8%, 86% { stroke-dashoffset: 0; }
  92%, 100% { stroke-dashoffset: 14; }
}

.sig { position: relative; margin-top: 16px; padding: 10px 12px 8px; border-radius: 14px; background: var(--tint-2); border: 1px dashed rgba(91, 92, 255, .4); }
.sig__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sig__svg { width: 100%; height: 46px; }
.sig__path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sign 9s ease-in-out infinite; }
@keyframes sign {
  0%, 30% { stroke-dashoffset: 1; opacity: 1; }
  50%, 86% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
.sig__seal {
  position: absolute; right: 10px; top: 9px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 6px; border-radius: 999px; background: var(--grad); color: #fff;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .04em;
  animation: seal 9s var(--ease) infinite;
}
.sig__seal svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes seal {
  0%, 51% { opacity: 0; transform: translateY(5px) scale(.94); }
  56%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: none; }
}

.app-card__foot { margin-top: 14px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; font-size: .76rem; color: var(--ink-3); }
.zero-chip { padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .76rem; letter-spacing: -.005em; }

.float-card {
  position: absolute; left: -5%; bottom: 7%; z-index: 2;
  display: grid; gap: 2px; padding: 14px 18px 12px;
  background: rgba(15, 17, 48, .78); color: var(--on-dark); border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 30px 50px -22px rgba(7, 9, 25, .9);
  animation: floaty 9s ease-in-out -4.5s infinite;
}
.float-card__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.float-card__num {
  font-size: 2.2rem; font-weight: 600; letter-spacing: -.045em; line-height: 1.08; font-variant-numeric: tabular-nums;
  background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.float-card__sub { font-size: .7rem; color: var(--on-dark-3); }

/* "Plugs into" strip */
.fits {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
}
.fits__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-3); }
.fits__list { display: flex; flex-wrap: wrap; gap: 8px 34px; font-size: 1.02rem; font-weight: 500; letter-spacing: -.015em; color: var(--on-dark-2); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); align-items: end; gap: 24px 56px; }
.head--split > div { display: grid; gap: 18px; }
.head--split .lead { justify-self: end; padding-bottom: 6px; }

/* --------------------------------------------------------------------------
   What we replace
   -------------------------------------------------------------------------- */
.swaps { border-top: 1px solid var(--line); }
.swaprow {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 56px minmax(0, 1.2fr) 160px;
  align-items: center; gap: 0 22px;
  padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.swaprow::after {
  content: ""; position: absolute; inset: 0 calc(var(--gut) * -.5); z-index: -1; border-radius: 16px;
  background: var(--card); opacity: 0; transition: opacity .3s var(--ease);
}
.swaprow:hover::after { opacity: 1; }
.swaprow__n { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.swaprow__old { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-3); }
.swaprow__old span {
  background: linear-gradient(var(--rose), var(--rose)) no-repeat 0 56% / 0% 1.5px;
  transition: background-size 1s var(--ease) .35s;
}
.swaprow.in .swaprow__old span, html:not(.js) .swaprow__old span { background-size: 100% 1.5px; }
.swaprow__arrow { width: 48px; height: 24px; fill: none; stroke: var(--indigo); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.swaprow:hover .swaprow__arrow { transform: translateX(6px); }
.swaprow__new { font-size: clamp(1.15rem, 1.95vw, 1.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.22; }
.swaprow__tag {
  justify-self: end; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line);
  font-size: .84rem; font-weight: 500; color: var(--indigo); background: var(--card); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.swaprow__tag:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* --------------------------------------------------------------------------
   Solutions bento
   -------------------------------------------------------------------------- */
.solutions { background: var(--bg-2); border-radius: var(--r-xl) var(--r-xl) 0 0; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 10px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.card:hover { box-shadow: 0 2px 4px rgba(10, 12, 31, .04), 0 30px 54px -28px rgba(60, 50, 200, .45); }
.js .card[data-reveal].in:hover { transform: translateY(-4px); }
.card--wide { grid-column: span 4; flex-direction: row; align-items: stretch; }
.card--wide .card__body { flex: 1 1 46%; padding: 22px 12px 18px 20px; }
.card--wide .viz { flex: 1 1 54%; }
.card--wide .card__name { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.card--wide .card__line { font-size: 1.08rem; }
.card--wide .card__list { font-size: .96rem; gap: 11px; }

.card__body { padding: 22px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.card__name { margin-top: 10px; font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.card__line { margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.card__list { margin-top: 18px; display: grid; gap: 9px; font-size: .92rem; line-height: 1.45; color: var(--ink); }
.card__list li { position: relative; padding-left: 22px; }
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px;
  border-left: 1.8px solid var(--indigo); border-bottom: 1.8px solid var(--indigo); transform: rotate(-45deg);
}
.card__replaces { margin-top: auto; padding-top: 16px; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.card__replaces::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 14px; margin-top: 6px; }
.card__replaces span {
  display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px;
  background: #ECEEF6; color: #555B7A;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
}

.card--custom {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px);
  background: var(--night); color: var(--on-dark); border-color: transparent;
}
.card--custom::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 120% at 100% 50%, rgba(139, 77, 255, .5), transparent 70%), radial-gradient(40% 120% at 0% 0%, rgba(47, 107, 255, .4), transparent 70%);
}
.card--custom .card__kicker { color: var(--on-dark-3); }
.card--custom .card__name { font-size: clamp(1.4rem, 2.6vw, 2.1rem); max-width: 24ch; }
.card__go { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 50px; padding: 0 22px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 500; transition: transform .25s var(--ease); }
.card__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.card--custom:hover .card__go svg { transform: translateX(4px); }

/* Card visuals */
.viz { position: relative; border-radius: 18px; height: 232px; padding: 18px; display: grid; align-content: center; overflow: hidden; }

.viz--ops { background: linear-gradient(150deg, #EAF0FF, #ECE5FF); gap: 12px; align-content: center; height: auto; min-height: 300px; }
.chat { display: grid; justify-items: start; gap: 6px; }
.chat__meta { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #4A4FB5; }
.chat__bubble { max-width: 86%; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: .88rem; line-height: 1.4; box-shadow: 0 6px 16px -10px rgba(27, 29, 74, .4); }
.chat__then { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; font-size: .74rem; color: var(--indigo); font-weight: 500; }
.chat__then svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tasks { display: grid; gap: 7px; }
.task { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 18px -14px rgba(27, 29, 74, .5); }
.task__txt { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.task__txt b { font-size: .86rem; font-weight: 600; letter-spacing: -.01em; }
.task__txt small { font-size: .72rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task__timer { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); padding: 3px 8px; border-radius: 7px; background: var(--bg); }
.task__ok { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.task__ok svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.task--done .task__txt b { color: var(--ink-2); }
.tag { flex: none; min-width: 38px; padding: 4px 6px; border-radius: 8px; text-align: center; font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .04em; }
.tag--hk { background: var(--night-2); color: var(--blue-soft); }
.tag--eng { background: var(--tint-v); color: #6B3FD9; }
.tag--lf { background: var(--tint); color: #2450D8; }

.viz--doc { background: linear-gradient(150deg, #F3EEFF, #E6DCFF); justify-items: center; }
.doc { width: min(100%, 232px); padding: 16px 16px 14px; border-radius: 10px; background: #fff; box-shadow: 0 16px 30px -18px rgba(70, 40, 160, .55); display: grid; gap: 7px; transform: rotate(-1.6deg); }
.doc__title { font-size: .92rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 3px; }
.doc__l { display: block; height: 5px; border-radius: 3px; background: rgba(10, 12, 31, .09); }
.doc__sign { margin-top: 4px; border-bottom: 1.5px solid rgba(10, 12, 31, .3); }
.doc__sign svg { width: 76%; height: 36px; fill: none; stroke: #1B2F8B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc__seal { justify-self: start; margin-top: 5px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--mono); font-size: .62rem; letter-spacing: .03em; }
.doc__seal svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.viz--sign { background: radial-gradient(90% 90% at 100% 0%, rgba(91, 92, 255, .5), transparent 70%), linear-gradient(160deg, #12143A, #080A1C); padding: 16px; }
.screen { display: grid; gap: 8px; color: var(--on-dark); }
.screen__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.screen__live { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-soft); }
.screen__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft); animation: blink 2s ease-in-out infinite; }
.screen__row { display: grid; grid-template-columns: 46px 1fr auto; align-items: baseline; gap: 8px; padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, .07); font-size: .86rem; }
.screen__row b { font-family: var(--mono); font-size: .74rem; font-weight: 500; color: var(--blue-soft); }
.screen__row em { font-style: normal; font-size: .74rem; color: var(--on-dark-2); }
.screen__map { width: 100%; height: 52px; margin-top: 2px; fill: none; }
.screen__corr { stroke: rgba(255, 255, 255, .12); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.screen__route { stroke: var(--blue-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: route 5s var(--ease) infinite; }
.screen__you { fill: #fff; }
.screen__dest { fill: var(--violet-soft); }
@keyframes route { 0% { stroke-dashoffset: 1; } 55%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.viz--pos { background: linear-gradient(150deg, #F1F2F8, #E3E6F1); justify-items: center; }
.tape { width: min(100%, 250px); padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px -18px rgba(27, 29, 74, .45); display: grid; gap: 7px; font-size: .84rem; }
.tape__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tape__top b { font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.tape__row { display: flex; justify-content: space-between; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tape__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--ink-3); }
.tape__total b { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.viz--flow { background: linear-gradient(150deg, #EAF0FF, #DCE5FF); }
.run { position: relative; display: grid; gap: 14px; padding-left: 4px; }
.run::before { content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 1.5px; background: rgba(91, 92, 255, .3); }
.run li { position: relative; display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: center; line-height: 1.25; }
.run__dot { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); position: relative; box-shadow: 0 0 0 4px #E4EAFF; }
.run__dot::after { content: ""; position: absolute; left: 6px; top: 6.5px; width: 8px; height: 4.5px; border-left: 1.7px solid #fff; border-bottom: 1.7px solid #fff; transform: rotate(-45deg); }
.run b { font-size: .86rem; font-weight: 600; letter-spacing: -.01em; }
.run small { grid-column: 2; font-size: .73rem; color: #5B6190; }

/* --------------------------------------------------------------------------
   Impact calculator
   -------------------------------------------------------------------------- */
.impact { background: var(--bg-2); padding: 0 clamp(8px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px); }
.impact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--night);
  color: var(--on-dark);
  padding: clamp(56px, 8vw, 112px) 0;
}
.impact__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(139, 77, 255, .5), transparent 66%),
    radial-gradient(46% 64% at 0% 100%, rgba(47, 107, 255, .46), transparent 70%);
}
.impact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.impact .h2 { margin-top: 18px; }
.impact .lead { margin-top: 18px; color: var(--on-dark-2); }

.field { margin-top: 30px; }
.field:first-of-type { margin-top: 38px; }
.field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; font-size: .96rem; color: rgba(244, 245, 255, .88); }
.field__top output { font-family: var(--mono); font-size: .9rem; color: var(--blue-soft); white-space: nowrap; }

.range {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; margin: 0;
  background: transparent; cursor: pointer; --p: 50%;
}
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #5B8CFF, #A77BFF) 0 / var(--p) 100% no-repeat, rgba(244, 245, 255, .16); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(244, 245, 255, .16); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #5B8CFF, #A77BFF); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid #7A6BFF; box-shadow: 0 0 0 5px rgba(122, 107, 255, .28); transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 6px solid #7A6BFF; box-shadow: 0 0 0 5px rgba(122, 107, 255, .28); }
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { transform: scale(1.14); }
.range:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }

.impact__results {
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(244, 245, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.impact__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-2); }
.impact__big { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-weight: 600; font-size: clamp(2.9rem, 6.6vw, 5.3rem); line-height: 1.04; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.impact__big > span { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: .06em; }
.impact__big small { font-size: 1.05rem; letter-spacing: 0; color: var(--on-dark-2); font-weight: 400; }
.impact__stack { margin-top: 14px; font-size: .98rem; color: rgba(244, 245, 255, .82); min-height: 3.2em; max-width: 46ch; }

.tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 18px 16px 16px; border-radius: 16px; background: rgba(244, 245, 255, .06); border: 1px solid rgba(244, 245, 255, .1); display: grid; gap: 4px; align-content: start; }
.tile svg { width: 22px; height: 22px; margin-bottom: 10px; fill: none; stroke: var(--blue-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile__num { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile__label { font-size: .8rem; line-height: 1.35; color: var(--on-dark-2); }

.impact__foot { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; align-items: center; }
.impact__note { font-size: .74rem; line-height: 1.5; color: var(--on-dark-3); }

/* --------------------------------------------------------------------------
   How it works + principles
   -------------------------------------------------------------------------- */
.approach { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 28px 26px 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(140deg, var(--tint), var(--tint-v)); color: var(--indigo); font-family: var(--mono); font-size: .8rem; font-weight: 600; }
.step__t { margin-top: 46px; font-size: 1.42rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.step__p { margin-top: 10px; color: var(--ink-2); font-size: .98rem; line-height: 1.55; text-wrap: pretty; }

.why { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why__item { padding: 30px 26px 4px 0; }
.why__item + .why__item { padding-left: 26px; border-left: 1px solid var(--line); }
.why__item svg { width: 26px; height: 26px; fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { margin-top: 18px; font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.why__item p { margin-top: 8px; font-size: .92rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--bg-2); padding-top: 0; }
.contact__panel {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(47, 107, 255, .2), transparent 62%),
    radial-gradient(60% 80% at 100% 100%, rgba(139, 77, 255, .22), transparent 62%),
    #fff;
  border: 1px solid rgba(91, 92, 255, .16);
}
.contact__copy { display: grid; gap: 18px; align-content: start; }
.contact__points { margin-top: 8px; display: grid; gap: 12px; font-size: 1rem; }
.contact__points li { display: flex; gap: 11px; align-items: flex-start; }
.contact__points svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--grad); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.contact__mail { margin-top: 10px; font-size: .96rem; color: var(--ink-2); }
.contact__mail a { color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(10, 12, 31, .35); transition: border-color .2s var(--ease), color .2s var(--ease); }
.contact__mail a:hover { border-color: var(--indigo); color: var(--indigo); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: grid; gap: 7px; }
.form__field label, .form__chips legend { font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.form__opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.form textarea { resize: vertical; min-height: 92px; }
.form input:hover, .form textarea:hover { border-color: rgba(10, 12, 31, .3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(91, 92, 255, .16); }
.form .is-invalid { border-color: var(--rose) !important; box-shadow: 0 0 0 4px rgba(229, 72, 122, .12) !important; }

.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { margin-bottom: 9px; padding: 0; float: left; width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: .9rem; transition: all .2s var(--ease); }
.chip:hover span { border-color: rgba(10, 12, 31, .35); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 3px; }

.form__status { padding: 13px 15px; border-radius: 12px; background: var(--tint-2); border: 1px solid rgba(91, 92, 255, .22); font-size: .92rem; line-height: 1.5; color: #23267A; }
.form__status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form__status.is-error { background: #FDECF2; border-color: rgba(229, 72, 122, .35); color: #9B1F4A; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark-2); padding: clamp(56px, 7vw, 92px) 0 28px; }
.foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 110%, rgba(91, 92, 255, .42), transparent 70%);
}
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.foot__brand p { margin-top: 16px; max-width: 34ch; font-size: .96rem; line-height: 1.6; }
.foot h4 { margin-bottom: 14px; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.foot nav a { display: block; padding: 5px 0; font-size: .95rem; color: rgba(244, 245, 255, .84); transition: color .2s var(--ease); overflow-wrap: anywhere; }
.foot nav a:hover { color: var(--blue-soft); }
.foot__big {
  margin: clamp(36px, 6vw, 72px) 0 clamp(4px, 1vw, 12px);
  font-weight: 700; font-size: clamp(2.7rem, 15.4vw, 12.9rem); line-height: 1; letter-spacing: -.06em; white-space: nowrap;
  padding-bottom: .1em;
  background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .12) 96%);
  mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .12) 96%);
}
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--on-dark-3); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-column: span 1; }
  .card--wide, .card--custom { grid-column: 1 / -1; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why__item { padding-bottom: 28px; }
}

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .hero__grid { grid-template-columns: 1fr; }
  .stage { margin-inline: auto; max-width: 520px; }

  .head--split { grid-template-columns: 1fr; }
  .head--split .lead { justify-self: start; }

  .swaprow { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 6px 14px; align-items: start; }
  .swaprow__n { grid-row: span 2; padding-top: 5px; }
  .swaprow__arrow { display: none; }
  .swaprow__old { grid-column: 2 / -1; }
  .swaprow__new { grid-column: 2; }
  .swaprow__tag { grid-column: 3; align-self: center; }

  .impact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step__t { margin-top: 26px; }
  .contact__panel { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --nav-h: 70px; --r-xl: 28px; }
  .nav { inset: 8px 0 auto 0; }
  .nav__in { height: 54px; padding: 0 7px 0 16px; border-radius: 16px; }
  .nav__cta .btn { display: none; }
  .brand { font-size: 1rem; }

  .hero__actions .btn { width: 100%; }
  .stage { aspect-ratio: 1 / 1.3; }
  .paper-stack { width: 60%; }
  .app-card { width: 76%; top: 12%; padding: 16px 16px 14px; }
  .app-card__title { font-size: 1.14rem; }
  .checks li { font-size: .82rem; }
  .float-card { left: 0; bottom: 0; padding: 11px 14px 10px; }
  .float-card__num { font-size: 1.8rem; }
  .app-card__foot span:last-child { display: none; }
  .fits { flex-direction: column; gap: 14px; }
  .fits__list { gap: 6px 22px; font-size: .96rem; }

  .swaprow { grid-template-columns: 30px minmax(0, 1fr); }
  .swaprow__tag { grid-column: 2; justify-self: start; margin-top: 8px; }

  .bento { grid-template-columns: 1fr; }
  .card, .card--wide { grid-column: 1 / -1; }
  .card--wide { flex-direction: column-reverse; }
  .card--wide .card__body { padding: 22px 16px 16px; }
  .card--custom { flex-direction: column; align-items: flex-start; }

  .tiles { grid-template-columns: 1fr; }
  .tile { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .tile svg { grid-row: span 2; margin: 0; }
  .impact__foot { grid-template-columns: 1fr; }
  .impact__foot .btn { width: 100%; }

  .why { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 24px 0; border-left: 0; }
  .why__item + .why__item { border-top: 1px solid var(--line); }

  .form__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Reduced motion: show the finished state, skip the show
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .box { background: var(--indigo); border-color: var(--indigo); }
  .box svg, .sig__path, .screen__route { stroke-dashoffset: 0; }
  .swaprow__old span { background-size: 100% 1.5px; }
}
