
:root {
  color-scheme: light dark;
  --bg: #f7fbff;
  --bg-2: #eaf4ff;
  --ink: #06142f;
  --muted: #52637d;
  --line: rgba(10, 36, 74, .13);
  --surface: rgba(255, 255, 255, .72);
  --surface-strong: rgba(255, 255, 255, .92);
  --accent: #0064ff;
  --accent-2: #00b8ff;
  --accent-3: #8dd7ff;
  --shadow: 0 34px 100px rgba(0, 58, 137, .18);
  --radius: 34px;
  --nav-h: 72px;
  --font-display: "Geist", "Aptos Display", "SF Pro Display", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-body: "Geist", "Aptos", "SF Pro Text", "Segoe UI Variable Text", system-ui, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", "Cascadia Code", ui-monospace, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050914;
  --bg-2: #07172f;
  --ink: #f4f8ff;
  --muted: #9fb4d7;
  --line: rgba(178, 213, 255, .16);
  --surface: rgba(8, 18, 38, .70);
  --surface-strong: rgba(8, 18, 38, .92);
  --accent: #54a2ff;
  --accent-2: #76e4ff;
  --accent-3: #c5edff;
  --shadow: 0 34px 110px rgba(0, 0, 0, .42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28rem),
    radial-gradient(circle at 90% 16%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 30rem),
    linear-gradient(140deg, var(--bg), var(--bg-2) 52%, var(--bg));
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .8rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.orb-canvas { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .76; }
.site-shell { position: relative; isolation: isolate; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.nav-wrap { position: sticky; top: 18px; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.nav {
  pointer-events: auto;
  width: min(1120px, calc(100vw - 34px));
  min-height: 62px;
  border-radius: 999px;
  padding: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  box-shadow: 0 18px 60px rgba(4, 22, 54, .13), inset 0 1px 0 rgba(255,255,255,.34);
  backdrop-filter: blur(22px) saturate(160%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px rgba(7, 31, 76, .08); color: #06142f; }
.brand img { width: 128px; height: auto; display: block; }
.brand small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: #33506f; white-space: nowrap; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .45s cubic-bezier(.16, 1, .3, 1), background .45s cubic-bezier(.16, 1, .3, 1); }
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.pill-btn, .ghost-btn, .toggle-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  white-space: nowrap;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), background .5s cubic-bezier(.16, 1, .3, 1);
}
.pill-btn { padding: 7px 8px 7px 18px; background: var(--ink); color: var(--bg); box-shadow: 0 16px 44px color-mix(in srgb, var(--ink) 18%, transparent); }
.pill-btn .icon, .ghost-btn .icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--bg) 16%, transparent); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.pill-btn:hover, .ghost-btn:hover, .toggle-btn:hover { transform: translateY(-2px); }
.pill-btn:hover .icon, .ghost-btn:hover .icon { transform: translateX(2px) translateY(-1px) scale(1.05); }
.pill-btn:active, .ghost-btn:active, .toggle-btn:active { transform: scale(.98); }
.ghost-btn { padding: 7px 8px 7px 18px; background: color-mix(in srgb, var(--surface-strong) 92%, transparent); border: 1px solid var(--line); color: var(--ink); }
.toggle-btn { min-width: 44px; justify-content: center; padding: 0 13px; background: color-mix(in srgb, var(--surface-strong) 88%, transparent); border: 1px solid var(--line); color: var(--ink); }
.mobile-menu { display: none; }
.mobile-panel {
  position: fixed;
  top: 92px;
  right: 16px;
  width: min(330px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(22px) saturate(160%);
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  pointer-events: none;
  transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .32s cubic-bezier(.16,1,.3,1);
}
.mobile-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mobile-panel a { padding: 14px 16px; border-radius: 18px; color: var(--ink); background: color-mix(in srgb, var(--bg) 34%, transparent); }
.mobile-panel a:last-child { background: var(--ink); color: var(--bg); text-align: center; }
.hero { min-height: calc(100dvh - 90px); display: grid; align-items: center; padding: 84px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 42px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border-radius: 999px; background: color-mix(in srgb, var(--surface-strong) 78%, transparent); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 24px; font-family: var(--font-display); font-weight: 760; letter-spacing: -.075em; line-height: .92; font-size: clamp(58px, 9vw, 118px); max-width: 10ch; }
.hero-word { color: var(--accent); display: inline-block; min-width: 6ch; }
.hero-copy { margin-top: 24px; max-width: 58ch; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mini-proof { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.metric { border-radius: 22px; padding: 16px; background: color-mix(in srgb, var(--surface) 84%, transparent); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.metric strong { display: block; font-family: var(--font-mono); font-size: 20px; color: var(--ink); }
.metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.device-stage { position: relative; min-height: 620px; }
.agent-orbit { position: absolute; inset: 0; border-radius: 54px; padding: 10px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.28); overflow: hidden; }
.agent-orbit::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 100deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent); animation: rotate 22s cubic-bezier(.32,.72,0,1) infinite alternate; opacity: .9; }
.agent-orbit::after { content: ""; position: absolute; inset: 10px; border-radius: 44px; background: linear-gradient(150deg, color-mix(in srgb, var(--surface-strong) 95%, transparent), color-mix(in srgb, var(--bg) 72%, transparent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
@keyframes rotate { to { transform: rotate(.62turn); } }
.phone-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(260px, 45%); aspect-ratio: 9 / 16; transform: translate(-50%, -50%) rotate(-4deg); border-radius: 42px; padding: 10px; background: #071326; box-shadow: 0 34px 110px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.18); }
.phone-screen { height: 100%; border-radius: 32px; background: linear-gradient(160deg, #06142f, #0b3d91 62%, #0a1122); padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone-logo { width: 82px; border-radius: 999px; background: white; padding: 6px 10px; }
.chat-line { height: 36px; border-radius: 18px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.chat-line:nth-child(3) { width: 72%; align-self: flex-end; background: rgba(84,162,255,.35); }
.chat-line:nth-child(4) { width: 88%; }
.chat-line:nth-child(5) { width: 64%; align-self: flex-end; background: rgba(118,228,255,.28); }
.chat-line::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent); animation: shimmer 3.8s infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.node { position: absolute; z-index: 4; min-width: 138px; border-radius: 24px; padding: 12px; background: color-mix(in srgb, var(--surface-strong) 86%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 58px rgba(0, 42, 105, .14), inset 0 1px 0 rgba(255,255,255,.32); display: flex; align-items: center; gap: 10px; animation: float 7s cubic-bezier(.45,0,.18,1) infinite; }
.node svg { flex: 0 0 auto; }
.node b { display: block; font-size: 13px; }
.node small { color: var(--muted); font-size: 11px; }
.node:nth-of-type(1) { left: 7%; top: 10%; animation-delay: -.3s; }
.node:nth-of-type(2) { right: 6%; top: 14%; animation-delay: -1.2s; }
.node:nth-of-type(3) { left: 4%; bottom: 18%; animation-delay: -2.1s; }
.node:nth-of-type(4) { right: 4%; bottom: 22%; animation-delay: -3s; }
.node:nth-of-type(5) { left: 33%; bottom: 4%; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.connection-svg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.connection-svg path { fill: none; stroke: color-mix(in srgb, var(--accent) 38%, transparent); stroke-width: 1.2; stroke-dasharray: 4 8; animation: dash 10s cubic-bezier(.16,1,.3,1) infinite alternate; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.section { padding: 118px 0; position: relative; }
.section.compact { padding: 86px 0; }
.section-title { max-width: 850px; }
.section-title h2 { font-family: var(--font-display); letter-spacing: -.055em; line-height: .95; font-size: clamp(42px, 6vw, 84px); }
.section-title p { margin-top: 20px; color: var(--muted); max-width: 62ch; font-size: 18px; line-height: 1.55; }
.capabilities { margin-top: 54px; display: grid; grid-template-columns: 1.2fr .8fr 1fr; grid-auto-rows: minmax(210px, auto); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); padding: 8px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.26); overflow: hidden; }
.tile-inner { height: 100%; min-height: 190px; border-radius: calc(var(--radius) - 8px); padding: 24px; background: color-mix(in srgb, var(--surface-strong) 74%, transparent); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.tile h3 { font-size: 25px; letter-spacing: -.035em; line-height: 1; }
.tile p { margin-top: 12px; color: var(--muted); line-height: 1.5; }
.tile .mini { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: 22px; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.glow .tile-inner { background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 26rem), color-mix(in srgb, var(--surface-strong) 72%, transparent); }
.flow-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.flow-step { border-radius: 20px; padding: 14px; background: color-mix(in srgb, var(--bg) 58%, transparent); border: 1px solid var(--line); min-height: 116px; }
.flow-step b { display: block; font-size: 14px; }
.flow-step span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 7px; }
.router { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; margin-top: 48px; }
.router-card { border-radius: 42px; padding: 8px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); }
.router-inner { border-radius: 34px; background: color-mix(in srgb, var(--surface-strong) 78%, transparent); min-height: 100%; padding: 30px; overflow: hidden; }
.router-inner h3 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.05em; line-height: 1; }
.router-inner p { color: var(--muted); margin-top: 18px; line-height: 1.55; }
.route-lines { margin-top: 24px; display: grid; gap: 10px; }
.route-line { display: grid; grid-template-columns: 120px 1fr 110px; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.route-line .bar { height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), transparent); position: relative; overflow: hidden; }
.route-line .bar::after { content: ""; width: 36%; height: 100%; position: absolute; left: -40%; background: var(--accent-2); animation: packet 2.8s cubic-bezier(.16,1,.3,1) infinite; }
.route-line:nth-child(2) .bar::after { animation-delay: .5s; }
.route-line:nth-child(3) .bar::after { animation-delay: 1s; }
@keyframes packet { to { left: 110%; } }
.stack { display: grid; gap: 12px; }
.stack-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 26px; background: color-mix(in srgb, var(--bg) 50%, transparent); border: 1px solid var(--line); }
.stack-item .mark { width: 46px; height: 46px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.stack-item b { display: block; }
.stack-item span { color: var(--muted); display: block; margin-top: 3px; line-height: 1.35; }
.mosaic { margin-top: 54px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.mosaic .panel { grid-column: span 4; min-height: 250px; border-radius: 34px; padding: 26px; background: color-mix(in srgb, var(--surface-strong) 76%, transparent); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); display: flex; flex-direction: column; justify-content: space-between; }
.mosaic .panel:nth-child(1) { grid-column: span 5; min-height: 320px; background: radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 24rem), color-mix(in srgb, var(--surface-strong) 76%, transparent); }
.mosaic .panel:nth-child(2) { grid-column: span 3; }
.mosaic .panel:nth-child(3) { grid-column: span 4; }
.mosaic .panel:nth-child(4) { grid-column: span 7; min-height: 220px; }
.mosaic .panel:nth-child(5) { grid-column: span 5; min-height: 220px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--surface-strong) 70%, transparent)); }
.panel h3 { font-size: 28px; letter-spacing: -.04em; }
.panel p { color: var(--muted); line-height: 1.5; margin-top: 12px; }
.panel code { align-self: flex-start; margin-top: 26px; padding: 9px 12px; border-radius: 999px; font-family: var(--font-mono); background: color-mix(in srgb, var(--bg) 56%, transparent); border: 1px solid var(--line); color: var(--accent); }
.activate { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.activate-card { border-radius: 34px; padding: 28px; background: color-mix(in srgb, var(--surface-strong) 78%, transparent); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.activate-card strong { font-size: clamp(34px, 4vw, 64px); letter-spacing: -.06em; line-height: .92; }
.activate-card p { color: var(--muted); margin-top: 14px; line-height: 1.5; }
.cta-band { border-radius: 48px; padding: 8px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 28%, transparent), color-mix(in srgb, var(--surface) 88%, transparent)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-inner { border-radius: 40px; padding: clamp(30px, 7vw, 72px); background: color-mix(in srgb, var(--surface-strong) 84%, transparent); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.cta-inner h2 { font-size: clamp(40px, 7vw, 88px); line-height: .94; letter-spacing: -.06em; max-width: 11ch; }
.cta-inner p { color: var(--muted); margin-top: 18px; max-width: 52ch; line-height: 1.55; font-size: 18px; }
.footer { padding: 44px 0 60px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-logo { width: 150px; border-radius: 999px; background: white; padding: 8px 12px; display: inline-block; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(28px); filter: blur(3px); transition: opacity .72s cubic-bezier(.16,1,.3,1), transform .72s cubic-bezier(.16,1,.3,1), filter .72s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.legal-page { padding: 96px 0 60px; min-height: 100dvh; }
.legal-card { border-radius: 42px; padding: clamp(28px, 5vw, 58px); background: color-mix(in srgb, var(--surface-strong) 86%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-card h1 { max-width: 12ch; margin-top: 0; margin-bottom: 24px; font-size: clamp(48px, 8vw, 92px); line-height: .95; letter-spacing: -.06em; }
.legal-card h2 { margin-top: 38px; font-size: 30px; letter-spacing: -.04em; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.65; font-size: 16px; }
.legal-card ul { padding-left: 1.2rem; }
.lang-en .es, .lang-es .en { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
  .hero-grid, .router, .activate, .cta-inner { grid-template-columns: 1fr; }
  .device-stage { min-height: 560px; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .tile.wide, .tile.tall { grid-column: span 1; grid-row: span 1; }
  .mosaic .panel, .mosaic .panel:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { top: 10px; }
  .nav { min-height: 58px; padding: 7px; gap: 8px; }
  .brand img { width: 104px; }
  .brand small, .nav-actions .ghost-btn { display: none; }
  .hero { padding: 62px 0 58px; }
  h1 { font-size: clamp(48px, 16vw, 74px); max-width: 9ch; }
  .hero-copy { font-size: 17px; }
  .mini-proof { grid-template-columns: 1fr; }
  .device-stage { min-height: 520px; margin-top: 10px; }
  .agent-orbit { border-radius: 36px; }
  .agent-orbit::after { border-radius: 28px; }
  .phone-core { width: 210px; border-radius: 34px; }
  .phone-screen { border-radius: 25px; }
  .node { min-width: 116px; padding: 10px; }
  .node small { display: none; }
  .node:nth-of-type(1) { left: 4%; top: 7%; }
  .node:nth-of-type(2) { right: 3%; top: 9%; }
  .node:nth-of-type(3) { left: 3%; bottom: 13%; }
  .node:nth-of-type(4) { right: 3%; bottom: 15%; }
  .node:nth-of-type(5) { left: 23%; bottom: 3%; }
  .section { padding: 76px 0; }
  .capabilities, .mosaic, .flow-map { grid-template-columns: 1fr; }
  .mosaic .panel, .mosaic .panel:nth-child(n) { grid-column: span 1; }
  .route-line { grid-template-columns: 82px 1fr 68px; font-size: 10px; }
  .cta-inner { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
