/* Inter (SIL OFL 1.1, assets/fonts/OFL.txt), alojada en el sitio: sin peticiones a terceros. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Akoto AI · Web v1.0 — Contextual Intelligence (Static CSS, Dark-First + Light Mode) */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090d16;
  --surface-base: #0f131c;
  --surface-1: #0f172a;
  --surface-2: #1e293b;
  --surface-3: #334155;
  --surface-glass: rgba(15, 23, 42, 0.78);
  --header-bg: rgba(9, 13, 22, 0.82);
  --ink: #f8fafc;
  --on-surface: #dfe2ef;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #38bdf8;
  --accent-soft: #8ed5ff;
  --accent-ink: #00354a;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-accent: rgba(56, 189, 248, 0.35);
  --glow: rgba(56, 189, 248, 0.16);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.35);
  --headlines-ink: var(--ink);
  --headlines-muted: var(--muted);
  --headlines-accent: var(--accent-soft);
  --headlines-line: var(--border);
  --headlines-surface: var(--surface-1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --surface-base: #f1f5f9;
  --surface-1: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --header-bg: rgba(248, 250, 252, 0.86);
  --ink: #0f172a;
  --on-surface: #1e293b;
  --muted: #475569;
  --dim: #64748b;
  --accent: #0284c7;
  --accent-soft: #0369a1;
  --accent-ink: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --border-accent: rgba(2, 132, 199, 0.32);
  --glow: rgba(2, 132, 199, 0.12);
  --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 10px 26px rgba(15, 23, 42, 0.06);
  --headlines-ink: var(--ink);
  --headlines-muted: var(--muted);
  --headlines-accent: var(--accent);
  --headlines-line: var(--border);
  --headlines-surface: var(--surface-1);
}

:root {
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container-max: 1240px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(ellipse 80% 45% at 50% -10%, var(--glow), transparent 65%), var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:is(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  inset-x: 0;
  width: 100%;
  z-index: 100;
  height: 76px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
:root[data-theme="light"] .brand .logo-dark { display: none; }
:root[data-theme="light"] .brand .logo-light { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] {
  color: var(--accent-soft);
  background: var(--surface-2);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--border-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.theme-toggle:hover,
.menu-toggle:hover { color: var(--ink); border-color: var(--border-accent); }
.menu-toggle { display: none; }

.menu-lines {
  width: 15px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  position: relative;
}
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3.5px;
  height: 1.5px;
  background: currentColor;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 24px var(--glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.header-contact:hover { transform: translateY(-1px); filter: brightness(1.06); }

main { padding-top: 76px; }

/* Typography & Shared Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}

.small-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.07; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.14; }
h3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.28; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.7; }

.scope-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Buttons & Links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.button:hover { transform: translateY(-1px); border-color: var(--border-accent); }
.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 28px var(--glow);
}
.button.primary:hover { filter: brightness(1.06); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-soft);
  transition: gap 0.15s ease, color 0.15s ease;
}
.text-link:hover { color: var(--accent); gap: 9px; }

/* Sections & Cards */
.section { padding-block: 72px; }
.section-band {
  background: var(--surface-base);
  border-block: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 16px 0 0;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}
.split-heading > div:last-child p,
.split-heading > p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

.glass-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.glass-card:hover { border-color: var(--border-accent); }

/* Hero (Landing) */
.hero-section {
  padding-block: 56px 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.hero-intro {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-showcase {
  position: relative;
  background: var(--surface-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 48px var(--glow);
  overflow: hidden;
}

.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mascot-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 12px 18px;
  position: relative;
}

.mascot-trigger {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mascot-white {
  width: 210px;
  height: auto;
  filter: drop-shadow(0 12px 28px var(--glow));
  transition: transform 0.25s ease;
}
.mascot-trigger:hover .mascot-white { transform: scale(1.04) translateY(-2px); }
:root[data-theme="light"] .mascot-white {
  filter: invert(1) drop-shadow(0 8px 20px rgba(2, 132, 199, 0.2));
}

.mascot-tooltip {
  background: var(--surface-2);
  border: 1px solid var(--border-accent);
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.mascot-tooltip.is-pop { transform: scale(1.05); }

.context-bridge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.bridge-node {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}
.bridge-node span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  margin-bottom: 3px;
  font-weight: 700;
}
.bridge-node strong {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}

.hero-bottom-strip {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.hero-bottom-strip strong { color: var(--ink); }

/* Illustrations contrast handling (black ink artwork) */
.ink-scene {
  width: min(340px, 100%);
  margin-inline: auto;
}
.ink-wide { width: min(400px, 100%); }
.ink-scene img,
.example-art img,
.mascot-scene-grid img {
  filter: invert(1);
  opacity: 0.92;
}
:root[data-theme="light"] .ink-scene img,
:root[data-theme="light"] .example-art img,
:root[data-theme="light"] .mascot-scene-grid img,
:root[data-theme="light"] .mascot-scene img {
  filter: none;
  opacity: 1;
}

.mascot-scene {
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 280px;
  margin-inline: auto;
}
.mascot-scene img {
  width: 300%;
  max-width: none;
  height: auto;
  filter: invert(1);
  opacity: 0.92;
}
.scene-research img { margin-left: 0; }
.scene-continuity img { margin-left: -100%; }
.scene-lab img { margin-left: -200%; }

/* 3-Column & 2-Column Grids */
.pillars-grid,
.case-steps,
.memory-spaces,
.onboarding {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.onboarding { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pillar-card,
.case-steps li,
.memory-spaces article,
.onboarding li,
.control-list article,
.extension-grid article {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pillar-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.pillar-card p,
.case-steps p,
.memory-spaces p,
.onboarding p,
.control-list p,
.extension-grid p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.pillar-card .text-link { margin-top: auto; padding-top: 6px; }

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr);
  gap: 48px;
  align-items: center;
}
.field-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
}
.field-grid > div > h2 { margin-bottom: 18px; }

.extension-grid,
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.extension-grid .ink-scene { width: 210px; margin-top: auto; padding-top: 10px; }

/* Page Intro (Subpages) */
.page-intro {
  padding-block: 52px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 44px;
  align-items: center;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 16px;
}
.page-breadcrumb a:hover { color: var(--accent-soft); }
.page-deck {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 640px;
  line-height: 1.75;
}

/* Product Window & Interactive Simulator */
.example-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.example-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.example-tabs button span { color: var(--accent-soft); font-family: var(--mono); font-size: 11px; }
.example-tabs button[aria-selected="true"] {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--border-accent);
  box-shadow: 0 0 20px var(--glow);
}

.window-frame {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.window-dots { display: inline-flex; gap: 7px; align-items: center; }
.window-dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--dim); opacity: 0.55; }
.window-dots span:nth-child(1) { background: #ef4444; opacity: 0.75; }
.window-dots span:nth-child(2) { background: #f59e0b; opacity: 0.75; }
.window-dots span:nth-child(3) { background: #10b981; opacity: 0.75; }

.product-frame { margin: 0; }
.product-frame img { width: 100%; height: auto; display: block; }
.product-frame figcaption {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}

/* Interactive Simulator Body */
.sim-body { padding: 24px; display: grid; gap: 18px; }
.sim-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-channel-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.sim-channel-btn.is-active {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--border-accent);
  color: var(--accent-soft);
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sim-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.sim-bubble.is-agent {
  border-color: var(--border-accent);
  background: rgba(56, 189, 248, 0.06);
}
.sim-bubble-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-soft);
}
.sim-bubble-head img { width: 24px; height: auto; }
.sim-bubble p { margin: 0; font-size: 14px; color: var(--on-surface); line-height: 1.65; }

.sim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.sim-status {
  font-size: 13px;
  color: var(--muted);
}
.sim-status.is-approved { color: #34d399; font-weight: 600; }

/* Solutions Interactive Showcase */
.example {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.example[hidden], [role="tabpanel"][hidden] { display: none; }
.example-story h3 { margin-bottom: 12px; }
.example-story p { color: var(--muted); margin: 0 0 18px; }
.example-art { max-width: 280px; margin-inline: auto; }

.conversation {
  background: var(--surface-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.message {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.message span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  margin-bottom: 4px;
}
.message p { margin: 0; font-size: 14px; color: var(--ink); }
.message.agent { border-color: var(--border-accent); }

.draft-result {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 16px;
}
.draft-result h4 { font-size: 16px; margin-bottom: 6px; }
.draft-result p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-soft);
}
.example-disclaimer { margin: 0; font-size: 12px; color: var(--dim); }

.knowledge-example {
  margin-block: 28px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.knowledge-example blockquote {
  margin: 8px 0 12px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.knowledge-example p:last-child { margin: 0; color: var(--muted); }

/* FAQ Accordions & Control List */
.control-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}
.control-list { display: grid; gap: 16px; }
.control-list article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.control-list article > span { color: var(--accent); font-weight: 700; font-size: 18px; }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.faq-list details[open] { border-color: var(--border-accent); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent-soft); font-size: 20px; line-height: 1; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* Aplicaciones: Android, Carousel & Scenes */
.app-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 18px;
  border-block: 1px solid var(--border);
}
.mobile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.mobile-capture {
  margin: 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-screen {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05080f;
}
.mobile-capture figcaption { display: grid; gap: 6px; }
.mobile-capture figcaption p { margin: 0; font-size: 13px; color: var(--muted); }

.theme-carousel {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
}
.theme-slide { margin: 0; display: none; }
.theme-slide.is-active { display: grid; gap: 14px; }
.theme-slide img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.theme-slide figcaption p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.theme-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-button,
.carousel-dots button {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.carousel-dots button[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.mascot-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mascot-scene-grid figure {
  margin: 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.mascot-scene-grid figcaption p { margin: 0; font-size: 14px; color: var(--muted); }
.app-caption { margin-bottom: 20px; max-width: 720px; }
.app-caption p { color: var(--muted); margin: 10px 0 0; }

/* Enterprise Boundaries Matrix */
.matrix-table-wrap {
  overflow-x: auto;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 28px;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.matrix-table th,
.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.matrix-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  background: var(--surface-2);
}
.matrix-table tr:last-child td { border-bottom: none; }

/* Actualidad & Whispr Headlines */
.news-intro {
  padding-block: 48px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 36px;
  align-items: center;
}
.news-back { margin-bottom: 18px; color: var(--muted); }
.news-art { text-align: center; }
.hand-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-style: italic;
  color: var(--accent-soft);
}
.news-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.news-section-title p { margin: 0; font-size: 13px; color: var(--dim); }
.news-provenance { font-size: 14px; color: var(--muted); max-width: 780px; margin: 0 0 24px; }
.news-outro {
  margin-top: 56px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.news-outro p:not(.eyebrow) { color: var(--muted); margin: 10px 0 18px; max-width: 520px; }
.news-infinity { font-size: 96px; line-height: 1; color: var(--accent); opacity: 0.35; }

whispr-headlines { display: block; }
whispr-headlines ol { list-style: none; margin: 0; padding: 0; }
whispr-headlines li { border-bottom: 1px solid var(--border); padding: 26px 0; }
whispr-headlines .hl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
whispr-headlines .hl-category { color: var(--accent-soft); font-weight: 600; }
whispr-headlines h3 { font-size: clamp(19px, 2vw, 25px); line-height: 1.35; max-width: 880px; }
whispr-headlines .hl-source-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding-block: 72px;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 60% at 50% 100%, var(--glow), transparent 70%), var(--surface-base);
}
.contact-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.contact-card p:not(.eyebrow) { color: var(--muted); margin: 14px 0 18px; max-width: 560px; }

.task-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.task-chip {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.task-chip:hover { border-color: var(--border-accent); }

.contact-textarea {
  width: 100%;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-base);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.contact-email {
  font-size: 14px;
  color: var(--accent-soft);
  font-weight: 600;
}
.copy-feedback { font-size: 12px; color: #34d399; }
.contact-listening { text-align: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: 48px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 12px; }
.footer-brand .logo-light { display: none; }
:root[data-theme="light"] .footer-brand .logo-dark { display: none; }
:root[data-theme="light"] .footer-brand .logo-light { display: block; }
.footer-brand p { margin: 0; font-size: 14px; color: var(--muted); max-width: 280px; }

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 14px;
}
.footer-col nav { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--accent-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--dim);
}

/* Responsive */
@media (max-width: 1100px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .onboarding { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(var(--container-max), calc(100% - 32px)); }
  .section { padding-block: 52px; }
  .hero-grid,
  .split-heading,
  .field-grid,
  .page-intro,
  .example,
  .control-section,
  .faq-section,
  .contact-card,
  .news-intro,
  .two-col-grid,
  .extension-grid,
  .sim-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .pillars-grid,
  .case-steps,
  .memory-spaces,
  .mascot-scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .header-contact { display: none; }
  .news-infinity { display: none; }
}

@media (max-width: 600px) {
  .onboarding,
  .mobile-gallery,
  .footer-grid,
  .context-bridge {
    grid-template-columns: minmax(0, 1fr);
  }
  .mascot-white { width: 170px; }
}
