/* ==========================================================================
   KOBY — kurumsal site tasarım sistemi / corporate site design system
   Renkler kurumsal sunumdan alınmıştır. / Palette taken from the pitch deck.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tipografi. Inter Display (başlık) ve Inter (gövde) kurumsal sunumun
   tipografisidir. woff2 dosyaları public/fonts/ içine konduğunda bu bloklar
   kendiliğinden devreye girer; dosyalar yokken sistem yazı tipine düşülür ve
   hiçbir üçüncü taraf isteği yapılmaz (KVKK/GDPR).
   Drop the woff2 files into public/fonts/ and these rules activate; without
   them the stack falls back to system fonts and makes no third-party request.
   -------------------------------------------------------------------------- */
:root {
  --bg: #04070e;
  --bg-2: #0a1120;
  --surface: #0d1526;
  --surface-2: #101a30;
  --border: #1c2740;
  --border-strong: #2a3a5e;
  --blue: #005ffc;
  --blue-2: #00a4fd;
  --cyan: #00e5fd;
  --muted: #93a1ba;
  --text: #e9eefa;
  --text-dim: #c3cde0;

  --grad: linear-gradient(97deg, var(--blue) 0%, var(--blue-2) 52%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 95, 252, 0.16), rgba(0, 229, 253, 0.08));

  --font-display: "Inter Display", "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --sec-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(0, 229, 253, 0.25); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cyan); color: #04070e; font-weight: 600;
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: var(--grad); flex: none;
}

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.section__lede { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.125rem); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font: inherit; font-weight: 600; letter-spacing: -0.005em;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad); color: #02060f;
  box-shadow: 0 6px 22px -10px rgba(0, 164, 253, 0.85);
}
.btn--primary:hover { box-shadow: 0 12px 32px -12px rgba(0, 164, 253, 0.95); transform: translateY(-1px); }

.btn--ghost { background: rgba(255, 255, 255, 0.02); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue-2); background: rgba(0, 164, 253, 0.08); }

.btn--small { padding: 0.62rem 1.05rem; font-size: 0.9rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; pointer-events: none; }

.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 7, 14, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.header[data-stuck="true"] { border-bottom-color: var(--border); background: rgba(4, 7, 14, 0.92); }

.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.brand img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.35rem; margin-inline-start: auto; }
.nav__cta { display: none; }
.nav__link {
  position: relative; text-decoration: none; color: var(--text-dim);
  font-size: 0.925rem; font-weight: 500; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__link[aria-current="true"] { color: var(--cyan); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.lang {
  display: inline-flex; align-items: center; gap: 0.3rem;
  border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem; background: rgba(255, 255, 255, 0.02);
}
.lang__opt {
  font: inherit; font-size: 0.8rem; font-weight: 600; text-decoration: none;
  color: var(--muted); padding: 0.34rem 0.62rem; border-radius: 999px; line-height: 1;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.lang__opt:hover { color: var(--text); }
.lang__opt[aria-current="true"] { background: var(--grad); color: #02060f; }

.burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--text);
}
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.22s var(--ease), opacity 0.18s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform 0.22s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 0.75rem var(--gutter) 1.5rem; margin: 0;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 0.85rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__cta { display: inline-flex; margin-top: 1rem; }
  .header__actions { margin-inline-start: auto; }
  .header__actions .btn--cta { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 30% 40%, rgba(0, 95, 252, 0.22), transparent 70%),
              radial-gradient(45% 45% at 78% 20%, rgba(0, 229, 253, 0.13), transparent 72%);
  pointer-events: none; filter: blur(8px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28, 39, 64, 0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(28, 39, 64, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

.hero__title { font-size: clamp(2.3rem, 5.6vw, 4rem); letter-spacing: -0.03em; }
.hero__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-dim); max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero__note { margin-top: 1.75rem; font-size: 0.86rem; color: var(--muted); letter-spacing: 0.02em; }

.hero__figure { position: relative; }
.hero__figure figcaption { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ cards */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); background: var(--surface-2); }
.card__no {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue-2); display: block; margin-bottom: 0.9rem;
}
.card__title { font-size: 1.12rem; margin-bottom: 0.6rem; }
.card__body { color: var(--muted); font-size: 0.95rem; }

.note {
  margin-top: 2rem; padding: 1.1rem 1.35rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); border-left: 2px solid var(--blue-2);
  background: rgba(0, 95, 252, 0.05); color: var(--text-dim); font-size: 0.93rem;
}

/* ------------------------------------------------------------ stats band */
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.stat { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; background: var(--surface); }
.stat__value {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em; line-height: 1;
}
.stat__label { margin-top: 0.7rem; color: var(--text-dim); font-size: 0.92rem; }
.stat__source { margin-top: 0.55rem; color: var(--muted); font-size: 0.76rem; }

/* --------------------------------------------------------------- process */
.steps, .timeline { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .steps, .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps, .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 439px) { .steps, .timeline { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.35rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.step::before {
  content: ""; position: absolute; inset-inline: 1.35rem; top: 0; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: 0.9;
}
.step--dev::before { background: var(--border-strong); }
.step__no { font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--blue-2); }
.step--dev .step__no { color: var(--muted); }
.step__title { font-size: 1.05rem; }
.step__body { color: var(--muted); font-size: 0.92rem; flex: 1; }

.badge {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 999px; border: 1px solid; line-height: 1.2;
}
.badge--beta { color: var(--cyan); border-color: rgba(0, 229, 253, 0.35); background: rgba(0, 229, 253, 0.08); }
.badge--dev { color: var(--muted); border-color: var(--border-strong); background: rgba(147, 161, 186, 0.06); }

/* -------------------------------------------------------------- tech map */
.layers { display: grid; gap: 0.75rem; }
.layer {
  display: grid; gap: 0.3rem 1.25rem; align-items: start;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.35rem;
  background: var(--surface);
}
@media (min-width: 720px) { .layer { grid-template-columns: 15rem 1fr auto; align-items: center; } }
.layer__title { font-family: var(--font-display); font-weight: 650; font-size: 1rem; }
.layer__body { color: var(--muted); font-size: 0.92rem; }
.layer--spine { background: var(--grad-soft); border-color: rgba(0, 164, 253, 0.28); }
.layer--dev { border-style: dashed; background: transparent; }

.principles { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.principles__title { font-size: 1.15rem; margin-bottom: 1.25rem; }

/* --------------------------------------------------------------- compare */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
table.compare { width: 100%; min-width: 46rem; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; }
table.compare th, table.compare td { padding: 0.95rem 0.9rem; text-align: center; border-bottom: 1px solid var(--border); }
table.compare thead th { color: var(--muted); font-weight: 600; font-size: 0.82rem; line-height: 1.35; vertical-align: bottom; }
table.compare tbody th { text-align: left; font-weight: 500; color: var(--text-dim); white-space: nowrap; }
table.compare tr.is-koby th, table.compare tr.is-koby td { background: rgba(0, 95, 252, 0.08); border-bottom-color: var(--border-strong); }
table.compare tr.is-koby th { font-weight: 700; color: var(--text); }
table.compare tr.is-koby th::after { content: ""; }
.mark { display: inline-flex; width: 1.5rem; height: 1.5rem; }
.mark--core { color: var(--cyan); }
.mark--partial { color: var(--blue-2); opacity: 0.75; }
.mark--none { color: var(--border-strong); }
.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem; font-size: 0.82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ------------------------------------------------------------------ team */
.member { display: flex; flex-direction: column; gap: 0.9rem; }
.member__avatar {
  width: 3.25rem; height: 3.25rem; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em;
  background: var(--grad); color: #02060f;
}
.member__name { font-size: 1.08rem; }
.member__role { color: var(--cyan); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 0.2rem; }
.member__bio { color: var(--muted); font-size: 0.92rem; }
.member__points { display: grid; gap: 0.45rem; margin-top: 0.3rem; }
.member__points li { position: relative; padding-left: 1.1rem; color: var(--text-dim); font-size: 0.875rem; }
.member__points li::before {
  content: ""; position: absolute; left: 0; top: 0.58em; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-2);
}

/* --------------------------------------------------------------- roadmap */
.tl { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.25rem; background: var(--surface); position: relative; }
.tl__when { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2); }
.tl__title { font-size: 1.02rem; margin-top: 0.65rem; }
.tl__body { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* ------------------------------------------------------------------- cta */
.section:has(> .wrap > .cta-band) + .section { padding-top: 0; }

.cta-band {
  position: relative; overflow: hidden; border: 1px solid rgba(0, 164, 253, 0.3);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 3.5rem);
  background: var(--grad-soft); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 95, 252, 0.3), transparent 70%); pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 26ch; margin-inline: auto; }
.cta-band p { margin-top: 1.1rem; color: var(--text-dim); max-width: 48ch; margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }

/* ----------------------------------------------------------------- forms */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field__label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.field__label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--surface); width: 100%;
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 0.95rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2393A1BA' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #5e6c87; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(0, 164, 253, 0.16); background: var(--surface-2);
}
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: #ff6b6b; }
.field__error { font-size: 0.8rem; color: #ff8787; min-height: 0; }
.field[data-invalid="true"] .field__error { min-height: 1.1rem; }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent input { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.22rem; accent-color: var(--blue-2); }
.consent label { font-size: 0.86rem; color: var(--muted); }

.form__status { font-size: 0.92rem; border-radius: var(--radius-sm); padding: 0.85rem 1rem; display: none; }
.form__status[data-state="ok"] { display: block; background: rgba(0, 229, 253, 0.08); border: 1px solid rgba(0, 229, 253, 0.3); color: var(--text); }
.form__status[data-state="err"] { display: block; background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.32); color: #ffb3b3; }

.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; background: var(--surface); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.contact-card p { color: var(--muted); font-size: 0.93rem; }
.contact-card .btn { margin-top: 1.25rem; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer__brand { grid-column: 1 / -1; max-width: 24rem; }
@media (min-width: 860px) { .footer__brand { grid-column: auto; max-width: 20rem; } }
.footer__brand img { height: 24px; width: auto; margin-bottom: 1rem; }
.footer__desc { color: var(--muted); font-size: 0.9rem; }
.footer__col h2 { font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-weight: 600; }
.footer__col li + li { margin-top: 0.55rem; }
.footer__col a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.18s var(--ease); }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  color: var(--muted); font-size: 0.82rem;
}

/* ------------------------------------------------------------ legal page */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal__intro { margin-top: 1.25rem; color: var(--muted); }
.legal__section { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.legal__section h2 { font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.legal__section p { margin-top: 0.8rem; color: var(--muted); }
.badge--review { color: #ffc978; border-color: rgba(255, 201, 120, 0.35); background: rgba(255, 201, 120, 0.08); }

/* --------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal] { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .flow__pulse { display: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------- hero diagram */
.flow { width: 100%; height: auto; }
.flow__track { stroke: var(--border-strong); }
.flow__pulse { animation: flowmove 5.5s linear infinite; }
@keyframes flowmove { to { stroke-dashoffset: -240; } }
.flow__node { fill: var(--surface); stroke: var(--border-strong); }
.flow__node-live { stroke: url(#kobyGrad); }
.flow__label { fill: var(--text-dim); font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.flow__sub { fill: var(--muted); font-family: var(--font-body); font-size: 9.5px; }
