/* ==========================================================================
   VAIMEE — site styles
   Tokens come from the logo: navy #0f3e65, cyan #10b1d8.
   ========================================================================== */

:root {
  --ink: #0b1f33;
  --navy: #0f3e65;
  --navy-deep: #082a47;
  --cyan: #10b1d8;
  --cyan-hover: #35c3e6;
  --cyan-deep: #0a8fb3;
  --cyan-soft: #e3f4fa;
  --cyan-pale: #7fd8ef;
  --on-navy: #a9cfe0;
  --on-navy-dim: #8fb4c8;
  --muted: #55708a;
  --body-2: #3c5772;
  --subtle: #8ba0b3;
  --line: #dbe4ec;
  --line-soft: #eef2f6;
  --mist: #f3f6f9;
  --sky: #f6fbfd;
  --amber: #d98c1f;
  --amber-deep: #a86b12;
  --moss: #3f7a4f;

  --font-brand: Inter, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --section: clamp(64px, 8.5vw, 110px);
  --header-h: 74px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: 24px; }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 5.1vw, 66px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -0.032em; }
.h2 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.h2--sm { font-size: clamp(26px, 2.6vw, 34px); }
.h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lead--lg { font-size: clamp(18px, 1.55vw, 20px); }
.body-lg { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-deep); }
.label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--subtle); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #a8b8c6; margin-top: 20px; }
.accent { color: var(--navy); }
.link-arrow { font-size: 14px; font-weight: 600; }

/* Draft placeholder — a fact still to be supplied. Easy to find, easy to grep: class="ph" */
.ph {
  font-family: var(--font-mono); font-size: 0.86em; font-weight: 500; letter-spacing: 0;
  background: #fff4d6; color: #8a5a00; border-radius: 3px; padding: 0.05em 0.35em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); }
.section--deep { background: var(--navy-deep); }
.section--sky { background: var(--sky); border-bottom: 1px solid #e4eef3; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark .text { color: var(--on-navy); }
.on-dark .eyebrow { color: var(--cyan-pale); }
.on-dark strong { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > * + * { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head--row > div { max-width: 660px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- layout ---------- */
.grid { display: grid; gap: 24px; }
.grid--tight { gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.split--narrow-left { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.split--story { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.split--top { align-items: start; }
.split--bottom { align-items: end; }

.stack > * + * { margin-top: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm);
  font: 600 15px/1.2 var(--font-body); letter-spacing: -0.005em; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--ink); }
.btn--cyan { background: var(--cyan); color: var(--navy-deep); }
.btn--cyan:hover { background: var(--cyan-hover); color: var(--navy-deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--dark { background: var(--navy-deep); color: #fff; }
.btn--dark:hover { background: #041a2d; color: #fff; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header .wrap { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand__word { font-family: var(--font-brand); font-size: 21px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; }
.nav-panel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-left: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan-deep); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); padding-bottom: 4px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
}
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #fff 78%); padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.contours { position: absolute; inset: 0 0 auto 0; width: 100%; height: 620px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 528px) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: 18px; }
.hero-copy .lead { margin-top: 26px; max-width: 480px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #cfe8f2; border-radius: 100px; padding: 6px 14px 6px 8px; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.pill__tag { font-family: var(--font-mono); background: var(--cyan); color: var(--navy-deep); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 100px; }
.trust-line { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid #e4ebf1; font-size: 14px; color: var(--muted); }
.trust-line svg { flex-shrink: 0; }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stat__num { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.stat__label { font-size: 15px; color: var(--on-navy); margin-top: 10px; line-height: 1.5; }
.stat--light .stat__num { color: var(--navy); font-size: 32px; }
.stat--light .stat__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card--sm { padding: 24px; }
.card--flex { display: flex; flex-direction: column; }
.card--flex .text { flex: 1; }
.card--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card .h3 + .text { margin-top: 10px; }
.card > svg + .h3 { margin-top: 20px; }
.card .link-arrow { margin-top: 20px; display: inline-block; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--cyan); }
.feature { display: flex; gap: 22px; padding: 36px; }
.icon-box { width: 46px; height: 46px; border-radius: 8px; background: var(--cyan-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { padding: 22px 20px; }
.channel p { font-size: 15px; font-weight: 600; margin-top: 14px; }
.channel.card--navy p { color: #fff; }

/* ---------- platform diagram ---------- */
.platform { position: relative; overflow: hidden; }
.platform__rings { position: absolute; right: -170px; top: -110px; width: 700px; opacity: 0.13; pointer-events: none; }
.platform .split { position: relative; }
.platform__logo { height: 68px; width: auto; margin-bottom: 28px; }
.flow { display: flex; flex-direction: column; gap: 12px; }
.flow__box { border: 1px solid rgba(127,216,239,0.28); border-radius: 8px; background: rgba(255,255,255,0.04); padding: 18px 22px; }
.flow__box .label { color: var(--cyan-pale); }
.flow__box p:not(.label) { font-size: 15px; color: #fff; margin-top: 6px; }
.flow__box--core { border-color: rgba(127,216,239,0.5); background: rgba(16,177,216,0.12); padding: 22px; }
.flow__box--core p:not(.label) { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-top: 8px; }
.flow__arrow { display: flex; justify-content: center; }
.flow__outputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow__out { border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 16px; text-align: center; }
.flow__out strong { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; }
.flow__out span { font-size: 12px; color: var(--on-navy-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--font-mono); font-size: 11px; color: #cdeaf5; border: 1px solid rgba(127,216,239,0.4); border-radius: 4px; padding: 4px 9px; }
.chip--light { color: var(--ink); border-color: var(--line); font-family: var(--font-body); font-size: 14px; font-weight: 500; border-radius: 100px; padding: 9px 16px; }

/* ---------- white paper card ---------- */
.paper { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.paper__cover { background: var(--navy); padding: 30px 30px 26px; }
.paper__cover .label { color: var(--cyan-pale); }
.paper__title { font-family: var(--font-display); font-size: 25px; font-weight: 700; color: #fff; letter-spacing: -0.025em; line-height: 1.15; margin-top: 12px; }
.paper__cover p:last-child { font-size: 14px; color: var(--on-navy); margin-top: 10px; }
.paper dl { padding: 16px 30px 24px; }

/* key/value rows, reused by paper, pricing, about */
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.kv:last-child { border-bottom: 0; }
.kv dt, .kv > span:first-child { font-size: 14px; color: var(--muted); }
.kv dd, .kv > span:last-child { font-family: var(--font-mono); font-size: 14px; color: var(--ink); text-align: right; }
.on-dark .kv { border-bottom-color: rgba(255,255,255,0.12); }
.on-dark .kv dt { color: var(--on-navy); font-size: 15px; }
.on-dark .kv dd { color: #fff; }
.kv dd.is-plain { font-family: var(--font-body); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cyan); padding-block: clamp(56px, 6.5vw, 84px); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px 60px; }
.cta-band .h2 { color: #06283f; }
.cta-band p { font-size: clamp(17px, 1.45vw, 19px); color: #06405f; margin-top: 14px; line-height: 1.55; max-width: 700px; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); padding-top: 72px; color: #fff; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-main { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px 80px; padding-bottom: 56px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand img { height: 34px; width: auto; }
.footer-brand .brand__word { font-size: 23px; }
.footer-brand p { font-size: 14px; color: var(--on-navy-dim); margin-top: 20px; line-height: 1.6; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--on-navy); }
.socials a:hover { border-color: #fff; color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols .label { color: var(--cyan-pale); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 14px; color: rgba(255,255,255,0.66); padding: 5px 0; }
.footer-cols a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 26px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; font-size: 13px; color: #6f95ad; }
.footer-legal .mono { font-size: 12px; }

/* ==========================================================================
   Page-specific
   ========================================================================== */

/* page hero on dark (Agorà, Developers) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 84px) clamp(64px, 7.5vw, 96px); }
.page-hero .eyebrow { letter-spacing: 0.18em; }
.page-hero .h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 24px; max-width: 540px; }
.page-hero__bg { position: absolute; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero--narrow .wrap > div { max-width: 760px; }

/* light page hero (Pricing, About, Projects) */
.page-intro .h1 { margin-top: 18px; }
.page-intro--center { text-align: center; }
.page-intro--center .lead { margin: 20px auto 0; max-width: 660px; }

/* Agorà: message card */
.message { background: #fff; border-radius: 12px; padding: 20px 22px; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5); color: var(--ink); }
.message__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.message__icon { width: 30px; height: 30px; border-radius: 7px; background: var(--cyan-soft); display: flex; align-items: center; justify-content: center; }
.message__time { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--subtle); margin-left: auto; }
.message p { font-size: 15px; line-height: 1.55; }
.message strong { color: var(--ink); }
.glass { background: rgba(255,255,255,0.08); border: 1px solid rgba(127,216,239,0.3); border-radius: 12px; padding: 20px 22px; }
.glass .label { color: var(--cyan-pale); }
.glass p:not(.label) { font-size: 15px; color: #fff; margin-top: 8px; line-height: 1.55; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.page-hero .illustrative { color: rgba(255,255,255,0.45); margin-top: 0; }

.stats-inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Agorà: balance table */
.balance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; gap: 28px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel__head { background: var(--mist); padding: 14px 24px; border-bottom: 1px solid var(--line); }
.panel__head .label { color: var(--muted); }
.panel ul { padding: 8px 24px 20px; }
.panel li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.panel li:last-child { border-bottom: 0; }
.panel li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.panel--out li::before { background: var(--amber); }
.panel--navy { background: var(--navy); border-color: var(--navy); }
.panel--navy .panel__head { background: transparent; border-bottom-color: rgba(255,255,255,0.15); }
.panel--navy .panel__head .label { color: var(--cyan-pale); }
.panel--navy dl { padding: 8px 24px 20px; }
.panel--navy .kv { border-bottom-color: rgba(255,255,255,0.1); padding: 13px 0; }
.panel--navy .kv dt { color: var(--on-navy); }
.panel--navy .kv dd { color: #fff; font-size: 13px; }

/* code */
.code { background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #35506b; }
.code__bar span { font-family: var(--font-mono); font-size: 11px; color: #6f95ad; margin-left: 10px; }
.code pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: #cdeaf5; }
.code .k { color: var(--cyan-pale); }
.code .s { color: #fff; }
.code .n { color: #f0c07a; }
.code .c { color: #6f95ad; }
.tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.12); }
.tab { font-family: var(--font-mono); font-size: 12px; color: #6f95ad; background: none; border: 0; border-bottom: 2px solid transparent; padding: 13px 20px; cursor: pointer; min-height: 44px; }
.tab:hover { color: #cdeaf5; }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--cyan); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-top: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq details p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 540px; }
.faq--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; position: relative; }
.tier--featured { border: 2px solid var(--cyan); }
.tier__flag { position: absolute; top: -11px; left: 32px; font-family: var(--font-mono); background: var(--cyan); color: var(--navy-deep); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 4px; }
.tier__who { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.tier--featured .tier__who { color: var(--cyan-deep); }
.tier__name { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin-top: 10px; }
.tier__desc { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.55; min-height: 70px; }
.tier__price { font-family: var(--font-display); font-size: 42px; font-weight: 700; letter-spacing: -0.035em; margin-top: 22px; line-height: 1.15; }
.tier__price small { font-size: 17px; font-weight: 500; color: var(--subtle); letter-spacing: 0; }
.tier__per { font-family: var(--font-mono); font-size: 12px; color: var(--subtle); margin-top: 4px; }
.tier .btn { margin-top: 24px; }
.tier ul { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); flex: 1; }
.tier li { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--body-2); }
.tier li svg { flex-shrink: 0; margin-top: 3px; }
.tier.card--navy .tier__who { color: var(--cyan-pale); }
.tier.card--navy .tier__desc { color: var(--on-navy); }
.tier.card--navy .tier__per { color: #7fa8c0; }
.tier.card--navy ul { border-top-color: rgba(255,255,255,0.15); }
.tier.card--navy li { color: #cfe3ee; }
.tier.card--navy .tier__price { color: #fff; }

.price-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 32px 12px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.price-row:last-child { border-bottom: 0; }
.price-row strong { display: block; font-size: 16px; }
.price-row span { font-size: 14px; color: var(--muted); }
.price-row .mono { font-size: 15px; color: var(--ink); flex-shrink: 0; }
.price-row .is-free { color: var(--moss); }

/* Developers */
.steps li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.steps .step__num { padding-top: 4px; }
.steps .text { margin-top: 8px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.endpoints { width: 100%; border-collapse: collapse; min-width: 640px; }
.endpoints th { text-align: left; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--subtle); background: #f8fafc; padding: 13px 26px; border-bottom: 1px solid var(--line); }
.endpoints td { padding: 15px 26px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.endpoints tr:last-child td { border-bottom: 0; }
.endpoints td:nth-child(2) { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.method { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.method--post { color: var(--moss); }
.method--get { color: var(--cyan-deep); }
.std .label { color: var(--cyan-deep); font-size: 12px; letter-spacing: 0.1em; }
.std .text { margin-top: 10px; }

/* About */
.principle { border-top: 2px solid var(--cyan); padding-top: 26px; }
.principle p:first-child { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.principle .eyebrow { margin-top: 16px; letter-spacing: 0.1em; }
.timeline li { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid #dde5ec; }
.timeline li:first-child { padding-top: 0; }
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline .year { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); width: 74px; flex-shrink: 0; padding-top: 4px; letter-spacing: 0.06em; }
.timeline .text { margin-top: 8px; }
.person__photo { aspect-ratio: 4 / 5; background: #eaf0f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.person__name { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-top: 16px; }
.person__role { font-size: 14px; color: var(--muted); margin-top: 2px; }
.contact-card { border: 1px solid rgba(127,216,239,0.3); border-radius: var(--radius); padding: 22px 36px; }
.contact-card .kv { padding: 14px 0; }

/* Projects */
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.project__head { background: var(--navy); padding: 30px 32px; }
.project__status { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.project__status .dot { background: var(--cyan); }
.project__status .label { color: var(--cyan-pale); }
.project__name { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; color: #fff; letter-spacing: -0.028em; line-height: 1.1; overflow-wrap: anywhere; }
.project__body { padding: 28px 32px 30px; }
.project__body > p { font-size: 16px; color: var(--body-2); }
.project__body dl { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.project__body .kv { padding: 13px 0; }
.project__body .link-arrow { display: inline-block; margin-top: 20px; font-size: 15px; }
.past__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin-top: 12px; }
.past .text { margin-top: 10px; }
.card--dashed { border: 1px dashed #c6d4e0; background: #fafcfd; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.card--dashed strong { font-family: var(--font-display); font-size: 18px; color: var(--muted); }
.card--dashed p { font-size: 14px; color: var(--subtle); margin-top: 8px; }
.count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 36px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero-copy .lead { max-width: 600px; }
  .balance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .balance .panel--navy { grid-column: 1 / -1; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .tier__desc { min-height: 0; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 4px 24px 24px;
    box-shadow: 0 16px 30px -20px rgba(11,31,51,0.3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-open .nav-panel { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav-links a[aria-current="page"] { box-shadow: none; padding-bottom: 14px; }
  .nav-actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; margin-top: 18px; }
  .nav-actions .btn { min-height: 52px; font-size: 16px; }
  .nav-login { text-align: center; padding: 12px 0; }

  .split, .split--even, .split--wide-left, .split--narrow-left, .split--story { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .faq, .faq--3 { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .platform__rings { width: 480px; right: -200px; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  .card { padding: 24px; }
  .feature { padding: 24px; gap: 18px; }
  .tiers { grid-template-columns: 1fr; }
  .balance { grid-template-columns: 1fr; }
  .stats-inline { grid-template-columns: 1fr; gap: 20px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .price-list { padding: 4px 20px 8px; }
  .contact-card { padding: 16px 22px; }
  .project__head, .project__body { padding-inline: 24px; }
  .timeline li { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4.grid--keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__outputs { grid-template-columns: 1fr; }
  .actions .btn, .cta-band .btn { width: 100%; }
  .kv { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- physics · semantics · AI ---------- */
.pillar { display: flex; flex-direction: column; }
.pillar__kind { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-deep); }
.pillar .h3 { margin-top: 18px; }
.pillar .text { margin-top: 10px; flex: 1; }
.pillar__src { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--subtle); }
.card--navy .pillar__kind { color: var(--cyan-pale); }
.card--navy .h3 { color: #fff; }
.card--navy .text { color: var(--on-navy); }
.card--navy .pillar__src { border-top-color: rgba(255,255,255,0.15); color: var(--on-navy-dim); }

.loop-wrap { margin-top: 28px; }
.loop-wrap > .label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.loop { display: flex; list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.loop li { flex: 1; display: flex; gap: 10px; align-items: flex-start; padding: 18px 22px; font-size: 14px; line-height: 1.45; color: var(--body-2); }
.loop li + li { border-left: 1px solid var(--line-soft); }
.loop li.is-ai { background: var(--cyan-soft); color: var(--ink); font-weight: 500; }
.loop__n { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); padding-top: 2px; flex-shrink: 0; }

.layers { display: flex; flex-direction: column; gap: 10px; }
.layer { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.layer .label { color: var(--cyan-deep); padding-top: 3px; font-size: 11px; }
.layer strong { display: block; font-family: var(--font-display); font-size: 17px; }
.layer p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.layer--ai { background: var(--navy); border-color: var(--navy); }
.layer--ai .label { color: var(--cyan-pale); }
.layer--ai strong { color: #fff; }
.layer--ai p { color: var(--on-navy); }
.layer--out { background: var(--cyan-soft); border-color: #cbe9f3; }
.layer-arrow { display: flex; justify-content: center; color: var(--cyan); }
.layer-return { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--cyan-deep); text-transform: uppercase; padding-top: 6px; }

@media (max-width: 960px) {
  .loop { flex-direction: column; }
  .loop li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .layer { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   Story — the home page reads as chapters of one narrative, drop by drop
   ========================================================================== */
:root { --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 28'%3E%3Cpath d='M11 0C5 8 0 13.6 0 18.2 0 23.6 4.9 28 11 28s11-4.4 11-9.8C22 13.6 17 8 11 0z'/%3E%3C/svg%3E"); }

.illustrative { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: #a8b8c6; text-align: right; margin-top: 10px; }

.chapter { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-deep); }
.chapter::before { content: ""; width: 11px; height: 14px; flex-shrink: 0; background: currentColor; -webkit-mask: var(--drop) center / contain no-repeat; mask: var(--drop) center / contain no-repeat; }
.on-dark .chapter { color: var(--cyan-pale); }

.story-hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); color: #fff; }
.story-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.story-hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(4,26,45,0.2) 0%, rgba(4,26,45,0.05) 30%, rgba(4,26,45,0.7) 70%, rgba(4,26,45,0.92) 100%),
  linear-gradient(90deg, rgba(4,26,45,0.55) 0%, rgba(4,26,45,0) 65%); }
.story-hero__content { position: relative; padding-block: clamp(140px, 22vh, 220px) clamp(64px, 9vh, 96px); }
.story-hero h1 { max-width: 920px; }
.story-hero h1 span { display: block; color: #cfe7f2; }
.story-hero .lead { color: #d7e9f2; max-width: 620px; margin-top: 24px; }
.story-hero__credit { position: absolute; right: 24px; bottom: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.62); }

.purpose__statement { font-family: var(--font-display); font-size: clamp(40px, 6.2vw, 86px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; color: var(--navy); margin-top: 22px; max-width: 1080px; }
.purpose__statement em { font-style: normal; color: var(--cyan-deep); }
.purpose__body { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.sdgs-label { margin-top: 28px; }
.sdgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.sdgs img { width: 56px; height: 56px; border-radius: 4px; }

.tradeoff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tradeoff .card { padding: 28px; }
.tick-list { list-style: none; padding: 0; margin: 14px 0 0; }
.tick-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; font-weight: 500; }
.tick-list li:last-child { border-bottom: 0; }
.tick-list svg { flex-shrink: 0; }
.card--navy .label { color: var(--cyan-pale); }
.tradeoff__q { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.tradeoff__q svg { flex-shrink: 0; }
.yield { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 40px; align-items: center; margin: 20px 0 0; }
.yield__text .h3 { margin-top: 10px; }
.yield__goal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--body-2); }
.yield__chart { width: 100%; height: auto; }
.yield__axis { font: 500 12px var(--font-mono); fill: var(--muted); }
.yield__lbl { font: 600 13px var(--font-body); fill: var(--body-2); }
.yield__lbl--strong { fill: var(--navy); }
.yield__sub { font: 400 12px var(--font-body); fill: var(--muted); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; list-style: none; padding: 0; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 100px; }
.pill-list li::before { content: ""; width: 8px; height: 10px; background: var(--cyan); -webkit-mask: var(--drop) center / contain no-repeat; mask: var(--drop) center / contain no-repeat; }
.pill-list--plain { margin-top: 12px; }
.pill-list--plain li::before { display: none; }

.twin { position: relative; }
.twin > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.forecast3 { position: absolute; left: -28px; bottom: -28px; width: min(300px, 80%); padding: 18px 20px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 40px -24px rgba(11,31,51,0.4); }
.forecast3__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.forecast3__bars > div { display: flex; flex-direction: column; align-items: center; }
.forecast3__col { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 84px; border-bottom: 1px solid var(--line); }
.forecast3__bar { width: 22px; height: var(--h); background: var(--cyan-deep); border-radius: 4px 4px 0 0; }
.forecast3 strong { font-family: var(--font-display); font-size: 17px; margin-top: 8px; }
.forecast3__day { font-size: 12px; color: var(--muted); }

.photo-fig { margin: 0; }
.photo-fig img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo-fig--dark img { max-height: 620px; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

.auto-flow { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.auto-flow li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid rgba(127,216,239,0.25); border-radius: 8px; background: rgba(255,255,255,0.04); }
.auto-flow .step__num { color: var(--cyan-pale); padding-top: 2px; }
.auto-flow strong { display: block; color: #fff; font-family: var(--font-display); font-size: 16px; }
.auto-flow span:not(.step__num) { font-size: 14px; color: var(--on-navy); }

.studio-player { position: relative; overflow: hidden; aspect-ratio: 1600 / 781; background: #050d16; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(11,31,51,0.5); }
.studio-player > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.studio-player[data-embed]::after { content: ""; position: absolute; inset: 0; background: rgba(5,13,22,0.35); pointer-events: none; }
.studio-player.is-playing { aspect-ratio: 16 / 9; }
.studio-player.is-playing::after { display: none; }
.studio-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.studio-play { position: absolute; z-index: 1; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 12px; border: 0; border-radius: 100px; background: rgba(255,255,255,0.96); color: var(--ink); font: 600 16px/1 var(--font-body); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform .15s ease; }
.studio-play:hover { transform: scale(1.03); }
.studio-play__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cyan); display: flex; align-items: center; justify-content: center; }
.studio-soon { position: absolute; top: 20px; right: 20px; padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(8,42,71,0.88); border-radius: 4px; }
.studio-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.module { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.module .label { color: var(--cyan-deep); }
.module strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 18px; }
.module p:last-child { margin-top: 6px; font-size: 14px; color: var(--muted); }

.partner-logo { height: 45px; width: auto; margin-top: 28px; }
.wue { margin: 0; }
.wue__rows { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.wue__row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; font-size: 14px; }
.wue__name { color: var(--body-2); }
.wue__track { display: flex; align-items: center; gap: 10px; }
.wue__bar { width: var(--w); min-width: 4px; height: 18px; background: #9fc6d8; border-radius: 0 4px 4px 0; }
.wue__row.is-hl .wue__bar { background: var(--navy); }
.wue__row.is-hl .wue__name { font-weight: 600; color: var(--ink); }
.wue__val { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.wue figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); }

.objection { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.objection__them, .objection__us { margin: 0; padding: 28px 30px; border-radius: var(--radius); font-size: 18px; line-height: 1.5; }
.objection__them { background: #fff; border: 1px solid var(--line); color: var(--body-2); font-style: italic; }
.objection__us { background: var(--navy); color: #fff; }
.objection .label { display: block; margin-bottom: 12px; font-style: normal; }
.objection__us .label { color: var(--cyan-pale); }
.objection__offer { margin-top: 14px; font-size: 16px; color: var(--on-navy); }
.objection__offer strong { color: #fff; }
.objection__us .btn { margin-top: 20px; }
.banner-line { margin-top: 20px; padding: 22px 30px; background: var(--navy-deep); color: #fff; border-radius: var(--radius); font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.01em; }

.actors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.actor { display: flex; flex-direction: column; align-items: center; padding: 24px 18px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.actor img { width: 108px; height: 108px; }
.actor h3 { margin-top: 14px; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.actor p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.actors--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.actors--compact img { width: 84px; height: 84px; }

.paper--teaser { box-shadow: 0 24px 50px -30px rgba(11,31,51,0.5); }
.paper--teaser .paper__cover { padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 40px); }
.paper--teaser .paper__title { font-size: clamp(24px, 2.4vw, 30px); }

.awards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.award { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.award__rank { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.award p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.award__tag { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--cyan-deep); }
.programs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body-2); }
.plain-list { list-style: none; margin: 14px 0 0; padding: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--body-2); }
.plain-list li:last-child { border-bottom: 0; }

.closing .split { align-items: stretch; }
.closing__img { position: relative; overflow: hidden; min-height: 420px; border-radius: var(--radius); }
.closing__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- product page ---------- */
.message--reply { margin-left: 48px; background: var(--cyan-soft); }
.io { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 18px; }
.io__col { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.io__col > .label { color: var(--cyan-deep); }
.io__list { list-style: none; margin: 14px 0 0; padding: 0; }
.io__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; font-weight: 500; }
.io__list li:last-child { border-bottom: 0; }
.io__twin { background: var(--navy); border-color: var(--navy); color: #fff; }
.io__twin > .label { color: var(--cyan-pale); }
.io__twin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.io__box { padding: 16px; border: 1px solid rgba(127,216,239,0.3); border-radius: 8px; background: rgba(255,255,255,0.04); }
.io__box strong { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }
.io__box p { margin-top: 6px; font-size: 14px; color: var(--on-navy); }
.tag-live, .tag-soon, .tag-muted { flex-shrink: 0; padding: 3px 7px; border-radius: 4px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.tag-live { background: #e6f2e9; color: #2f6b3e; }
.tag-soon { background: #fdf3e3; color: var(--amber-deep); }
.tag-muted { background: var(--mist); color: var(--muted); }
.chips--light { margin-top: 28px; }
.chips--light .chip { color: var(--ink); border-color: var(--line); background: #fff; font-size: 13px; padding: 6px 12px; }

.daily { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.daily__cell { padding: 16px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.daily__cell strong { display: block; font-family: var(--font-mono); font-size: 14px; }
.daily__cell span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.daily__cell--obs { background: var(--mist); }
.daily__cell--today { background: var(--navy); border-color: var(--navy); color: #fff; }
.daily__cell--today strong { color: #fff; }
.daily__cell--today span { color: var(--on-navy); }
.daily__cell--fc { background: var(--cyan-soft); border-color: #cbe9f3; }
.outputs { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.outputs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; break-inside: avoid; }
.outputs li span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--subtle); }

.params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.param { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.param .label { color: var(--cyan-deep); }
.param h3 { margin-top: 6px; font-family: var(--font-display); font-size: 18px; }
.param p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- pricing ---------- */
.unit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.unit__formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.unit__formula span { padding: 9px 16px; font-family: var(--font-display); font-size: 16px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 100px; }
.unit__formula b { font-size: 20px; color: var(--cyan-deep); }
.unit__formula .is-unit { background: var(--navy); border-color: var(--navy); color: #fff; }
.unit__figure { margin: 0; }
.unit__map { width: 100%; height: auto; border-radius: var(--radius); }
.unit__soil text { font: 700 27px var(--font-display); fill: #ffffff; }
.unit__field text { font: 500 17px var(--font-mono); fill: #7fd8ef; letter-spacing: 0.12em; text-transform: uppercase; }
.unit__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.tier__price--text { font-size: 30px; }
.api-plans { width: 100%; min-width: 760px; border-collapse: collapse; }
.api-plans th, .api-plans td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.api-plans thead th { vertical-align: bottom; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); }
.api-plans thead th small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--cyan-deep); }
.api-plans tbody th { width: 170px; font-weight: 500; color: var(--muted); }
.api-plans td { font-family: var(--font-mono); color: var(--ink); }
.api-plans td.is-text { font-family: var(--font-body); }
.api-plans .is-featured { background: #eef8fc; }
.api-plans tr:last-child th, .api-plans tr:last-child td { border-bottom: 0; }

/* ---------- developers ---------- */
.card--wide { grid-column: 1 / -1; }
.mdw-logo { height: 120px; width: auto; margin: -22px 0 4px -24px; }

/* ---------- about ---------- */
.name-card { display: flex; flex-direction: column; justify-content: center; min-height: 320px; padding: 40px; background: var(--navy); border-radius: var(--radius); color: #fff; }
.name-card__word { font-size: clamp(64px, 9vw, 120px); font-weight: 600; line-height: 1; color: #fff; font-family: "Noto Sans Georgian", "Sylfaen", var(--font-display); }
.name-card__say { margin-top: 18px; font-family: var(--font-mono); font-size: 16px; color: var(--cyan-pale); }
.team-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.team-group { padding: 26px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.team-group > .label { color: var(--cyan-deep); }
.team-group--ai { display: flex; flex-direction: column; justify-content: center; background: var(--navy); border-color: var(--navy); }
.team-group--ai > .label { color: var(--cyan-pale); }
.team-group__text { margin-top: 12px; font-size: 17px; line-height: 1.55; color: #fff; }
.team-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.person { text-align: center; }
.person img { width: 112px; height: 112px; margin: 0 auto; object-fit: cover; border-radius: 50%; background: #eaf0f5; }
.person__name { margin-top: 12px; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.person__role { font-size: 13px; color: var(--muted); }
.founder { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.founder > img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; }
.founder__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease, box-shadow .15s ease; }
.news-card:hover { border-color: #b9ccdb; box-shadow: 0 16px 30px -22px rgba(11,31,51,0.45); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.news-card__link:hover { color: inherit; }
.news-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__mark { width: 40px; height: 52px; background: var(--cyan); opacity: 0.85; -webkit-mask: var(--drop) center / contain no-repeat; mask: var(--drop) center / contain no-repeat; }
.news-card__body { padding: 22px 24px 26px; }
.news-card__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--subtle); }
.news-card__title { margin-top: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.news-card .text { margin-top: 8px; }
.empty { padding: 60px 0; text-align: center; }
.empty .text { margin-top: 8px; }
.wrap--narrow { max-width: 808px; }
.article__head .h1 { margin-top: 14px; }
.article__date { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.article__head .lead { margin-top: 18px; }
.article__cover { margin-top: clamp(32px, 5vw, 56px); }
.article__cover img { width: 100%; border-radius: var(--radius); }
.article__body { padding-block: clamp(32px, 5vw, 56px) var(--section); font-size: 18px; line-height: 1.7; color: var(--body-2); }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 { margin-top: 1.8em; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.article__body h3, .article__body h4 { margin-top: 1.6em; font-size: 21px; color: var(--ink); }
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li + li { margin-top: 0.4em; }
.article__body blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cyan); font-size: 20px; color: var(--ink); }
.article__body img { border-radius: 8px; }
.article__body figure { margin-inline: 0; }
.article__body figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.article__body code { padding: 0.1em 0.35em; font-family: var(--font-mono); font-size: 0.88em; background: var(--mist); border-radius: 4px; }
.article__body hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- forms ---------- */
.form-card { padding: clamp(24px, 3vw, 36px); }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--subtle); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1px solid #c4d2de; border-radius: var(--radius-sm); }
.field input:focus, .field select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan-deep); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field-error { font-size: 13px; color: #b3261e; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--body-2); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.check.has-error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; font-size: 14px; border-radius: var(--radius-sm); }
.form-status.is-error { background: #fdecea; color: #8c1d18; }
.form-fine { font-size: 13px; text-align: center; color: var(--subtle); }
.form-success { padding: 24px 0 6px; text-align: center; }
.form-success__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 16px; background: var(--cyan-soft); border-radius: 50%; }
.form-success .text { max-width: 380px; margin: 8px auto 22px; }
button[disabled] { opacity: 0.6; cursor: progress; }

.prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--body-2); }
.prose h2 { margin-top: 2em; font-size: 24px; color: var(--ink); }
.prose p, .prose ul { margin-top: 0.9em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; }
.error-page { padding-block: clamp(80px, 14vw, 160px); }
.error-page .h1 { margin-top: 16px; }
.error-page .lead { margin-top: 20px; max-width: 620px; }
.footer-lockup { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; width: fit-content; }
.footer-spin { height: 28px; width: auto; opacity: 0.8; }

@media (max-width: 1100px) {
  .actors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .io { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .tradeoff, .yield, .objection, .unit { grid-template-columns: 1fr; }
  .modules, .params, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-groups { grid-template-columns: 1fr; }
  .forecast3 { left: 12px; bottom: 12px; }
}
@media (max-width: 720px) {
  .actors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { grid-template-columns: 1fr; }
  .founder > img { width: 140px; height: 140px; }
  .founder__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .daily__cell--edge { display: none; }
  .outputs { columns: 1; }
  .io__twin-grid { grid-template-columns: 1fr; }
  .story-hero__credit { right: auto; left: 20px; }
  .message--reply { margin-left: 24px; }
}
@media (max-width: 560px) {
  .modules, .params, .news-grid, .awards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-stack { grid-template-columns: 1fr; }
  .photo-stack img:last-child { display: none; }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person img { width: 88px; height: 88px; }
  .forecast3 { position: static; width: auto; margin-top: 14px; }
  .actors--compact { grid-template-columns: 1fr 1fr; }
  .yield { padding: 22px; }
  .wue__row { grid-template-columns: 90px minmax(0, 1fr); }
  .daily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily__cell--obs { display: none; }
}

/* ---------- track record: logos of people we have worked with ---------- */
.logo-wall { display: grid; gap: clamp(28px, 3.5vw, 40px); }
.logo-group > .label { color: var(--cyan-deep); margin-bottom: 14px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logo-slot { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 3; padding: 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.logo-slot img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.78; transition: filter .15s ease, opacity .15s ease; }
.logo-slot:hover img { filter: none; opacity: 1; }
.logo-slot span { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--subtle); }
.logo-slot--sm img { max-height: 56%; }
.logo-slot--lg img { width: 68%; max-height: 100%; }
.logo-slot--empty { border-style: dashed; background: transparent; }
.logo-note { max-width: 820px; margin-top: clamp(28px, 3.5vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Language switcher */
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 5px 7px; border-radius: 999px;
  font: 600 12px/1 var(--font-mono); letter-spacing: 0.06em;
  color: var(--subtle); text-decoration: none;
}
.lang__link:hover { color: var(--cyan-deep); background: var(--mist); }
.lang__link[aria-current="true"] { color: var(--ink); background: var(--mist); }

@media (max-width: 960px) {
  .lang { align-self: flex-start; margin-top: 6px; }
  .lang__link { min-width: 44px; min-height: 40px; font-size: 14px; }
}
