/* ============================================================
   TEC — Tehnology Electronic Company
   Premium 2026 design system
   ============================================================ */

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        oklch(0.145 0.006 264);
  --bg-1:      oklch(0.175 0.007 264);
  --bg-2:      oklch(0.205 0.008 264);
  --panel:     oklch(0.19 0.008 264 / 0.55);

  /* ink */
  --fg:        oklch(0.97 0.004 264);
  --fg-soft:   oklch(0.80 0.008 264);
  --fg-mute:   oklch(0.635 0.012 264);
  --fg-faint:  oklch(0.52 0.012 264);

  /* accent — cold electric */
  --accent:    oklch(0.78 0.125 232);
  --accent-hi: oklch(0.86 0.10 230);
  --accent-dim:oklch(0.62 0.10 234);

  /* metal */
  --platinum-1: oklch(0.99 0.003 250);
  --platinum-2: oklch(0.82 0.006 250);
  --platinum-3: oklch(0.66 0.01 255);

  /* lines */
  --line:      oklch(1 0 0 / 0.085);
  --line-2:    oklch(1 0 0 / 0.14);
  --line-glow: oklch(0.78 0.125 232 / 0.35);

  /* type */
  --sans: "Geist", "Geist Fallback", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --section-y: clamp(88px, 12vw, 176px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: oklch(0.16 0.01 264); }

/* page ambient grain + vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, oklch(0.78 0.125 232 / 0.10), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, oklch(0.66 0.08 285 / 0.08), transparent 60%);
}

.shell { position: relative; z-index: 1; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.metal {
  background: linear-gradient(176deg,
    var(--platinum-1) 4%,
    var(--platinum-2) 38%,
    var(--platinum-3) 62%,
    var(--platinum-1) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-text { color: var(--accent-hi); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.section-head p {
  color: var(--fg-mute);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: 14px;
  background: oklch(0.145 0.006 264 / 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
}
.brand .mark {
  width: 34px; height: 34px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: linear-gradient(150deg, oklch(0.24 0.01 264), oklch(0.17 0.008 264));
  overflow: hidden;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, var(--accent), transparent 40%);
  animation: spin 6s linear infinite;
  opacity: 0.5;
}
.brand .mark span {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: var(--bg-1);
  width: 26px; height: 26px;
  border-radius: 6px;
  display: grid; place-items: center;
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand .wordmark { line-height: 1; }
.brand .wordmark b { font-size: 17px; letter-spacing: 0.02em; display: block; }
.brand .wordmark small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--fg-soft);
  padding: 9px 15px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--fg); background: oklch(1 0 0 / 0.05); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  overflow: hidden;
  background: oklch(1 0 0 / 0.03);
}
.lang-switch button {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 12px;
  color: var(--fg-mute);
  cursor: pointer;
  background: none;
  border: 0;
  transition: color 0.25s, background 0.25s;
}
.lang-switch button.active {
  color: oklch(0.17 0.01 264);
  background: var(--fg);
}
.lang-switch button:not(.active):hover { color: var(--fg); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) 22px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(180deg, oklch(0.99 0.003 250), oklch(0.88 0.005 250));
  color: oklch(0.17 0.01 264);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 10px 30px -12px oklch(0 0 0 / 0.8);
}
.btn-primary:hover { box-shadow: 0 1px 0 oklch(1 0 0 / 0.7) inset, 0 18px 40px -14px oklch(0.78 0.125 232 / 0.5); }

.btn-ghost {
  background: oklch(1 0 0 / 0.04);
  border-color: var(--line-2);
  color: var(--fg);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.08); border-color: var(--line-glow); }

.btn-line {
  padding-inline: 0;
  border: 0;
  color: var(--fg);
  border-radius: 0;
  background: none;
}
.btn-line .ln {
  position: relative;
}
.btn-line .ln::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.btn-line:hover .ln::after { transform: scaleX(1); }
.btn-line svg { transition: transform 0.4s var(--ease); }
.btn-line:hover svg { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero::after {
  /* fade bottom into page */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: oklch(1 0 0 / 0.03);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--fg-soft);
  width: max-content;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.78 0.125 232 / 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(44px, 8.2vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 16ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero-sub {
  max-width: 52ch;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--fg-soft);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
  margin-top: 14px;
}
.hero-meta .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta .item b {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero-meta .item span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .bar {
  width: 1px; height: 46px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--fg);
  animation: drop 2.2s var(--ease) infinite;
}
@keyframes drop { to { top: 120%; } }

/* ============================================================
   MARQUEE / TRUST
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 30px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row {
  display: flex;
  gap: clamp(40px, 6vw, 90px);
  width: max-content;
  animation: scrollx 38s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee-row .unit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-mute);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-row .unit:hover { color: var(--fg); }
.marquee-row .unit .gd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-dim);
  letter-spacing: 0.1em;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap { padding-block: var(--section-y); }
.cap-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: background 0.5s var(--ease);
  overflow: hidden;
}
.card::before {
  /* hover spotlight following cursor */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              oklch(0.78 0.125 232 / 0.10), transparent 60%);
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover { background: var(--bg-1); }
.card:hover::before { opacity: 1; }

.card.col-7 { grid-column: span 7; }
.card.col-5 { grid-column: span 5; }
.card.col-4 { grid-column: span 4; }
.card.col-6 { grid-column: span 6; }
.card.col-12 { grid-column: span 12; }

.card .ix {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.1em;
}
.card .ic {
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent-hi);
  background: linear-gradient(160deg, oklch(0.22 0.01 264), oklch(0.17 0.008 264));
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.card p { color: var(--fg-mute); font-size: 15.5px; max-width: 46ch; }
.card .tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
}
.card .tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}

.card-feature {
  background: linear-gradient(155deg, oklch(0.2 0.012 264), var(--bg) 70%);
}
.card-feature h3 { font-size: clamp(24px, 2.6vw, 32px); }

/* ============================================================
   PLATFORMS
   ============================================================ */
.platforms {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.plat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.plat {
  background: var(--bg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}
.plat:hover { background: var(--bg-1); }
.plat .pic {
  color: var(--fg);
  width: 32px; height: 32px;
  opacity: 0.92;
  transition: color 0.4s, transform 0.4s var(--ease);
}
.plat:hover .pic { color: var(--accent-hi); transform: translateY(-3px); }
.plat .pic svg { width: 100%; height: 100%; }
.plat b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.plat span { font-family: var(--mono); font-size: 11px; color: var(--fg-faint); letter-spacing: 0.06em; }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(36px, 4vw, 64px);
}
.num {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
}
.num .val {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 600;
  font-feature-settings: "tnum";
}
.num .val .suf { color: var(--accent); }
.num .lbl { color: var(--fg-mute); font-size: 15px; max-width: 24ch; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.steps {
  margin-top: 60px;
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.4s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 18px; }
.step .no {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.step .body h3 {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.step .body p { color: var(--fg-mute); max-width: 60ch; font-size: 16px; }
.step .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.08em;
  text-align: right;
  padding-top: 6px;
  white-space: nowrap;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.cta-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 100% 0%, oklch(0.78 0.125 232 / 0.16), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, oklch(0.62 0.1 285 / 0.12), transparent 55%),
    linear-gradient(160deg, oklch(0.21 0.012 264), oklch(0.16 0.008 264));
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%);
  opacity: 0.5;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(34px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 18ch;
}
.cta-card p {
  margin-top: 24px;
  color: var(--fg-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  max-width: 52ch;
  text-wrap: pretty;
}
.cta-card .hero-actions { margin-top: 42px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 72px 40px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-brand p {
  color: var(--fg-mute);
  font-size: 15px;
  margin-top: 22px;
  max-width: 34ch;
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 20px;
}
.foot-col a {
  display: block;
  color: var(--fg-soft);
  font-size: 15px;
  padding: 7px 0;
  transition: color 0.25s;
}
.foot-col a:hover { color: var(--accent-hi); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
}
.foot-bottom small { color: var(--fg-faint); font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; }
.foot-bottom .socials { display: flex; gap: 10px; }
.foot-bottom .socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--fg-mute);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.foot-bottom .socials a:hover { color: var(--fg); border-color: var(--line-glow); transform: translateY(-2px); }
.foot-bottom .socials svg { width: 17px; height: 17px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: 0.08s; }
[data-reveal-d="2"] { transition-delay: 0.16s; }
[data-reveal-d="3"] { transition-delay: 0.24s; }
[data-reveal-d="4"] { transition-delay: 0.32s; }

.hero h1 .line > span {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.hero.loaded h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero h1 .line:nth-child(3) > span { transition-delay: 0.16s; }

.hero .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.hero.loaded .fade-up { opacity: 1; transform: none; }
.hero.loaded .fade-up.d1 { transition-delay: 0.30s; }
.hero.loaded .fade-up.d2 { transition-delay: 0.40s; }
.hero.loaded .fade-up.d3 { transition-delay: 0.50s; }
.hero.loaded .fade-up.d4 { transition-delay: 0.60s; }

/* ============================================================
   MOBILE MENU + RESPONSIVE
   ============================================================ */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: oklch(1 0 0 / 0.03);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .card.col-7, .card.col-5, .card.col-4, .card.col-6 { grid-column: span 6; }
  .card.col-12 { grid-column: span 12; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 90px 28px 28px;
    background: oklch(0.145 0.006 264 / 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 99;
  }
  body.menu-open .nav-links { transform: none; }
  .nav-links a { font-size: 20px; padding: 14px 16px; }
  .menu-toggle { display: block; z-index: 101; }
  .nav-cta .btn-ghost,
  .nav-cta .btn-primary { display: none; }

  .cap-grid { grid-template-columns: 1fr; }
  .card.col-7, .card.col-5, .card.col-4, .card.col-6, .card.col-12 { grid-column: 1 / -1; }
  .card { min-height: auto; }

  .step { grid-template-columns: 60px 1fr; gap: 18px; }
  .step .meta { display: none; }

  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --section-y: 80px; }
  .hero { padding-top: 110px; }
  .foot-top { grid-template-columns: 1fr; }
}
