/* InduSketch website: dark, technical, glass surfaces. Palette follows the app (primary blue). */
:root {
  --bg: #070b12;
  --bg-2: #0b1220;
  --bg-3: #101a2c;
  --surface: rgb(255 255 255 / 4%);
  --surface-2: rgb(255 255 255 / 7%);
  --line: rgb(255 255 255 / 9%);
  --line-strong: rgb(127 179 255 / 30%);
  --text: #c7d2e2;
  --text-strong: #f4f7fb;
  --muted: #8a99ad;
  --primary: #3b82f6;
  --primary-2: #38bdf8;
  --accent: #7fb3ff;
  --ok: #34d399;
  --radius: 18px;
  --shadow: 0 30px 80px rgb(0 0 0 / 45%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgb(59 130 246 / 10%), transparent 60%), var(--bg);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  color: var(--text-strong);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 780;
}

h3 {
  font-size: 1.14rem;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.narrow {
  width: min(860px, 100% - 48px);
}

.center {
  text-align: center;
  justify-content: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-2);
}

.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.gradient-text {
  background: linear-gradient(100deg, #7fb3ff 0%, #38bdf8 45%, #a5f3fc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
  50% {
    background-position: 100% 0;
  }
}

.fine {
  font-size: 0.88rem;
  color: var(--muted);
}

.checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052e1a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    var(--ok);
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 11 18 / 80%);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-over-hero {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.site-header.is-over-hero.is-scrolled {
  background: rgb(7 11 18 / 78%);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.brand-small {
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}

.main-nav a {
  position: relative;
  color: rgb(230 237 245 / 82%);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.lang-switch a {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgb(230 237 245 / 70%);
  text-decoration: none;
}

.lang-switch a[aria-current='true'] {
  background: var(--primary);
  color: #fff;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-strong);
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  box-shadow: 0 12px 30px rgb(37 99 235 / 40%);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgb(14 165 233 / 50%);
}

.btn-glass {
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 22%);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgb(255 255 255 / 15%);
  border-color: var(--line-strong);
}

.btn-large {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.04rem;
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.chip {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.chip:hover {
  border-color: var(--line-strong);
  color: #fff;
}

.chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  box-shadow: 0 8px 22px rgb(37 99 235 / 35%);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--bg);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -2% 0;
  z-index: -3;
  will-change: transform;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(7 11 18 / 92%) 0%, rgb(7 11 18 / 60%) 38%, rgb(7 11 18 / 10%) 70%),
    linear-gradient(
      180deg,
      rgb(7 11 18 / 50%) 0%,
      transparent 30%,
      rgb(7 11 18 / 20%) 70%,
      var(--bg) 100%
    );
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgb(127 179 255 / 35%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(127 179 255 / 35%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 60%, #000 0%, transparent 60%);
  animation: drift 30s linear infinite;
}

@keyframes drift {
  to {
    background-position: 64px 64px;
  }
}

.hero-content {
  padding: 150px 0 140px;
  max-width: 860px;
  margin-left: max(24px, calc((100% - 1240px) / 2));
}

.hero h1 {
  color: #fff;
  text-shadow: 0 6px 40px rgb(0 0 0 / 40%);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  backdrop-filter: blur(8px);
}

.hero .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgb(52 211 153 / 25%);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgb(52 211 153 / 0%);
  }
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: rgb(230 237 245 / 86%);
  max-width: 660px;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgb(230 237 245 / 62%);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid rgb(255 255 255 / 40%);
  border-radius: 16px;
}

.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scroll 2s var(--ease) infinite;
}

@keyframes scroll {
  60% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------------------------------------------------------------- stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: rgb(16 26 44 / 75%);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 28px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #7fb3ff 55%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat > span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- sections */
.section {
  padding: 130px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}

.section-dark {
  background:
    radial-gradient(ellipse at 15% 0%, rgb(37 99 235 / 22%) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgb(14 165 233 / 16%) 0%, transparent 50%), var(--bg-2);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
}

.section-lead {
  color: var(--muted);
  font-size: 1.14rem;
  margin: 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* A picture or video in a framed, slightly glowing window. */
.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgb(127 179 255 / 6%) inset;
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
}

.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

/* `height: auto` lets the aspect ratio win over the height attribute of the picture. */
.media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------------------------------------------------------------- story */
.story-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-row + .story-row {
  margin-top: 110px;
}

.story-row.is-flipped {
  grid-template-columns: 1fr 1.35fr;
}

.story-row.is-flipped .story-media {
  order: 2;
}

.story-index {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-2);
  font-variant-numeric: tabular-nums;
}

.story-text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 780;
}

.story-text p {
  margin: 0;
  font-size: 1.06rem;
}

.stage-glow,
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgb(255 255 255 / 12%),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.frame:hover .stage-glow,
.glow-card:hover::before {
  opacity: 1;
}

/* ---------------------------------------------------------------- compare */
.compare-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-top: 1px solid var(--line);
}

.compare-modes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 28px;
}

.compare {
  --pos: 50%;
  aspect-ratio: 16 / 9;
  user-select: none;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  clip-path: inset(0 0 0 var(--pos));
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 18px rgb(0 0 0 / 45%);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 40%);
}

.compare-knob::before,
.compare-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -6px;
  border: 6px solid transparent;
}

.compare-knob::before {
  left: 8px;
  border-right-color: var(--primary);
}

.compare-knob::after {
  right: 8px;
  border-left-color: var(--primary);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgb(7 11 18 / 62%);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.compare-label-before {
  left: 16px;
}

.compare-label-after {
  right: 16px;
}

/* ---------------------------------------------------------------- promo film */
.promo-section {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}

.promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Big play button over the poster; gone once the film runs. */
.promo-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 650;
  font-size: 1.08rem;
  cursor: pointer;
  background: radial-gradient(ellipse at center, rgb(7 11 18 / 25%), rgb(7 11 18 / 55%));
  transition: background 0.3s;
}

.promo-play:hover {
  background: radial-gradient(ellipse at center, rgb(7 11 18 / 10%), rgb(7 11 18 / 45%));
}

.promo-play[hidden] {
  display: none;
}

.promo-play .play-mark {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  box-shadow: 0 16px 44px rgb(14 165 233 / 50%);
  transition: transform 0.3s var(--ease);
}

.promo-play:hover .play-mark {
  transform: scale(1.08);
}

/* A triangle drawn with a mask, so it takes the button's colour. */
.play-mark {
  position: relative;
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
}

.play-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36%;
  height: 40%;
  translate: 8% 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.btn .play-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.btn .play-mark::before {
  width: 40%;
  height: 44%;
}

.duration {
  font-weight: 500;
  opacity: 0.7;
}

.promo-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.promo-ctas {
  margin-top: 34px;
}

/* The film large over the page from the hero button. */
.promo-dialog {
  width: min(1280px, 94vw);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #000;
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: visible;
}

.promo-dialog::backdrop {
  background: rgb(3 6 12 / 82%);
  backdrop-filter: blur(6px);
}

.promo-dialog .promo-video {
  border-radius: 16px;
  max-height: 86vh;
}

.promo-dialog .promo-note {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
}

.promo-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.promo-close:hover {
  background: rgb(255 255 255 / 20%);
}

/* ---------------------------------------------------------------- cards */
.glow-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.glow-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.glow-card p {
  margin: 0;
}

.use-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.use-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.use-body {
  padding: 26px 28px 30px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(37 99 235 / 35%), rgb(14 165 233 / 22%));
  border: 1px solid rgb(127 179 255 / 32%);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #cfe3ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 24px;
}

.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------------------------------------------------------------- costs */
.costs {
  background:
    radial-gradient(ellipse at 85% 30%, rgb(52 211 153 / 10%) 0%, transparent 50%), var(--bg);
  border-top: 1px solid var(--line);
}

.costs-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.costs-text > p:not(.kicker) {
  font-size: 1.08rem;
}

.costs-media {
  max-width: 420px;
  max-height: 620px;
  justify-self: center;
  padding: 14px;
  background: #fff;
}

.costs-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  max-height: 590px;
}

/* ---------------------------------------------------------------- band */
.band {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--bg);
}

.band-media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}

.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgb(7 11 18 / 92%) 0%,
    rgb(7 11 18 / 50%) 60%,
    rgb(7 11 18 / 25%) 100%
  );
}

.band-quote {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.band-sub {
  max-width: 560px;
  margin: 0;
  font-size: 1.12rem;
  color: rgb(230 237 245 / 80%);
}

/* ---------------------------------------------------------------- steps */
.steps {
  position: relative;
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0.4;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 8px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow:
    0 0 0 8px var(--bg),
    0 16px 34px rgb(37 99 235 / 40%);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  margin: 56px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}

/* ---------------------------------------------------------------- faq */
.faq {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--text-strong);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--primary-2);
  background: rgb(56 189 248 / 12%);
  transition: transform 0.3s var(--ease);
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ---------------------------------------------------------------- contact */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0;
  color: #d8e2ef;
  background: var(--bg);
}

.contact-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.05);
  opacity: 0.4;
}

.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, rgb(7 11 18 / 55%), rgb(7 11 18 / 95%) 70%);
}

.contact-content > p {
  font-size: 1.12rem;
}

.contact .cta-row {
  justify-content: center;
}

.contact-lines {
  margin-top: 26px;
  color: #9fb0c6;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- legal */
.legal-page .site-header {
  position: sticky;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal h2 {
  margin-top: 1.8em;
  font-size: 1.35rem;
}

.legal h3 {
  margin-top: 1.4em;
}

.legal .muted {
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 22px;
  margin: 0;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: 28px 0;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-row nav {
  display: flex;
  gap: 20px;
}

.footer-row a {
  color: var(--muted);
}

.footer-note {
  margin: 10px auto 0;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    transform 0.9s var(--ease) var(--d, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggering via attributes: the Content-Security-Policy forbids inline style attributes. */
[data-d='1'] {
  --d: 100ms;
}

[data-d='2'] {
  --d: 200ms;
}

[data-d='3'] {
  --d: 300ms;
}

[data-d='4'] {
  --d: 400ms;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .story-row,
  .costs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-row.is-flipped {
    grid-template-columns: 1fr;
  }

  .story-row.is-flipped .story-media {
    order: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .section {
    padding: 84px 0;
  }

  .grid-3,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .hero-content {
    padding: 120px 0 120px;
  }

  .header-actions .btn-small {
    display: none;
  }

  .story-row + .story-row {
    margin-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
