/* ============================================================
   TradeZen — site design system (landing + survey)
   Swiss / editorial / terminal aesthetic · Geist + Geist Mono
   ============================================================ */

/* ---- Fonts ----
   Display + Body: Geist
   Mono: Geist Mono */

:root {
  /* palette - light, near-white with faint lavender wash */
  --bg: #f4f4f6;
  --bg-grad-1: #eceaf3;
  --bg-grad-2: #f6f6f8;
  --paper: #ffffff;
  --ink: #0a0a0b;
  --ink-2: #16161a;
  --muted: #5a5a63;
  --faint: #636370;
  --line: #d7d7dd;
  --line-strong: #0a0a0b;
  --accent: #635bff;          /* indigo accent, used sparingly */
  --accent-lime: #1f6f3c;     /* tradezen nod, deep so it reads on white */
  --hl: #e9e7f5;

  --font-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 60px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-grad-1) 0%, var(--bg) 55%, var(--bg-grad-2) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

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

/* mono bracket label, e.g. [B] BLOG or / FEATURED */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.mono--muted { color: var(--muted); }

/* hairline dividers */
.rule { border: 0; border-top: 1px solid var(--line-strong); }
.rule--dash { border-top: 1px dashed var(--line); }

/* section tag like "/ THE PROBLEM" */
.tag-line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}
.tag-line .num { color: var(--ink); font-weight: 500; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,244,246,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-strong);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 46px;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 4px; }

.tb-item {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink);
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.tb-item:hover { background: var(--hl); }
.tb-item .key { color: var(--faint); }
.tb-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 8px;
}
.tb-logo .wordmark { width: auto; height: 20px; display: block; }
.tb-cta {
  border: 1px solid var(--accent);
  background: var(--accent); color: #fff;
}
.tb-cta .key { color: rgba(255,255,255,.9); }
.tb-cta:hover { background: #4f47e0; border-color: #4f47e0; color: #fff; }

.tb-mono-toggle {
  display: none;                 /* shown only <=720px (see media query) */
  align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: transparent; color: var(--ink); cursor: pointer;
  flex-shrink: 0; transition: background .15s ease;
}
.tb-mono-toggle:hover { background: var(--hl); }
.tb-mono-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tb-mono-toggle svg { width: 18px; height: 18px; display: block; }
.tb-mono-toggle .icon-close { display: none; }
.tb-mono-toggle[aria-expanded="true"] .icon-menu { display: none; }
.tb-mono-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile nav panel - in the DOM always, visible only <=720px AND when open */
.nav-panel {
  display: none;
  position: fixed; top: 46px; left: 0; right: 0; z-index: 49;
  background: rgba(244,244,246,0.97);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-strong);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-panel nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 18px; }
.nav-panel .tb-item {
  display: flex; align-items: center; min-height: 46px;
  font-size: 13px; padding: 12px 8px; border-radius: 0;
  border-bottom: 1px dashed var(--line);
}
.nav-panel .nav-cta { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.nav-panel .nav-cta .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .nav-panel { transition: opacity .12s ease; transform: none; }
}

/* ============================================================
   PLUS-MARKER FIELD (decorative corner ticks)
   ============================================================ */
.plus-field { position: relative; }
.plus-field::before,
.plus-field::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 18px; line-height: 1;
  color: var(--faint);
  pointer-events: none;
}
.plus-field::before { top: 14px; left: var(--gutter); }
.plus-field::after  { top: 14px; right: var(--gutter); }

.plus-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); color: var(--faint); font-size: 18px;
  padding-inline: var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
}
.plus-row span:nth-child(2),
.plus-row span:nth-child(3) { opacity: .55; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(20px, 4vw, 40px); }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0 3px rgba(31,111,60,0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;            /* light display weight, tight tracking */
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: -0.055em;    /* tight tracking like Söhne headline */
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--accent); }

.hero__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink-2);
  max-width: 30ch;
  margin-bottom: 32px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost:hover { background: var(--hl); }

/* ============================================================
   FEATURED ROW (two FIG cards side by side)
   ============================================================ */
.featured { padding-block: clamp(28px, 5vw, 52px); }
.featured__tags {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
}
.featured__tags > div {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 10px; border-bottom: 1px solid var(--line-strong);
}
.featured__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  margin-top: 26px;
}
.feat { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; }
.feat__body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.04;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.feat__body p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.feat__body .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px;
}

/* ---- FIG card (window-chrome figure) ---- */
.fig {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.fig__bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
  padding: 7px 10px;
  background: linear-gradient(180deg, #fff, #f6f6f8);
}
.fig__bar .term { display: inline-flex; align-items: center; gap: 6px; }
.fig__bar .term svg { width: 14px; height: 14px; color: var(--ink); }
.fig__bar .lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.fig__bar .dots svg { width: 16px; height: 16px; color: var(--faint); }
.fig__body {
  position: relative;
  min-height: 220px;
  background:
    radial-gradient(circle, #d9d9e0 1px, transparent 1.2px) 0 0 / 16px 16px;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(34px, 5vw, 64px); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line-strong); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 0.96; letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 18ch;
}
.section-title--sm { font-size: clamp(28px, 4vw, 46px); }
.section-lead {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px); line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-2); max-width: 44ch; margin-top: 18px;
}

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line-strong); }
.stat { padding: 26px 24px 26px 0; border-right: 1px dashed var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.045em;
  color: var(--ink);
}
.stat__label { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 30ch; }
.stat__src { margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--faint); }
.stat__src a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; transition: color .15s ease; }
.stat__src a:hover { color: var(--accent); }

.prose-block { margin-top: 36px; max-width: 70ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.prose-block strong { color: var(--ink); }

/* ---- gap row (them vs us) ---- */
.gap-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 40px; }
.gap-card { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); padding: 26px; }
.gap-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; letter-spacing: -0.03em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.gap-card .pill {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--line-strong);
}
.gap-card.us .pill { background: var(--ink); color: var(--bg); }
.gap-card ul { list-style: none; display: grid; gap: 13px; }
.gap-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.gap-card li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.gap-card.them li svg { color: #b4232a; }
.gap-card.us li svg { color: var(--accent-lime); }
.gap-card .names { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; color: var(--faint); text-transform: uppercase; }

/* ---- insight: prose + pipeline FIG ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.split .prose-stack p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.62; }
.split .prose-stack p strong { color: var(--ink); }

.pipe { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); overflow: hidden; }
.pipe__bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-strong); padding: 7px 10px;
  background: linear-gradient(180deg, #fff, #f6f6f8);
}
.pipe__bar .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pipe__body {
  padding: 22px;
  background: radial-gradient(circle, #e2e2e8 1px, transparent 1.2px) 0 0 / 16px 16px;
  display: grid; gap: 12px;
}
.node {
  border: 1px solid var(--line); border-radius: 5px; background: var(--paper);
  padding: 13px 15px;
}
.node .t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.node .v { font-weight: 600; font-size: 15px; color: var(--ink); }
.node--accent { border-color: var(--accent); background: #f3f2ff; }
.node--accent .t { color: var(--accent); }
.node-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.node--fuse { border: 1px solid var(--line-strong); background: var(--ink); }
.node--fuse .t { color: rgba(255,255,255,.6); }
.node--fuse .v { color: #fff; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; font-size: 18px; }
.arrow { display: flex; justify-content: center; color: var(--faint); }
.arrow svg { width: 18px; height: 18px; }
.outs { display: flex; flex-wrap: wrap; gap: 8px; }
.outs .o { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 4px; padding: 6px 10px; background: var(--paper); }

/* ---- product cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 44px; }
.pcard { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); overflow: hidden; }
.pcard__bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-strong); padding: 7px 12px; background: linear-gradient(180deg,#fff,#f6f6f8); }
.pcard__bar .phase { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__bar .fig-n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pcard__body { padding: 24px; }
.pcard__icon { width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pcard__icon svg { width: 19px; height: 19px; color: var(--ink); }
.pcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -0.03em; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.integrations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; padding-top: 26px; border-top: 1px dashed var(--line); }
.integrations span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 6px 11px; background: var(--paper); }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 44px; }
.member { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); overflow: hidden; }
.member__bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-strong); padding: 7px 12px; background: linear-gradient(180deg,#fff,#f6f6f8); }
.member__bar .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.member__body { padding: 22px; }
.member__avatar { width: 77px; height: 77px; border-radius: 6px; border: 1px solid var(--line-strong); overflow: hidden; background: #2b2e26; margin-bottom: 16px; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04) brightness(1.02); transition: filter .45s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.member:hover .member__avatar img { filter: grayscale(.5) contrast(1.04) brightness(1.03); transform: scale(1.06); }
.member h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -0.03em; }
.member__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #5149e8; margin: 5px 0 14px; }
.member p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.assets { margin-top: 56px; }
.assets h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.04em; margin-bottom: 22px; }
.assets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.asset-item { display: flex; gap: 13px; align-items: flex-start; padding: 18px 24px 18px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.asset-item .ck { width: 20px; height: 20px; border: 1px solid var(--accent-lime); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.asset-item .ck svg { width: 13px; height: 13px; color: var(--accent-lime); }

/* ---- investor strip ---- */
.inv-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper);
  padding: 22px 26px;
}
.inv-strip .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.inv-strip strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; }

/* ---- CTA band ---- */
.cta-band { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--ink); color: var(--bg); padding: clamp(36px, 6vw, 72px); text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 5vw, 60px); line-height: 0.96; letter-spacing: -0.045em; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 28px; }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .hero__cta { justify-content: center; }

/* waitlist */
.waitlist { max-width: 560px; margin: 0 auto; text-align: center; }
.waitlist .section-lead { margin-bottom: 22px; }
.waitlist__form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.waitlist__input { flex: 1 1 240px; min-width: 0; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; }
.waitlist__input::placeholder { color: var(--faint); }
.waitlist__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--hl); }
.waitlist__msg { margin-top: 14px; font-size: 14.5px; color: var(--muted); min-height: 1.2em; }
.waitlist__msg.is-error { color: #c0392b; }
.waitlist__msg.is-ok { color: var(--ink); }
@media (max-width: 560px) {
  .waitlist__form { flex-direction: column; }
  .waitlist__input, .waitlist__form .btn { width: 100%; flex: 0 0 auto; }
  .waitlist__form .btn { justify-content: center; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-strong); padding-block: 48px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer__brand .tb-logo { padding-left: 0; }
.footer__brand .wordmark { height: 22px; }
.footer__brand p { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 34ch; margin-top: 14px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 4px 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 20px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--faint); }
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--accent); }
.footer__social { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: 16px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.footer__social:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social svg { width: 16px; height: 16px; display: block; }
.footer__addr { font-style: normal; color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-top: 16px; }
.footer__addr strong { display: block; color: var(--ink-2); font-weight: 500; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .featured__grid { grid-template-columns: 1fr; }
  .featured__tags { grid-template-columns: 1fr; }
  .featured__tags > div:last-child { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px dashed var(--line); padding-right: 0; }
  .stat + .stat { padding-left: 0; }
  .stat:last-child { border-bottom: 0; }
  .gap-row, .split, .cards, .team-grid { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero h1 { white-space: normal; }   /* allow wrapping on small screens to avoid horizontal overflow */
  .topbar__left .tb-item:not(.tb-logo) { display: none; }
  .topbar__right .tb-item:not(.tb-cta) { display: none; }
  .tb-mono-toggle { display: inline-flex; }
  .nav-panel { display: block; }
  .feat { grid-template-columns: 1fr; }
  .node-row { grid-template-columns: 1fr; }
  .inv-strip { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  body { font-size: 16px; }
}
