/* Ondulab site. Tokens match Figma page "Ondulab website". */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/fonts/dm-sans-latin-wght-normal.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; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/fonts/dm-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F6F4EF; --surface: #FFFFFF; --ink: #13212B; --muted: #5B6770;
  --blue: #0E4D6E; --deep: #0B3247; --sea: #3E8FB0; --line: #E3DED3; --tint: #E6EEF2;
  --live-bg: #E4F1E8; --live: #1F5B3F; --dev-bg: #F7EBD3; --dev: #8A5A0C;
  --foot-text: #B9C7D0; --foot-line: #24506A;
  --wrap: 1200px; --pad: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--deep); text-decoration: none; }
.logo.light { color: #fff; }
.links { display: flex; align-items: center; gap: 32px; }
.links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.lang { color: var(--muted); font-size: 14px; }
.lang a { font-weight: 400; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; text-decoration: none; }
.menu-toggle, .menu-btn { display: none; }

/* Sections */
.hero { padding: 104px 0 56px; }
.hero.big { padding: 120px 0 100px; }
.eyebrow { margin: 0 0 20px; color: var(--sea); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -0.02em; max-width: 900px; }
.hero:not(.big) h1 { font-size: clamp(34px, 4.2vw, 52px); }
.intro { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; margin: 24px 0 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 600; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--blue); }
.btn:hover { background: var(--deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--tint); color: var(--deep); }
.btn.small { padding: 10px 18px; font-size: 15px; }
.band { padding: 80px 0; }
.band.tint { background: var(--tint); }
.band.line { border-top: 1px solid var(--line); padding: 40px 0; }
.hero:not(.big) + .band { padding-top: 16px; }
.band h2 { font-weight: 400; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.01em; }
h2.sub { margin: 56px 0 24px; }
.lead { color: var(--muted); font-size: 17px; margin: 12px 0 32px; }
.grid { display: grid; gap: 32px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.band h2 + .grid.three { margin-top: 40px; }
.point h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.point p, .card p { color: var(--muted); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.card.wide { margin-top: 32px; }
.card ol, .card ul { color: var(--muted); padding-left: 20px; margin: 0 0 12px; }
.card p + p { margin-top: 12px; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin: 0 0 8px !important; text-transform: uppercase; }
.big-link { font-size: 19px; font-weight: 600; margin: 0 0 8px !important; overflow-wrap: anywhere; }
.big-link a { text-decoration: none; }

/* App cards */
.app { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.app-head { display: flex; gap: 14px; align-items: center; }
.app-head img { border-radius: 12px; width: 48px; height: 48px; }
.app h3 { font-size: 22px; margin: 0 0 6px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge.live { background: var(--live-bg); color: var(--live); }
.badge.dev { background: var(--dev-bg); color: var(--dev); }
.more { font-weight: 600; text-decoration: none; margin-top: auto; }
.more.muted { color: var(--muted); font-weight: 500; }

/* Facts */
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 500; }

/* Legal */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.toc a { text-decoration: none; }
.prose { max-width: 760px; }
.prose section { margin-bottom: 36px; scroll-margin-top: 96px; }
.prose h2 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }

/* Footer */
.foot { background: var(--deep); color: var(--foot-text); padding: 56px 0 40px; font-size: 14px; }
.foot a { color: var(--foot-text); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.brand p { margin: 12px 0 0; }
.cols { display: flex; gap: 64px; flex-wrap: wrap; }
.cols h2 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 10px; }
.cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bot { border-top: 1px solid var(--foot-line); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Phone */
@media (max-width: 820px) {
  .menu-btn { display: block; width: 44px; height: 44px; position: relative; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; }
  .menu-btn span { top: 21px; } .menu-btn span::before { top: -7px; left: 0; } .menu-btn span::after { top: 7px; left: 0; }
  .menu-toggle { display: block; position: absolute; right: var(--pad); width: 44px; height: 44px; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
  .nav-in { position: relative; flex-wrap: wrap; min-height: 64px; }
  .links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 18px; padding: 12px 0 24px; }
  .menu-toggle:checked ~ .links { display: flex; }
  .hero, .hero.big { padding: 56px 0 40px; }
  .band { padding: 48px 0; }
  .grid.two, .grid.three { grid-template-columns: 1fr; gap: 20px; }
  .card, .app { padding: 24px; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .cols { flex-direction: column; gap: 24px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
