/* ═══════════════════════════════════════════════════════════════
     Idonia — Institutional Landing
     Brand: v4 · Kiwi Terminal · Eerie Black + Kiwi Green + Honeydew
     Mood: retro-futurist · meditativo · breathing
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Kiwi — signal primary */
  --signal:        #9EF247;
  --signal-soft:   #B8F870;
  --signal-deep:   #76C21A;
  --signal-glow:   rgba(158, 242, 71, 0.5);
  --signal-mist:   rgba(158, 242, 71, 0.12);
  --signal-wash:   rgba(158, 242, 71, 0.04);

  /* Honeydew — secondary accent (timestamps, IDs, pullquotes) */
  --platinum:      #CBF4D3;
  --platinum-soft: #E5F9E9;
  --platinum-deep: #9DCCA6;

  /* Ink — Eerie Black stack */
  --ink:           #1E1E1E;
  --ink-soft:      #262626;
  --ink-lift:      #2E2E2E;
  --ink-raise:    #434444;

  /* Paper / surface text */
  --paper:        #FFFFFF;
  --paper-soft:   #F5F5F5;
  --paper-mute:   #A3A3A3;
  --paper-dim:    #6A6A6A;

  /* Lines */
  --line:         rgba(158, 242, 71, 0.18);
  --line-soft:    rgba(255, 255, 255, 0.06);
  --line-signal:  rgba(158, 242, 71, 0.5);

  /* Status */
  --ok:           #9EF247;
  --warn:         #F5C26B;
  --err:          #F56B6B;

  /* Type */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  /* Radii — tight, with full for CTAs */
  --radius: 2px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-full: 9999px;

  /* Motion */
  --transition: 180ms ease;
  --dur-ambient: 8000ms;

  /* Compat aliases (legacy inline styles in some pages) */
  --navy-950: var(--ink);
  --navy-900: var(--ink-soft);
  --navy-800: var(--ink-lift);
  --navy-700: var(--ink-raise);
  --navy-600: var(--ink-raise);
  --gray-50:  var(--paper-soft);
  --gray-100: #2A2A2A;
  --gray-200: #333333;
  --gray-300: var(--paper-dim);
  --gray-400: var(--paper-dim);
  --gray-500: var(--paper-mute);
  --gray-600: var(--paper-mute);
  --gray-700: var(--paper);
  --gray-800: var(--paper);
  --brand: var(--signal);
  --brand-light: var(--signal-soft);
  --brand-dark: var(--signal-deep);
  --amber: var(--warn);
  --bg-light: var(--ink);
  --text-primary: var(--paper);
  --text-secondary: var(--paper-mute);
  --text-on-dark: var(--paper);
  --text-muted-dark: var(--paper-mute);
  --accent: var(--signal);
  --accent-hover: var(--signal-soft);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container-wide { max-width: 1440px; }

/* ── Wordmark — pixel bitmap (mask-image data URI) ────────── */
.idonia-mk {
  display: inline-block;
  aspect-ratio: 27 / 7;
  width: 96px;
  background: currentColor;
  color: var(--paper);
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 140' shape-rendering='crispEdges'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='0' width='20' height='20'/%3E%3Crect x='0' y='40' width='20' height='20'/%3E%3Crect x='0' y='60' width='20' height='20'/%3E%3Crect x='0' y='80' width='20' height='20'/%3E%3Crect x='0' y='100' width='20' height='20'/%3E%3Crect x='0' y='120' width='20' height='20'/%3E%3Crect x='120' y='0' width='20' height='20'/%3E%3Crect x='120' y='20' width='20' height='20'/%3E%3Crect x='40' y='40' width='20' height='20'/%3E%3Crect x='60' y='40' width='20' height='20'/%3E%3Crect x='80' y='40' width='20' height='20'/%3E%3Crect x='120' y='40' width='20' height='20'/%3E%3Crect x='40' y='60' width='20' height='20'/%3E%3Crect x='120' y='60' width='20' height='20'/%3E%3Crect x='40' y='80' width='20' height='20'/%3E%3Crect x='120' y='80' width='20' height='20'/%3E%3Crect x='40' y='100' width='20' height='20'/%3E%3Crect x='120' y='100' width='20' height='20'/%3E%3Crect x='40' y='120' width='20' height='20'/%3E%3Crect x='60' y='120' width='20' height='20'/%3E%3Crect x='80' y='120' width='20' height='20'/%3E%3Crect x='100' y='120' width='20' height='20'/%3E%3Crect x='120' y='120' width='20' height='20'/%3E%3Crect x='160' y='40' width='20' height='20'/%3E%3Crect x='180' y='40' width='20' height='20'/%3E%3Crect x='200' y='40' width='20' height='20'/%3E%3Crect x='220' y='40' width='20' height='20'/%3E%3Crect x='240' y='40' width='20' height='20'/%3E%3Crect x='160' y='60' width='20' height='20'/%3E%3Crect x='240' y='60' width='20' height='20'/%3E%3Crect x='160' y='80' width='20' height='20'/%3E%3Crect x='240' y='80' width='20' height='20'/%3E%3Crect x='160' y='100' width='20' height='20'/%3E%3Crect x='240' y='100' width='20' height='20'/%3E%3Crect x='160' y='120' width='20' height='20'/%3E%3Crect x='180' y='120' width='20' height='20'/%3E%3Crect x='200' y='120' width='20' height='20'/%3E%3Crect x='220' y='120' width='20' height='20'/%3E%3Crect x='240' y='120' width='20' height='20'/%3E%3Crect x='280' y='40' width='20' height='20'/%3E%3Crect x='300' y='40' width='20' height='20'/%3E%3Crect x='320' y='40' width='20' height='20'/%3E%3Crect x='340' y='40' width='20' height='20'/%3E%3Crect x='360' y='40' width='20' height='20'/%3E%3Crect x='280' y='60' width='20' height='20'/%3E%3Crect x='360' y='60' width='20' height='20'/%3E%3Crect x='280' y='80' width='20' height='20'/%3E%3Crect x='360' y='80' width='20' height='20'/%3E%3Crect x='280' y='100' width='20' height='20'/%3E%3Crect x='360' y='100' width='20' height='20'/%3E%3Crect x='280' y='120' width='20' height='20'/%3E%3Crect x='360' y='120' width='20' height='20'/%3E%3Crect x='400' y='0' width='20' height='20'/%3E%3Crect x='400' y='40' width='20' height='20'/%3E%3Crect x='400' y='60' width='20' height='20'/%3E%3Crect x='400' y='80' width='20' height='20'/%3E%3Crect x='400' y='100' width='20' height='20'/%3E%3Crect x='400' y='120' width='20' height='20'/%3E%3Crect x='440' y='40' width='20' height='20'/%3E%3Crect x='460' y='40' width='20' height='20'/%3E%3Crect x='480' y='40' width='20' height='20'/%3E%3Crect x='500' y='40' width='20' height='20'/%3E%3Crect x='520' y='40' width='20' height='20'/%3E%3Crect x='520' y='60' width='20' height='20'/%3E%3Crect x='440' y='80' width='20' height='20'/%3E%3Crect x='460' y='80' width='20' height='20'/%3E%3Crect x='480' y='80' width='20' height='20'/%3E%3Crect x='500' y='80' width='20' height='20'/%3E%3Crect x='520' y='80' width='20' height='20'/%3E%3Crect x='440' y='100' width='20' height='20'/%3E%3Crect x='520' y='100' width='20' height='20'/%3E%3Crect x='440' y='120' width='20' height='20'/%3E%3Crect x='460' y='120' width='20' height='20'/%3E%3Crect x='480' y='120' width='20' height='20'/%3E%3Crect x='500' y='120' width='20' height='20'/%3E%3Crect x='520' y='120' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 140' shape-rendering='crispEdges'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='0' width='20' height='20'/%3E%3Crect x='0' y='40' width='20' height='20'/%3E%3Crect x='0' y='60' width='20' height='20'/%3E%3Crect x='0' y='80' width='20' height='20'/%3E%3Crect x='0' y='100' width='20' height='20'/%3E%3Crect x='0' y='120' width='20' height='20'/%3E%3Crect x='120' y='0' width='20' height='20'/%3E%3Crect x='120' y='20' width='20' height='20'/%3E%3Crect x='40' y='40' width='20' height='20'/%3E%3Crect x='60' y='40' width='20' height='20'/%3E%3Crect x='80' y='40' width='20' height='20'/%3E%3Crect x='120' y='40' width='20' height='20'/%3E%3Crect x='40' y='60' width='20' height='20'/%3E%3Crect x='120' y='60' width='20' height='20'/%3E%3Crect x='40' y='80' width='20' height='20'/%3E%3Crect x='120' y='80' width='20' height='20'/%3E%3Crect x='40' y='100' width='20' height='20'/%3E%3Crect x='120' y='100' width='20' height='20'/%3E%3Crect x='40' y='120' width='20' height='20'/%3E%3Crect x='60' y='120' width='20' height='20'/%3E%3Crect x='80' y='120' width='20' height='20'/%3E%3Crect x='100' y='120' width='20' height='20'/%3E%3Crect x='120' y='120' width='20' height='20'/%3E%3Crect x='160' y='40' width='20' height='20'/%3E%3Crect x='180' y='40' width='20' height='20'/%3E%3Crect x='200' y='40' width='20' height='20'/%3E%3Crect x='220' y='40' width='20' height='20'/%3E%3Crect x='240' y='40' width='20' height='20'/%3E%3Crect x='160' y='60' width='20' height='20'/%3E%3Crect x='240' y='60' width='20' height='20'/%3E%3Crect x='160' y='80' width='20' height='20'/%3E%3Crect x='240' y='80' width='20' height='20'/%3E%3Crect x='160' y='100' width='20' height='20'/%3E%3Crect x='240' y='100' width='20' height='20'/%3E%3Crect x='160' y='120' width='20' height='20'/%3E%3Crect x='180' y='120' width='20' height='20'/%3E%3Crect x='200' y='120' width='20' height='20'/%3E%3Crect x='220' y='120' width='20' height='20'/%3E%3Crect x='240' y='120' width='20' height='20'/%3E%3Crect x='280' y='40' width='20' height='20'/%3E%3Crect x='300' y='40' width='20' height='20'/%3E%3Crect x='320' y='40' width='20' height='20'/%3E%3Crect x='340' y='40' width='20' height='20'/%3E%3Crect x='360' y='40' width='20' height='20'/%3E%3Crect x='280' y='60' width='20' height='20'/%3E%3Crect x='360' y='60' width='20' height='20'/%3E%3Crect x='280' y='80' width='20' height='20'/%3E%3Crect x='360' y='80' width='20' height='20'/%3E%3Crect x='280' y='100' width='20' height='20'/%3E%3Crect x='360' y='100' width='20' height='20'/%3E%3Crect x='280' y='120' width='20' height='20'/%3E%3Crect x='360' y='120' width='20' height='20'/%3E%3Crect x='400' y='0' width='20' height='20'/%3E%3Crect x='400' y='40' width='20' height='20'/%3E%3Crect x='400' y='60' width='20' height='20'/%3E%3Crect x='400' y='80' width='20' height='20'/%3E%3Crect x='400' y='100' width='20' height='20'/%3E%3Crect x='400' y='120' width='20' height='20'/%3E%3Crect x='440' y='40' width='20' height='20'/%3E%3Crect x='460' y='40' width='20' height='20'/%3E%3Crect x='480' y='40' width='20' height='20'/%3E%3Crect x='500' y='40' width='20' height='20'/%3E%3Crect x='520' y='40' width='20' height='20'/%3E%3Crect x='520' y='60' width='20' height='20'/%3E%3Crect x='440' y='80' width='20' height='20'/%3E%3Crect x='460' y='80' width='20' height='20'/%3E%3Crect x='480' y='80' width='20' height='20'/%3E%3Crect x='500' y='80' width='20' height='20'/%3E%3Crect x='520' y='80' width='20' height='20'/%3E%3Crect x='440' y='100' width='20' height='20'/%3E%3Crect x='520' y='100' width='20' height='20'/%3E%3Crect x='440' y='120' width='20' height='20'/%3E%3Crect x='460' y='120' width='20' height='20'/%3E%3Crect x='480' y='120' width='20' height='20'/%3E%3Crect x='500' y='120' width='20' height='20'/%3E%3Crect x='520' y='120' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  vertical-align: middle;
  user-select: none;
}
.idonia-mk.on-signal { color: var(--ink); }
.idonia-mk.in-signal { color: var(--signal); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  padding: 10px 0;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-logo .idonia-mk {
  width: 84px;
  color: var(--signal);
  filter: drop-shadow(0 0 10px rgba(158, 242, 71, 0.35));
}

.nav-logo::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 0;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  justify-self: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--signal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(158, 242, 71, 0.08);
  border: 1px solid var(--line-signal);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 12px 10px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--signal);
}

/* ── Buttons — Terminal CTAs ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sm {
  font-size: 11px;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 12px;
  padding: 14px 22px;
}

.btn-primary {
  background: var(--ink);
  color: var(--signal);
  border-color: var(--line-signal);
}

.btn-primary:hover {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
  box-shadow: 0 0 24px var(--signal-glow);
}

.btn-outline {
  background: var(--ink);
  color: var(--signal);
  border-color: var(--line-signal);
}

.btn-outline:hover {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
  box-shadow: 0 0 24px var(--signal-glow);
}

/* Nav CTA — boxed variant to stand apart from menu links */
.nav .btn-nav-cta {
  font-size: 11px;
  padding: 10px 18px;
  background: rgba(158, 242, 71, 0.04);
  color: var(--signal);
  border: 1px solid var(--signal);
  box-shadow: inset 0 0 0 1px rgba(158, 242, 71, 0.06);
}

.nav .btn-nav-cta:hover,
.nav .btn-nav-cta:focus-visible {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
  box-shadow: 0 0 24px var(--signal-glow);
}

.btn-full { width: 100%; }

/* ── Shader field — meditative breathing backdrop ─────────── */
.shader-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(158,242,71,0.16) 0%, rgba(158,242,71,0) 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(158,242,71,0.07) 0%, rgba(158,242,71,0) 70%),
    var(--ink);
  animation: breathe var(--dur-ambient) ease-in-out infinite;
  pointer-events: none;
}
.shader-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158,242,71,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158,242,71,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 0%, transparent 70%);
  opacity: 0.7;
}
.shader-field::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.18) 0px,
    rgba(0,0,0,0.18) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.5;
}
@keyframes breathe {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 1; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 132px 0 88px;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero > .container { position: relative; z-index: 1; }

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.76fr);
  gap: var(--sp-3xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0;
  margin-bottom: var(--sp-xl);
  border: 0;
  background: transparent;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 32px;
  max-width: 920px;
}

.hero h1 em,
.hero h1 .signal {
  font-style: normal;
  color: var(--signal);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--paper-mute);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: var(--sp-2xl);
}

.hero-sub strong { color: var(--paper); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Hero flags — 4-col mono key/value strip below the CTAs (brand pattern). */
.hero-flags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  max-width: 720px;
  background: var(--line);
  border: 1px solid var(--line);
}
.flag {
  min-height: 84px;
  padding: 16px 14px;
  background: rgba(38, 38, 38, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
}
.flag-k {
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  margin-bottom: 6px;
}
.flag-v { color: var(--paper); }

/* Hero visual — pixel-grid orb in bracketed frame */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-frame {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 0.86 / 1;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(158, 242, 71, 0.04), 0 30px 80px rgba(0, 0, 0, 0.42);
}

/* bracket corners on the frame */
.visual-frame::before,
.visual-frame::after,
.visual-frame > .vf-bl,
.visual-frame > .vf-br {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--signal);
  pointer-events: none;
  z-index: 4;
}
.visual-frame::before { top: 8px;    left: 8px;    border-width: 1.5px 0 0 1.5px; }
.visual-frame::after  { top: 8px;    right: 8px;   border-width: 1.5px 1.5px 0 0; }
.visual-frame > .vf-bl { bottom: 8px; left: 8px;   border-width: 0 0 1.5px 1.5px; }
.visual-frame > .vf-br { bottom: 8px; right: 8px;  border-width: 0 1.5px 1.5px 0; }

.visual-meta {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  z-index: 4;
}
.visual-meta.tl { top: 18px; left: 32px; }
.visual-meta.br { bottom: 18px; right: 32px; color: var(--platinum); }

.visual-orb {
  position: absolute;
  inset: 8% 0 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  opacity: 0.35;
  z-index: 1;
  mix-blend-mode: screen;
}

.visual-orb svg {
  width: 78%;
  height: 78%;
}

.visual-gif {
  position: absolute;
  inset: 0 0 18%;
  width: 100%;
  height: 82%;
  object-fit: cover;
  z-index: 2;
  opacity: 0.9;
  filter: hue-rotate(60deg) saturate(0.85) brightness(0.95) contrast(1.05);
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 55%, transparent 100%);
  mix-blend-mode: screen;
}

.visual-pill {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line-signal);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal);
  z-index: 5;
  letter-spacing: 0.05em;
}

.visual-pill .dot {
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

.visual-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  box-shadow: 0 0 12px var(--signal-glow);
  z-index: 2;
  animation: scan 4s ease-in-out infinite;
}

.proof-receipt {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  background: rgba(15, 15, 15, 0.88);
  border: 1px solid var(--line);
  padding: 18px;
  font-family: var(--font-mono);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.proof-receipt::before,
.proof-receipt::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--signal);
  border-style: solid;
  pointer-events: none;
}

.proof-receipt::before {
  top: -1px;
  left: -1px;
  border-width: 1.5px 0 0 1.5px;
}

.proof-receipt::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1.5px 1.5px 0;
}

.proof-receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--paper-dim);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.proof-receipt-head span:last-child {
  color: var(--platinum);
}

.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-mute);
  font-size: 11.5px;
}

.proof-row strong {
  color: var(--signal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes scan {
  0%, 100% { top: 12%; opacity: 0.3; }
  50%      { top: 86%; opacity: 1; }
}

/* legacy .visual-points / .visual-labels ignored under new design (orb replaces them) */
.visual-points, .visual-labels { display: none; }

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.section-dark {
  background: var(--ink-soft);
}

.section-light {
  background: var(--ink);
}

/* Section head — brand pattern: section-num column + content column.
   Replaces the older centered title+sub layout site-wide. */
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 10px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  margin-bottom: 24px;
  color: var(--paper);
  line-height: 1;
}

.section-title em,
.section-title .signal {
  color: var(--signal);
  font-style: normal;
}

.section-sub {
  text-align: left;
  font-family: var(--font-mono);
  color: var(--paper-mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

.section-sub strong { color: var(--paper); font-weight: 500; }

/* Waitlist + CTA sections keep the original centered headline treatment —
   they are transitional CTA blocks, not content sections, and don't use
   the section-num + grid head layout. */
.waitlist-section .section-title,
.cta-section .section-title,
.cta-section h2 {
  text-align: center;
  font-size: clamp(28px, 3.6vw, 48px);
}
.waitlist-section .section-sub,
.cta-section .section-sub {
  text-align: center;
  margin: 0 auto var(--sp-3xl);
  max-width: 560px;
}

/* ── Tags — terminal chips (brand pattern) ──────────────── */
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--paper-mute);
  border-radius: 2px;
  vertical-align: middle;
}
.tag-rec     { background: var(--signal); color: var(--ink); border-color: var(--signal); font-weight: 600; }
.tag-soon    { background: rgba(245, 194, 107, 0.10); color: var(--warn); border-color: rgba(245, 194, 107, 0.3); }
.tag-bold    { background: var(--signal-mist); color: var(--signal); border-color: var(--line-signal); }

/* ── Bracket frame — viewfinder corner brackets, reusable ─ */
.bracket-frame {
  position: relative;
}
.bracket-frame::before,
.bracket-frame::after,
.bracket-frame > .br-bl,
.bracket-frame > .br-br {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--signal);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.bracket-frame::before { top: 0; left: 0;     border-width: 1.5px 0 0 1.5px; }
.bracket-frame::after  { top: 0; right: 0;    border-width: 1.5px 1.5px 0 0; }
.bracket-frame > .br-bl { bottom: 0; left: 0;  border-width: 0 0 1.5px 1.5px; }
.bracket-frame > .br-br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* ── Steps (How it works) ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  background: var(--ink);
  padding: var(--sp-2xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  text-align: left;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.step-icon {
  width: 48px;
  height: 48px;
  color: var(--signal);
  margin-bottom: var(--sp-sm);
}

.step-icon svg { width: 100%; height: 100%; }

.step h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0;
}

.step p {
  font-family: var(--font-mono);
  color: var(--paper-mute);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--ink);
  padding: var(--sp-2xl);
  transition: background var(--transition);
}

.feature:hover {
  background: var(--ink-lift);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--signal);
  margin-bottom: var(--sp-md);
}

.feature-icon svg { width: 100%; height: 100%; }

.feature h4 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--paper);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0;
}

.feature p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-mute);
  line-height: 1.7;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  padding: var(--sp-3xl);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--line-soft);
}

.pricing-header h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--sp-md);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-currency {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--paper-mute);
}

.pricing-value {
  font-family: var(--font-sans);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0;
  line-height: 1;
}

.pricing-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-left: 0.4rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--sp-xl);
}

.pricing-features li {
  display: flex;
  align-items: baseline;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.pricing-features li::before {
  content: '✓';
  color: var(--signal);
  font-weight: 600;
  margin-right: var(--sp-sm);
}

.pricing-free {
  font-family: var(--font-mono);
  color: var(--signal);
  font-weight: 500;
  font-size: 12px;
  margin-top: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-cc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-mute);
  margin-top: var(--sp-xs);
}

.pricing-addons {
  background: var(--ink);
  border: 1px solid var(--line-soft);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.pricing-addons p {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--paper-mute);
  margin-bottom: var(--sp-sm);
}

.pricing-addons p strong {
  color: var(--signal);
  font-weight: 500;
}

.pricing-addons table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
}

.pricing-addons td {
  padding: 6px 0;
}

.pricing-addons td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--platinum);
}

.pricing-addons td.addon-soon {
  font-weight: 400;
  font-size: 10.5px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Developer Section ────────────────────────────────────── */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-items: stretch;
}

.dev-card {
  background: var(--ink);
  padding: var(--sp-2xl);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dev-card h4 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--paper);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0;
}

.dev-card > p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-mute);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.code-block {
  background: #0F0F0F;
  border: 1px solid var(--line-soft);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-lg);
  overflow-x: auto;
  max-width: 100%;
  flex: 1;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--paper-mute);
}

.dev-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color var(--transition);
}

.dev-link:hover { color: var(--signal-soft); }

/* ── Language switcher ────────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  padding: 0;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--paper-mute);
  background: var(--ink);
  border: none;
  padding: 5px 9px;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.lang-btn:hover { color: var(--signal); }

.lang-btn.active {
  background: var(--signal);
  color: var(--ink);
}

/* ── Waitlist ─────────────────────────────────────────────── */
.waitlist-section {
  background: var(--ink-soft);
  position: relative;
}

.waitlist-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-input-group {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  outline: none;
  border-radius: var(--radius-full);
  transition: border-color var(--transition);
}

.waitlist-input:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-mist);
}

.waitlist-input::placeholder {
  color: var(--paper-dim);
}

.waitlist-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.waitlist-success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-xl);
  background: var(--signal-mist);
  border: 1px solid var(--line-signal);
}

.waitlist-success p {
  font-family: var(--font-mono);
  color: var(--signal);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background: var(--ink);
  padding: var(--sp-4xl) 0;
}

.cta-section h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0;
  margin-bottom: var(--sp-md);
  line-height: 1.05;
}

.cta-section > .container > p {
  font-family: var(--font-mono);
  color: var(--paper-mute);
  font-size: 13px;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto var(--sp-2xl);
}

.cta-tagline {
  font-family: var(--font-mono);
  font-style: normal !important;
  color: var(--platinum) !important;
  font-size: 11px !important;
  margin-top: var(--sp-xl) !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper-mute);
  padding: var(--sp-4xl) 0 var(--sp-xl);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--sp-4xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-brand .idonia-mk {
  width: 96px;
  color: var(--paper);
}

.footer-brand p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.footer-links h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--sp-md);
}

.footer-links a {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-mute);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--signal); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-xl);
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .shader-field { animation: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hero v2 — biometric head + orbit + callouts (ChatGPT reference) ────── */

.hero.hero-v2 {
  position: relative;
  padding: 108px 0 56px;
  overflow: hidden;
}

.hero.hero-v2 .shader-field {
  background:
    linear-gradient(90deg, rgba(158, 242, 71, 0.06) 0%, rgba(158, 242, 71, 0.02) 34%, transparent 58%),
    linear-gradient(120deg, transparent 0%, rgba(203, 244, 211, 0.05) 44%, rgba(158, 242, 71, 0.08) 58%, transparent 78%),
    var(--ink);
}

.hero.hero-v2 .shader-field::before {
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
  opacity: 0.42;
}

.hero .container.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(680px, 1.14fr);
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.hero-v2-copy { position: relative; z-index: 6; }

.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 22px;
}

.hero-v2-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal-glow);
}

.hero h1.hero-v2-title {
  font-family: var(--font-sans);
  font-weight: 430;
  font-size: clamp(38px, 3.8vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--paper);
  margin: 0 0 22px;
  max-width: none;
}

.hero-v2-title em {
  color: var(--signal);
  font-style: normal;
  text-shadow: 0 0 26px rgba(158, 242, 71, 0.18);
}

.hero-v2-sub {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--paper-mute);
  max-width: 540px;
  margin: 0 0 28px;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: 32px;
}

.hero-v2-flags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 24px;
  background: transparent;
  border-top: 1px solid rgba(158, 242, 71, 0.14);
  border-bottom: 1px solid rgba(158, 242, 71, 0.14);
  position: relative;
  z-index: 8;
}

.hero-v2-flag {
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  background: transparent;
  font-family: var(--font-mono);
}

.hero-v2-flag + .hero-v2-flag::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: rgba(158, 242, 71, 0.14);
}

.hero-v2-flag-icon {
  display: none;
}

.hero-v2-flag-k {
  color: var(--paper-mute);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.2;
  margin-bottom: 0;
}

.hero-v2-flag-v {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-v2-flag-v span {
  display: inline;
  color: var(--paper);
}

.hero-v2-flag-v span + span {
  margin-left: 4px;
}

/* ASSINATURA (3rd) + SLA (4th) — explicit 2-line break */
.hero-v2-flag:nth-last-child(-n+2) .hero-v2-flag-v span {
  display: block;
}

.hero-v2-flag:nth-last-child(-n+2) .hero-v2-flag-v span + span {
  margin-left: 0;
  margin-top: 2px;
}

/* Visual — biometric theater: face first, HUD second */
.hero-v2-visual {
  position: relative;
  min-height: 668px;
  isolation: isolate;
  overflow: visible;
  padding: 0;
}

.hero-v2-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 11%;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0 49.85%, rgba(158, 242, 71, 0.13) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 0 49.85%, rgba(158, 242, 71, 0.08) 50%, transparent 50.15%),
    linear-gradient(90deg, transparent 0 15%, rgba(158, 242, 71, 0.05) 28%, rgba(203, 244, 211, 0.08) 48%, rgba(158, 242, 71, 0.05) 68%, transparent 88%),
    linear-gradient(0deg, transparent 0 20%, rgba(158, 242, 71, 0.04) 44%, transparent 82%);
  filter: blur(0.2px);
  opacity: 0.78;
  pointer-events: none;
}

.hero-v2-visual::after {
  content: "";
  position: absolute;
  inset: 0 -7% 8% -4%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(158, 242, 71, 0.08) 14.2%, transparent 14.4%),
    linear-gradient(90deg, transparent 0 68%, rgba(158, 242, 71, 0.06) 68.2%, transparent 68.4%),
    repeating-linear-gradient(0deg, rgba(158, 242, 71, 0.04) 0 1px, transparent 1px 42px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.hero-v2-orbit {
  position: absolute;
  left: 40%;
  top: 43%;
  width: min(760px, 82vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(158, 242, 71, 0.08) 30%, rgba(203, 244, 211, 0.10) 50%, rgba(158, 242, 71, 0.07) 70%, transparent 94%),
    linear-gradient(0deg, transparent 0 18%, rgba(158, 242, 71, 0.05) 44%, rgba(203, 244, 211, 0.08) 55%, transparent 82%);
  box-shadow: none;
  pointer-events: none;
  z-index: 1;
  animation: hero-v2-orbit-breathe 7s ease-in-out infinite;
}

.hero-v2-orbit::before,
.hero-v2-orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 0;
  animation: hero-v2-spin 24s linear infinite;
}

.hero-v2-orbit::after {
  inset: 24%;
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes hero-v2-spin { to { transform: rotate(360deg); } }

@keyframes hero-v2-orbit-breathe {
  0%, 100% { opacity: 0.48; filter: brightness(0.92) blur(0.4px); }
  50%      { opacity: 0.72; filter: brightness(1.12) blur(0); }
}

.hero-v2-head {
  position: absolute;
  left: 40%;
  top: 43%;
  width: min(675px, 68vw);
  transform: translate(-50%, -50%);
  z-index: 3;
  filter:
    drop-shadow(0 0 54px rgba(158, 242, 71, 0.22))
    drop-shadow(0 0 18px rgba(203, 244, 211, 0.10));
}

.hero-v2-face {
  position: relative;
  width: 100%;
  transform-origin: center center;
  will-change: translate, scale, rotate;
  animation:
    hero-v2-head-drift   11.3s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    hero-v2-head-breathe 7.4s  cubic-bezier(0.45, 0, 0.55, 1) infinite,
    hero-v2-head-tilt    13.7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero-v2-head-img {
  width: 100%;
  display: block;
  opacity: 0.66;
  mix-blend-mode: screen;
  filter: saturate(0.52) brightness(0.76) contrast(1.08) hue-rotate(4deg);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 0 72%, rgba(0, 0, 0, 0.72) 82%, transparent 92%);
          mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 0 72%, rgba(0, 0, 0, 0.72) 82%, transparent 92%);
}


.hero-v2-head::before { display: none; }

.hero-v2-head::after {
  content: "";
  position: absolute;
  inset: 12% 10% 7%;
  z-index: 2;
  border-radius: 44% 44% 48% 48%;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 36%, rgba(203, 244, 211, 0.10) 64%, transparent 74%),
    radial-gradient(ellipse at 50% 58%, rgba(158, 242, 71, 0.10), transparent 60%);
  opacity: 0.52;
  pointer-events: none;
  animation: hero-v2-face-glow 4.8s ease-in-out infinite;
}

/* 3 independent layered animations — translate / scale / rotate run on different
   periods (11.3s / 7.4s / 13.7s) so they never form a repeating pattern with
   the scan (6s). Composes into organic, human-like micro-movement. */
@keyframes hero-v2-head-drift {
  0%, 100% { translate: 0 0; }
  18%      { translate: -0.5% 0.3%; }
  37%      { translate: -0.7% 0.9%; }
  54%      { translate: -0.2% 1.1%; }
  71%      { translate: 0.4% 0.5%; }
  86%      { translate: 0.3% 0.1%; }
}

@keyframes hero-v2-head-breathe {
  0%, 100% { scale: 1; }
  44%      { scale: 1.024; }
  68%      { scale: 1.012; }
}

@keyframes hero-v2-head-tilt {
  0%, 100% { rotate: 0deg; }
  29%      { rotate: -0.28deg; }
  62%      { rotate: 0.32deg; }
  84%      { rotate: 0.14deg; }
}

@keyframes hero-v2-eye-read {
  0%, 100% { opacity: 0.34; filter: blur(0.4px); }
  50%      { opacity: 0.72; filter: blur(0.1px); }
}

/* Scan sweep — synced with step cycle (6s, 3 stops at face landmarks) */
@keyframes hero-v2-scan-sweep {
  0%, 30%   { top: 25%;  opacity: 0.78; filter: blur(0.1px); }
  33%       { top: 36%;  opacity: 0.34; filter: blur(0.6px); }
  37%, 63%  { top: 49%;  opacity: 0.78; filter: blur(0.1px); }
  66%       { top: 60%;  opacity: 0.34; filter: blur(0.6px); }
  70%, 95%  { top: 73%;  opacity: 0.78; filter: blur(0.1px); }
  100%      { top: 25%;  opacity: 0.34; filter: blur(0.6px); }
}

@keyframes hero-v2-face-glow {
  0%, 100% { opacity: 0.32; transform: scale(0.98); }
  50%      { opacity: 0.58; transform: scale(1.025); }
}

.hero-v2-corners {
  position: absolute;
  inset: 20% 22% 22%;
  pointer-events: none;
  z-index: 5;
}

.hero-v2-corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: rgba(203, 244, 211, 0.78);
  opacity: 0.72;
  filter: drop-shadow(0 0 6px rgba(158, 242, 71, 0.28));
}

.hero-v2-corner.tl { top: 0; left: 0; border-top: 1.5px solid; border-left: 1.5px solid; }
.hero-v2-corner.tr { top: 0; right: 0; border-top: 1.5px solid; border-right: 1.5px solid; }
.hero-v2-corner.bl { bottom: 0; left: 0; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.hero-v2-corner.br { bottom: 0; right: 0; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.hero-v2-scanline {
  position: absolute;
  left: 2%; right: 2%;
  top: 25%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), var(--signal), rgba(255, 255, 255, 0.62), transparent);
  box-shadow: 0 0 20px var(--signal-glow), 0 0 44px rgba(158, 242, 71, 0.6);
  animation: hero-v2-scan 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  z-index: 6;
  will-change: top, opacity;
}

/* Synced sweep — single continuous glide from forehead to chin with no
   intermediate pauses. Cubic-bezier on the whole animation makes it slow
   at start (lingering at forehead during c1), accelerate through eyes
   (during c2), decelerate into chin (during c3). One fluid motion. */
@keyframes hero-v2-scan {
  0%, 4%    { top: 25%; opacity: 0; }     /* invisible at forehead — loop reset */
  10%       { top: 25%; opacity: 1; }     /* fade in at forehead */
  90%       { top: 73%; opacity: 1; }     /* arrived at chin */
  95%, 100% { top: 73%; opacity: 0; }     /* fade out at chin */
}

/* Callouts — right column, vertical stack with connecting lines pointing back to head */
.hero-v2-callouts {
  position: absolute;
  top: 0;
  right: 1.5%;
  width: 190px;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero-v2-callout {
  position: absolute;
  right: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 6px 0;
  font-family: var(--font-mono);
  color: var(--paper);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0.55;
  transition: opacity 0.6s ease;
  animation: scan-step-fade 6s ease-in-out infinite;
}

.hero-v2-callout.c1 { top: 18%; transform: translateY(-50%); animation-delay: 0s; }
.hero-v2-callout.c2 { top: 42%; transform: translateY(-50%); animation-delay: 2s; }
.hero-v2-callout.c3 { top: 66%; transform: translateY(-50%); animation-delay: 4s; }

.hero-v2-callout::before,
.hero-v2-callout::after { display: none; }

/* Sequential pulse — step lights up only after the scan line arrives at its landmark.
   Aligned with scan keyframes: scan fades in at 4-10%, dwells until 18%, glides away at 47%.
   So step is dim 0-5%, fades in 5-10% (matching scan fade-in), stays bright 10-30%, fades 30-45%. */
@keyframes scan-step-fade {
  0%, 5%    { opacity: 0.42; }
  10%, 30%  { opacity: 1; }
  45%, 100% { opacity: 0.42; }
}

@keyframes scan-step-icon {
  0%, 5% {
    border-color: rgba(158, 242, 71, 0.4);
    box-shadow: none;
  }
  10%, 30% {
    border-color: var(--signal);
    box-shadow: 0 0 18px rgba(158, 242, 71, 0.45), inset 0 0 8px rgba(158, 242, 71, 0.18);
  }
  45%, 100% {
    border-color: rgba(158, 242, 71, 0.4);
    box-shadow: none;
  }
}

.hero-v2-callout-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(158, 242, 71, 0.4);
  color: var(--signal);
  box-shadow: none;
  animation: scan-step-icon 6s ease-in-out infinite;
}

.hero-v2-callout.c1 .hero-v2-callout-icon { animation-delay: 0s;   }
.hero-v2-callout.c2 .hero-v2-callout-icon { animation-delay: 2s;   }
.hero-v2-callout.c3 .hero-v2-callout-icon { animation-delay: 4s;   }

.hero-v2-callout-icon svg {
  width: 18px;
  height: 18px;
}

.hero-v2-callout-title {
  color: var(--signal);
  text-transform: uppercase;
  font-size: 9.6px;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.28;
  white-space: normal;
  text-shadow: 0 0 14px rgba(158, 242, 71, 0.28);
}

.hero-v2-callout-text {
  color: var(--paper-mute);
  font-size: 10.2px;
  line-height: 1.4;
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}

/* Pill — running verify.sh badge over the head */
.hero-v2-pill {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--signal);
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid var(--line-signal);
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.hero-v2-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

/* Status panel — live verification + progress bar (ChatGPT reference) */
.hero-v2-status {
  position: absolute;
  left: 40%;
  top: 78%;
  transform: translateX(-50%);
  width: min(340px, 32vw);
  right: auto;
  bottom: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 4;
}

/* Bracket corners on the status panel — capture-frame styling */
.hero-v2-status-corner {
  display: none;
}

.hero-v2-status-corner.tl { top: -7px;    left: -7px;    border-top: 2px solid;    border-left: 2px solid; }
.hero-v2-status-corner.tr { top: -7px;    right: -7px;   border-top: 2px solid;    border-right: 2px solid; }
.hero-v2-status-corner.bl { bottom: -7px; left: -7px;    border-bottom: 2px solid; border-left: 2px solid; }
.hero-v2-status-corner.br { bottom: -7px; right: -7px;   border-bottom: 2px solid; border-right: 2px solid; }

.hero-v2-status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.hero-v2-status-live::before {
  content: "";
}

.hero-v2-status-secure {
  color: var(--signal);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(158, 242, 71, 0.22);
}

.hero-v2-status-secure::before {
  content: "· ";
}

.hero-v2-progress {
  height: 2px;
  margin-top: 8px;
  background: rgba(158, 242, 71, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 16px rgba(158, 242, 71, 0.08);
}

.hero-v2-progress span {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(158, 242, 71, 0.52) 18%, rgba(203, 244, 211, 0.88) 78%, transparent 100%);
  box-shadow: 0 0 14px rgba(158, 242, 71, 0.32), 0 0 8px rgba(203, 244, 211, 0.24);
  animation: hero-v2-progress 4.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes hero-v2-progress {
  0%   { width: 12%; opacity: 0.62; }
  56%  { width: 78%; opacity: 1; }
  78%  { width: 91%; opacity: 0.9; }
  100% { width: 12%; opacity: 0.62; }
}

/* Remove pill leftover styles (was running verify.sh) */
.hero-v2-pill { display: none; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .hero-visual { display: none; }
  .hero .container.hero-v2-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-v2-copy { max-width: 760px; }
  .hero-v2-visual { min-height: 600px; }
  .hero-v2-orbit { left: 42%; width: min(720px, 96vw); }
  .hero-v2-head { left: 42%; width: min(620px, 86vw); }
  .hero-v2-callouts { top: 17%; right: 2%; width: 300px; }
  .hero-v2-callout::before { width: 126px; }
  .hero-v2-callout::after { right: calc(100% + 132px); }
  .hero-v2-status { left: 42%; top: 78%; transform: translateX(-50%); width: min(340px, 38vw); right: auto; bottom: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .hero-flags { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

  .container { padding: 0 var(--sp-lg); }
  .section { padding: calc(var(--sp-3xl) + 8px) 0; }
  .hero { padding: 6.25rem 0 var(--sp-3xl); min-height: auto; }
  .hero.hero-v2 { padding: 6.5rem 0 3.5rem; }
  .hero h1.hero-v2-title { font-size: clamp(36px, 11vw, 52px); }
  .hero-v2-sub { font-size: 13px; max-width: none; }
  .hero-sub { margin-bottom: var(--sp-xl); }

  /* Long Portuguese CTAs (e.g. "Comece grátis — 100 verificações sem cartão")
     would otherwise force the hero grid track wider than the viewport via
     min-content sizing. min-width: 0 on grid/flex items lets them shrink. */
  .hero .container,
  .hero-content,
  .hero-actions,
  .hero-actions .btn { min-width: 0; }
  .hero-actions .btn { line-height: 1.4; }
  .btn-lg { padding: 12px 18px; }

  /* Drop backdrop-filter on the nav itself at mobile; it makes .nav the
     containing block for any fixed descendant, which shrank .nav-links
     to the navbar's height and let page content bleed through. */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(15, 15, 15, 0.95);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0A0A0A;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-2xl);
    padding: var(--sp-2xl);
    z-index: 200;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; color: var(--paper); }
  .nav .btn-nav-cta { display: none; }

  /* Hamburger sits at the far right after the lang switcher (which now owns
     margin-left: auto in the mobile flex flow). */
  .nav-toggle { display: flex; z-index: 201; margin-left: var(--sp-sm); }

  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: var(--sp-xl); }
  .dev-grid { grid-template-columns: 1fr; }
  .dev-card { padding: var(--sp-xl); }
  .code-block { padding: var(--sp-md); }

  .hero-actions { flex-direction: column; gap: var(--sp-md); }
  .hero-actions .btn { width: 100%; }
  .hero-v2-actions { flex-direction: column; }
  .hero-v2-actions .btn { width: 100%; line-height: 1.35; }
  .hero-v2-flags { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .hero-v2-flag {
    min-height: 92px;
    padding: 14px 16px;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
  }
  .hero-v2-flag-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .hero-v2-flag-icon svg { width: 20px; height: 20px; }
  .hero-v2-flag-v { font-size: 21px; }
  .hero-v2-visual {
    min-height: 560px;
    margin: 8px -10px 0;
    overflow: hidden;
  }
  .hero-v2-visual::before { inset: 3% -18% 18%; }
  .hero-v2-visual::after { inset: 0 -30% 16%; }
  .hero-v2-orbit {
    left: 50%;
    top: 38%;
    width: min(600px, 136vw);
  }
  .hero-v2-head {
    left: 50%;
    top: 38%;
    width: min(520px, 122vw);
  }
  .hero-v2-corners { inset: 20% 16% 21%; }
  .hero-v2-callouts {
    top: auto;
    right: 4%;
    left: 4%;
    bottom: 106px;
    width: auto;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .hero-v2-callout {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    right: auto;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    animation: none;
  }
  .hero-v2-callout::before,
  .hero-v2-callout::after,
  .hero-v2-callout-text { display: none; }
  .hero-v2-callout-icon { width: 34px; height: 34px; }
  .hero-v2-callout-icon svg { width: 17px; height: 17px; }
  .hero-v2-callout-title {
    font-size: 8.5px;
    line-height: 1.25;
    letter-spacing: 0.08em;
    white-space: normal;
  }
  .hero-v2-status {
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    width: min(340px, 64vw);
    right: auto;
    bottom: auto;
    padding: 0;
  }
  .hero-v2-status-top {
    white-space: normal;
    align-items: center;
    font-size: 8.5px;
    line-height: 1.35;
  }

  .waitlist-input-group { flex-direction: column; gap: var(--sp-md); }

  .section-sub { margin-bottom: var(--sp-2xl); }
  .step { padding: var(--sp-xl); }
  .pricing-card { padding: var(--sp-xl); }

  /* Lang switcher stays pinned to the right of the top bar, just before the
     hamburger. Pushes itself + the hamburger to the far right. */
  .lang-switcher { margin-left: auto; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 430px) {
  .container { padding: 0 var(--sp-md); }
  .hero { padding: 5.75rem 0 var(--sp-2xl); }
  .hero-v2-flags { grid-template-columns: 1fr; }
  .hero-v2-flag {
    min-height: 88px;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
  }
  .hero-v2-flag + .hero-v2-flag::before {
    top: 0;
    bottom: auto;
    left: 14px;
    right: 14px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 242, 71, 0.22), transparent);
  }
  .hero-v2-flag-icon { width: 38px; height: 38px; }
  .hero-v2-flag-k { margin-bottom: 4px; }
  .hero-v2-flag-v { font-size: 22px; }
  .hero-v2-visual { min-height: 500px; }
  .hero-v2-head { width: min(455px, 128vw); }
  .hero-v2-corners { inset: 21% 13% 21%; }
  .hero-v2-orbit { width: min(540px, 146vw); }
  .hero-v2-callouts { bottom: 100px; }
  .hero-v2-callout-title { font-size: 8px; }
  .hero-v2-status { left: 50%; top: 82%; transform: translateX(-50%); width: min(300px, 80vw); right: auto; bottom: auto; }
  .section { padding: calc(var(--sp-2xl) + 8px) 0; }
  .step { padding: var(--sp-lg); }
  .pricing-card { padding: var(--sp-lg); }
}
