/* Dantum landing page. Tokens are the dashboard's (cloud/frontend/src/index.css): frosted glass over a calm grainy
 * light-grey backdrop, the aurora gradient only where something must stand out, Inter with big light numerals.
 * The dark stages borrow the cinematic contrast of the diagrams' backdrop. Light only, like the dashboard. */

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gray-25: #fbfbfc;
  --gray-50: #f6f6f8;
  --gray-100: #eeeef1;
  --gray-200: #e3e3e8;
  --gray-300: #d0d0d7;
  --gray-400: #a0a0ab;
  --gray-500: #71717b;
  --gray-600: #52525c;
  --gray-700: #3d3d46;
  --gray-800: #26262c;
  --gray-900: #121216;

  --brand-600: #9b3fe0;
  --aurora-1: #ff9a4d;
  --aurora-2: #ff4f93;
  --aurora-3: #b44cf0;
  --sapphire: #86b4ff;
  --success-500: #12b76a;

  --ink: #0c0c11;
  --ink-2: #15151c;
  --line-dark: rgb(255 255 255 / 0.08);

  --shadow-glass: 0 1px 1px rgb(18 18 22 / 0.02), 0 10px 30px -12px rgb(30 24 60 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.9);
  --shadow-lift: 0 2px 4px rgb(18 18 22 / 0.04), 0 18px 40px -14px rgb(30 24 60 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.9);
  --shadow-glow: 0 10px 30px -10px rgb(255 79 147 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.35);
  --shadow-stage: 0 40px 80px -30px rgb(20 10 40 / 0.45), 0 2px 6px rgb(18 18 22 / 0.1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ base */

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

html {
  background-color: #ebebee;
  color: var(--gray-700);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  background: transparent;
  overflow-x: hidden;
}

/* Calm backdrop: pale colour fields, then grain, behind everything. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(42rem 32rem at 6% -6%, rgb(255 212 184 / 0.6), transparent 70%),
    radial-gradient(38rem 30rem at 96% 4%, rgb(222 210 255 / 0.65), transparent 70%),
    radial-gradient(46rem 34rem at 72% 108%, rgb(196 234 218 / 0.55), transparent 70%),
    radial-gradient(32rem 26rem at 4% 100%, rgb(255 208 230 / 0.4), transparent 70%);
}
body::after {
  background-image: var(--grain);
  background-size: 180px;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--gray-900);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

h3 {
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide {
  max-width: 1320px;
}

.section {
  padding-block: clamp(80px, 11vw, 150px) 0;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.grad {
  background: linear-gradient(100deg, var(--aurora-1) 0%, var(--aurora-2) 50%, var(--aurora-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}

/* ------------------------------------------------------------------ surfaces (as in the dashboard) */

.glass {
  background-color: rgb(255 255 255 / 0.68);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-glass);
}

.bg-aurora {
  background-color: var(--aurora-2);
  background-image:
    radial-gradient(55% 45% at 50% 62%, rgb(255 112 40 / 0.75), transparent 70%),
    linear-gradient(172deg, #ffa86e 0%, #fb7f4c 24%, #ec4f9c 60%, #b052ef 84%, #d27ae6 100%);
  text-shadow: 0 1px 2px rgb(120 20 60 / 0.18);
}

.grainy {
  position: relative;
  isolation: isolate;
}
.grainy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--grain);
  background-size: 180px;
  opacity: 0.32;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.lens {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 18px;
  color: var(--gray-800);
  cursor: pointer;
  background:
    radial-gradient(circle at 32% 24%, #fff 0%, rgb(255 255 255 / 0.85) 40%, rgb(242 242 247 / 0.75) 100%) padding-box,
    conic-gradient(from 210deg, #f4c9ff, #c9dcff, #ffffff, #ffd9c4, #f4c9ff) border-box;
  box-shadow: inset 0 -2px 5px rgb(160 140 255 / 0.12), 0 6px 14px -6px rgb(30 24 60 / 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lens:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 5px rgb(160 140 255 / 0.16), 0 10px 20px -8px rgb(30 24 60 / 0.3);
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding-inline: 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-sm {
  height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}
.btn-dark {
  color: #fff;
  background: var(--gray-900);
  box-shadow: 0 10px 24px -10px rgb(18 18 22 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.btn-dark:hover {
  box-shadow: 0 16px 30px -12px rgb(18 18 22 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.btn-glass {
  color: var(--gray-900);
  background: rgb(255 255 255 / 0.6);
  border: 1px solid rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}
.btn-white {
  color: var(--gray-900);
  background: #fff;
  text-shadow: none;
  box-shadow: 0 12px 30px -12px rgb(80 10 50 / 0.5);
}
.btn-ghost {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.08);
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nav.scrolled .nav-inner {
  background-color: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-color: rgb(255 255 255 / 0.85);
  box-shadow: var(--shadow-glass);
}
.nav-logo img {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover {
  color: var(--gray-900);
  background: rgb(255 255 255 / 0.7);
}

/* Language switch: a small segmented pill, the current language dark. */
.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgb(18 18 22 / 0.05);
  box-shadow: inset 0 1px 2px rgb(18 18 22 / 0.05);
}
.lang button {
  height: 32px;
  min-width: 38px;
  padding-inline: 10px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.lang button:hover {
  color: var(--gray-900);
}
.lang button[aria-pressed="true"] {
  color: var(--gray-900);
  background: #fff;
  box-shadow: 0 1px 3px rgb(18 18 22 / 0.12);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding-top: clamp(120px, 14vw, 160px);
}
.hero-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(30rem 22rem at 70% 18%, rgb(255 140 110 / 0.35), transparent 70%),
    radial-gradient(30rem 24rem at 30% 30%, rgb(190 150 255 / 0.3), transparent 70%);
  filter: blur(10px);
}
.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: rgb(255 255 255 / 0.65);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-glass);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 4px rgb(18 183 106 / 0.16);
}
.hero h1 {
  margin-top: 28px;
  max-width: 13ch;
  font-size: clamp(46px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.lead {
  margin-top: 28px;
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--gray-600);
  text-wrap: pretty;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* ------------------------------------------------------------------ dark stage for the diagrams */

.stage {
  position: relative;
  isolation: isolate;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  background:
    radial-gradient(40rem 20rem at 85% 0%, rgb(180 76 240 / 0.22), transparent 70%),
    radial-gradient(36rem 22rem at 10% 100%, rgb(255 79 147 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  box-shadow: var(--shadow-stage), inset 0 1px 0 rgb(255 255 255 / 0.08);
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 180px;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.stage-flat {
  margin-top: 48px;
  background: rgb(255 255 255 / 0.025);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 12px;
}
.stage-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.45);
}
.stage-title {
  margin-top: 6px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
}
.legend {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgb(255 255 255 / 0.6);
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sw {
  width: 18px;
  height: 3px;
  border-radius: 3px;
}
.sw-data {
  background: #ff5c9d;
  box-shadow: 0 0 10px #ff5c9d;
}
.sw-cmd {
  background: var(--sapphire);
  box-shadow: 0 0 10px var(--sapphire);
}

/* The diagrams keep a legible size: on a narrow screen they scroll inside the stage. */
.stage-scroll {
  overflow-x: auto;
  margin-inline: -4px;
  padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.15) transparent;
}
.diagram {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}

.swipe-hint {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: rgb(255 255 255 / 0.45);
}

.stage-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
  padding: 22px 4px 2px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: rgb(255 255 255 / 0.55);
}
.stage-notes b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #fff;
}

/* SVG parts. */
.dg-wire {
  fill: none;
  stroke: #2e2e3b;
  stroke-width: 1.6;
}
.dg-ghost {
  fill: none;
  stroke: none;
}
.dg-junction {
  fill: #4a4a5c;
}
.dg-pulse {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.dg-shell {
  fill: rgb(255 255 255 / 0.035);
  stroke: rgb(255 255 255 / 0.12);
  stroke-width: 1;
}
.dg-accent .dg-shell {
  fill: rgb(255 255 255 / 0.06);
  stroke: rgb(255 255 255 / 0.2);
}
/* The output module: the commands' colour on its rim. */
.dg-out .dg-shell {
  stroke: rgb(134 180 255 / 0.4);
}
.dg-halo {
  fill: none;
  stroke-width: 1.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.dg-title {
  fill: #f4f4f7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.dg-sub {
  fill: rgb(255 255 255 / 0.5);
  font-size: 10.5px;
}
.dg-mono,
.dg-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.dg-val {
  fill: #fff;
  font-size: 10.5px;
}
.dg-cmd {
  fill: var(--sapphire);
}
.dg-warn {
  fill: #ffab5c;
}
.dg-cap {
  fill: rgb(255 255 255 / 0.36);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dg-status {
  fill: rgb(255 255 255 / 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
}
.dg-status.dg-warn {
  fill: #ffab5c;
}
.dg-cell {
  fill: rgb(255 255 255 / 0.04);
  stroke: rgb(255 255 255 / 0.12);
}
.dg-cell-on {
  fill: #ffab5c;
  opacity: 0;
  transition: none;
}
.dg-axis {
  stroke: rgb(255 255 255 / 0.14);
}
.dg-bar {
  fill: #ff5c9d;
  transform-box: fill-box;
  transform-origin: bottom;
}
.dg-cut-wire {
  fill: none;
  stroke: #ffab5c;
  stroke-width: 1.6;
  stroke-dasharray: 4 5;
}
.dg-cut-x {
  stroke: #ffab5c;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------ ticker */

.ticker {
  margin-top: clamp(56px, 7vw, 88px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-500);
}
.ticker li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ statement */

.statement {
  padding-block: clamp(100px, 14vw, 180px) clamp(60px, 8vw, 100px);
}
.statement-text {
  max-width: 1020px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--gray-900);
  text-wrap: balance;
}
.statement-text .w {
  opacity: var(--o, 1);
  transition: opacity 0.25s linear;
}

/* ------------------------------------------------------------------ before / after */

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.4;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.photo-card:hover img {
  transform: scale(1.04);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgb(8 8 12 / 0.78) 100%);
}
.photo-card-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px);
  color: rgb(255 255 255 / 0.78);
}
.photo-card-copy h3 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.photo-card-copy p {
  margin-top: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tag-dark {
  background: rgb(0 0 0 / 0.35);
}
.tag-aurora {
  border-color: transparent;
  background: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
}

/* ------------------------------------------------------------------ section heads */

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(36px, 5.2vw, 66px);
}
.section-head .sub {
  margin-top: 20px;
  max-width: 600px;
  font-size: 18px;
  color: var(--gray-600);
  text-wrap: pretty;
}
.section-head-dark h2 {
  color: #fff;
}
.section-head-dark .kicker {
  color: rgb(255 255 255 / 0.45);
}
.section-head-dark .sub {
  color: rgb(255 255 255 / 0.6);
}

/* ------------------------------------------------------------------ hardware bento */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: rgb(255 255 255 / 0.68);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-glass);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lift);
}
.card-product {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.card-product img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 45%;
}
.card-body {
  padding: 28px 32px 32px;
}
.card-stat {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.card-stat .numeral {
  margin-top: auto;
  padding-top: 28px;
}
.card-dark {
  grid-column: span 2;
  color: rgb(255 255 255 / 0.6);
  border-color: rgb(255 255 255 / 0.06);
  background:
    radial-gradient(28rem 16rem at 100% 0%, rgb(180 76 240 / 0.35), transparent 70%),
    radial-gradient(22rem 14rem at 0% 100%, rgb(255 79 147 / 0.22), transparent 70%),
    var(--ink);
}
.card-dark .kicker {
  color: rgb(255 255 255 / 0.45);
}
.card-dark .numeral {
  color: #fff;
}
.card-dark .numeral-cap {
  color: rgb(255 255 255 / 0.6);
}
.card-photo {
  grid-column: span 3;
  min-height: 260px;
}
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgb(8 8 12 / 0.7));
}
.card-photo-cap {
  position: absolute;
  inset: auto 28px 24px;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
}

.numeral {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
}
.numeral span {
  color: var(--gray-400);
}
.numeral-sm {
  font-size: clamp(32px, 3.2vw, 40px);
  letter-spacing: -0.035em;
}
.numeral-cap {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray-600);
}
.card-product .numeral {
  margin-top: 16px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgb(18 18 22 / 0.07);
  list-style: none;
  font-size: 15px;
}
.ticks li {
  display: flex;
  gap: 12px;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  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='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
}

/* ------------------------------------------------------------------ use-case rail */

.uses-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.uses-head h2 {
  margin-top: 14px;
  max-width: 18ch;
  font-size: clamp(36px, 5.2vw, 66px);
}
.arrows {
  display: flex;
  gap: 10px;
}
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter)));
  padding-bottom: 24px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.use {
  position: relative;
  flex: none;
  width: min(380px, 80vw);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: start;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}
.use img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.use:hover img {
  transform: scale(1.05);
}
.use::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 8 12 / 0.1) 30%, rgb(8 8 12 / 0.82));
}
.use-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 26px;
  color: rgb(255 255 255 / 0.75);
  font-size: 15px;
}
.use-copy h3 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------ dark band */

.band {
  position: relative;
  isolation: isolate;
  margin-top: clamp(80px, 11vw, 150px);
  padding-block: clamp(80px, 10vw, 130px);
  background: var(--ink);
  color: rgb(255 255 255 / 0.7);
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 180px;
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.band-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50rem 26rem at 80% 0%, rgb(180 76 240 / 0.25), transparent 70%),
    radial-gradient(40rem 26rem at 0% 100%, rgb(255 154 77 / 0.14), transparent 70%);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.facts > div {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgb(255 255 255 / 0.025);
}
.facts .numeral {
  color: #fff;
  font-size: clamp(36px, 4vw, 52px);
}
.facts p:last-child {
  margin-top: 10px;
  color: rgb(255 255 255 / 0.55);
}

/* ------------------------------------------------------------------ platform */

.showcase {
  position: relative;
  padding-bottom: 40px;
}
.browser {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift), 0 40px 80px -40px rgb(60 30 90 / 0.35);
  margin-right: clamp(0px, 12vw, 150px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding-inline: 18px;
  border-bottom: 1px solid rgb(18 18 22 / 0.06);
}
.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gray-200);
}
.browser-bar p {
  margin-inline: auto;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--gray-500);
  background: rgb(18 18 22 / 0.04);
}
.browser img {
  width: 100%;
}
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 20vw, 250px);
  border-radius: 32px;
  border: 7px solid var(--gray-900);
  box-shadow: 0 30px 60px -20px rgb(20 10 40 / 0.5);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background-color: rgb(255 255 255 / 0.6);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-glass);
}
.feature h3 {
  margin-top: 20px;
}
.feature p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-600);
}
.chip {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  box-shadow: var(--shadow-glow);
}
.chip svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ comparison */

.compare {
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr;
  gap: 24px;
  padding: 22px 32px;
  border-top: 1px solid rgb(18 18 22 / 0.06);
  font-size: 16px;
  color: var(--gray-500);
}
.compare-row > :first-child {
  color: var(--gray-900);
  font-weight: 500;
}
.compare-headrow {
  border-top: 0;
  padding-block: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.compare-us {
  color: var(--gray-900);
}
.compare-headrow .compare-us {
  background: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 50%, var(--aurora-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.compare b {
  font-weight: 600;
}

/* ------------------------------------------------------------------ pilot steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background-color: rgb(255 255 255 / 0.6);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-glass);
}
.step-n {
  display: block;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 50%, var(--aurora-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  margin-top: 36px;
}
.step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-600);
}

/* ------------------------------------------------------------------ final call to action */

#contact {
  padding-top: clamp(80px, 11vw, 150px);
}
.cta {
  padding: clamp(56px, 9vw, 120px) var(--gutter);
  border-radius: calc(var(--radius) + 8px);
  text-align: center;
  color: rgb(255 255 255 / 0.9);
  box-shadow: 0 40px 80px -30px rgb(236 79 156 / 0.55);
  overflow: hidden;
}
.cta h2 {
  color: #fff;
  font-size: clamp(42px, 7vw, 96px);
  letter-spacing: -0.05em;
}
.cta p {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: 19px;
}

/* ------------------------------------------------------------------ footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 56px 44px;
  font-size: 14px;
  color: var(--gray-500);
}
.footer img {
  height: 28px;
  width: auto;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--gray-900);
}

/* ------------------------------------------------------------------ entrance on scroll */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1020px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .card-product {
    grid-row: auto;
  }
  .card-photo {
    grid-column: span 2;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .stage-notes,
  .facts,
  .contrast,
  .features,
  .steps {
    grid-template-columns: 1fr;
  }
  .stage-notes {
    gap: 14px;
  }
  .swipe-hint {
    display: block;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card-product,
  .card-dark,
  .card-photo {
    grid-column: auto;
  }
  .card-body {
    padding: 24px;
  }
  .compare-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    padding: 18px 20px;
    font-size: 15px;
  }
  .compare-row > :first-child {
    grid-column: 1 / -1;
  }
  .compare-headrow > :first-child {
    display: none;
  }
  .uses-head .arrows {
    display: none;
  }
  .browser {
    margin-right: 0;
  }
  .phone {
    display: none;
  }
  .photo-card {
    aspect-ratio: 4 / 4.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .statement-text .w {
    transition: none;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    gap: 10px;
    padding-left: 16px;
  }
  .lang {
    margin-left: auto;
  }
}
@media (max-width: 400px) {
  .nav-logo img {
    height: 26px;
  }
  .nav-cta {
    padding-inline: 14px;
  }
}
