:root {
  --bg: var(--onda-canvas);
  --paper: var(--onda-paper);
  --on-emphasis: var(--onda-paper);
  --ink: var(--onda-ink);
  --ink-hover: color-mix(in srgb, var(--onda-ink) 86%, var(--onda-paper));
  --muted: var(--onda-muted);
  --line: var(--onda-line);
  --blue: var(--onda-blue);
  --blue-2: var(--onda-blue-strong);
  --soft-blue: var(--onda-blue-soft);
  --blue-ring: color-mix(in srgb, var(--onda-blue) 32%, transparent);
  --blue-haze: color-mix(in srgb, var(--onda-blue) 18%, transparent);
  --ink-wash: color-mix(in srgb, var(--onda-ink) 5%, transparent);
  --shade: color-mix(in srgb, var(--onda-ink) 25%, transparent);
  --scrim: color-mix(in srgb, var(--onda-ink) 55%, transparent);
  --glass: color-mix(in srgb, var(--onda-paper) 72%, transparent);
  --glass-strong: color-mix(in srgb, var(--onda-paper) 90%, transparent);
  --term-fg: #e3e7ff;
  --term-dim: #8c90a8;
  --mask: #000;
  --pa: var(--onda-project-1); --pb: var(--onda-project-2); --pc: var(--onda-project-3);
  --sans: var(--onda-font-sans);
  --display: var(--onda-font-display);
  --mono: var(--onda-font-mono);
  --fs-meta: 12px;
  --fs-small: 13px;
  --fs-ui: 14px;
  --fs-body: 15px;
  --fs-base: 16px;
  --fs-lead: 17px;
  --fs-title: 20px;
  --fs-card: 22px;
  --fs-h1: clamp(32px, 3.6vw, 54px);
  --fs-h2: clamp(28px, 3.8vw, 50px);
  --fs-h3: clamp(20px, 2.4vw, 30px);
  --fs-quote: clamp(18px, 1.7vw, 22px);
  --fs-doc-title: clamp(28px, 3vw, 40px);
  --fs-logo: 26px;
  --fs-num: 30px;
  --fs-num-lg: 36px;
  --fs-num-xl: 56px;
  --ring: 0 0 0 1px var(--line);
  --shadow-cover: 0 24px 44px -24px var(--scrim);
  --shadow-final: 0 0 0 1px var(--line), 0 40px 80px -50px var(--scrim);
  --icon-14: 14px; --icon-16: 16px; --icon-20: 20px;
  --z-raise: 1; --z-lift: 2; --z-menu: 3; --z-cursor: 5; --z-peek: 10;
  --z-nav: 20; --z-cookie: 25; --z-skip: 30;
  --w-page: 1180px;
  --nav-offset: 90px;
  --focus-ring: 2px solid var(--blue);
  --focus-offset: 2px;
  --ease: var(--onda-ease);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); color-scheme: light; }
body { overflow-anchor: none; margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-base)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: var(--onda-display-tracking); }
h1 span, h2 span { color: var(--blue); }
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: var(--z-skip); padding: 12px 16px; border-radius: var(--onda-radius-pill); background: var(--ink); color: var(--on-emphasis); font: 500 var(--fs-ui)/1 var(--sans); }
.skip-link:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: var(--onda-radius-pill); font: 500 var(--fs-ui)/1 var(--sans); white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-lg { height: 52px; padding: 0 26px; font-size: var(--fs-body); }
.btn-primary { background: var(--blue); color: var(--on-emphasis); box-shadow: var(--onda-shadow-primary); }
.btn-primary:hover:not(:disabled) { background: var(--blue-2); }
.btn-glass { background: var(--glass); color: var(--ink); box-shadow: var(--onda-shadow-ghost); }
.btn-glass:hover:not(:disabled) { background: var(--paper); }
.btn-dark { background: var(--ink); color: var(--on-emphasis); box-shadow: var(--onda-shadow-dark); }
.btn-dark:hover:not(:disabled) { background: var(--ink-hover); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.logo { display: inline-flex; align-items: flex-end; gap: .1em; padding: 11px 4px; font: 500 var(--fs-logo)/1 var(--display); letter-spacing: var(--onda-logo-tracking); }
.logo span { flex: none; width: .24em; height: .24em; margin-bottom: .1em; border-radius: 50%; background: var(--blue); }
main, footer { position: relative; z-index: var(--z-raise); }
.footer-legal a, .cookie a { text-decoration: underline; text-underline-offset: 3px; }
.qs { max-width: var(--w-page); margin: 0 auto; }
.qs details { border-top: 1px solid var(--line); }
.qs details:last-child { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 26px 0; font-size: var(--fs-title); font-weight: 500; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: '+'; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 0 26px; max-width: 720px; color: var(--muted); }
.footer { padding: 40px 24px 48px; border-top: 1px solid var(--line); }
.footer-row, .footer-legal { max-width: var(--w-page); margin: 0 auto; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--fs-ui); color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-legal { display: grid; gap: 6px; margin-top: 28px; font-size: var(--fs-meta); color: var(--muted); }
.footer-legal:first-child { margin-top: 0; }
.cookie { position: fixed; left: 50%; bottom: 16px; z-index: var(--z-cookie); display: flex; align-items: center; gap: 20px; width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 16px 18px; border-radius: var(--onda-radius-card-lg); background: var(--glass-strong); backdrop-filter: blur(16px); box-shadow: var(--onda-shadow-float); transform: translateX(-50%); font-size: var(--fs-small); color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 900px) {
  .btn { height: 44px; }
  .footer-nav { gap: 0 20px; }
  .footer-nav a, .footer-legal a, .footer-legal .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal { font-size: var(--fs-small); }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}
