/* ============================================================
   ORBITAL — bright ice-atmosphere design system (igloo.inc)
   Silver fog world: glowing ceiling ring, particle orb,
   reflective grooved floor, frosted glass panels, white
   bloom type over mist, slate ink for readable copy.
   ============================================================ */

:root {
  --bg: #b9c0c8;               /* mid silver — matches the canvas sky */
  --ink: #222a35;              /* engraved slate for body copy */
  --gray: #3e4956;             /* secondary text */
  --dim: #414c59;              /* mono labels — keeps 4.5:1 on the fog */
  --line: rgba(30, 42, 58, 0.18);
  --line-soft: rgba(30, 42, 58, 0.10);
  --card: rgba(255, 255, 255, 0.42);   /* frosted glass panels */
  --card-strong: rgba(255, 255, 255, 0.6);
  --bg-chip: rgba(255, 255, 255, 0.35);

  /* illustration strokes — depth reads lighter into the fog */
  --outline: #4f5a67;          /* front-most card */
  --outline-soft: #97a0aa;     /* receding cards dissolve into mist */

  /* Actoz brand blue, in three tiers. The logo blue (#2E90D9) only reaches
     1.9:1 on the fog, so lighter surfaces get progressively deeper variants:
     --brand      logo on dark surfaces + canvas glows (5.4:1 on footer)
     --brand-ink  logo mark on light surfaces (3.0:1 — graphic minimum)
     --accent     small text accents on light surfaces (5.3:1) */
  --brand: #2e90d9;
  --brand-ink: #1c6fa8;
  --accent: #0f4a70;
  --brand-rgb: 46, 144, 217;

  --frost: #1b232e;            /* primary button: dark slab on light world */
  --bracket: rgba(35, 48, 64, 0.75);

  /* rgb channels consumed by the canvas layers in main.js */
  --dither-rgb: 55, 70, 90;        /* cursor mist (multiply) */
  --accent-rgb: 255, 255, 255;     /* blooms, ring, lit particles */
  --fog-rgb: 238, 242, 247;        /* drifting white fog banks */
  --deep-rgb: 70, 85, 105;         /* floor grooves, shadow particles */
  --halo-rgb: 178, 214, 245;       /* icy horizon / ring edge, brand-tinted */

  --green: #1f7a55;
  --footer-bg: #0f141b;
  --shimmer: linear-gradient(90deg, transparent, #8fa6bd 25%, #ffffff 50%, #8fa6bd 75%, transparent);
  /* white bloom + soft dark underlay so glowing type stays legible on fog */
  --glow-text: 0 0 18px rgba(255, 255, 255, 0.85), 0 2px 22px rgba(30, 42, 58, 0.45);
  --glow-strong: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 38px rgba(210, 230, 255, 0.7), 0 2px 26px rgba(30, 42, 58, 0.5);
  --font-display: "Kode Mono", monospace;
  --font-body: "Geist", sans-serif;
  --font-mono: "Geist Mono", monospace;
  --pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-loading { overflow: hidden; height: 100vh; }

::selection { background: rgba(46, 74, 104, 0.85); color: #fff; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.layout {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

/* ============ BACKGROUND CANVASES ============ */
#ditherBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#cursorTrail {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  mix-blend-mode: multiply;   /* cold shadow-mist on the bright fog */
}
main, .header, .footer, .mobmenu { position: relative; z-index: 2; }
section { position: relative; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(ellipse 40% 18% at 55% 6%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 30%, #e2e7ec 0%, #b7bec6 55%, #99a2ac 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader__corner { position: absolute; color: var(--dim); }
.preloader__corner--tl { top: 24px; left: 28px; }
.preloader__corner--tr { top: 24px; right: 28px; }
.preloader__corner--bl { bottom: 24px; left: 28px; }
.preloader__corner--br { bottom: 24px; right: 28px; }
.preloader__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(420px, 80vw);
}
.preloader__mark {
  width: 54px;
  height: 54px;
  color: var(--brand-ink);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.95));
  margin-bottom: 6px;
}
.preloader__logs {
  color: var(--dim);
  min-height: 72px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 11px;
  line-height: 1.8;
}
.preloader__logs .ok { color: var(--accent); font-weight: 500; }
.preloader__count {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: var(--glow-strong);
}
.preloader__bar {
  width: 100%;
  height: 2px;
  background: rgba(30, 42, 58, 0.18);
  position: relative;
}
.preloader__bar-fill {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #7d95ae, #ffffff);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}
.preloader__crosshair {
  position: absolute;
  background: var(--line-soft);
  pointer-events: none;
}
.preloader__crosshair--h { left: 0; right: 0; top: 50%; height: 1px; }
.preloader__crosshair--v { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header.is-scrolled {
  background: rgba(226, 231, 237, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 26px;
  height: 26px;
  color: var(--brand-ink);
  /* white halo lifts the blue mark off the silver fog */
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.9));
  transition: color 0.3s ease;
}
.header__logo:hover .logo-mark { color: var(--brand); }
.header__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.header__wordmark-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.header__nav { display: flex; gap: 8px; }
.header__chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-chip);
  border: 1px solid transparent;
  padding: 12px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.header__chip:hover {
  background: var(--frost);
  color: #fff;
}
.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__login {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  margin-right: 8px;
  transition: color 0.25s;
}
.header__login:hover { color: #000; }
.header__burger {
  display: none;
  margin-left: auto;
  background: none; border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.header__burger span { display: block; height: 2px; background: var(--ink); transition: transform 0.35s ease, translate 0.35s ease; }
.header__burger.is-open span:nth-child(1) { translate: 0 4.5px; transform: rotate(45deg); }
.header__burger.is-open span:nth-child(2) { translate: 0 -4.5px; transform: rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn--lg { padding: 17px 34px; font-size: 15px; }

/* primary — dark slab, like ice shadow, with cold glow */
.btn--frost {
  background: var(--frost);
  color: #eef3f8;
  box-shadow: 0 8px 28px rgba(27, 35, 46, 0.35);
}
.btn--frost:hover {
  background: #0d1218;
  box-shadow: 0 10px 34px rgba(27, 35, 46, 0.5), 0 0 22px rgba(255, 255, 255, 0.4);
}

/* ghost with corner brackets, like the reference "X / Twitter" control */
.btn--outline {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-image:
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket)),
    linear-gradient(var(--bracket), var(--bracket));
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
  background-size:
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px;
  background-repeat: no-repeat;
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
}
.btn__txt {
  display: inline-flex;
  flex-direction: column;
  height: 1.5em;
  overflow: hidden;
  line-height: 1.5;
}
.btn__txt span {
  display: block;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.btn:hover .btn__txt span { transform: translateY(-100%); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 60px;
  overflow: clip;
}
.hero__object {
  position: absolute;
  top: 52%;
  right: -6vw;
  width: clamp(520px, 58vw, 940px);
  aspect-ratio: 1150 / 900;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.hero__object svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(30, 42, 58, 0.18));
}
.hero__note {
  position: absolute;
  color: var(--dim);
  line-height: 1.6;
  font-size: 12px;
}
.hero__note--storage { top: 4%; right: 18%; }
.hero__note--net { top: 52%; left: 44%; }
.hero__note--cool { bottom: 14%; right: 8%; }
.hero__kicker {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  /* sized so the longest line ("with custom AI") never overflows its column */
  font-size: clamp(36px, 8.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-shadow: var(--glow-text);
}
.line-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.04em;
}
.line-mask .line { display: block; will-change: transform; }
.hero__sub {
  max-width: 480px;
  color: var(--gray);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: clamp(48px, 8vh, 110px);
}
.hero__scroll-line {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 90px; height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: scanline 3.2s ease-in-out infinite;
}
@keyframes scanline {
  0% { left: -90px; }
  100% { left: 100%; }
}

/* ============ LOGO MARQUEE ============ */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: clip;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.logos__label { color: var(--dim); margin-bottom: 32px; }
.marquee { display: flex; overflow: clip; }
.marquee__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  white-space: nowrap;
  flex-shrink: 0;
  will-change: transform;
}
.logos__item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.3s, text-shadow 0.3s;
}
.logos__item:hover { color: #fff; text-shadow: var(--glow-text); }
.logos__dot { color: rgba(46, 74, 104, 0.45); font-size: 11px; letter-spacing: -0.1em; }

/* ============ SECTIONS SHARED ============ */
.section-head { margin-bottom: clamp(48px, 6vw, 96px); }
.section-head__label { color: var(--dim); margin-bottom: 24px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: var(--glow-text);
}
/* capped at 48 so the longest --md line ("Full attention.") keeps headroom
   inside .stats__head, where it shares a flex row with a button */
.section-title--md { font-size: clamp(28px, 3.8vw, 48px); }

/* ============ TIERS ============ */
.tiers { padding: clamp(80px, 10vw, 160px) 0; }
.tiers__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tier {
  position: relative;
  padding: 36px 32px 44px;
  text-decoration: none;
  color: inherit;
  transition: background 0.35s;
}
.tier:hover { background: rgba(255, 255, 255, 0.45); }
.tier + .tier { border-left: 1px solid var(--line); }
.tier__num { color: var(--dim); margin-bottom: 40px; }
.tier__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.tier__arrow {
  width: 14px; height: 14px;
  color: var(--dim);
  transition: transform 0.25s, color 0.25s;
}
.tier:hover .tier__arrow { transform: translate(3px, -3px); color: var(--accent); }
.tier__desc { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* ============ FEATURE ============ */
.feature {
  padding: clamp(80px, 10vw, 160px) 0;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: clip;
}
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.feature__copy {
  color: var(--gray);
  margin: 28px 0 36px;
  max-width: 520px;
}
.feature__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.terminal {
  position: relative;
  background: rgba(13, 18, 26, 0.94);
  color: #dfe9f5;
  border: 1px solid rgba(30, 42, 58, 0.4);
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 40px 80px rgba(30, 42, 58, 0.35);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(210, 230, 255, 0.2);
}
.terminal__title { margin-left: 10px; color: rgba(223, 233, 245, 0.5); }
.terminal__body {
  padding: 24px 20px 28px;
  font-size: 13px;
  line-height: 2.1;
  text-transform: none;
  letter-spacing: 0;
}
.terminal__line--dim { color: rgba(223, 233, 245, 0.5); }
.terminal__line--green { color: #7fd8b0; text-shadow: 0 0 12px rgba(127, 216, 176, 0.4); }
.terminal__cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal__toast {
  position: absolute;
  right: -24px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 22px;
  box-shadow: 0 24px 48px rgba(30, 42, 58, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.terminal__toast-check {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(31, 122, 85, 0.14);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.terminal__toast-title { font-weight: 600; font-size: 15px; }
.terminal__toast-sub { color: var(--dim); font-size: 13px; }
.feature__fig { margin-top: 44px; color: var(--dim); }

/* ============ ABOUT / FOUNDER ============ */
.about {
  padding: clamp(80px, 10vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-top: 26px;
}
.about__copy p {
  color: var(--gray);
  font-size: clamp(16px, 1.5vw, 18px);
  max-width: 560px;
}
.about__copy p:first-of-type { margin-top: 30px; }
.about__copy p + p { margin-top: 20px; }

.founder {
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand-ink);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 34px 34px 38px;
}
.founder__avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--brand-ink);
  margin-bottom: 24px;
}
.founder__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}
.founder__role { color: var(--accent); margin: 8px 0 20px; }
.founder__note { color: var(--gray); font-size: 15px; }

/* ============ WHO ============ */
.who { padding: clamp(80px, 10vw, 160px) 0; }
.who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.who__card {
  padding: 40px 32px 48px;
  position: relative;
}
.who__card + .who__card { border-left: 1px solid var(--line); }
.who__num { color: var(--accent); margin-bottom: 56px; }
.who__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--ink);
}
.who__lede { font-weight: 500; margin-bottom: 12px; }
.who__desc { color: var(--gray); font-size: 15px; margin-bottom: 32px; }
.who__link {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
}
.who__link:hover { border-color: var(--accent); color: #000; }
.who__link span { transition: transform 0.25s; display: inline-block; }
.who__link:hover span { transform: translate(3px, -3px); }

/* ============ STATS ============ */
.stats {
  padding: clamp(80px, 10vw, 160px) 0;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: clip;
}
.stats__object {
  position: absolute;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 1;
  opacity: 0.55;
  pointer-events: none;
}
.stats__object svg { width: 100%; height: 100%; }
.stats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat { padding: 36px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat__label { color: var(--accent); margin: 14px 0 10px; }
.stat__desc { color: var(--gray); font-size: 14px; }

/* ============ QUOTE ============ */
.quote { padding: clamp(80px, 10vw, 160px) 0; }
.quote__kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--dim);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: var(--glow-text);
}
.quote__attr { display: flex; flex-direction: column; gap: 4px; }
.quote__attr-role { color: var(--dim); }

/* secondary testimonial — quieter card so it can't compete with the big pull */
.quote__second {
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 640px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand-ink);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.quote__second-text {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 22px;
}

/* ============ USE CASES ============ */
.usecases {
  padding: clamp(80px, 10vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.usecases__list { border-top: 1px solid var(--line); }
.ucase {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
  cursor: default;
}
.ucase:hover { background: rgba(255, 255, 255, 0.4); padding-left: 20px; }
.ucase__num { color: var(--accent); }
.ucase__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}
.ucase__desc { color: var(--gray); font-size: 15px; }

/* ============ UPDATES ============ */
.updates { padding: clamp(80px, 10vw, 160px) 0; }
.updates__list { border-top: 1px solid var(--line); }
.update {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s, padding 0.3s, color 0.3s;
}
.update:hover {
  background: rgba(255, 255, 255, 0.4);
  padding-inline: 20px;
  color: #000;
}
.update__title { font-size: 17px; font-weight: 500; }
.update__date { color: var(--dim); flex-shrink: 0; }

/* ============ FAQ ============ */
.faq {
  padding: clamp(80px, 10vw, 160px) 0;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.faq__items { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.faq__q:hover { color: #000; }
.faq__icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gray);
  transition: transform 0.35s ease;
}
.faq__icon::before { left: 50%; top: 0; width: 1.5px; height: 100%; }
.faq__icon::after { top: 50%; left: 0; height: 1.5px; width: 100%; }
.faq__item.is-open .faq__icon::before { transform: rotate(90deg); }
.faq__a { overflow: hidden; height: 0; }
.faq__a p {
  padding: 0 4px 28px;
  color: var(--gray);
  font-size: 15px;
  max-width: 560px;
}

/* ============ CTA ============ */
.cta {
  padding: clamp(120px, 14vw, 220px) 0;
  text-align: center;
  overflow: clip;
  border-top: 1px solid var(--line);
}
.cta__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  pointer-events: none;
}
.cta__rings svg { width: min(900px, 100vw); height: auto; }
.cta__label { color: var(--dim); margin-bottom: 24px; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 48px;
  color: #ffffff;
  text-shadow: var(--glow-text);
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER — descend into the deep ice ============ */
.footer {
  position: relative;
  background: var(--footer-bg);
  color: #dfe6ee;
  padding-top: clamp(64px, 8vw, 120px);
  overflow: clip;
}
.footer__gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--shimmer);
  background-size: 200% 100%;
  animation: shimmerSlide 7s linear infinite;
  opacity: 0.9;
}
@keyframes shimmerSlide {
  to { background-position: -200% 0; }
}
.footer__cols {
  display: grid;
  /* minmax(0,…) so the newsletter input's intrinsic width can't blow out
     its track and squeeze the neighbouring columns */
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 40px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-label { color: rgba(223, 230, 238, 0.55); margin-bottom: 8px; }
.footer__link {
  color: rgba(223, 230, 238, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s, text-shadow 0.25s;
  width: fit-content;
}
.footer__link:hover { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.6); }
.footer__arr { color: rgba(223, 230, 238, 0.5); }
.footer__news {
  display: flex;
  border-bottom: 1px solid rgba(223, 230, 238, 0.3);
}
.footer__input {
  flex: 1;
  min-width: 0; /* inputs default to ~200px intrinsic; let it shrink */
  background: none;
  border: 0;
  color: #fff;
  padding: 12px 0;
  outline: none;
}
.footer__input::placeholder { color: rgba(223, 230, 238, 0.5); }
.footer__submit {
  background: none;
  border: 0;
  color: #dfe6ee;
  font-size: 18px;
  cursor: pointer;
  padding: 0 8px;
  transition: transform 0.25s, text-shadow 0.25s;
}
.footer__submit:hover { transform: translate(3px, -3px); text-shadow: 0 0 14px rgba(255, 255, 255, 0.6); }
.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(223, 230, 238, 0.55);
  padding: 24px 0;
  border-top: 1px solid rgba(223, 230, 238, 0.12);
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 16.5vw, 280px);
  line-height: 0.8;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(223, 235, 248, 0.2);
  user-select: none;
  transform: translateY(12%);
}

/* ============ ARTICLE PAGES ============ */
.post { padding: clamp(130px, 15vw, 190px) 0 clamp(80px, 10vw, 140px); }
.post__layout { max-width: 780px; }
.post__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.25s;
}
.post__back:hover { color: var(--ink); }
.post__meta { color: var(--dim); margin: 28px 0 22px; }
.post__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: var(--glow-text);
  margin-bottom: 26px;
}
.post__lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--gray);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.post__body { margin-top: 42px; }
.post__body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin: 52px 0 18px;
  padding-left: 16px;
  border-left: 2px solid var(--brand-ink);
}
.post__body h3 {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 10px;
}
.post__body p { color: var(--gray); margin-bottom: 18px; }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__body ol, .post__body ul {
  color: var(--gray);
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
  counter-reset: postlist;
}
.post__body li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
}
.post__body ol li { counter-increment: postlist; }
.post__body ol li::before {
  content: counter(postlist, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.post__body ul li::before {
  content: "▪";
  position: absolute;
  left: 6px; top: -1px;
  color: var(--brand-ink);
}
/* pull-quote for the standout lines */
.post__pull {
  margin: 40px 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand-ink);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ink);
}
.post__cta {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.post__cta-text { color: var(--gray); flex: 1 1 260px; min-width: 0; }
/* next-post nav */
.post__nav {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.post__nav-item {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 22px 26px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: background 0.3s, padding 0.3s;
}
.post__nav-item:hover { background: rgba(255, 255, 255, 0.58); padding-inline: 32px 20px; }
.post__nav-label { color: var(--dim); flex-shrink: 0; }

/* ============ CHAT BUBBLE ============ */
.chatbub {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(30, 42, 58, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.chatbub:hover {
  transform: scale(1.08);
  background: #fff;
  box-shadow: 0 10px 34px rgba(30, 42, 58, 0.4);
}
.chatbub svg { width: 24px; height: 24px; }

/* ============ MOBILE MENU ============ */
.mobmenu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background:
    radial-gradient(ellipse 40% 18% at 55% 6%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 30%, #e2e7ec 0%, #b7bec6 55%, #99a2ac 100%);
  display: none;
  align-items: stretch;
}
.mobmenu.is-open { display: flex; }
.mobmenu__inner {
  width: 100%;
  padding: 120px var(--pad) 32px;
  display: flex;
  flex-direction: column;
}
.mobmenu__label { color: var(--dim); margin-bottom: 24px; }
.mobmenu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobmenu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 7.5vw, 44px);
  font-weight: 600;
  text-transform: uppercase;
  transition: padding-left 0.3s, color 0.3s, text-shadow 0.3s;
}
.mobmenu__link:hover { padding-left: 16px; color: #fff; text-shadow: var(--glow-text); }
.mobmenu__num { color: var(--accent); }
.mobmenu__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.mobmenu__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  padding-top: 32px;
}

/* ============ REVEAL DEFAULTS ============ */
/* Only hide reveal targets once JS is confirmed running, so a script failure
   degrades to a fully visible page instead of a blank one. */
html.js-ready .reveal { opacity: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero__object { opacity: 0.45; right: -30vw; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header__nav, .header__actions { display: none; }
  .header__burger { display: flex; }
}
@media (max-width: 800px) {
  .tiers__row, .who__grid { grid-template-columns: 1fr; }
  .tier + .tier, .who__card + .who__card { border-left: 0; border-top: 1px solid var(--line); }
  .ucase { grid-template-columns: 48px 1fr; }
  .ucase__desc { grid-column: 2; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terminal__toast { right: 8px; }
  .hero__note { display: none; }
  /* keep each transcript line on a single row — a wrapped terminal reads broken */
  .terminal__body { font-size: 12px; padding-inline: 16px; }

  /* The line breaks in the headings are authored for desktop measure. On narrow
     screens they wrap, and a wrapped line inside overflow:hidden gets clipped —
     so let the headings reflow as normal text instead. main.js switches to a
     whole-block reveal at this breakpoint (transforms don't apply to inline). */
  .line-mask,
  .line-mask .line {
    display: inline;
    overflow: visible;
  }

  /* Touch targets: default link heights sit under the 44px minimum. */
  .who__link { min-height: 44px; align-items: center; }
  .footer__link { min-height: 44px; align-items: center; display: flex; }
  .footer__col { gap: 2px; }
  .footer__input, .footer__submit { min-height: 44px; }
  .header__logo { padding-block: 8px; }
  .header__burger { height: 44px; }
}
