/* ==========================================================================
   Cleverpath.cloud — landing page
   Visual language: warm off-white canvas, sage cards, ink type, pastel + vivid accents
   ========================================================================== */

:root {
  /* Neutrals */
  --bg: #FCFCFC;
  --white: #FFFFFF;
  --cream: #F8F9EB;
  --sage: #EDEEE1;
  --sage-2: #E4E6D5;
  --line: #C0C2A9;
  --line-soft: #DCDDCB;
  --ink: #202020;
  --ink-2: #5A5A4F;
  --ink-3: #7C7D76;

  /* Pastels */
  --peach: #FFBCAD;
  --sky: #B0F4FF;
  --mint: #AAFDC0;
  --pink: #FFC0E6;
  --butter: #FFE7A3;

  /* Vivid */
  --orange: #E9573A;
  --blue: #2E46F2;
  --magenta: #C2368C;
  --green: #18A957;

  /* Dark surface text */
  --on-dark: #F8F9EB;
  --on-dark-2: #B9BAA8;
  --on-dark-3: #8E8F80;

  /* Type */
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
code {
  font-family: var(--mono);
  font-size: .86em;
  background: rgba(32, 32, 32, .06);
  padding: 1px 5px;
  border-radius: 5px;
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 500; font-size: 16px; line-height: 1;
  padding: 13px 18px; border-radius: 13px;
  white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 18px; padding: 17px 24px; border-radius: 14px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-sage { background: var(--sage); color: var(--ink); }
.btn-sage:hover { background: var(--sage-2); }
.btn svg { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px;
  border-bottom: 1.5px solid currentColor; padding-bottom: 1px;
  transition: opacity .2s;
}
.link-arrow:hover { opacity: .65; }

/* Pulsing status dot */
.pulse {
  position: relative; display: inline-block; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--green); opacity: .35;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.4); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: .96;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.lead-sm {
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin-top: 20px;
  max-width: 560px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink);
}

.section { padding-block: clamp(84px, 10vw, 144px); }
.section-head-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.section-head-split .lead-sm { margin-top: 0; }

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px;
  border-radius: 8px; background: var(--sage);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.tag-mint { background: var(--mint); }
.tag-peach { background: var(--peach); }

.risk {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; line-height: 1;
  padding: 5px 8px; border-radius: 6px; white-space: nowrap;
}
.risk-low { background: var(--mint); color: #0E5A2A; }
.risk-med { background: var(--butter); color: #6B4E00; }
.risk-high { background: var(--peach); color: #7A2112; }

.bar {
  height: 6px; border-radius: 99px; background: #EEEFE6; overflow: hidden; margin-top: 8px;
}
.bar i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: var(--c, var(--ink));
  transition: width 1.4s var(--ease);
}
.bar-thick { height: 10px; margin-top: 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 14px;
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px; padding: 0 12px 0 22px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(32, 32, 32, .05), 0 1px 2px rgba(32, 32, 32, .04);
  transition: box-shadow .3s;
}
.site-header.is-scrolled .nav {
  box-shadow: 0 0 0 1px rgba(32, 32, 32, .06), 0 12px 32px -12px rgba(32, 32, 32, .18);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-links a { font-size: 16px; font-weight: 500; transition: opacity .2s; }
.nav-links a:hover { opacity: .6; }
.nav-links .nav-links-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.beta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 11px; border-radius: 999px; background: var(--sage); color: var(--ink-2);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sage);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(56px, 8vw, 104px); }
.hero-copy { text-align: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-soft);
  font-size: 15px; font-weight: 500;
  transition: border-color .2s;
  margin-bottom: 32px;
}
.eyebrow-pill:hover { border-color: var(--ink); }
.eyebrow-pill svg { width: 14px; height: 14px; color: var(--ink-3); }
.hero h1 { max-width: 12ch; margin-inline: auto; }
.hero .lead { max-width: 760px; margin: 28px auto 0; }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-note {
  display: grid; justify-items: center; gap: 6px;
  margin-top: 28px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
}

/* Product visual */
.hero-visual { margin-top: clamp(56px, 7vw, 88px); position: relative; }
.panel {
  position: relative;
  border-radius: 32px;
  padding: clamp(14px, 5vw, 72px);
}
.panel-blue {
  background-color: var(--blue);
  background-image:
    radial-gradient(circle at 18% 0%, rgba(176, 244, 255, .38), transparent 46%),
    radial-gradient(circle at 92% 100%, rgba(255, 192, 230, .30), transparent 40%),
    radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px);
  background-size: auto, auto, 22px 22px;
}

.app {
  max-width: 1060px; margin: 0 auto;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -28px rgba(8, 16, 90, .55), 0 0 0 1px rgba(0, 0, 0, .04);
  text-align: left;
}
.app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; background: #FAFAF6; border-bottom: 1px solid #EEEFE6;
}
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-soft); }
.app-url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--ink-3);
}
.app-url svg { width: 12px; height: 12px; }
.app-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--green);
}
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }

.app-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 22px 24px 6px;
}
.app-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.app-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.app-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  padding: 16px 24px 24px;
}
.app-card { border: 1px solid #ECEDE4; border-radius: 14px; padding: 18px; }
.app-card-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 14px; font-weight: 600; margin-bottom: 14px;
}
.app-card-title .mono { font-size: 11px; font-weight: 400; }

.stack-bar {
  display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden;
  clip-path: inset(0 100% 0 0 round 6px);
  transition: clip-path 1.4s var(--ease) .2s;
}
.stack-bar i { width: var(--w); background: var(--c); }
.is-visible .stack-bar, html:not(.js) .stack-bar { clip-path: inset(0 0 0 0 round 6px); }

.legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px;
  margin-top: 16px; font-size: 13px;
}
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex-shrink: 0; }
.legend b { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 12px; }

.waves li + li { margin-top: 14px; }
.wave-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wave-row b { font-weight: 600; }
.wave-row .risk { margin-left: auto; }
.waves li:nth-child(1) .bar i { --c: var(--green); }
.waves li:nth-child(2) .bar i { --c: var(--blue); }
.wave-meta { font-size: 11px; color: var(--ink-3); margin-top: 6px; }

.big-num { display: flex; align-items: baseline; gap: 4px; font-size: 34px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.big-num small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.delta {
  margin-left: auto; align-self: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0;
  background: var(--mint); color: #0E5A2A; padding: 5px 8px; border-radius: 8px;
}
.cost-bars { display: grid; gap: 10px; margin-top: 18px; }
.cost-bars > div { display: grid; grid-template-columns: 40px 1fr 46px; align-items: center; gap: 10px; font-size: 12px; }
.cost-bars > div > span:last-child { text-align: right; }
.cost-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed #E2E3D6;
}
.cost-meta div { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.cost-meta b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

.app-ai {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--cream); border: 1px solid #E6E8D2;
}
.app-ai p { flex: 1 1 380px; font-size: 14px; line-height: 1.55; }
.app-ai-actions { display: flex; gap: 8px; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 13px; font-weight: 600;
  padding: 6px 11px 6px 9px; border-radius: 999px;
  background: var(--ink); color: var(--mint);
}
.ai-badge svg { width: 14px; height: 14px; }
.mini-btn {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 9px;
  background: var(--white); border: 1px solid var(--line-soft); white-space: nowrap;
}
.mini-btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Floating cards */
.float {
  position: absolute; z-index: 2;
  max-width: 236px; padding: 14px 16px; border-radius: 16px;
  background: var(--white); font-size: 13px; line-height: 1.45; text-align: left;
  box-shadow: 0 24px 48px -16px rgba(8, 16, 90, .45);
  animation: bob 7s ease-in-out infinite;
}
.float-kicker { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.float-fix { margin-top: 8px; font-size: 11px; color: var(--ink-2); }
.float-alert { left: 4%; bottom: -60px; background: var(--peach); }
.float-alert code { background: rgba(32, 32, 32, .08); }
.float-score { right: 4%; top: -56px; animation-delay: -3.5s; min-width: 176px; }
.score { font-size: 34px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.score span { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.segments { display: flex; gap: 4px; margin-top: 10px; }
.segments i { flex: 1; height: 6px; border-radius: 3px; background: var(--sage); }
.segments i.on { background: var(--green); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ==========================================================================
   Routes marquee
   ========================================================================== */
.routes { padding-top: clamp(56px, 7vw, 88px); }
.routes-label {
  text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3);
  margin-bottom: 22px;
}
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; flex-shrink: 0; gap: 12px; padding-right: 12px;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  white-space: nowrap; font-size: 17px; font-weight: 500;
  padding: 13px 18px; border-radius: 13px; background: var(--sage);
}
.marquee-track li span { color: var(--ink-3); margin: 0 6px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Cloud partners
   ========================================================================== */
.partners { padding-top: clamp(48px, 6vw, 72px); }
.partners-strip {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  padding: 22px 28px; border-radius: 22px;
  background: var(--cream); border: 1px solid #E6E8D2;
}
.partners-label { display: grid; gap: 4px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.partners-label .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.partner-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 40px; }
.partner { display: flex; align-items: center; gap: 10px; }
.partner + .partner { padding-left: 40px; border-left: 1px solid var(--line-soft); }
.partner img { width: 30px; height: 30px; }
.partner-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.partner-name-huawei { color: #1A1A1A; letter-spacing: .02em; font-size: 18px; }
.partner-name-ovh { color: #000E9C; }
.partner-tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 7px; border-radius: 6px; background: var(--mint); color: #0E5A2A;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
}
.how-sticky { position: sticky; top: 124px; }
.how-nav { margin-top: 40px; display: grid; gap: 4px; max-width: 420px; }
.how-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 13px;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-3);
  transition: background-color .25s, color .25s;
}
.how-nav a span { font-size: 12px; font-weight: 400; }
.how-nav a:hover { color: var(--ink); }
.how-nav a.is-active { background: var(--sage); color: var(--ink); }

.how-steps { display: grid; gap: 24px; }
.step {
  background: var(--sage); border-radius: 26px;
  padding: clamp(24px, 3.4vw, 44px);
  scroll-margin-top: 110px;
}
.step-num {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2);
}
.step-num span {
  display: inline-grid; place-items: center; min-width: 32px; height: 24px; padding: 0 6px;
  border-radius: 7px; background: var(--ink); color: var(--cream); font-size: 12px;
}
.step h3 {
  font-size: clamp(25px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -0.03em;
  margin-top: 18px;
}
.step > p { margin-top: 14px; color: var(--ink-2); font-size: 17px; font-weight: 500; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line-soft);
}

.step-visual {
  margin-top: 28px; padding: 18px; border-radius: 16px;
  background: var(--white); border: 1px solid #E4E5D6; overflow: hidden;
}
.sv-head { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sv-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.sv-plan { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }

/* Graph */
.graph { width: 100%; height: auto; }
.graph .edges path {
  fill: none; stroke: #C4C6AE; stroke-width: 1.6;
  stroke-dasharray: 4 5; animation: dash 1.4s linear infinite;
}
.graph .edges .edge-found { stroke: var(--orange); stroke-width: 2; }
.graph rect { fill: var(--cream); stroke: #D3D5BE; stroke-width: 1.2; }
.graph text { font-family: var(--mono); font-size: 12px; text-anchor: middle; fill: var(--ink); }
.graph .node-found rect { fill: var(--peach); stroke: var(--orange); stroke-dasharray: 3 3; }
@keyframes dash { to { stroke-dashoffset: -18; } }

/* 6R table */
.sv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sv-table td { padding: 10px 8px; border-bottom: 1px solid #EFF0E7; vertical-align: middle; }
.sv-table tr:last-child td { border-bottom: 0; }
.sv-table td:first-child { font-size: 13px; white-space: nowrap; }
.sv-table td:last-child { color: var(--ink-2); }
.r6 { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.r6-rehost { background: #DCE1FF; color: #1E2FA8; }
.r6-replatform { background: var(--sky); color: #05505E; }
.r6-refactor { background: var(--pink); color: #7D1655; }
.r6-repurchase { background: var(--peach); color: #7A2112; }
.r6-retire { background: #E3E3DC; color: #45453D; }
.r6-retain { background: var(--white); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* Gantt + code */
.gantt { display: flex; flex-direction: column; justify-content: center; }
.gantt-scale { display: flex; justify-content: space-between; margin: 0 0 10px 64px; font-size: 11px; color: var(--ink-3); }
.gantt-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gantt-label { width: 54px; flex-shrink: 0; font-size: 13px; font-weight: 600; }
.gantt-track {
  position: relative; flex: 1; height: 28px; border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #E7E8DD calc(25% - 1px) 25%),
    #F5F6EE;
}
.gantt-track i {
  position: absolute; top: 4px; bottom: 4px; left: var(--s); right: calc(100% - var(--e));
  background: var(--c); border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(32, 32, 32, .08);
}
.gantt-foot { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

.code {
  margin: 0; padding: 14px 16px; border-radius: 12px; overflow-x: auto;
  background: var(--ink); color: #E9EAD9;
  font-family: var(--mono); font-size: 12px; line-height: 1.65;
}
.code code { background: none; padding: 0; font-size: inherit; color: inherit; white-space: pre; }
.code-file { display: block; font-size: 11px; color: var(--on-dark-3); margin-bottom: 8px; }
.code .k { color: var(--pink); }
.code .s { color: var(--mint); }

/* Costs + risks */
.sv-costs { display: grid; gap: 8px; align-content: start; }
.sv-cost {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border-radius: 11px; background: #F6F7EF; font-size: 14px;
}
.sv-cost b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.sv-cost small { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.sv-cost-hl { background: var(--blue); color: var(--white); }
.sv-cost-hl small { color: rgba(255, 255, 255, .7); }
.risks { display: grid; gap: 8px; align-content: start; }
.risks li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 11px; border: 1px solid #EFF0E7;
}
.risks li div { display: grid; gap: 2px; font-size: 13px; line-height: 1.4; }
.risks li b { font-size: 14px; font-weight: 600; }
.risks .risk { margin-top: 1px; min-width: 52px; justify-content: center; }

/* Progress + feed */
.progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 10px; }
.feed { margin-top: 14px; }
.feed li {
  display: grid; grid-template-columns: 24px 42px 1fr; gap: 10px; align-items: start;
  padding: 10px 0; border-top: 1px solid #F0F1E8; font-size: 14px; line-height: 1.45;
}
.feed li > .mono { font-size: 12px; padding-top: 2px; }
.feed-dot {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.feed-dot.ok { background: var(--mint); color: #0E5A2A; }
.feed-dot.info { background: var(--sky); color: #05505E; font-size: 8px; }
.feed-dot.warn { background: var(--peach); color: #7A2112; }
.feed-dot.send { background: var(--sage); color: var(--ink); }

/* ==========================================================================
   AI
   ========================================================================== */
.ai { padding-top: 0; }
.ai-block {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(28px, 5.5vw, 80px);
  border-radius: 34px;
  background: var(--ink); color: var(--on-dark);
}
.ai-block::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(170, 253, 192, .14), transparent 62%);
  pointer-events: none;
}
.ai-copy, .chat { position: relative; }
.ai h2 { font-size: clamp(32px, 3.7vw, 52px); }
.ai .lead-sm { color: var(--on-dark-2); }
.eyebrow-light { color: var(--on-dark-2); }
.eyebrow-light::before { background: var(--mint); }

.ai-caps { margin-top: 36px; }
.ai-caps li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  padding: 18px 0; border-top: 1px solid rgba(248, 249, 235, .12);
}
.ai-caps .mono { font-size: 12px; color: var(--mint); padding-top: 4px; }
.ai-caps h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.ai-caps p { color: var(--on-dark-2); font-size: 15px; line-height: 1.55; margin-top: 4px; }
.ai-foot {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 20px; padding: 14px 16px; border-radius: 13px;
  font-size: 14px; line-height: 1.5; color: #DCDDCB;
  background: rgba(170, 253, 192, .07); border: 1px solid rgba(170, 253, 192, .2);
}
.ai-foot svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mint); }

/* Chat demo */
.chat {
  align-self: start;
  display: flex; flex-direction: column;
  background: #2A2A27; border: 1px solid rgba(248, 249, 235, .1); border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .7);
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid rgba(248, 249, 235, .08);
}
.ai-badge-light { background: var(--mint); color: var(--ink); }
.chat-env { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--on-dark-3); }
.chat-body {
  display: flex; flex-direction: column; gap: 14px;
  height: 430px; padding: 22px 18px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #4A4A45 transparent;
}
.msg { max-width: 90%; font-size: 15px; line-height: 1.55; animation: msgIn .4s var(--ease) both; }
.msg p + p { margin-top: 10px; }
.msg-user {
  align-self: flex-end; padding: 12px 15px;
  background: var(--cream); color: var(--ink);
  border-radius: 16px 16px 4px 16px;
}
.msg-ai {
  align-self: flex-start; padding: 14px 16px;
  background: #35352F; color: #ECEDDD;
  border: 1px solid rgba(248, 249, 235, .06);
  border-radius: 16px 16px 16px 4px;
}
.msg-ai b { color: var(--white); font-weight: 600; }
.msg-ai code { background: rgba(170, 253, 192, .12); color: var(--mint); }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; animation: msgIn .4s var(--ease) both; }
.msg-actions span {
  font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 8px;
  background: rgba(248, 249, 235, .08); border: 1px solid rgba(248, 249, 235, .12);
}
.typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.is-typing::after {
  content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px;
  background: var(--mint); vertical-align: -2px; animation: blink .9s steps(1) infinite;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chat-foot { padding: 14px 18px 18px; border-top: 1px solid rgba(248, 249, 235, .08); }
.chat-try { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--on-dark-3); margin-bottom: 10px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-suggestions button {
  font-size: 13px; font-weight: 500; color: #DCDDCB; text-align: left;
  padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(248, 249, 235, .18);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chat-suggestions button:hover { border-color: var(--mint); color: var(--on-dark); }
.chat-suggestions button.is-active { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 9px 9px 9px 16px; border-radius: 13px;
  background: #1F1F1D; border: 1px solid rgba(248, 249, 235, .1);
  font-size: 14px; color: #7C7D70;
}
.chat-input i { width: 32px; height: 32px; border-radius: 9px; background: var(--cream); color: var(--ink); display: grid; place-items: center; }
.chat-input svg { width: 14px; height: 14px; }

/* ==========================================================================
   Use cases
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 380px; padding: clamp(24px, 3.2vw, 40px);
  border-radius: 26px; color: var(--white);
  transition: transform .35s var(--ease);
}
.case:hover { transform: translateY(-4px); }
.case-route {
  align-self: flex-start;
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 11px; border-radius: 8px; background: rgba(255, 255, 255, .16);
}
.case h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 24px; }
.case p { font-size: 17px; font-weight: 500; line-height: 1.5; margin-top: 12px; max-width: 460px; opacity: .92; }
.case-art {
  width: 100%; max-width: 420px; height: auto; margin-top: auto; padding-top: 32px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.case-art .route { stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.case-art .fill { fill: currentColor; stroke: none; }
.case-art rect.fill { fill: currentColor; }
.case-art .fill-node { fill: var(--mint); stroke: none; }
.case-orange { background: var(--orange); }
.case-blue { background: var(--blue); }
.case-magenta { background: var(--magenta); }
.case-ink { background: var(--ink); color: var(--on-dark); }
.case-ink .case-route { background: rgba(170, 253, 192, .14); color: var(--mint); }

/* ==========================================================================
   Platform features
   ========================================================================== */
.platform { padding-top: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  padding: 28px; border-radius: 20px; background: var(--sage);
  transition: background-color .25s, transform .35s var(--ease);
}
.feature:hover { background: var(--sage-2); transform: translateY(-2px); }
.feature svg {
  width: 46px; height: 46px; padding: 10px; border-radius: 13px; background: var(--white);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin-top: 22px; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }

/* ==========================================================================
   Security
   ========================================================================== */
.security { padding-top: 0; }
.security-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.backed {
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 40px; padding: 20px; border-radius: 18px;
  background: var(--cream); border: 1px solid #E6E8D2;
  max-width: 560px;
}
.backed-mark { width: 44px; height: 44px; flex-shrink: 0; }
.backed p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.backed b { color: var(--ink); }
.backed .link-arrow { margin-top: 12px; }
.security-list li {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px;
  padding: 24px 0; border-top: 1px solid var(--line-soft);
}
.security-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.security-list svg {
  width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--sage);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.security-list h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.security-list p { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; line-height: 1.55; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 0; }
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23202020' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq summary:hover::after { background-color: var(--sage-2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 54px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.faq details a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Early access
   ========================================================================== */
.access {
  background: var(--ink); color: var(--on-dark);
  border-radius: 40px 40px 0 0;
  padding-block: clamp(88px, 11vw, 150px) clamp(72px, 8vw, 112px);
}
.access-head { text-align: center; max-width: 1000px; margin-inline: auto; }
.eyebrow-pill-dark {
  margin-bottom: 0;
  background: rgba(248, 249, 235, .06); border-color: rgba(248, 249, 235, .16);
  color: var(--on-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.access-title {
  margin-top: 28px;
  font-size: clamp(44px, 8.2vw, 116px); line-height: .92; letter-spacing: -0.04em;
  text-transform: uppercase;
}
.access .lead { color: var(--on-dark-2); max-width: 680px; margin: 28px auto 0; }
.access-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 24px; align-items: start;
  margin-top: clamp(48px, 6vw, 80px);
}

.perks {
  padding: 32px; border-radius: 24px;
  border: 1px solid rgba(248, 249, 235, .12); background: rgba(248, 249, 235, .03);
}
.perks h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.perks ul { display: grid; gap: 16px; margin-top: 22px; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: #DCDDCB; font-size: 15.5px; line-height: 1.5; }
.perk-check {
  width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--ink); font-size: 13px; font-weight: 700;
}
.perks-note { margin-top: 28px; padding-top: 22px; border-top: 1px dashed rgba(248, 249, 235, .18); }
.perks-note .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mint); }
.perks-note p:last-child { color: var(--on-dark-2); font-size: 14.5px; line-height: 1.55; margin-top: 8px; }

.form-card {
  background: var(--cream); color: var(--ink);
  border-radius: 24px; padding: clamp(22px, 3.2vw, 40px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: 14px; font-weight: 600; }
.field > label span[aria-hidden], .check span[aria-hidden] { color: var(--orange); }
.field > legend { padding: 0; margin-bottom: 8px; }
.optional { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--ink-3); }

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%; padding: 13px 14px;
  font-size: 16px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23202020' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.form select:invalid { color: #8B8C80; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.form ::placeholder { color: #A2A394; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(32, 32, 32, .1);
}
.form [aria-invalid="true"] { border-color: #C2412A !important; box-shadow: 0 0 0 3px rgba(194, 65, 42, .12) !important; }
.field-error { font-size: 13px; color: #B23A24; }
.field-error:empty { display: none; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented span {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.segmented label:hover span { border-color: var(--ink); }
.segmented input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  width: 22px; height: 22px; margin-top: 0;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--white);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23F8F9EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--ink);
}
.check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.btn-submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-fine { flex: 1 1 220px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.form-status { margin-top: 14px; font-size: 14px; color: #B23A24; }
.form-status:empty { display: none; }

.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 12px; outline: none; }
.success-mark { display: inline-block; animation: pop .6s var(--ease) both; }
.success-mark svg { width: 64px; height: 64px; }
.form-success h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.035em; margin-top: 20px; }
.form-success p { max-width: 460px; margin: 12px auto 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.form-success .link-arrow { margin-top: 24px; }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px;
  padding: 64px 0 48px; border-top: 1px solid rgba(248, 249, 235, .12);
}
.logo-light { --logo-tile: var(--cream); --logo-route: var(--ink); --logo-ink: var(--cream); height: 34px; }
.footer-brand p { margin-top: 18px; max-width: 320px; color: #A9AA98; font-size: 15px; line-height: 1.55; }
.social {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 22px;
  border-radius: 11px; background: rgba(248, 249, 235, .08); color: var(--on-dark);
  transition: background-color .2s, color .2s;
}
.social:hover { background: var(--mint); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-3); margin-bottom: 16px; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { font-size: 15px; color: #E4E5D3; transition: color .2s; }
.footer-cols a:hover { color: var(--mint); }
.footer address { font-style: normal; font-size: 13px; line-height: 1.85; letter-spacing: .02em; color: #E4E5D3; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px 0 14px; border-top: 1px solid rgba(248, 249, 235, .12);
  font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--on-dark-3);
}
.footer-legal { max-width: 820px; padding-bottom: 40px; font-size: 12px; line-height: 1.6; color: #6F7064; }
.footer-word {
  --logo-ink: #2C2C29;
  width: min(var(--max), 100% - var(--gutter) * 2); height: auto; margin: 0 auto -1.6vw;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 20px; background: var(--white);
    box-shadow: 0 0 0 1px rgba(32, 32, 32, .06), 0 24px 48px -16px rgba(32, 32, 32, .25);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 13px 14px; border-radius: 12px; font-size: 17px; }
  .nav-links a:hover { opacity: 1; background: var(--sage); }
  .nav-links .nav-links-cta { display: block; margin-top: 6px; }
  .nav-links .nav-links-cta .btn { display: flex; }
  .nav-links .nav-links-cta .btn:hover { background: #000; }
  .nav-actions > .btn { display: none; }
}

@media (max-width: 1000px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card:nth-child(3) { grid-column: 1 / -1; }
  .how-grid { grid-template-columns: 1fr; }
  .how-sticky { position: static; }
  .how-nav { display: none; }
  .ai-block { grid-template-columns: 1fr; }
  .section-head-split { grid-template-columns: 1fr; gap: 0; }
  .section-head-split .lead-sm { margin-top: 20px; }
  .security-grid, .faq-grid, .access-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .float { display: none; }
}

@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: 1fr; }
  .case { min-height: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 92px; }
  .site-header { padding-top: 10px; }
  .nav { height: 60px; padding: 0 8px 0 16px; border-radius: 18px; }
  .logo { height: 26px; }
  .beta-chip { display: none; }
  .eyebrow-pill { font-size: 13px; }
  .hero-ctas .btn { width: 100%; }
  .hero-note { font-size: 11px; line-height: 1.7; }
  .panel { border-radius: 22px; }
  .app { border-radius: 14px; }
  .app-url { justify-content: flex-start; font-size: 11px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .app-head, .app-grid { padding-inline: 14px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card:nth-child(3) { grid-column: auto; }
  .app-ai-actions { width: 100%; }
  .marquee-track li { font-size: 15px; padding: 11px 14px; }
  .step { border-radius: 20px; }
  .step-visual { padding: 12px; }
  .sv-split { grid-template-columns: 1fr; }
  .sv-table td:last-child { display: none; }
  .feed li { grid-template-columns: 22px 1fr; }
  .feed li > .mono { display: none; }
  .ai-block { border-radius: 24px; }
  .chat-body { height: 460px; padding: 18px 14px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 24px; }
  .partners-strip { padding: 20px; }
  .partner-logos { gap: 14px 24px; }
  .partner + .partner { padding-left: 0; border-left: 0; }
  .partner-name { font-size: 17px; }
  .partner-name-huawei { font-size: 15px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .access { border-radius: 26px 26px 0 0; }
  .perks { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0ms !important;
  }
  .marquee { overflow-x: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
