/* Kairo — brand tokens sampled from the live site: ink navy, warm gold, warm gray body, hairlines. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
}

:root {
  --ink: #172734;
  --ink-soft: #2b3a47;
  --gold: #9a7649;
  --gold-deep: #8a6a3f; /* gold for small/medium text: 4.9:1 on white */
  --gold-logo: #b08d5c;
  --bronze: #755f36;
  --body: #6b7177;
  --line: #e3e3e3;
  --wash: #f7f6f3;
  --white: #fff;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(154, 118, 73, .5); text-underline-offset: .2em; }
a:hover { color: var(--ink); text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.center .lead, .center .prose { margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze); line-height: 1.5;
}
.kicker { font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.display {
  font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.03; font-weight: 650; letter-spacing: -.05em;
  color: var(--ink); margin-top: 28px; text-wrap: balance;
}
.display--md { font-size: clamp(2.25rem, 6vw, 4.5rem); }
.accent { display: block; color: var(--gold); }
.h-section {
  font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; font-weight: 650; letter-spacing: -.045em;
  color: var(--ink); text-wrap: balance;
}
.tagline {
  margin-top: 12px; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 600;
  letter-spacing: -.035em; color: var(--gold-deep); text-wrap: balance;
}
.lead, .prose { text-wrap: pretty; }
.eyebrow + .h-section { margin-top: 16px; }
.lead { margin-top: 28px; max-width: 44rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.75; }
.prose { max-width: 42rem; margin-top: 20px; font-size: 1.125rem; }
.prose:first-child, .h-section + .prose, .kicker + .prose { margin-top: 0; }
.h-section + .prose { margin-top: 24px; }
.note { margin-top: 20px; max-width: 46rem; font-size: .95rem; line-height: 1.65; }
.small { margin-top: 24px; font-size: .95rem; }
.small a { color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 13px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; border: 1px solid var(--ink); transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: #22384a; border-color: #22384a; color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 1.0625rem; }
.btn--sm { padding: 12px 24px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.icon { flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--ink);
  font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* ---------- Header / nav ---------- */
.site-header { padding-block: 22px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.logo { display: inline-flex; color: var(--ink); text-decoration: none; }
.logo-mark { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 32px; list-style: none; }
.nav a:not(.btn), .menu a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 1rem; }
.nav a:not(.btn):hover { color: var(--gold); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.menu { display: none; position: relative; }
.menu summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; color: var(--ink);
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-close { display: none; }
.menu[open] .menu-close { display: inline; }
.menu[open] .menu-open { display: none; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 50; min-width: 240px; padding: 20px;
  display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 48px -24px rgba(23, 39, 52, .25);
}
.menu nav ul { list-style: none; display: grid; }
.menu nav li a { display: block; padding: 12px 8px; }
.menu nav .btn { justify-content: center; margin-top: 8px; color: #fff; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Sections ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px); }
.hero .display { max-width: 16em; }
.hero.hero--left .display { margin-inline: 0; }
.center .display { margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sm { padding-block: clamp(32px, 5vw, 56px); }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--line > .container, .section-sm.section--line > .container { max-width: calc(var(--max) + 2 * var(--gut)); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.split { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.split .h-section { max-width: 16em; }

/* ---------- Cards (home) ---------- */
.focus + .focus { margin-top: clamp(48px, 6vw, 72px); }
.focus-head { display: grid; gap: 6px; margin-bottom: 24px; }
.focus-name { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.focus-head p { max-width: 46rem; }
.cards { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover, .card:focus-within { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(23, 39, 52, .35); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8125rem; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .1em; color: var(--bronze); font-weight: 500; }
.chip { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; color: var(--body); white-space: nowrap; }
.card-name { font-size: 1.5rem; line-height: 1.2; font-weight: 650; letter-spacing: -.035em; color: var(--ink); margin-top: 6px; }
.card-name a { color: inherit; text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-name a:focus-visible { outline: none; }
.card:has(.card-name a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.card-text { font-size: 1rem; line-height: 1.6; flex: 1; }
.card-domain { font-size: .875rem; color: var(--bronze); letter-spacing: .02em; }
.focus + .note, .cards + .note { margin-top: 48px; }

/* ---------- Mini steps (home teaser) ---------- */
.mini-steps { list-style: none; display: grid; gap: 0; margin-top: 32px; max-width: 42rem; border-top: 1px solid var(--line); }
.mini-steps li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }

/* ---------- Portfolio hub rows ---------- */
.focus-block { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px); }
.focus-head--wide { margin-bottom: 20px; }
.focus-head--wide .lead { margin-top: 12px; max-width: 46rem; }
.rows { list-style: none; }
.row { display: grid; gap: 24px 64px; padding-block: 44px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.row-meta { font-size: .875rem; letter-spacing: .06em; color: var(--bronze); font-variant-numeric: tabular-nums; }
.row-name { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; color: var(--ink); }
.row-name a { color: inherit; text-decoration: none; }
.row-name a:hover { color: var(--gold); }
.row-text { margin-top: 14px; max-width: 30rem; }
.row-k { font-size: 1rem; font-weight: 600; color: var(--ink); }
.row-v { margin-bottom: 18px; }
.row-side .link-arrow { margin-top: 6px; }

/* ---------- Venture page ---------- */
.crumbs { margin-bottom: 36px; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 46rem; }
.facts dt { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.facts dd { color: var(--ink); font-weight: 500; }
.ticks { list-style: none; display: grid; gap: 0; max-width: 42rem; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.35em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.usecases { list-style: none; display: grid; }
.usecase { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.usecase:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.usecase-title { margin-top: 10px; font-size: 1.5rem; line-height: 1.25; font-weight: 650; letter-spacing: -.035em; color: var(--ink); }
.usecase .prose { margin-top: 12px; }
.usecase-facts { display: grid; gap: 18px 40px; margin-top: 24px; max-width: 46rem; }
@media (min-width: 700px) { .usecase-facts { grid-template-columns: 1fr 1fr; } }
.usecase-facts dt { font-weight: 600; color: var(--ink); font-size: 1rem; }
.usecase-facts dd { font-size: 1rem; line-height: 1.6; margin-top: 4px; }
.pager { display: grid; gap: 12px; padding-block: 8px clamp(56px, 8vw, 96px); }
@media (min-width: 700px) { .pager { grid-template-columns: repeat(3, 1fr); } }
.pager a {
  display: grid; gap: 4px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 600; letter-spacing: -.02em; transition: border-color .2s;
}
.pager a:hover { border-color: var(--gold); }
.pager span { font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Partners ---------- */
.partner { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: var(--wash); }
.partner .prose { max-width: 46rem; }
.partner .btn { margin-top: 32px; }
.disclosure { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 46rem; font-size: .95rem; line-height: 1.65; }
.disclosure strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer;
  list-style: none; color: var(--ink); font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--gold); inset: 6px 0 auto; height: 1.5px; transition: transform .2s; }
.plus::after { inset: 0 6px auto; width: 1.5px; height: 14px; }
.faq-item[open] .plus::after { transform: scaleY(0); }
.faq-item .prose { margin: 0 0 26px; max-width: 40rem; }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line); padding-block: clamp(72px, 10vw, 128px); }
.cta .lead { max-width: 40rem; margin-top: 24px; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: .95rem; }
.foot-grid { display: grid; gap: 40px 64px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 4fr 3fr 5fr; } }
.foot-brand p { margin-top: 16px; max-width: 22rem; }
.foot-h { font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.foot-cols { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.foot-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 52rem; font-size: .875rem; line-height: 1.65; }
.foot-copy { margin-top: 16px; font-size: .875rem; }

/* ---------- Flywheel ---------- */
.fw-wrap { padding-bottom: clamp(56px, 8vw, 104px); }
.fw {
  --fw-bg: #0f1922;
  --fw-panel: #15232f;
  --fw-line: rgba(199, 190, 175, .30);
  --fw-line-strong: rgba(199, 190, 175, .58);
  --fw-text: #ebe7df;
  --fw-muted: #b3ada2;
  --fw-accent: #c9a56b; /* single accent: swap this one value to retheme the flywheel */
  background: var(--fw-bg); color: var(--fw-muted); border-radius: 28px;
  padding: clamp(24px, 5vw, 64px); overflow: hidden;
}
.fw-layout { display: grid; gap: 40px 56px; align-items: center; }
@media (min-width: 1040px) { .fw-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.fw-svg { width: 100%; height: auto; overflow: visible; }
.fw-svg--compact { display: none; max-width: 420px; margin-inline: auto; }
@media (max-width: 780px) {
  .fw-svg--wide { display: none; }
  .fw-svg--compact { display: block; }
}
.fw-svg text { font-family: var(--font); }
.fw-ring { fill: none; stroke: var(--fw-line); stroke-width: 1; stroke-dasharray: 2 7; }
.fw-disc { fill: var(--fw-panel); stroke: var(--fw-line); stroke-width: 1; }
.fw-spoke { stroke: var(--fw-line); stroke-width: 1; }
.fw-arc { fill: none; stroke: var(--fw-line-strong); stroke-width: 1.5; transition: stroke .25s; }
.fw-head { fill: var(--fw-line-strong); transition: fill .25s; }
.fw-link.is-active .fw-arc { stroke: var(--fw-accent); }
.fw-link.is-active .fw-head { fill: var(--fw-accent); }
.fw-node { cursor: pointer; }
.fw-node-bg { fill: var(--fw-panel); stroke: var(--fw-line-strong); stroke-width: 1.25; transition: fill .25s, stroke .25s; }
.fw-halo-node { fill: none; stroke: var(--fw-accent); stroke-width: 1; opacity: 0; transition: opacity .25s; }
.fw-num { fill: var(--fw-text); font-size: 18px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.fw-svg--compact .fw-num { font-size: 17px; }
.fw-node.is-active .fw-node-bg { fill: rgba(201, 165, 107, .16); stroke: var(--fw-accent); }
.fw-node.is-active .fw-halo-node { opacity: .45; }
.fw-node.is-active .fw-num { fill: #fff; }
.fw-label { fill: var(--fw-muted); font-size: 19px; font-weight: 500; transition: fill .25s; }
.fw-label.is-active { fill: #fff; }
.fw-orbit { transform-box: view-box; animation: fw-spin 56s linear infinite; }
.fw-trail { fill: none; stroke: var(--fw-accent); stroke-width: 2; stroke-linecap: round; opacity: .35; }
.fw-dot { fill: var(--fw-accent); opacity: .9; }
.fw-halo { fill: var(--fw-accent); opacity: .16; }
@keyframes fw-spin { to { transform: rotate(360deg); } }

.fw-center { opacity: 0; transition: opacity .25s; pointer-events: none; }
.fw-center--default { opacity: 1; }
.fw.has-active .fw-center--default { opacity: 0; }
.fw-center.is-active { opacity: 1; }
.fw-brand { fill: var(--fw-text); font-size: 34px; font-weight: 300; letter-spacing: .34em; text-indent: .34em; }
.fw-svg--compact .fw-brand { font-size: 24px; }
.fw-sub { fill: var(--fw-muted); font-size: 16px; letter-spacing: .04em; }
.fw-svg--compact .fw-sub { font-size: 13px; }
.fw-c-num { fill: var(--fw-accent); font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.fw-c-title { fill: #fff; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.fw-svg--compact .fw-c-title { font-size: 17px; }
.fw-c-text { fill: var(--fw-muted); font-size: 17px; }

.fw-steps { list-style: none; display: grid; }
.fw-step {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; width: 100%; padding: 18px 14px;
  text-align: left; font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0;
  cursor: pointer; transition: background .2s;
}
.fw-steps li + li { border-top: 1px solid var(--fw-line); }
.fw-step:hover, .fw-step.is-active { background: rgba(201, 165, 107, .09); }
.fw-step:focus-visible { outline: 2px solid var(--fw-accent); outline-offset: -2px; }
.fw-step-n { color: var(--fw-accent); font-weight: 500; letter-spacing: .1em; font-variant-numeric: tabular-nums; padding-top: 3px; }
.fw-step-body { display: grid; gap: 4px; }
.fw-step-t { color: var(--fw-text); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.fw-step-d { font-size: 1rem; line-height: 1.6; }
.fw-close {
  margin: clamp(32px, 5vw, 56px) auto 0; max-width: 46rem; padding-top: 32px; border-top: 1px solid var(--fw-line);
  text-align: center; color: var(--fw-text); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .fw-orbit { animation: none; }
  .card:hover, .card:focus-within { transform: none; }
}
