/* ==========================================================================
   Braineewaves — design system
   Fonts: Objektiv Mk2 (display), Sinter (body), IBM Plex Mono (labels)
   via Adobe Fonts kit aln3cfd, with Google Fonts fallbacks.
   ========================================================================== */

:root {
  --bg: #f7f8fc;
  --bg-2: #eef1f8;
  --surface: #ffffff;
  --surface-2: #f3f5fb;
  --ink: #0b1224;
  --ink-2: #4a5470;
  --ink-3: #7c86a2;
  --line: #e2e6f0;
  --line-2: #cfd6e6;
  --accent: #2350f0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(35, 80, 240, 0.10);
  --accent-2: #12b8a8;
  --accent-2-soft: rgba(18, 184, 168, 0.12);
  --warn: #e0891b;
  --ok: #17a36b;
  --shadow-sm: 0 1px 2px rgba(11, 18, 36, 0.05), 0 1px 1px rgba(11, 18, 36, 0.03);
  --shadow-md: 0 10px 30px -12px rgba(11, 18, 36, 0.18), 0 2px 6px rgba(11, 18, 36, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(11, 18, 36, 0.28), 0 8px 20px -10px rgba(11, 18, 36, 0.10);
  --glass: rgba(255, 255, 255, 0.72);
  --grid-line: rgba(11, 18, 36, 0.06);

  --font-display: "objektiv-mk2", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "sinter", "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "ibm-plex-mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b15;
    --bg-2: #0b1120;
    --surface: #0e1523;
    --surface-2: #131c2e;
    --ink: #eef2fb;
    --ink-2: #a3adc6;
    --ink-3: #6f7a97;
    --line: #1c2538;
    --line-2: #273148;
    --accent: #6c8fff;
    --accent-ink: #070b15;
    --accent-soft: rgba(108, 143, 255, 0.14);
    --accent-2: #2be0cc;
    --accent-2-soft: rgba(43, 224, 204, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
    --glass: rgba(14, 21, 35, 0.72);
    --grid-line: rgba(238, 242, 251, 0.06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070b15;
  --bg-2: #0b1120;
  --surface: #0e1523;
  --surface-2: #131c2e;
  --ink: #eef2fb;
  --ink-2: #a3adc6;
  --ink-3: #6f7a97;
  --line: #1c2538;
  --line-2: #273148;
  --accent: #6c8fff;
  --accent-ink: #070b15;
  --accent-soft: rgba(108, 143, 255, 0.14);
  --accent-2: #2be0cc;
  --accent-2-soft: rgba(43, 224, 204, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  --glass: rgba(14, 21, 35, 0.72);
  --grid-line: rgba(238, 242, 251, 0.06);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
.h4 { font-size: 1.1rem; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.92rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .eyebrow::before {
    width: 20px; height: 12px; border-radius: 0; background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'><path d='M1 7c2.2 0 2.2-5 4.5-5S7.7 9 10 9s2.3-8 4.5-8S16.8 7 19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'><path d='M1 7c2.2 0 2.2-5 4.5-5S7.7 9 10 9s2.3-8 4.5-8S16.8 7 19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  }
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
.em { color: var(--accent); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { max-width: 62ch; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
  .section-head--split .lead { margin-top: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px var(--accent); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px var(--accent); }
.btn--ghost { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link .ic { width: 16px; height: 16px; transition: transform .18s ease; }
.link:hover .ic { transform: translateX(3px); }

/* ---------- Icons ---------- */
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon-tile--teal { background: var(--accent-2-soft); color: var(--accent-2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: var(--glass);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 24px; width: auto; display: block; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}
.footer .brand__logo { height: 22px; }
@media (max-width: 599px) { .brand__logo { height: 18px; } }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: color .15s, background .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav__cta { display: none; align-items: center; gap: 10px; }
.nav__toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.nav__toggle .ic { width: 20px; height: 20px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); color: var(--ink-2); }
.theme-toggle .ic { width: 18px; height: 18px; }
.theme-toggle .ic--moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic--sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .ic--moon { display: block; }
}
@media (min-width: 900px) {
  .nav__links, .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: var(--bg); padding: 24px var(--gutter);
  flex-direction: column; gap: 6px; border-top: 1px solid var(--line);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 14px 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, var(--accent-2-soft), transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero__copy { display: grid; gap: 26px; }
.hero__copy .display { max-width: 12ch; }
.hero__copy .lead { max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 0.9rem; }
.hero__note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 163, 107, 0.18); }

/* Observation panel (hero visual) */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.panel__title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: pulse 2s infinite; }
.panel__chips { display: flex; gap: 6px; }
.chip { font-family: var(--font-mono); font-size: 0.7rem; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.chip--live { background: var(--accent-2-soft); color: var(--accent-2); border-color: transparent; }
.panel__wave { position: relative; height: 220px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.panel__wave canvas { width: 100%; height: 100%; }
.panel__wave-label { position: absolute; left: 18px; top: 14px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.06em; }
.panel__readouts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.readout { padding: 16px 18px; border-right: 1px solid var(--line); }
.readout:last-child { border-right: 0; }
.readout__k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.readout__v { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.readout__v small { font-size: 0.8rem; color: var(--ink-3); font-weight: 500; margin-left: 3px; }
.readout__d { font-size: 0.78rem; margin-top: 2px; color: var(--ok); font-family: var(--font-mono); }
.readout__d.is-warn { color: var(--warn); }
.panel__agent { display: flex; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); background: var(--surface-2); align-items: flex-start; }
.panel__agent .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.panel__agent .icon-tile .ic { width: 18px; height: 18px; }
.panel__agent p { font-size: 0.9rem; line-height: 1.45; }
.panel__agent strong { font-weight: 600; }
.float {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 500;
  animation: floaty 6s ease-in-out infinite;
}
.float .ic { width: 16px; height: 16px; color: var(--accent); }
.float--a { top: 0; right: 24px; }
.float--b { bottom: 0; left: -12px; animation-delay: -3s; }
.hero__visual { position: relative; padding: 32px 0; }
@media (max-width: 999px) { .float--b { left: 8px; } .float--a { right: 8px; } .float { font-size: 0.8rem; } }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-2-soft); } 50% { box-shadow: 0 0 0 6px transparent; } }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof__inner { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .proof__inner { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stat:last-child { border-right: 0; }
@media (max-width: 759px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat__v { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__k { color: var(--ink-2); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Statement / problem */
.statement { display: grid; gap: 28px; }
@media (min-width: 900px) { .statement { grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; } }
.statement__quote { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.statement__quote .em { color: var(--accent); }
.statement__side { display: grid; gap: 18px; color: var(--ink-2); font-size: 1.02rem; }
.compare { display: grid; gap: 10px; }
.compare__row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.compare__row .ic { width: 20px; height: 20px; margin-top: 2px; }
.compare__row--bad .ic { color: var(--warn); }
.compare__row--good { border-color: var(--accent); background: var(--accent-soft); }
.compare__row--good .ic { color: var(--accent); }
.compare__row strong { color: var(--ink); font-weight: 600; }

/* Pillars */
.pillars { display: grid; gap: 16px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  display: grid; gap: 18px; align-content: start;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.pillar p { color: var(--ink-2); }
.pillar__list { display: grid; gap: 8px; margin-top: 4px; }
.pillar__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.pillar__list .ic { width: 16px; height: 16px; color: var(--accent-2); margin-top: 5px; }
.pillar--featured { background: linear-gradient(160deg, var(--surface), var(--surface-2)); }

/* Industries */
.industries { display: grid; gap: 16px; }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.ind {
  position: relative; display: grid; grid-template-rows: 180px auto;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind__img { position: relative; overflow: hidden; }
.ind__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ind:hover .ind__img img { transform: scale(1.05); }
.ind__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--surface) 100%); }
.ind__tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.ind__body { padding: 8px 22px 24px; display: grid; gap: 10px; }
.ind__body h3 { font-size: 1.2rem; }
.ind__body p { color: var(--ink-2); font-size: 0.96rem; }
.ind__use { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* Hardware band (dark by design) */
.hardware {
  --hw-bg: #070b15; --hw-surface: #0e1523; --hw-ink: #eef2fb; --hw-ink-2: #a3adc6; --hw-line: #1d2740; --hw-accent: #6c8fff; --hw-teal: #2be0cc;
  position: relative; overflow: hidden; color: var(--hw-ink); background: var(--hw-bg);
  padding-block: var(--section);
}
.hardware__bg { position: absolute; inset: 0; z-index: 0; }
.hardware__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hardware__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hw-bg) 0%, rgba(7, 11, 21, 0.85) 45%, rgba(7, 11, 21, 0.55) 100%); }
.hardware__inner { position: relative; z-index: 1; display: grid; gap: 44px; }
@media (min-width: 1000px) { .hardware__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }
.hardware .eyebrow { color: var(--hw-teal); }
.hardware .lead { color: var(--hw-ink-2); }
.hardware__list { display: grid; gap: 14px; margin-top: 8px; }
.hardware__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.hardware__list .icon-tile { width: 40px; height: 40px; background: rgba(43, 224, 204, 0.12); color: var(--hw-teal); border-radius: 10px; }
.hardware__list .icon-tile .ic { width: 20px; height: 20px; }
.hardware__list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.hardware__list span { color: var(--hw-ink-2); font-size: 0.95rem; }
.hardware .btn--primary { background: var(--hw-teal); color: var(--hw-bg); box-shadow: none; }
.hardware .btn--ghost { background: transparent; border-color: var(--hw-line); color: var(--hw-ink); }

.telemetry { background: var(--hw-surface); border: 1px solid var(--hw-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.telemetry__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hw-line); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hw-ink-2); }
.telemetry__bar b { color: var(--hw-teal); font-weight: 500; }
.telemetry__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.tele { padding: 18px; border-bottom: 1px solid var(--hw-line); border-right: 1px solid var(--hw-line); display: grid; gap: 6px; }
.tele:nth-child(2n) { border-right: 0; }
.tele__k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hw-ink-2); }
.tele__v { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tele__v small { font-size: 0.8rem; color: var(--hw-ink-2); margin-left: 3px; font-weight: 500; }
.tele__bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tele__bar i { display: block; height: 100%; background: var(--hw-teal); border-radius: 2px; }
.tele__bar i.is-warn { background: #ffb347; }
.telemetry__log { padding: 14px 18px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--hw-ink-2); display: grid; gap: 6px; }
.telemetry__log span { display: flex; gap: 12px; }
.telemetry__log time { color: var(--hw-teal); }
.telemetry__log .alert { color: #ffb347; }
.telemetry__spark { height: 64px; padding: 0 18px 14px; }
.telemetry__spark canvas { width: 100%; height: 100%; }

/* Guarantee */
.guarantee { display: grid; gap: 24px; }
@media (min-width: 900px) { .guarantee { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.guarantee__card { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--bg); overflow: hidden; }
.guarantee__card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0.55; }
.guarantee__card > * { position: relative; }
.guarantee__card .eyebrow { color: var(--accent-2); }
.guarantee__card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 14px; }
.guarantee__card p { margin-top: 12px; opacity: 0.8; }
.guarantee__terms { display: grid; gap: 12px; margin-top: 22px; }
.guarantee__terms li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.guarantee__terms .ic { width: 18px; height: 18px; color: var(--accent-2); margin-top: 3px; }
.guarantee__points { display: grid; gap: 22px; }
.point { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.point h4 { margin-bottom: 4px; }
.point p { color: var(--ink-2); font-size: 0.98rem; }

/* Process (real sequence, so numbering is information) */
.process { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { grid-template-columns: 90px 1fr 1.2fr; gap: 32px; } }
.step__n { font-family: var(--font-mono); color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; padding-top: 6px; }
.step__n::before { counter-increment: step; content: "0" counter(step); font-size: 1.6rem; letter-spacing: -0.02em; display: block; line-height: 1; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); }
.step__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.step--build { background: var(--accent-soft); border-radius: var(--radius); padding-inline: 20px; border-top: 0; margin-top: 12px; }
.step--build .step__n::before { color: var(--accent); }

/* Deliverables */
.deliverables { display: grid; gap: 12px; }
@media (min-width: 640px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }
.deliverable { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.deliverable .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.deliverable strong { display: block; font-family: var(--font-display); font-weight: 600; }
.deliverable span { color: var(--ink-2); font-size: 0.92rem; }

/* Case studies */
.cases { display: grid; gap: 18px; }
@media (min-width: 800px) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case {
  display: grid; grid-template-rows: 220px auto; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case__img { position: relative; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case__img img { transform: scale(1.04); }
.case__img .tag { position: absolute; top: 14px; left: 14px; background: var(--glass); backdrop-filter: blur(8px); }
.case__body { padding: 22px 24px 26px; display: grid; gap: 14px; }
.case__metric { display: flex; align-items: baseline; gap: 10px; }
.case__metric b { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.03em; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.case__metric span { color: var(--ink-2); font-size: 0.95rem; max-width: 24ch; line-height: 1.3; }
.case h3 { font-size: 1.3rem; }
.case p { color: var(--ink-2); font-size: 0.96rem; }
.case .link { margin-top: 4px; }

/* Case study detail */
.cs-hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.cs-hero__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .cs-hero__grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.cs-hero__img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.cs-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
@media (min-width: 760px) { .cs-facts { grid-template-columns: repeat(4, 1fr); } }
.cs-fact { padding: 20px; border-right: 1px solid var(--line); }
.cs-fact:last-child { border-right: 0; }
@media (max-width: 759px) { .cs-fact:nth-child(2) { border-right: 0; } .cs-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.cs-fact b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; font-weight: 600; color: var(--accent); }
.cs-fact span { color: var(--ink-2); font-size: 0.9rem; }
.cs-body { display: grid; gap: 48px; }
@media (min-width: 960px) { .cs-body { grid-template-columns: 240px 1fr; gap: 64px; align-items: start; } }
.cs-toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.cs-toc a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 0.95rem; border-left: 2px solid var(--line); border-radius: 0; }
.cs-toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.cs-content { display: grid; gap: 40px; max-width: 70ch; }
.cs-content h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cs-content p { color: var(--ink-2); }
.cs-content ul { display: grid; gap: 10px; margin-top: 14px; }
.cs-content ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.cs-content ul li .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.modules { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); } }
.module { padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.module strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.module span { font-size: 0.9rem; color: var(--ink-2); }
.quote { padding: 28px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid transparent; display: grid; gap: 14px; }
.quote p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.quote footer { color: var(--ink-2); font-size: 0.9rem; }

/* Values */
.values { display: grid; gap: 14px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.value .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.value .icon-tile .ic { width: 20px; height: 20px; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--ink-2); font-size: 0.95rem; }

/* Testimonial */
.testimonial { display: grid; gap: 28px; text-align: center; justify-items: center; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 26ch; font-weight: 500; }
.testimonial cite { font-style: normal; color: var(--ink-2); font-size: 0.95rem; }
.testimonial__mark { width: 36px; height: 36px; color: var(--accent); }

/* Split media section */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__caption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 12px 14px; border-radius: 10px; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 0.85rem; display: flex; gap: 10px; align-items: center; }
.split__caption .ic { width: 16px; height: 16px; color: var(--accent); }
.split__copy { display: grid; gap: 18px; }
.split__copy .lead { max-width: 50ch; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks .ic { width: 18px; height: 18px; color: var(--accent-2); margin-top: 4px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: var(--ink); color: var(--bg); display: grid; gap: 22px; justify-items: start; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 36, 0.95) 20%, rgba(11, 18, 36, 0.55)); }
.cta > :not(.cta__bg) { position: relative; z-index: 1; }
.cta__logo { height: 30px; width: auto; margin-bottom: 10px; }
.cta h2 { max-width: 16ch; color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.cta .eyebrow { color: var(--accent-2); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }

/* Contact */
.contact { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact__cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); align-items: center; transition: border-color .15s, transform .15s; }
.ccard:hover { border-color: var(--accent); transform: translateY(-2px); }
.ccard strong { display: block; font-family: var(--font-display); font-weight: 600; }
.ccard span { color: var(--ink-2); font-size: 0.95rem; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.85rem; color: var(--ink-3); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero .hero__bg { opacity: 0.8; }
.page-hero__inner { position: relative; z-index: 1; display: grid; gap: 20px; max-width: 800px; }
.page-hero__inner .h1 { max-width: 16ch; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand p { color: var(--ink-2); max-width: 32ch; font-size: 0.95rem; }
.footer h4 { font-size: 0.78rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-weight: 500; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); font-size: 0.95rem; }
.footer ul a:hover { color: var(--ink); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; }
.footer__contact .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.85rem; }

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.8);
  transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float .ic { width: 26px; height: 26px; fill: currentColor; stroke: none; }

/* Reveal (content is fully visible at rest; the class only plays an entrance animation) */
@keyframes reveal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal.is-in { animation: reveal-in .7s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Utilities */
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.center { text-align: center; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
