/* ==========================================================================
   Logiqo — design system ("Chrome-Neural Flux", derived from the logo)
   Tokens → base → layout → components → sections → motion states → responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* surfaces (deep charcoal chassis → brushed slate) */
  --chassis: #0C0E11;
  --bg: #121417;
  --surface: #1A1C1F;
  --surface-2: #1E2023;
  --surface-3: #282A2D;
  --outline: #404850;
  --outline-soft: rgba(209, 213, 219, 0.10);
  --outline-strong: rgba(209, 213, 219, 0.22);
  --metal: #D1D5DB;
  --metal-dim: #8A919B;

  /* text */
  --text: #E2E2E6;
  --text-2: #C0C7D1;
  --text-3: #8A919B;

  /* brand */
  --blue: #3088C5;
  --blue-2: #76C7F2;
  --blue-light: #93CCFF;
  --cyan: #5EE7FF;
  --pink: #E0457B;
  --glow: rgba(48, 136, 197, 0.15);
  --lumina: linear-gradient(135deg, #3088C5 0%, #76C7F2 100%);
  --lumina-soft: linear-gradient(135deg, rgba(48,136,197,.35), rgba(118,199,242,.15));

  /* type */
  --font-display: 'Unbounded', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --fs-hero: clamp(2.4rem, 5.5vw, 5.3rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.75rem);
  --fs-h3: clamp(1.6rem, 2.8vw, 2.5rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  /* shape & spacing (8pt) */
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-full: 999px;
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 56px; --s-7: 80px; --s-8: 120px; --s-9: 160px;
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 72px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .18s;
  --dur: .32s;

  /* z scale */
  --z-stage: 0; --z-main: 10; --z-nav: 30; --z-menu: 35; --z-grain: 40;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--blue-light); text-decoration: none; transition: color var(--dur-fast); }
a:hover { color: var(--cyan); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: rgba(48,136,197,.45); color: #fff; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 0 0 8px 8px; transition: top var(--dur-fast); }
.skip-link:focus { top: 0; }

.grad { background: var(--lumina); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline { position: relative; z-index: 0; display: inline-block; color: transparent; }
.outline::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: #fff; filter: url(#f-outline); pointer-events: none; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. Global layers ---------- */
.stage { position: fixed; inset: 0; z-index: var(--z-stage); pointer-events: none; background: radial-gradient(120% 80% at 70% 20%, #16232e 0%, var(--bg) 55%, var(--chassis) 100%); }
.stage canvas { width: 100%; height: 100%; }
.stage__poster { display: none; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
html.no-webgl .stage canvas { display: none; }
html.no-webgl .stage__poster { display: block; }
main { position: relative; z-index: var(--z-main); }

.grain { position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .07; mix-blend-mode: overlay; }

/* ---------- 4. Nav ---------- */
.nav { position: fixed; top: 16px; left: 16px; right: 16px; z-index: var(--z-nav); transition: transform .45s var(--ease-out); }
.nav.is-hidden { transform: translateY(-130%); }
.nav__inner {
  width: min(100%, var(--container)); margin-inline: auto; height: 60px; padding: 0 12px 0 14px;
  display: flex; align-items: center; gap: var(--s-3);
  background: rgba(18, 20, 23, .58); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--outline-soft); border-top-color: var(--outline-strong); border-radius: var(--r-md);
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.8);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; filter: drop-shadow(0 0 12px rgba(48,136,197,.35)); }
.nav__wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); font-weight: 500; font-size: .95rem; border-radius: var(--r-sm); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--lumina); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); box-shadow: 0 0 12px rgba(118,199,242,.8); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 4px; }
.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: var(--r-sm); }
.nav__burger span { width: 22px; height: 2px; background: var(--text); transition: transform var(--dur), opacity var(--dur); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__menu { display: none; }

/* ---------- 5. Components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  color: #fff; cursor: pointer; position: relative; isolation: isolate;
  transition: box-shadow var(--dur), background-color var(--dur), color var(--dur), border-color var(--dur), filter var(--dur);
}
.btn--primary {
  background: var(--lumina); color: #04121f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(118,199,242,.25), 0 12px 40px -12px rgba(48,136,197,.75);
}
.btn--primary:hover { color: #04121f; filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(118,199,242,.45), 0 16px 56px -12px rgba(94,231,255,.85); }
.btn--outline {
  border: 1px solid transparent; color: var(--text);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--lumina) border-box;
}
.btn--outline:hover { color: #fff; background: linear-gradient(rgba(48,136,197,.16), rgba(48,136,197,.16)) padding-box, var(--lumina) border-box; }
.btn--ghost { border: 1px solid var(--outline-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--blue-2); color: #fff; background: rgba(48,136,197,.12); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.05rem; }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(147,204,255,.4); }
.link:hover { text-decoration-color: currentColor; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-light); }
.eyebrow__mark { width: 10px; height: 10px; border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); box-shadow: -2px 2px 10px rgba(118,199,242,.6); }

.section__title { font-size: var(--fs-h2); margin: var(--s-2) 0 var(--s-3); max-width: 18ch; }
.section__lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 58ch; font-weight: 300; }

.metal {
  position: relative; border-radius: var(--r-md);
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #191b1e 0%, #222529 48%, #1a1c1f 100%);
  border: 1px solid var(--outline-soft); border-top-color: var(--outline-strong);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.metal::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: linear-gradient(225deg, var(--bg) 50%, rgba(209,213,219,.25) 50%, rgba(209,213,219,.25) calc(50% + 1px), transparent calc(50% + 1px)); }

.badge { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-full); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(12,14,17,.7); border: 1px solid var(--outline-strong); backdrop-filter: blur(12px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

.card { position: relative; padding: var(--s-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--outline-soft); border-top-color: var(--outline-strong); transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur); cursor: default; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(60% 50% at 50% 0%, rgba(48,136,197,.22), transparent 70%); opacity: 0; transition: opacity var(--dur); pointer-events: none; }
.card::after { content: ""; position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--metal-dim); box-shadow: inset 0 1px 1px rgba(255,255,255,.6); }
.card:hover { border-color: rgba(118,199,242,.45); box-shadow: 0 0 60px -12px rgba(48,136,197,.55), 0 30px 60px -40px rgba(0,0,0,.9); }
.card:hover::before { opacity: 1; }
.card__icon { width: 30px; height: 30px; fill: none; stroke: var(--blue-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-3); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .95rem; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.price__from { font-size: var(--fs-small); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.price__val { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; background: var(--lumina); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.price__per { color: var(--text-2); font-size: var(--fs-small); }

/* word-split reveal wrappers (added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.w__in { display: inline-block; will-change: transform; }
html.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
html.motion [data-wave] > * { opacity: 0; transform: translateY(32px); }

/* ---------- 6. Sections ---------- */
/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 var(--s-7); }
.hero__inner { position: relative; max-width: 660px; }
.hero__eyebrow { margin-bottom: var(--s-3); }
.hero__title { font-size: var(--fs-hero); margin-bottom: var(--s-4); }
.hero__lead { font-size: var(--fs-lead); color: var(--text-2); font-weight: 300; max-width: 56ch; margin-bottom: var(--s-4); }
.hud { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s-5); }
.hud li { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 500; letter-spacing: .02em; color: var(--text); }
.hud .ico { color: var(--blue-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.hero__scroll i { width: 48px; height: 1px; background: var(--outline); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--blue-2); transform: translateX(-100%); animation: scrollHint 1.8s var(--ease-in-out) infinite; }
@keyframes scrollHint { 0% { transform: translateX(-100%); } 60% { transform: translateX(100%); } 100% { transform: translateX(100%); } }

/* Ticker */
.ticker { position: relative; overflow: hidden; padding: var(--s-4) 0; border-top: 1px solid var(--outline-soft); border-bottom: 1px solid var(--outline-soft); background: rgba(12,14,17,.55); backdrop-filter: blur(6px); }
.ticker__track { display: flex; align-items: center; gap: var(--s-5); width: max-content; will-change: transform; }
.ticker__track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3.6vw, 2.8rem); text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap; color: #fff; filter: url(#f-outline-thin); }
.ticker__track span:nth-child(4n+1) { color: var(--text); filter: none; }
.ticker__track i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 16px var(--blue-2); flex: none; }

/* Statement */
.statement { position: relative; padding: var(--s-9) 0; background: linear-gradient(180deg, rgba(18,20,23,0) 0%, rgba(18,20,23,.85) 12%, rgba(18,20,23,.85) 88%, rgba(18,20,23,0) 100%); }
.statement__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.statement__aside { position: sticky; top: 120px; }
.statement__lines { width: 200px; margin-top: var(--s-5); }
.statement__lines .draw { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 500; stroke-dashoffset: 500; }
.statement__lines .dot { fill: var(--blue-2); filter: drop-shadow(0 0 6px var(--blue-2)); }
.statement__lines .dot--pink { fill: var(--pink); filter: drop-shadow(0 0 6px var(--pink)); }
.statement__title { font-size: var(--fs-h2); margin-bottom: var(--s-6); max-width: 20ch; }
.statement__text { font-size: clamp(1.35rem, 2.3vw, 2.05rem); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); margin-bottom: var(--s-4); max-width: 34ch; }
.statement__text .sw { transition: opacity .2s; }
html.motion .statement__text .sw { opacity: .16; }
.statement__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); padding: var(--s-4); margin-top: var(--s-6); }
.statement__panel div { display: flex; flex-direction: column; gap: 6px; }
.statement__panel strong { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -0.01em; color: #fff; }
.statement__panel span { color: var(--text-2); font-size: .92rem; line-height: 1.5; }

/* Platforms */
.platforms { position: relative; }
.platforms__pin { position: relative; overflow: hidden; background: rgba(12,14,17,.72); transition: background-color .6s; display: flex; flex-direction: column; }
.platforms__head { flex: none; padding: 88px 0 16px; }
.platforms__head .section__title { margin: 10px 0 12px; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.platforms__head .section__lead { font-size: 1.05rem; }
.platforms__head .eyebrow { margin-bottom: 0; }
.platforms__progress { height: 2px; background: var(--outline-soft); margin-top: 20px; position: relative; overflow: hidden; border-radius: 2px; }
.platforms__progress i { position: absolute; inset: 0; background: var(--lumina); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--blue-2); }
.platforms__track { display: flex; flex: 1; min-height: 0; }
.platform { flex: 0 0 100vw; width: 100vw; height: 100%; padding: 8px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-6); align-items: center; }
.platform__media { position: relative; display: flex; justify-content: center; }
.device { position: relative; width: 100%; max-height: min(50vh, 500px); aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--outline-strong); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 100px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(48,136,197,.45); }
.device::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); z-index: 2; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top left; will-change: transform; }
.platform__num { position: absolute; right: -8px; bottom: -48px; font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 11vw, 10rem); line-height: 1; color: #fff; filter: url(#f-outline-thin); opacity: .45; pointer-events: none; z-index: -1; }
.platform__body .eyebrow { margin-bottom: var(--s-2); }
.platform__name { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-bottom: 6px; }
.platform__tag { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--blue-light); letter-spacing: -0.01em; margin-bottom: var(--s-3); }
.platform__desc { color: var(--text-2); font-size: .98rem; margin-bottom: var(--s-2); max-width: 46ch; }
.platform__list { display: grid; gap: 6px; margin-bottom: var(--s-3); }
.platform__list li { position: relative; padding-left: 22px; color: var(--text); font-size: .95rem; }
.platform__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); }
.platform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--outline-soft); }

/* Solutions */
.solutions { position: relative; padding: var(--s-9) 0; background: linear-gradient(180deg, rgba(12,14,17,.72), rgba(18,20,23,.85)); }
.solutions__head { margin-bottom: var(--s-6); }
.solutions__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.solutions__grid li:nth-child(2) { transform: translateY(var(--s-4)); }
.solutions__grid li:nth-child(4) { transform: translateY(var(--s-4)); }
.solutions__cta { margin-top: var(--s-7); display: flex; justify-content: center; }

/* FAQ */
.faq { position: relative; padding: var(--s-9) 0; background: rgba(18,20,23,.85); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--s-7); align-items: start; }
.faq__grid header { position: sticky; top: 120px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--outline-soft); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--dur), box-shadow var(--dur); }
.faq__item[open] { border-color: rgba(118,199,242,.4); box-shadow: 0 0 50px -16px rgba(48,136,197,.5); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 22px 24px; cursor: pointer; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; line-height: 1.35; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--outline-strong); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--blue-light); transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 24px 24px; color: var(--text-2); animation: faqIn .35s var(--ease-out); max-width: 62ch; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { position: relative; padding: var(--s-9) 0 var(--s-8); background: linear-gradient(180deg, rgba(18,20,23,.85), rgba(18,20,23,.2) 40%, rgba(12,14,17,0)); }
.contact__title { font-size: clamp(4rem, 15vw, 14rem); line-height: .95; margin: var(--s-2) 0 var(--s-6); letter-spacing: -0.05em; }
.contact__title .outline { background: var(--lumina); -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; background-size: 0% 100%; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-6); align-items: start; }
.contact__card { padding: var(--s-4); font-style: normal; display: grid; gap: 12px; color: var(--text-2); }
.contact__card strong { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.contact__card a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; }
.contact__card a:hover { color: var(--cyan); }
.contact__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.contact__cta p { font-size: var(--fs-lead); color: var(--text-2); font-weight: 300; max-width: 46ch; }

/* Footer */
.footer { position: relative; z-index: var(--z-main); border-top: 1px solid var(--outline-soft); background: var(--chassis); padding: var(--s-5) 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: auto; }
.footer__links a { color: var(--text-3); font-size: .9rem; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.footer__links a:hover { color: var(--text); }
.footer__legal { width: 100%; color: var(--text-3); font-size: var(--fs-small); }

/* ---------- 7. Sub-pages ---------- */
.page { padding: calc(var(--nav-h) + 80px) 0 var(--s-8); position: relative; background: rgba(18,20,23,.9); }
.page__head { max-width: 780px; margin-bottom: var(--s-7); }
.page__head h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: var(--s-2) 0 var(--s-3); }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--text); margin: var(--s-6) 0 var(--s-2); }
.prose h3 { font-size: 1.15rem; color: var(--text); margin: var(--s-4) 0 var(--s-1); }
.prose p, .prose li { margin-bottom: var(--s-2); }
.prose ul { padding-left: 20px; list-style: square; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.services { display: grid; gap: var(--s-4); }
.service { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5); }
.service .card__icon { width: 40px; height: 40px; margin: 0; }
.service h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: var(--s-2); }
.service p { color: var(--text-2); margin-bottom: var(--s-2); max-width: 64ch; }
.service ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: var(--s-3) 0 var(--s-4); }
.service li { position: relative; padding-left: 20px; font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); }
.breadcrumb { display: flex; gap: 8px; font-size: var(--fs-small); color: var(--text-3); margin-bottom: var(--s-3); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.cta-band { margin-top: var(--s-8); padding: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 18ch; }
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--s-8) var(--gutter); }
.error-page h1 { font-size: clamp(5rem, 20vw, 14rem); line-height: 1; }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__menu { display: flex; flex-direction: column; gap: 4px; margin: 8px auto 0; width: min(100%, var(--container)); padding: 12px; background: rgba(18,20,23,.92); backdrop-filter: blur(24px); border: 1px solid var(--outline-soft); border-radius: var(--r-md); }
  .nav__menu[hidden] { display: none; }
  .nav__menu a { padding: 14px 16px; min-height: 48px; display: flex; align-items: center; color: var(--text); font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__menu a:hover { background: rgba(48,136,197,.12); }
  .nav__menu .btn { margin-top: 8px; justify-content: center; }
  .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions__grid li:nth-child(2), .solutions__grid li:nth-child(4) { transform: none; }
}
@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--nav-h) + 26vh); align-items: flex-start; }
  /* horizontal pin is disabled by JS below this width; stack panels */
  .platforms__pin { overflow: visible; }
  .platforms__progress { display: none; }
  .platforms__track { flex-direction: column; }
  .platforms__pin { display: block; }
  .platforms__head { padding: var(--s-8) 0 var(--s-4); }
  .platform { flex-basis: auto; width: auto; height: auto; grid-template-columns: 1fr; gap: var(--s-4); padding-bottom: var(--s-7); }
  .device { max-height: none; }
  .platform__num { bottom: -30px; font-size: 6rem; }
  .statement__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .statement__aside { position: static; }
  .statement__lines { display: none; }
  .statement__panel { grid-template-columns: 1fr; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .faq__grid header { position: static; }
  .service { grid-template-columns: 1fr; gap: var(--s-2); }
  .service ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav { top: 10px; left: 10px; right: 10px; }
  .hero { padding-top: calc(var(--nav-h) + 30vh); align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { display: none; }
  .solutions__grid { grid-template-columns: 1fr; }
  .platform__foot { flex-direction: column; align-items: stretch; }
  .platform__foot .btn { width: 100%; }
  .footer__links { margin-left: 0; }
  .contact__cta .btn { width: 100%; }
}

/* ---------- 9. Reduced motion & no-JS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage canvas, .grain { display: none !important; }
  .stage__poster { display: block; }
  .hero__scroll i::after { animation: none; transform: none; }
  html.motion [data-reveal], html.motion [data-wave] > * { opacity: 1; transform: none; }
  html.motion .statement__text .sw { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
