/* ============================================================
   Simple-Teck — Corporate site stylesheet
   Design system: "Data in motion"
   Brand: cobalt #2456A8 · azure #2E86FF · red spark #E63535
   ============================================================ */

/* ---------- Fonts ---------- */
/* Loaded via <link> in HTML: Sora (display), Manrope (body), IBM Plex Mono (labels) */

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --brand:        #2456a8;
  --brand-600:    #1e4a93;
  --brand-700:    #163a75;
  --brand-400:    #2e86ff;
  --brand-300:    #6aa9ff;
  --azure:        #38bdf8;
  --spark:        #e63535;
  --spark-600:    #cc2626;

  /* neutrals (light) */
  --ink:          #0b1b33;
  --ink-2:        #33465f;
  --muted:        #5b6b80;
  --line:         #e2e8f2;
  --line-strong:  #cfd9e8;
  --surface:      #ffffff;
  --surface-2:    #f4f7fc;
  --surface-3:    #eaf0f9;
  --surface-glass: rgba(255,255,255,.72);
  --on-brand:     #ffffff;

  /* effects */
  --grad-brand:   linear-gradient(115deg, var(--brand) 0%, var(--brand-400) 100%);
  --grad-brand-soft: linear-gradient(115deg, rgba(36,86,168,.10), rgba(46,134,255,.10));
  --grad-deep:    radial-gradient(120% 120% at 15% 0%, #16345f 0%, #0b1b33 55%, #081428 100%);
  --shadow-sm:    0 1px 2px rgba(11,27,51,.06), 0 1px 3px rgba(11,27,51,.05);
  --shadow-md:    0 8px 24px -12px rgba(11,27,51,.18), 0 2px 8px -4px rgba(11,27,51,.10);
  --shadow-lg:    0 30px 60px -28px rgba(15,45,95,.42), 0 12px 28px -18px rgba(11,27,51,.18);
  --shadow-brand: 0 24px 48px -20px rgba(36,86,168,.45);
  --ring:         0 0 0 3px rgba(46,134,255,.35);

  /* geometry */
  --slant:        -11deg;          /* echoes the italic logo */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;

  /* rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);

  --header-h: 74px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink:          #eaf1fb;
  --ink-2:        #b6c6dc;
  --muted:        #8497b0;
  --line:         rgba(255,255,255,.10);
  --line-strong:  rgba(255,255,255,.16);
  --surface:      #0c1a30;
  --surface-2:    #0a1526;
  --surface-3:    #12233f;
  --surface-glass: rgba(12,26,48,.66);
  --shadow-sm:    0 1px 2px rgba(0,0,0,.4);
  --shadow-md:    0 10px 30px -14px rgba(0,0,0,.6);
  --shadow-lg:    0 34px 70px -30px rgba(0,0,0,.72);
  --shadow-brand: 0 24px 60px -22px rgba(46,134,255,.5);
  --grad-brand-soft: linear-gradient(115deg, rgba(46,134,255,.16), rgba(56,189,248,.10));
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: rgba(46,134,255,.24); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--deep {
  background: var(--grad-deep);
  color: #dfe9f7;
  --ink: #f2f7ff; --ink-2: #c3d2e8; --muted: #93a6c2; --line: rgba(255,255,255,.12);
  --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.05);
}
.section--alt { background: var(--surface-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--spark), var(--brand-400));
}
.section--deep .eyebrow { color: var(--brand-300); }

.section-head { max-width: 680px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); margin: 16px 0 0; }
.section-head p { margin-top: 18px; font-size: 1.075rem; color: var(--muted); }

.lede { font-size: 1.12rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .92rem; --pad-x: 1.5rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad-y) var(--pad-x); border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 30px 56px -20px rgba(36,86,168,.6); }

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-400); transform: translateY(-2px); }

.btn--lg { --pad-y: 1.06rem; --pad-x: 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ripple */
.btn .ripple {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(0);
  background: rgba(255,255,255,.4); pointer-events: none; z-index: -1;
  animation: ripple .6s ease-out forwards;
}
.btn--ghost .ripple { background: rgba(46,134,255,.28); }
@keyframes ripple { to { transform: translate(-50%,-50%) scale(1); opacity: 0; } }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.scrolled {
  background: var(--surface-glass); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,27,51,.4);
}

.brand { display: inline-flex; align-items: center; gap: .3rem; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
/* On the transparent (top-of-page, over deep hero) header use white logo */
.site-header:not(.scrolled) .brand .logo-dark { display: none; }
.site-header:not(.scrolled) .brand .logo-light { display: block; }
:root[data-theme="dark"] .brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: block; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative; padding: .55rem .85rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 550; color: var(--nav-fg, #dbe6f7);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .32rem; height: 2px; border-radius: 2px;
  background: var(--spark); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.nav a:hover { color: var(--nav-fg-hover, #fff); }
.nav a.active { color: var(--nav-fg-hover, #fff); }
.nav a.active::after { transform: scaleX(1); }

/* header foreground colours: white while transparent over hero, ink when scrolled */
.site-header:not(.scrolled) { --nav-fg: rgba(233,241,253,.82); --nav-fg-hover: #fff; }
.site-header.scrolled { --nav-fg: var(--ink-2); --nav-fg-hover: var(--brand-400); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center;
  color: var(--nav-fg, #e9f1fd); border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.theme-toggle:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.site-header.scrolled .theme-toggle { color: var(--ink-2); }
.site-header.scrolled .theme-toggle:hover { border-color: var(--line); color: var(--brand-400); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-cta { display: inline-flex; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: inherit;
}
.hamburger span { width: 22px; height: 2px; border-radius: 2px; background: var(--nav-fg, #fff); transition: transform .3s, opacity .3s, background-color .3s; }
.site-header.scrolled .hamburger span { background: var(--ink); }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  padding: 2rem var(--gutter) 3rem; display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-menu a {
  padding: 1rem .4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--ink); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a span { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.mobile-menu .btn { margin-top: 1.5rem; border-bottom: 0; justify-content: center; color: #fff; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 2vw); padding-bottom: clamp(48px, 6vw, 88px);
  background: var(--grad-deep); color: #e8f0fb; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  filter: blur(60px); opacity: .55;
}
.hero__glow.a { top: -18%; right: -8%; background: radial-gradient(circle, rgba(46,134,255,.55), transparent 62%); }
.hero__glow.b { bottom: -26%; left: -12%; background: radial-gradient(circle, rgba(56,189,248,.34), transparent 60%); }
.hero__grid {
  position: absolute; inset: -2px; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 30%, transparent 78%);
}
/* diagonal data lanes */
.lanes { position: absolute; inset: 0; z-index: -2; overflow: hidden; opacity: .9; }
.lane { position: absolute; height: 1.5px; width: 40%; left: -10%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(120,180,255,.28), transparent);
  transform: rotate(var(--slant)); }
.lane .dot { position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translateY(-50%);
  background: var(--spark); box-shadow: 0 0 12px 2px rgba(230,53,53,.8); animation: laneflow var(--dur,7s) linear infinite; animation-delay: var(--delay,0s); }
.lane .dot.blue { background: #7cc0ff; box-shadow: 0 0 12px 2px rgba(124,192,255,.75); }
@keyframes laneflow { from { left: -6%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { left: 106%; opacity: 0; } }

.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 4vw, 60px); align-items: center; width: 100%; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .55rem;
  border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-size: .78rem; color: #cfe0f6; backdrop-filter: blur(6px); margin-bottom: 1.25rem;
}
.hero__badge b { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .55rem; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .02em; }

.hero h1 { font-size: clamp(2rem, 4.3vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; color: #fff; }
.hero h1 .accent { color: #7cc0ff; }
.hero__sub { margin-top: 1.15rem; font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.6; color: #b9cbe4; max-width: 48ch; }
.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__cta .btn--ghost { background: rgba(255,255,255,.06); color: #eaf2fe; border-color: rgba(255,255,255,.2); }
.hero__cta .btn--ghost:hover { border-color: #7cc0ff; color: #fff; }

.hero__stats { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 2.6vw, 2.2rem); }
.hero__stats .s b { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: #fff; display: block; }
.hero__stats .s span { font-size: .78rem; color: #90a6c4; letter-spacing: .01em; }

/* ---- Hero visual: bespoke SATA SSD + throughput ---- */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; align-self: center; }
.drive-stage { position: relative; width: min(400px, 90%); animation: floaty 7s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0.001deg); } 50% { transform: translateY(-14px); } }
.drive-stage .ssd { filter: drop-shadow(0 40px 60px rgba(4,14,32,.6)); }

.throughput {
  position: absolute; right: -2%; bottom: 4%; width: 224px; padding: .95rem 1.05rem; border-radius: var(--r-md);
  background: rgba(9,20,38,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.throughput h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #8fb2e0; font-weight: 500; margin-bottom: .75rem; }
.tp-row { margin-bottom: .7rem; }
.tp-row:last-child { margin-bottom: 0; }
.tp-row .tp-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.tp-row .tp-lbl { font-size: .74rem; color: #b7c8e2; letter-spacing: .04em; }
.tp-row .tp-val { font-family: var(--font-mono); font-size: .82rem; color: #fff; font-weight: 500; }
.tp-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.tp-fill { height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-400), var(--azure)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.tp-fill.write { background: linear-gradient(90deg, var(--spark), #ff8a5c); }

.chip-badge {
  position: absolute; left: -4%; top: 6%; display: flex; align-items: center; gap: .5rem;
  padding: .6rem .85rem; border-radius: var(--r-md); background: rgba(255,255,255,.9); color: var(--brand-700);
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .82rem;
}
.chip-badge .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.chip-badge .ic svg { width: 17px; height: 17px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #7f97b8;
}
.hero__scroll .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; border-radius: 3px; background: #9fb6d6; transform: translateX(-50%); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,10px); } }

/* ============================================================
   Trust marquee
   ============================================================ */
.trust { border-block: 1px solid var(--line); background: var(--surface); padding-block: clamp(26px, 3.5vw, 40px); }
.trust__label { text-align: center; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.marquee { position: relative; 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); }
.marquee__track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-2); opacity: .72; white-space: nowrap; transition: opacity .2s, color .2s; }
.marquee__item:hover { opacity: 1; color: var(--brand); }
.marquee__item svg { width: 20px; height: 20px; color: var(--brand-400); }

/* ============================================================
   Generic cards / grids
   ============================================================ */
.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--grad-brand-soft); color: var(--brand); position: relative;
  transition: transform .4s, background-color .4s, color .4s;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: translateY(-2px) scale(1.05); }
.card h3 { font-size: 1.24rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .96rem; }
.section--deep .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--deep .card__icon { background: rgba(255,255,255,.08); color: var(--brand-300); }

/* ============================================================
   About
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about__copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 18px 0 0; }
.about__copy > p { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; }
.about__pillars { margin-top: 2rem; display: grid; gap: 1rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.pillar .p-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.pillar .p-ic svg { width: 22px; height: 22px; }
.pillar h4 { font-size: 1.04rem; }
.pillar p { color: var(--muted); font-size: .92rem; margin-top: .2rem; }

/* Mission / Vision split card */
.mv { display: grid; gap: 1.1rem; }
.mv__card { position: relative; padding: 1.7rem 1.7rem 1.6rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface); }
.mv__card .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-400); }
.mv__card h3 { font-size: 1.4rem; margin: .5rem 0 .55rem; }
.mv__card p { color: var(--muted); }
.mv__card.is-primary { background: var(--grad-deep); color: #e9f1fd; border: 0; }
.mv__card.is-primary .tag { color: var(--brand-300); }
.mv__card.is-primary h3 { color: #fff; }
.mv__card.is-primary p { color: #b9cbe4; }
.mv__card .corner-spark { position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; opacity: .25; }

/* ============================================================
   Values (deep band, animated icons)
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.value {
  text-align: left; padding: 1.6rem 1.5rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), background-color .4s, border-color .4s;
}
.value:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(124,192,255,.4); }
.value__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(46,134,255,.24), rgba(56,189,248,.14)); color: #bfe0ff; border: 1px solid rgba(255,255,255,.12); }
.value__ic svg { width: 28px; height: 28px; }
.value:hover .value__ic svg { animation: pulse-ic 1.2s ease; }
@keyframes pulse-ic { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18); } }
.value h3 { color: #fff; font-size: 1.16rem; margin-bottom: .4rem; }
.value p { color: #a9bdd8; font-size: .93rem; }
.value .idx { float: right; font-family: var(--font-mono); font-size: .74rem; color: #6f88ab; }

/* ============================================================
   Products
   ============================================================ */
.prod-rows { display: grid; gap: clamp(28px, 4vw, 52px); }
.prow { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4.5vw, 68px); align-items: center; }
.prow--rev .prow__visual { order: 2; }

/* ---- visual stage ---- */
.prow__visual {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--grad-deep); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.prow__visual::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .6;
  background: repeating-linear-gradient(101deg, transparent 0 26px, rgba(124,192,255,.06) 26px 27px); }
.prow__visual::after { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(46,134,255,.4), transparent 65%); filter: blur(40px); }
.prow__render { position: relative; z-index: 1; width: clamp(200px, 62%, 360px); filter: drop-shadow(0 30px 46px rgba(3,12,28,.55));
  transition: transform .6s cubic-bezier(.2,.7,.3,1); transform: translateZ(0); will-change: transform; }
.prow:hover .prow__render { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.prow__render--usb { width: clamp(240px, 84%, 430px); }
.prow__render--sd { width: clamp(220px, 74%, 400px); }
/* microSD card eases out of its adapter on hover */
.sd-micro { transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.prow:hover .sd-micro { transform: translate(-7px, -9px); }
.prow__badge-cat { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: #cfe2ff; padding: .34rem .7rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(4px); }

/* ---- body ---- */
.prow__kicker { color: var(--brand-400); }
.prow__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 14px 0 0; }
.prow__body > p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; max-width: 46ch; }

.prow__ratings { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.rbadge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  color: var(--ink-2); padding: .4rem .7rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.rbadge svg { width: 14px; height: 14px; color: var(--brand-400); }
.rbadge--accent { color: var(--spark); border-color: color-mix(in srgb, var(--spark) 32%, transparent); background: color-mix(in srgb, var(--spark) 8%, transparent); }

.prow__pick { margin-top: 1.5rem; }
.prow__pick-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-2);
  padding: .55rem .95rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-strong);
  transition: transform .2s, border-color .2s, color .2s, background-color .2s, box-shadow .2s; cursor: pointer;
}
.pill:hover { border-color: var(--brand-400); color: var(--brand-400); transform: translateY(-2px); }
.pill.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.pill small { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 400; opacity: .8; letter-spacing: .04em; margin-top: 1px; }

.prow__meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.prow__spec { }
.prow__spec .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prow__spec .v { font-family: var(--font-mono); font-weight: 500; font-size: 1rem; color: var(--ink); margin-top: 2px; }
.prow__spec .v.brand { color: var(--brand-400); }
.prow__cta { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.prow__note { font-size: .85rem; color: var(--muted); }

/* ============================================================
   Why choose — feature grid
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.feature {
  position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
}
.feature::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: var(--grad-brand); transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature:hover::after { transform: scaleX(1); }
.feature__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--grad-brand-soft); color: var(--brand); transition: transform .4s; }
.feature__ic svg { width: 24px; height: 24px; }
.feature:hover .feature__ic { transform: scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .9rem; }

/* ============================================================
   Stats / counters
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.stat { text-align: center; position: relative; padding: 1.4rem 1rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.03em; color: #fff; line-height: 1; }
.stat__num .suffix { color: var(--spark); }
.stat__label { margin-top: .7rem; color: #a9bdd8; font-size: .95rem; }

/* ============================================================
   Timeline
   ============================================================ */
.timeline { position: relative; margin-top: 2rem; }
.timeline__spine { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--line); }
.timeline__spine::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-400)); transform: scaleX(var(--progress, 0)); transform-origin: left center; transition: transform 1.4s ease; }
.timeline__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.tnode { position: relative; padding-top: 74px; }
.tnode__dot { position: absolute; top: 38px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand-400); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-400) 14%, transparent); }
.tnode.is-now .tnode__dot { border-color: var(--spark); box-shadow: 0 0 0 6px rgba(230,53,53,.16); animation: nowpulse 2.2s ease-in-out infinite; }
@keyframes nowpulse { 0%,100% { box-shadow: 0 0 0 6px rgba(230,53,53,.16); } 50% { box-shadow: 0 0 0 12px rgba(230,53,53,.04); } }
.tnode__yr { font-family: var(--font-mono); font-size: .8rem; color: var(--brand-400); letter-spacing: .06em; margin-bottom: .3rem; }
.tnode.is-now .tnode__yr { color: var(--spark); }
.tnode h3 { font-size: 1.14rem; margin-bottom: .35rem; }
.tnode p { color: var(--muted); font-size: .9rem; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); transition: color .25s; }
.faq__q:hover { color: var(--brand-400); }
.faq__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); position: relative; transition: background-color .3s, border-color .3s, transform .35s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq__icon::before { width: 12px; height: 2px; transition: transform .3s; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item[aria-expanded="true"] .faq__icon { background: var(--grad-brand); color: #fff; border-color: transparent; transform: rotate(90deg); }
/* open state: hide the vertical bar so the rotated horizontal bar reads as a clean minus */
.faq__item[aria-expanded="true"] .faq__icon::before { transform: scaleX(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__item[aria-expanded="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; min-height: 0; color: var(--muted); max-width: 68ch; }
.faq__item[aria-expanded="true"] .faq__a-inner { padding-bottom: 1.4rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact__info h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 16px 0 0; }
.contact__info > p { margin-top: 16px; color: var(--muted); }
.contact__list { margin-top: 2rem; display: grid; gap: 1rem; }
.cinfo { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.cinfo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cinfo .ci-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--brand); }
.cinfo .ci-ic svg { width: 22px; height: 22px; }
.cinfo .ci-k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cinfo .ci-v { font-weight: 600; color: var(--ink); }

.map-embed { margin-top: 1.6rem; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; background:
  linear-gradient(var(--grad-deep)); }
.map-embed__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(124,192,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(124,192,255,.14) 1px, transparent 1px); background-size: 40px 40px; }
.map-embed__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); color: var(--spark); filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.map-embed__pin svg { width: 40px; height: 40px; }
.map-embed__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 26px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.35); transform: translateX(-50%); filter: blur(3px); animation: pinbob 2.4s ease-in-out infinite; }
.map-embed__label { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: .74rem; color: #cfe0f6; background: rgba(9,20,38,.7); padding: .4rem .7rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); }
@keyframes pinbob { 0%,100% { transform: translate(-50%,-100%); } 50% { transform: translate(-50%,-115%); } }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-head { margin-bottom: 1.5rem; }
.form-head h3 { font-size: 1.3rem; }
.form-head p { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.form-head .req { color: var(--spark); font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: .55rem; }
.chip-choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-choice .choice { position: relative; cursor: pointer; }
.chip-choice .choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-choice .choice span { display: inline-flex; align-items: center; padding: .5rem .9rem; border-radius: var(--r-pill); font-size: .86rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-strong); transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.chip-choice .choice:hover span { border-color: var(--brand-400); color: var(--brand-400); }
.chip-choice .choice input:checked + span { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.chip-choice .choice input:focus-visible + span { box-shadow: var(--ring); }
.field { margin-bottom: 1.1rem; position: relative; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: .45rem; }
.field label .req { color: var(--spark); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--surface-2);
  border: 1px solid var(--line-strong); color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: var(--ring); background: var(--surface); }
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea { border-color: var(--spark); }
.field__err { font-size: .78rem; color: var(--spark); margin-top: .35rem; height: 0; overflow: hidden; opacity: 0; transition: opacity .2s; }
.field.invalid .field__err { height: auto; opacity: 1; }
.form-note { margin-top: .4rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-success { display: none; align-items: center; gap: .6rem; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--brand-400) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand-400) 40%, transparent); color: var(--brand); font-weight: 600; font-size: .92rem; }
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--grad-deep); color: #c6d5ea; padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(101deg, transparent 0 40px, rgba(124,192,255,.04) 40px 41px); pointer-events: none; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); position: relative; }
.footer__brand img { height: 30px; margin-bottom: 1.2rem; }
.footer__brand p { color: #93a6c2; max-width: 34ch; font-size: .95rem; }
.footer__social { margin-top: 1.5rem; display: flex; gap: .6rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #b9cbe4; transition: transform .3s, background-color .3s, color .3s, border-color .3s; }
.footer__social a:hover { transform: translateY(-3px); background: var(--grad-brand); color: #fff; border-color: transparent; }
.footer__social a svg { width: 19px; height: 19px; }
.footer__col h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #7f97b8; font-weight: 500; margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { display: inline-block; color: #b9cbe4; font-size: .95rem; transition: color .2s, transform .2s; }
.footer__col a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.footer__bottom p { color: #8296b0; font-size: .88rem; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a { color: #8296b0; font-size: .88rem; transition: color .2s; }
.footer__legal a:hover { color: #fff; }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--spark), var(--brand-400) 60%, var(--azure)); box-shadow: 0 0 10px rgba(46,134,255,.6); }

/* ambient drifting glow in deep sections */
.section--deep { position: relative; overflow: hidden; }
.section--deep > .container { position: relative; z-index: 1; }
.section--deep::after {
  content: ""; position: absolute; z-index: 0; top: -20%; left: 50%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(46,134,255,.16), transparent 62%); filter: blur(30px); transform: translateX(-50%);
  animation: aurora 16s ease-in-out infinite; pointer-events: none;
}
@keyframes aurora { 0%,100% { transform: translate(-58%, 0) scale(1); opacity: .8; } 50% { transform: translate(-42%, 6%) scale(1.15); opacity: 1; } }

/* back to top */
.to-top { position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 80; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.legal-hero { padding-top: calc(var(--header-h) + clamp(36px, 6vw, 66px)); padding-bottom: clamp(26px, 4vw, 44px); background: var(--grad-deep); color: #eaf2fe; position: relative; overflow: hidden; }
.legal-hero::after { content: ""; position: absolute; z-index: 0; top: -30%; right: -10%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, rgba(46,134,255,.22), transparent 62%); filter: blur(30px); }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero .eyebrow { color: var(--brand-300); }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; margin: 14px 0 0; }
.legal-hero__meta { margin-top: 14px; font-family: var(--font-mono); font-size: .82rem; color: #90a6c4; }
.legal { padding-block: clamp(38px, 6vw, 68px); }
.legal__wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1040px; margin-inline: auto; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 20px); }
.legal__toc h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.legal__toc ul { display: grid; gap: .55rem; }
.legal__toc a { display: inline-block; font-size: .9rem; color: var(--ink-2); transition: color .2s, transform .2s; }
.legal__toc a:hover { color: var(--brand-400); transform: translateX(3px); }
.legal__body { min-width: 0; }
.legal__body > p:first-of-type { font-size: 1.08rem; color: var(--ink-2); }
.legal__body h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal__body p, .legal__body li { color: var(--muted); line-height: 1.75; }
.legal__body p { margin-bottom: .95rem; }
.legal__body ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1.1rem; display: grid; gap: .45rem; }
.legal__body a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--brand); }
.legal__body strong { color: var(--ink); }
.legal__callout { margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--brand-400) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand-400) 22%, var(--line)); }
.legal__callout p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.legal__back { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.4rem; font-family: var(--font-display); font-weight: 600; color: var(--brand-400); }
.legal__back svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .legal__wrap { grid-template-columns: 1fr; } .legal__toc { display: none; } }

/* Cookie / privacy notice */
.cookie-notice { position: fixed; left: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px); z-index: 95; max-width: 560px; margin-inline: auto; padding: 1.15rem 1.3rem; border-radius: var(--r-lg); background: var(--surface-glass); backdrop-filter: saturate(160%) blur(14px); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; transform: translateY(140%); opacity: 0; transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .5s; }
.cookie-notice.show { transform: none; opacity: 1; }
.cookie-notice p { flex: 1 1 260px; font-size: .88rem; color: var(--ink-2); margin: 0; }
.cookie-notice a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .btn { --pad-y: .6rem; --pad-x: 1.2rem; font-size: .88rem; }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Reveal is a progressive enhancement: only hide when JS is active (.js on <html>),
   so content is always visible if JS fails or the observer stalls. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }
[data-reveal][data-delay="7"] { transition-delay: .56s; }

/* page load intro */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--grad-deep); transition: opacity .6s ease, visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__lockup { display: flex; flex-direction: column; align-items: center; gap: 1.15rem; animation: preIn .7s cubic-bezier(.2,.7,.3,1) both; }
.preloader__mark { width: 58px; height: 58px; filter: drop-shadow(0 12px 24px rgba(46,134,255,.4)); animation: preFloat 2.4s ease-in-out infinite; }
.preloader__wordmark { height: 34px; width: auto; }
@keyframes preIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes preFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.preloader__bar { margin-top: 1.6rem; width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--spark), var(--brand-400)); animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

.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: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-md); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  /* Mobile: headline/copy first, product animation reveals below it */
  .hero__content { order: 1; }
  .hero__visual { order: 2; min-height: 300px; margin-top: 2rem; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 34px); }
  .prow--rev .prow__visual { order: -1; }
  .prow__visual { aspect-ratio: 16 / 10; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  /* timeline -> vertical */
  .timeline__spine { left: 8px; top: 0; bottom: 0; width: 2px; height: auto; right: auto; }
  .timeline__spine::after { transform: scaleY(var(--progress, 0)); transform-origin: top center; }
  .timeline__track { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .tnode { padding-top: 0; padding-bottom: 2rem; }
  .tnode__dot { top: 4px; left: -40px; }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .prow__visual { aspect-ratio: 4 / 3; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .throughput { position: static; width: 100%; margin-top: 1.2rem; }
  .chip-badge { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__stats .s b { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .drive-stage { animation: none; }
}
