/* Strike SCF — Institutional Fintech */
/* Type system: Space Grotesk (display), DM Sans (body), IBM Plex Mono (data/labels) */

:root {
  --white: #FFFFFF;
  --offwhite: #F7F8FA;
  --ink: #111318;
  --ink-soft: #1A1D24;
  --gray: #6B7280;
  --gray-soft: #9AA0AB;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --blue: #1428CC;
  --blue-hover: #1020AA;
  --blue-dim: #0E1E7A;

  --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--white); color: var(--ink); }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
video, svg { max-width: 100%; height: auto; }

/* ---------- Type primitives ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 7.4vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.eyebrow-ink { color: var(--ink); }
.eyebrow-blue { color: var(--blue); }
.lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: 0;
}
.body { font-size: 16px; line-height: 1.65; color: var(--ink); font-weight: 300; }
.body-gray { color: var(--gray); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Page badge ---------- */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(20, 40, 204, 0.22);
  padding: 7px 16px;
  margin-bottom: 48px;
  background: rgba(20, 40, 204, 0.03);
}
.page-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(20, 40, 204, 0.18);
  animation: badge-pulse 2.4s ease infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(20, 40, 204, 0.18); }
  50%       { box-shadow: 0 0 0 5px rgba(20, 40, 204, 0.07); }
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section { padding: 88px 0; border-top: 1px solid var(--border); }
.section-tight { padding: 60px 0; border-top: 1px solid var(--border); }
.section.bare { border-top: 0; }
.section.off { background: var(--offwhite); }
.section.dark {
  background: linear-gradient(155deg, #0c1118 0%, #111318 45%, #0a0f1a 100%);
  color: var(--white);
  border-top: 0;
}
.section.dark .eyebrow { color: var(--gray-soft); }
.section.dark .body { color: #C8CDD6; }

/* Grid */
.row { display: flex; gap: 40px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s ease;
}
.site-header:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.nav {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 100px; width: auto; transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.site-header:hover .brand img { height: 130px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
}
.nav-links a { color: inherit; }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover { color: var(--blue); }
.nav-item.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item a { color: inherit; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 220px;
  z-index: 100;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: background 0.12s ease;
}
.nav-dropdown a:hover { background: var(--offwhite); color: var(--blue); }
.nav-chevron { display: none; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-mono { font-family: var(--font-mono); font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Hamburger / mobile drawer ---------- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-burger .bar {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open .bar:nth-child(2) { opacity: 0; }
.nav-burger.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 49;
  overflow-y: auto;
  padding: 32px 24px;
}
.nav-drawer .drawer-link {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.nav-drawer .drawer-link:hover { color: var(--blue); }
.nav-drawer .drawer-link-indent {
  padding-left: 24px;
  font-size: 18px;
}
.drawer-section-header {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 24px;
  padding-bottom: 8px;
}
.nav-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.nav-drawer-ctas .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Mega-nav ---------- */
.nav-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  cursor: default;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-label.active { color: var(--blue); }
.site-header:hover .nav-label { color: var(--blue-dim); }
.mega-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, border-color 0.28s ease;
}
.site-header:hover .mega-panel {
  max-height: 480px;
  opacity: 1;
  border-top-color: var(--border);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 36px 0 28px;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mega-link {
  display: flex;
  flex-direction: column;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  transition: color 0.12s ease, transform 0.12s ease;
}
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { color: var(--blue); transform: translateX(3px); }
.mega-link.active { color: var(--blue); }
.mega-link-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mega-link-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
  letter-spacing: 0;
  transition: color 0.12s ease;
}
.mega-link:hover .mega-link-desc { color: var(--blue); opacity: 0.7; }
.mega-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  transition: background .15s ease, color .15s ease, border-color .15s ease,
              box-shadow .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 1px 4px rgba(20, 40, 204, 0.22);
}
.btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 6px 22px rgba(20, 40, 204, 0.38);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-arrow::after { content: "→"; font-family: var(--font-mono); transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- Hairline cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  transition: box-shadow 0.25s ease;
}
.card.dark { background: var(--ink); color: var(--white); border-color: var(--ink-soft); }

/* ---------- Stat ---------- */
.stat {
  padding: 32px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: background 0.22s ease;
}
.stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat:hover { background: #fafbff; }
.stat:hover::after { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num.blue { color: var(--blue); }
.stat-label {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.stat-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
  max-width: 28ch;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  border-top: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -60px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(20, 40, 204, 0.072) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }
.hero-headline { max-width: 16ch; }
.hero-sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}
.hero-cta-row { margin-top: 32px; display: flex; gap: 16px; }

/* ---------- Typewriter hero ---------- */
.typewriter-hero {
  position: relative;
  padding-right: 580px;
}
.tw-right-col {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 555px;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.typewriter-word { color: var(--blue); }
.tw-word-line {
  display: block;
  width: max-content;
  height: 1.15em;
  overflow: hidden;
  white-space: nowrap;
}
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.78em;
  background: var(--ink);
  margin-left: 3px;
  vertical-align: baseline;
  animation: tw-blink 1s steps(2) infinite;
}
@keyframes tw-blink { 50% { opacity: 0; } }
.typewriter-card {
  position: relative;
  z-index: 2;
  width: 300px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 2px 0 rgba(20,40,204,0.6), 0 8px 40px rgba(0,0,0,0.14);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.typewriter-card.visible { opacity: 1; transform: translateY(0); }
.tc-topbar {
  background: #0A0E17;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tc-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1428CC;
  box-shadow: 0 0 0 3px rgba(20,40,204,0.18);
  animation: badge-pulse 2.4s ease infinite;
  flex-shrink: 0;
}
.tc-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #C8CDD6;
  text-transform: uppercase;
}
.tc-live {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #1428CC;
  letter-spacing: 0.12em;
}
.tc-body {
  padding: 20px;
  background: var(--white);
}
.tc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.tc-row:last-child { border-bottom: 0; }
.tc-k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #9AA0AB;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tc-v {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
}
.tc-v-blue { color: #1428CC; }
.tc-footer {
  padding: 8px 16px;
  background: #F4F5F7;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tc-conf-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tc-bar-track {
  width: 120px;
  height: 3px;
  background: #E5E7EB;
  display: inline-block;
  vertical-align: middle;
}
.tc-bar-fill {
  height: 100%;
  background: #1428CC;
}
@media (max-width: 1280px) {
  .typewriter-hero { padding-right: 460px; }
  .tw-right-col { width: 440px; height: 560px; }
}

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
}
.section-head .side .eyebrow { display: block; }
.section-head h2 { max-width: 22ch; }

/* ---------- Feature lists ---------- */
.flist { border-top: 1px solid var(--border); }
.flist .row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.flist .row .num { font-family: var(--font-mono); font-size: 11px; color: var(--gray); letter-spacing: 0.14em; padding-top: 4px; }
.flist .row .title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.flist .row .desc { color: var(--gray); font-size: 15px; line-height: 1.6; font-weight: 300; }

/* ---------- Data table ---------- */
.dtable { border: 1px solid var(--border); }
.dtable .row {
  display: grid;
  grid-template-columns: 60px 1.5fr 1fr 1fr 80px;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.dtable .row:last-child { border-bottom: 0; }
.dtable .row.head { background: var(--offwhite); color: var(--gray); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; }
.dtable .id { color: var(--gray); }
.dtable .amt { font-weight: 500; color: var(--ink); font-family: var(--font-mono); }
.dtable .status { display: inline-flex; align-items: center; gap: 8px; }
.dtable .dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.dtable .dot.gray { background: var(--gray-soft); }
.dtable .dot.ink { background: var(--ink); }

/* ---------- Counterparty cards ---------- */
.counterparty-card {
  background: var(--white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow 0.25s ease;
}
.counterparty-card:hover {
  box-shadow: inset 0 0 0 1px rgba(20, 40, 204, 0.18),
              0 8px 40px rgba(20, 40, 204, 0.07);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: #0a0e18;
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -150px; top: 50%;
  transform: translateY(-50%);
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(20, 40, 204, 0.14) 0%, transparent 58%);
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--white); }
.cta-strip .lead { color: #C8CDD6; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 60px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.foot-grid h4 { font-family: var(--font-mono); font-size: 11px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 400; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-grid a { font-size: 14px; color: var(--ink); transition: color .15s ease; }
.foot-grid a:hover { color: var(--blue); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Transaction Flow diagram ---------- */
.flow {
  border: 1px solid var(--border);
  padding: 40px 28px 36px;
  background: var(--white);
  overflow-x: auto;
}
.flow-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 1100px;
}
.flow-step { position: relative; padding: 0 14px; }
.flow-step:first-child { padding-left: 0; }
.flow-step:last-child { padding-right: 0; }
.flow-step .step-num {
  font-family: var(--font-mono); font-size: 10px; color: var(--gray);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.flow-box {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  padding: 22px 18px;
  height: 110px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: default;
}
.flow-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}
.flow-box .label {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  line-height: 1.15;
}
.flow-box .meta { font-family: var(--font-mono); font-size: 10px; color: var(--gray); letter-spacing: 0.12em; text-transform: uppercase; }
.flow-box.ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.flow-box.ink .meta { color: var(--gray-soft); }
.flow-box.ink:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22); }
.flow-box.blue {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--blue);
  outline: 1px solid var(--blue); outline-offset: -3px;
}
.flow-box.blue .label { color: var(--blue); }
.flow-box.blue:hover { box-shadow: 0 8px 28px rgba(20, 40, 204, 0.2); }
.flow-step .desc {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
}
.flow-arrow {
  position: absolute;
  right: -7px; top: 70px;
  width: 14px; height: 1px;
  background: var(--ink);
  z-index: 2;
}
.flow-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: rotate(45deg);
}
.flow-step:last-child .flow-arrow { display: none; }

/* ---------- Architecture diagram ---------- */
.arch {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 48px 40px;
  position: relative;
}
.arch-grid {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 40px;
  align-items: center;
}
.arch-ai {
  border: 1px solid var(--blue);
  padding: 22px 26px;
  background: var(--white);
  max-width: 320px;
  margin: 0 auto;
  transition: box-shadow 0.2s ease;
}
.arch-ai:hover { box-shadow: 0 4px 20px rgba(20, 40, 204, 0.12); }
.arch-ai .l { font-family: var(--font-mono); font-size: 10px; color: var(--blue); letter-spacing: 0.18em; text-transform: uppercase; }
.arch-ai .t { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 8px; letter-spacing: -0.01em; }
.arch-engine {
  background: var(--ink); color: var(--white);
  padding: 36px 40px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.arch-engine .l { font-family: var(--font-mono); font-size: 10px; color: var(--gray-soft); letter-spacing: 0.18em; text-transform: uppercase; }
.arch-engine .t { font-family: var(--font-display); font-weight: 700; font-size: 32px; margin-top: 10px; letter-spacing: -0.02em; }
.arch-engine .s { color: #C8CDD6; font-size: 13px; margin-top: 8px; font-weight: 300; }
.arch-participants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 880px; margin: 0 auto; width: 100%; }
.arch-part {
  border: 1px solid var(--border);
  padding: 22px 24px;
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.arch-part:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(20, 40, 204, 0.1);
}
.arch-part .l { font-family: var(--font-mono); font-size: 10px; color: var(--gray); letter-spacing: 0.18em; text-transform: uppercase; }
.arch-part .t { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-top: 8px; letter-spacing: -0.015em; }
.arch-part .d { font-size: 12px; color: var(--gray); margin-top: 6px; font-weight: 300; }
.arch-line {
  height: 24px;
  background-image: linear-gradient(to bottom, var(--ink) 0, var(--ink) 100%);
  background-size: 1px 24px;
  background-repeat: no-repeat;
  background-position: center;
}
.arch-connectors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 880px; margin: 0 auto; width: 100%;
  height: 28px;
}
.arch-connectors > div {
  border-left: 1px solid var(--ink);
  height: 100%;
  position: relative;
  margin-left: 50%;
}

/* ---------- AI terminal panel ---------- */
.ai-panel {
  background: var(--ink);
  border: 1px solid var(--ink-soft);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(20, 40, 204, 0.1), 0 24px 80px rgba(0, 0, 0, 0.3);
}
.ai-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--ink-soft);
  color: var(--gray-soft);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ai-topbar .dots { display: flex; gap: 6px; }
.ai-topbar .dots span { width: 8px; height: 8px; background: #2A2E37; }
.ai-body { padding: 28px 28px 24px; }
.ai-section-title { font-family: var(--font-mono); font-size: 10px; color: var(--gray-soft); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.ai-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.ai-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
}
.ai-meta > div { padding: 16px 18px; border-right: 1px solid var(--ink-soft); }
.ai-meta > div:last-child { border-right: 0; }
.ai-meta .k { font-size: 10px; color: var(--gray-soft); letter-spacing: 0.16em; text-transform: uppercase; }
.ai-meta .v { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--white); margin-top: 6px; letter-spacing: -0.005em; }
.ai-meta .v.blue { color: var(--blue); }
.ai-rows { margin-top: 22px; }
.ai-row {
  display: grid;
  grid-template-columns: 80px 1fr 110px 110px;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dashed #2A2E37;
  font-size: 12px;
  align-items: center;
}
.ai-row:last-child { border-bottom: 0; }
.ai-row .k { color: var(--gray-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10px; }
.ai-row .v { color: var(--white); }
.ai-row .v.dim { color: #9AA0AB; }
.ai-row .v.blue { color: var(--blue); }
.ai-flag {
  margin-top: 18px;
  border: 1px solid rgba(20, 40, 204, 0.4);
  background: rgba(20, 40, 204, 0.04);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.ai-flag .tag { color: var(--blue); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.ai-flag .msg { color: var(--white); font-family: var(--font-mono); font-size: 12px; }
.ai-flag .meta { color: var(--gray-soft); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.ai-input {
  margin-top: 22px;
  border: 1px solid var(--ink-soft);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  background: #0A0C10;
}
.ai-input .prompt { color: var(--blue); font-family: var(--font-mono); }
.ai-input .typed { color: var(--white); font-family: var(--font-mono); font-size: 13px; }
.ai-input .caret { width: 8px; height: 14px; background: var(--blue); display: inline-block; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); width: 100%; }
.kv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; padding: 32px 0; border-top: 1px solid var(--border); }
.kv-block .k { font-family: var(--font-mono); font-size: 11px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; }
.kv-block .v { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); margin-top: 8px; }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.form .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-family: var(--font-mono); font-size: 11px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 40, 204, 0.08);
}
.field textarea { min-height: 140px; resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gray); }

/* ---------- Page transition ---------- */
.page { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

/* ---------- SVG flow diagram animations ---------- */
@keyframes flow-pulse {
  0%, 100% { opacity: 1; r: 34px; }
  50% { opacity: 0.5; r: 42px; }
}
@keyframes flow-packet {
  0% { opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes flow-pop {
  0% { transform: scale(0.85); opacity: 0; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes flow-check {
  0% { stroke-dashoffset: 40; opacity: 0; }
  40% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
.flow-diagram-wrap {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
}
.flow-diagram-topbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flow-diagram-topbar span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--blue);
  animation: badge-pulse 2.4s ease infinite;
}

/* Responsive */
@media (max-width: 980px) {
  :root { --gutter: 24px; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .mega-panel { display: none !important; }

  .hero { padding: 60px 0 52px; }
  .typewriter-hero { padding-right: 0; }
  .tw-right-col { display: none; }
  .hero-headline { max-width: 100%; }
  .hero-sub { font-size: 17px; max-width: 100%; }
  .hero-cta-row { flex-wrap: wrap; gap: 12px; }
  .section { padding: 60px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; margin-bottom: 32px; }

  .row-2 { grid-template-columns: 1fr; gap: 32px; }
  .row-3 { grid-template-columns: 1fr; }
  .row-4 { grid-template-columns: 1fr 1fr; }

  .flist .row { grid-template-columns: 40px 1fr; gap: 16px; }
  .flist .row .desc { grid-column: span 2; padding-left: 56px; }

  .dtable .row { grid-template-columns: 50px 1fr 80px; gap: 12px; }
  .dtable .col-hide { display: none; }

  .counterparty-card { padding: 28px; }
  .stat { padding: 24px; }
  .stat-num { font-size: clamp(44px, 10vw, 72px); }

  .arch { padding: 32px 20px; }
  .arch-participants { grid-template-columns: 1fr; gap: 16px; }

  .ai-meta { grid-template-columns: 1fr 1fr; }
  .ai-rows { display: none; }
  .ai-flag { grid-template-columns: 1fr; gap: 8px; }
  .ai-row { grid-template-columns: 60px 1fr 80px; }
  .ai-row .col-hide { display: none; }

  .cta-strip { padding: 52px 0; }
  .cta-strip .row-2 { gap: 36px; }
  .cta-strip h2 { font-size: clamp(32px, 8vw, 56px); }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 0 24px; }

  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: span 1; }

  .cred-bar-grid { grid-template-columns: repeat(2, 1fr); }

  /* Layout tightening */
  .section { padding: 52px 0; }
  .section-tight { padding: 36px 0; }
  .hero { padding: 48px 0 44px; }

  /* row-4 must go single column on tablet/mobile — 2-col is too tight */
  .row-4 { grid-template-columns: 1fr; }

  /* Footer: single column on mobile */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 0 20px; }

  /* Feature list rows: hide desc on mobile */
  .flist .row .desc { display: none; }

  /* CTA strip: more breathing room */
  .cta-strip { padding: 44px 0; }
  .cta-strip .row-2 { gap: 40px; }

  /* Stat blocks */
  .stat { padding: 20px; }
  .stat-num { font-size: clamp(40px, 10vw, 68px); }

  /* Counterparty cards */
  .counterparty-card { padding: 24px 20px; }

  /* section-head: tighter */
  .section-head { padding-bottom: 28px; margin-bottom: 28px; }

  /* Typography scale for tablet */
  .display-xl { font-size: clamp(36px, 8vw, 64px); }
  .display-lg { font-size: clamp(28px, 7vw, 48px); }
  .display-md { font-size: clamp(24px, 6vw, 38px); }
  .display-sm { font-size: clamp(20px, 5vw, 28px); }

  /* Hero sub text */
  .hero-sub { font-size: 16px; line-height: 1.55; }

  /* Buttons: full width on mobile in CTA contexts */
  .cta-strip .btn { width: 100%; justify-content: center; }
  .hero-cta-row .btn { min-width: 0; flex: 1; }

  /* Nav drawer: update touch targets */
  .nav-drawer .drawer-link { min-height: 56px; display: flex; align-items: center; padding: 0; border-bottom: 1px solid var(--border); font-size: 20px; }
  .nav-drawer .drawer-link-indent { padding-left: 20px; font-size: 17px; min-height: 48px; }
  .nav-drawer-ctas .btn { height: 52px; font-size: 15px; }

  /* About page: row-3 founder cards → single column */
  .row-3 { grid-template-columns: 1fr; }

  /* Marquee: ensure it doesn't overflow */
  .marquee-track { white-space: nowrap; }
}

@media (max-width: 480px) {
  /* Root adjustments */
  :root { --gutter: 16px; }
  .container { padding: 0 16px; }

  /* Typography */
  .display-xl { font-size: clamp(32px, 9vw, 48px); }
  .display-lg { font-size: clamp(26px, 8vw, 36px); }
  .display-md { font-size: clamp(22px, 6.5vw, 30px); }
  .display-sm { font-size: clamp(18px, 5vw, 24px); }
  .hero-sub { font-size: 15px; }
  .lead { font-size: 15px; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .section-tight { padding: 32px 0; }
  .hero { padding: 40px 0 36px; }

  /* Grids: everything single column */
  .row-2 { grid-template-columns: 1fr; gap: 24px; }
  .row-3 { grid-template-columns: 1fr; }
  .row-4 { grid-template-columns: 1fr; }

  /* Section head: single col, tighter */
  .section-head { grid-template-columns: 1fr; gap: 14px; padding-bottom: 24px; margin-bottom: 24px; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 36px 0 16px; }

  /* CTA strip */
  .cta-strip { padding: 36px 0; }
  .cta-strip .row-2 { gap: 28px; }
  .cta-strip .btn { width: 100%; justify-content: center; }

  /* Stat blocks: compact */
  .stat { padding: 18px 16px; }
  .stat-num { font-size: clamp(36px, 10vw, 56px); }

  /* Hero CTA row: stack buttons */
  .hero-cta-row { flex-direction: column; gap: 10px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }

  /* Feature list: simplified */
  .flist .row { grid-template-columns: 32px 1fr; gap: 12px; padding: 20px 0; }
  .flist .row .num { font-size: 10px; padding-top: 2px; }
  .flist .row .title { font-size: 17px; }
  .flist .row .desc { display: none; }

  /* Data table: minimal */
  .dtable .row { grid-template-columns: 1fr 80px; gap: 8px; padding: 14px 16px; }
  .dtable .id { display: none; }
  .dtable .col-hide { display: none; }

  /* Nav drawer */
  .nav-drawer { padding: 24px 16px; }
  .nav-drawer .drawer-link { font-size: 19px; min-height: 52px; }
  .nav-drawer-ctas { margin-top: 24px; gap: 12px; }
  .nav-drawer-ctas .btn { height: 50px; }

  /* Counterparty card */
  .counterparty-card { padding: 20px 16px; }

  /* Page badge */
  .page-badge { margin-bottom: 32px; font-size: 9px; padding: 6px 12px; }

  /* AI flag */
  .ai-flag { grid-template-columns: 1fr; gap: 8px; }
  .ai-meta { grid-template-columns: 1fr; }

  /* Buttons: ensure minimum tap target */
  .btn { min-height: 48px; padding: 0 18px; font-size: 13px; }
  .btn-sm { min-height: 40px; }

  /* Form fields */
  .form { grid-template-columns: 1fr; gap: 16px; }
  .form .full { grid-column: span 1; }

  /* Credential bar */
  .cred-bar-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Arch participants */
  .arch-participants { grid-template-columns: 1fr; gap: 12px; }
  .arch { padding: 24px 16px; }
}

@media (max-width: 390px) {
  :root { --gutter: 14px; }
  .container { padding: 0 14px; }

  .display-xl { font-size: clamp(28px, 9.5vw, 40px); }
  .display-lg { font-size: clamp(24px, 8vw, 32px); }
  .display-md { font-size: clamp(20px, 6.5vw, 26px); }
  .display-sm { font-size: clamp(16px, 5vw, 21px); }

  .hero { padding: 36px 0 32px; }
  .section { padding: 36px 0; }
  .hero-sub { font-size: 14px; line-height: 1.6; }
  .lead { font-size: 14px; }

  .nav { height: 60px; }
  .nav-drawer { top: 60px; padding: 20px 14px; }

  .stat-num { font-size: clamp(32px, 10.5vw, 44px); }
  .btn { min-height: 46px; font-size: 12.5px; padding: 0 16px; gap: 8px; }

  .section-head { padding-bottom: 20px; margin-bottom: 20px; }
  .cta-strip { padding: 28px 0; }
  .foot-grid { gap: 20px; }
  .site-footer { padding: 28px 0 12px; }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .typewriter-hero { padding-right: 400px; }
  .tw-right-col { width: 380px; height: 560px; }
  .row-2 { gap: 48px; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 60px; }
  .display-xl { font-size: clamp(48px, 6vw, 88px); }
  .arch-participants { gap: 20px; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
