/* palette: bg=#0A0E14 fg=#E8EDF3 accent=#F2A33C */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="IBM Plex Mono" */

:root {
  --bg: #0A0E14;          /* dominant background */
  --bg-alt: #0E131B;      /* alternating section background */
  --bg-panel: #11161F;    /* card / panel surface */
  --bg-raise: #151B25;    /* raised rows / hover */
  --fg: #E8EDF3;          /* primary text */
  --fg-soft: #C2CAD6;     /* softened text */
  --muted: #7C8696;       /* secondary text */
  --faint: #4C5666;       /* tertiary / dividers text */
  --accent: #F2A33C;      /* phosphor amber accent */
  --accent-deep: #D4871F; /* accent hover */
  --accent-dim: rgba(242, 163, 60, 0.12);
  --accent-line: rgba(242, 163, 60, 0.30);
  --green: #5FD38A;       /* status / online, used sparingly */
  --line: #1B2430;        /* solid border */
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);

  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #0A0E14; }

/* subtle phosphor scanline texture on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.5;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
main { position: relative; z-index: 2; }
section { position: relative; }

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border-soft);
}
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}

.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.section__head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.section__head p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 620px;
  margin: 0;
}

/* ---------- topbar ---------- */
.topbar {
  position: relative;
  z-index: 110;
  background: #070A0F;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-soft);
}
.topbar[hidden] { display: none; }
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar__badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.topbar__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.topbar__text a { color: var(--fg-soft); border-bottom: 1px solid var(--accent-line); }
.topbar__text a:hover { color: var(--accent); }
.topbar__close {
  color: var(--faint);
  font-size: 15px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s var(--ease);
}
.topbar__close:hover { color: var(--fg); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.6);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  background: var(--accent-dim);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}
.brand__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand__name b { color: var(--accent); font-weight: 500; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 4px;
    margin: 0 auto;
    padding: 4px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.015);
  }
  .nav a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 15px;
    border-radius: 5px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
  }
  .nav a:hover { color: var(--fg); }
  .nav a[aria-current="page"] {
    color: var(--fg);
    background: var(--bg-raise);
    box-shadow: inset 0 0 0 1px var(--border);
  }
}

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang {
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
@media (min-width: 1024px) { .lang { display: inline-flex; align-items: center; gap: 7px; } }
.lang::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 11px 20px;
  border-radius: 5px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #0A0E14; font-weight: 600; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg-soft); }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--fg); transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 13px; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: 96px var(--pad) 48px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a::after { content: "›"; color: var(--faint); font-family: var(--mono); }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 90px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.14;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
  filter: grayscale(0.2) contrast(1.05);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 72% 18%, rgba(242, 163, 60, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(10,14,20,0.55) 0%, rgba(10,14,20,0.78) 55%, var(--bg) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; max-width: 980px; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 30px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb span { color: var(--muted); }
.breadcrumb .tag {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.1rem, 8.5vw, 6.6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.68;
  color: var(--fg-soft);
  max-width: 62ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip::before { content: "› "; color: var(--accent); }
.chip:hover { border-color: var(--accent-line); color: var(--fg); }

/* arrow link */
.arrow-link {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.arrow-link:hover { color: var(--accent); border-color: var(--accent-line); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- capability strip ---------- */
.capstrip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-panel);
}
@media (min-width: 640px) { .capstrip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .capstrip { grid-template-columns: repeat(4, 1fr); } }
.capstrip__cell {
  padding: 30px 28px;
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 640px) {
  .capstrip__cell:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .capstrip__cell:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 1024px) {
  .capstrip__cell { border-top: 0; border-right: 1px solid var(--border-soft); }
  .capstrip__cell:last-child { border-right: 0; }
}
.capstrip__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.capstrip__cell p { margin: 0; font-size: 0.95rem; color: var(--fg-soft); line-height: 1.6; }

/* ---------- console / terminal panel ---------- */
.console {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.console__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: #0C1118;
}
.console__dots { display: flex; gap: 6px; margin-right: 14px; }
.console__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.console__dots span:nth-child(1) { background: #3a4150; }
.console__tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 5px;
}
.console__tab.is-active { color: var(--fg); background: var(--bg-raise); box-shadow: inset 0 0 0 1px var(--border); }
.console__tab .hot { color: var(--accent); font-size: 9px; margin-left: 6px; }

.console__body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 820px) { .console__body { grid-template-columns: 1fr 1fr; } }

.console__pane { padding: 24px; }
.console__pane--input { border-bottom: 1px solid var(--border); }
@media (min-width: 820px) { .console__pane--input { border-bottom: 0; border-right: 1px solid var(--border); } }
.console__panehead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.console__panetitle { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }

.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.seg button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 6px 13px;
}
.seg button.is-active { background: var(--bg-raise); color: var(--fg); }
.seg--wide { display: flex; margin-bottom: 20px; }
.seg--wide button { flex: 1; padding: 10px; }

.fieldlabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.kv { display: flex; flex-direction: column; gap: 1px; margin-bottom: 20px; font-family: var(--mono); font-size: 13px; }
.kv__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.kv__row:last-child { border-bottom: 0; }
.kv__row span { color: var(--muted); }
.kv__row b { color: var(--fg-soft); font-weight: 500; }

.costbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  background: var(--accent-dim);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-soft);
  margin-bottom: 20px;
}
.costbox strong { color: var(--accent); font-weight: 600; }
.costbox span { color: var(--green); font-size: 11.5px; }

.console__actions { display: flex; gap: 10px; }
.console__actions .btn { flex: 1; justify-content: center; }

.console__preview { margin: 0; position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 4 / 3.3; border: 1px solid var(--border); }
.console__preview img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) grayscale(0.1); }
.console__preview figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}
.console__preview figcaption b { display: block; color: var(--accent); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.18em; }

/* ---------- cards grid ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg-panel);
  padding: 36px 32px 42px;
  transition: background 0.3s var(--ease);
}
.card:hover { background: var(--bg-raise); }
.card__icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: 26px; }
.card__icon svg { width: 100%; height: 100%; display: block; }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 14px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.68; }

/* ---------- comparison table ---------- */
.ctable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}
.ctable thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 24px;
  background: #0C1118;
  border-bottom: 1px solid var(--border);
}
.ctable thead th.is-us { color: var(--accent); }
.ctable tbody td {
  padding: 22px 24px;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-soft);
  line-height: 1.55;
}
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable tbody td:first-child { color: var(--fg); font-weight: 500; }
.ctable tbody td.is-us { color: var(--fg); }
.ctable tbody td.is-other { color: var(--muted); }
.ctable__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .ctable { min-width: 620px; } }

/* ---------- manifesto band ---------- */
.manifesto {
  background: var(--fg);
  color: #0A0E14;
  padding: clamp(96px, 14vw, 180px) 0;
}
.manifesto .container { max-width: 980px; }
.manifesto__mark { font-family: var(--display); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.6; color: var(--accent-deep); display: block; margin-bottom: 10px; }
.manifesto blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.4vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.manifesto blockquote em { font-style: normal; color: var(--accent-deep); }
.manifesto__cite { display: block; margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #5a6475; }

/* ---------- essay / prose ---------- */
.prose { max-width: 740px; }
.prose p { font-size: 1.1rem; line-height: 1.8; color: var(--fg-soft); margin: 0 0 1.5em; }
.prose p.lead { font-size: 1.3rem; color: var(--fg); line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.pullquote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 900px;
  margin: clamp(56px, 8vw, 100px) auto;
  text-align: center;
  padding: 0 var(--pad);
}
.pullquote em { font-style: normal; color: var(--accent); }

/* numbered steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--bg-panel); padding: 36px 32px; }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px; }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.65; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-panel); padding: 34px 28px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; color: var(--fg); margin-bottom: 8px; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* team / monogram */
.team { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--bg-panel); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.avatar {
  width: 54px; height: 54px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #0A0E14;
}
.member h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin: 0; letter-spacing: -0.01em; }
.member .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.member p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 28px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__q .sign { font-family: var(--mono); color: var(--accent); flex-shrink: 0; font-size: 1.1rem; transition: transform 0.3s var(--ease); line-height: 1.4; }
.faq__item[data-open="true"] .faq__q .sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { margin: 0 0 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .container { max-width: 820px; }
.cta h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 24px; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.form { display: flex; flex-direction: column; gap: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-line); background: var(--bg-raise); }
.field textarea { resize: vertical; min-height: 140px; }
.form__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }

.contact-card { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-panel); overflow: hidden; }
.contact-card__row { padding: 24px 28px; border-bottom: 1px solid var(--border-soft); }
.contact-card__row:last-child { border-bottom: 0; }
.contact-card__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-card__row p { margin: 0; color: var(--fg-soft); font-size: 0.98rem; line-height: 1.6; }
.contact-card__row a { color: var(--fg); border-bottom: 1px solid var(--border); }
.contact-card__row a:hover { color: var(--accent); border-color: var(--accent-line); }

/* ---------- footer ---------- */
.footer { background: #070A0F; border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; margin: 0 0 22px; }
.footer__status { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.footer__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: var(--fg-soft); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.footer__bottom span { color: var(--faint); }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-panel); border: 1px solid var(--border); padding: 30px 32px; max-width: 460px; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9); transform: translateY(16px); transition: transform 0.35s var(--ease); }
.cookie-popup[data-open="true"] .cookie-popup__card { transform: translateY(0); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { flex: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; padding: 12px 18px; border: 1px solid var(--border); border-radius: 6px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--accent-line); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #0A0E14; border-color: var(--accent); font-weight: 600; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* legal pages */
.legal { max-width: 820px; }
.legal h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 20px; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; margin: 48px 0 16px; }
.legal h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }

/* thanks page */
.thanks { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.thanks .container { max-width: 680px; }
.thanks__mark { font-family: var(--mono); color: var(--accent); font-size: 13px; letter-spacing: 0.2em; margin-bottom: 26px; }
.thanks h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 22px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--muted); font-size: 1.1rem; margin: 0 auto 36px; max-width: 48ch; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* small screens padding */
@media (max-width: 520px) { :root { --pad: 20px; } }
