/* ============================================================
   Acre of Diamonds
   Design read: agency landing page for owners and marketing leads
   at 5 to 200 person companies. Dark editorial-technical language,
   native CSS + raw WebGL, no framework.
   Dials: VARIANCE 9 / MOTION 8 / DENSITY 3
   Shape system: everything is square. Zero radius except the
   diamond mark and the live pulse. One accent: ice mint.
   ============================================================ */

:root {
  --void: #07080a;
  --void-2: #0a0c0f;
  --void-3: #0e1114;
  --ink: #f1efea;
  --ink-2: rgba(241, 239, 234, 0.64);
  --ink-3: rgba(241, 239, 234, 0.48);
  --line: rgba(241, 239, 234, 0.13);
  --line-2: rgba(241, 239, 234, 0.07);
  --acc: #8cf0d2;
  --acc-deep: #06110d;

  --gutter: clamp(18px, 3.6vw, 60px);
  --section-y: clamp(84px, 11vw, 172px);

  --fs-hero: clamp(2.55rem, 7.6vw, 8.8rem);
  --fs-display: clamp(2rem, 4.8vw, 5rem);
  --fs-display-sm: clamp(1.55rem, 2.5vw, 2.35rem);
  --fs-body: clamp(0.95rem, 1.05vw, 1.06rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
canvas { display: block; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--acc); color: var(--acc-deep); }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--acc);
  color: var(--acc-deep);
  font: 500 13px/1 Archivo, sans-serif;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */

.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  font-stretch: 108%;
  text-wrap: balance;
}

.display-sm {
  font-size: var(--fs-display-sm);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  font-stretch: 106%;
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
}

.body {
  color: var(--ink-2);
  max-width: 46ch;
}

.mono {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-ligatures: none;
  letter-spacing: -0.01em;
}
.small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.foot-note {
  margin-top: 28px;
  padding-inline: var(--gutter);
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 62ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--acc);
  color: var(--acc-deep);
}
.btn-solid:hover { background: #b9f8e6; }

.btn-ghost {
  border-color: rgba(241, 239, 234, 0.26);
  color: var(--ink);
  background: rgba(7, 8, 10, 0.18);
}
.btn-ghost:hover {
  border-color: rgba(241, 239, 234, 0.6);
  background: rgba(241, 239, 234, 0.05);
}

.btn-wide { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1.5px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0.85;
}

@supports (animation-timeline: scroll()) {
  .nav-progress {
    animation: navprog linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes navprog {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

.nav-inner {
  height: 100%;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.wordmark, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.mark { width: 22px; height: 22px; color: var(--acc); flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { position: relative; padding-block: 4px; transition: color 0.2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 95;
  background: var(--void);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-2);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.94) 0%, rgba(7, 8, 10, 0.55) 9%, rgba(7, 8, 10, 0.1) 22%, transparent 34%),
    radial-gradient(120% 90% at 78% 32%, rgba(140, 240, 210, 0.07), transparent 62%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.82) 0%, rgba(7, 8, 10, 0.34) 34%, rgba(7, 8, 10, 0.72) 78%, var(--void) 100%),
    linear-gradient(90deg, rgba(7, 8, 10, 0.86) 0%, rgba(7, 8, 10, 0.12) 58%, transparent 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
  padding-top: calc(var(--nav-h) + 40px);
}

.hero-h1 {
  font-size: var(--fs-hero);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 600;
  font-stretch: 112%;
  max-width: 20ch;
  margin-top: 22px;
  text-wrap: balance;
}
.hero-h1 .line { display: block; }
.hero-h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--acc);
}

.hero-sub {
  margin-top: clamp(20px, 2.6vw, 34px);
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.45;
  color: rgba(241, 239, 234, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 38px);
}

/* staggered entry */
.hero .eyebrow,
.hero-h1,
.hero-sub,
.hero-actions {
  animation: rise 1s var(--ease) both;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero-h1 { animation-delay: 0.14s; }
.hero-sub { animation-delay: 0.26s; }
.hero-actions { animation-delay: 0.34s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void-2);
  overflow: hidden;
  padding-block: 15px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: slide 52s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.t-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-inline: 26px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  white-space: nowrap;
}
.t-item::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--acc);
  opacity: 0.7;
  transform: rotate(45deg);
  flex: none;
}
.t-item b { color: var(--ink); font-weight: 500; }

@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- thesis ---------- */

.thesis { position: relative; }

.thesis-media {
  position: relative;
  height: clamp(340px, 72vh, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.thesis-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.06);
  filter: contrast(1.04) saturate(0.85) brightness(0.92);
}
.thesis-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--void) 0%, transparent 20%, rgba(7, 8, 10, 0.45) 62%, rgba(7, 8, 10, 0.92) 84%, var(--void) 96%);
}

.thesis-copy {
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}
.thesis-copy .display { grid-column: 1 / -1; max-width: 22ch; }
.thesis-copy .lede { grid-column: 1; }
.thesis-copy .lede + .lede { grid-column: 2; color: var(--ink-3); }

/* ---------- shared section head ---------- */

.section-head {
  padding: var(--section-y) var(--gutter) clamp(38px, 5vw, 68px);
  display: grid;
  gap: 20px;
  max-width: 1180px;
}
.section-head .display { max-width: 24ch; }

/* ---------- bots ---------- */

.bots { position: relative; background: var(--void); }

.bots-stack { position: relative; }

.bot {
  position: relative;
  min-height: 100dvh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: var(--void);
  border-top: 1px solid var(--line);
}
.bot:nth-child(2) { background: #080a0c; }
.bot:nth-child(3) { background: #0a0c0e; }

.bot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(90% 70% at 88% 10%, rgba(140, 240, 210, 0.05), transparent 62%);
}
.bot:nth-child(2)::before { background: radial-gradient(90% 70% at 8% 14%, rgba(140, 240, 210, 0.045), transparent 62%); }
.bot:nth-child(3)::before { background: radial-gradient(90% 70% at 88% 86%, rgba(140, 240, 210, 0.05), transparent 62%); }

.bot-bar {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}
.bot-name {
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc);
}
.bot-role { color: var(--ink-2); }
.bot-stat { margin-left: auto; color: var(--ink-3); }

.bot-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  padding: clamp(40px, 6vh, 80px) var(--gutter);
}

.bot-copy .display-sm { max-width: 18ch; }
.bot-copy .body { margin-top: 22px; }

.caps {
  list-style: none;
  margin-top: clamp(24px, 3vw, 38px);
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.caps li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--ink-2);
  position: relative;
}
.caps li::before {
  content: "";
  position: absolute;
  left: 4px; top: 21px;
  width: 6px; height: 6px;
  border: 1px solid var(--acc);
  transform: rotate(45deg);
}

/* console */
.console {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0b0e11, #08090b);
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(140, 240, 210, 0.06), transparent 70%);
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.console-live { display: inline-flex; align-items: center; gap: 7px; color: var(--acc); }
.console-live i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acc);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.console-feed {
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.console-feed li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 7px 16px;
  line-height: 1.45;
  animation: feedIn 0.5s var(--ease) both;
}
.console-feed li .ts { color: rgba(140, 240, 210, 0.55); }
.console-feed li .tx { color: rgba(241, 239, 234, 0.78); }
.console-feed li .tx b { color: var(--ink); font-weight: 500; }

@keyframes feedIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.console-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}
.console-foot .mono { color: var(--ink); }

/* ---------- deck ---------- */

.deck {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--void-2), var(--void));
}
.deck .section-head { padding-top: 0; }

.deck-grid {
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(22px, 3.4vw, 46px);
  align-items: stretch;
}

.deck-chart {
  border: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 34px);
  background: rgba(10, 12, 15, 0.6);
  display: flex;
  flex-direction: column;
}
.deck-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.metric-label {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.metric-value {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-stretch: 110%;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.metric-unit { color: var(--acc); font-size: 0.5em; vertical-align: 0.55em; margin-left: 4px; }
.metric-delta {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: right;
  max-width: 16ch;
  line-height: 1.5;
}

#deckChart { width: 100%; height: auto; flex: 1; min-height: 200px; }

.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 2px; display: inline-block; }
.sw-a { background: var(--acc); }
.sw-b { background: rgba(241, 239, 234, 0.34); }

.deck-rows { display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }

.deck-row {
  border: 1px solid var(--line);
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  background: rgba(10, 12, 15, 0.45);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.deck-row:hover { border-color: rgba(140, 240, 210, 0.4); background: rgba(140, 240, 210, 0.03); }
.dr-head { display: flex; justify-content: space-between; align-items: baseline; }
.dr-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-stretch: 110%;
}
.dr-num { font-size: 14px; color: var(--acc); }
.deck-row p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
.spark { width: 100%; height: 40px; margin-top: auto; padding-top: 12px; opacity: 0.9; }

.stats {
  margin: clamp(48px, 6vw, 84px) var(--gutter) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 30px 0 0;
  border-right: 1px solid var(--line-2);
  padding-right: 24px;
}
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: clamp(16px, 2.4vw, 34px); }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { font-size: 0.36em; letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-3);
  max-width: 30ch;
}

/* ---------- process ---------- */

.process {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}
.process .section-head { padding-top: 0; padding-bottom: clamp(30px, 4vw, 54px); }

.steps {
  list-style: none;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.step { border-top: 1px solid var(--ink-2); padding-top: 20px; }
.step h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.02em;
}
.step p { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- pricing ---------- */

.pricing {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
  background: var(--void-2);
}
.pricing .section-head { padding-top: 0; padding-bottom: clamp(34px, 4vw, 58px); }

.tiers {
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: auto auto;
  gap: clamp(14px, 1.6vw, 22px);
}
.tier {
  border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--void);
}
.tier-main {
  grid-row: span 2;
  border-color: rgba(140, 240, 210, 0.34);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(140, 240, 210, 0.08), transparent 60%),
    var(--void);
}
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tier-name {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tier-price {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier-price .cur { font-size: 0.5em; vertical-align: 0.55em; color: var(--ink-2); margin-right: 3px; }
.tier-price .per { font-size: 0.4em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.tier-price-sm { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.tier-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.tier-list li { padding-left: 18px; position: relative; line-height: 1.5; }
.tier-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-family: "Geist Mono", monospace;
}
.tier-main .tier-list { margin-bottom: auto; }
.tier-main .btn { margin-top: 10px; }

/* ---------- faq ---------- */

.faq {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
}
.faq .section-head { padding-top: 0; padding-bottom: clamp(30px, 3.6vw, 50px); }

.faq-list { padding-inline: var(--gutter); max-width: 1100px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--acc); }

.chev {
  position: relative;
  width: 14px; height: 14px;
  flex: none;
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.chev::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.chev::after { left: 6.5px; top: 0; width: 1px; height: 14px; }
details[open] .chev::after { transform: rotate(90deg); opacity: 0; }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
  overflow: hidden;
}
details[open] .faq-body { grid-template-rows: 1fr; }
.faq-body > p {
  min-height: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 68ch;
  padding-bottom: 26px;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.contact-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: contrast(1.1) saturate(0.8);
}
.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--void) 8%, rgba(7, 8, 10, 0.72) 55%, rgba(7, 8, 10, 0.92) 100%),
    linear-gradient(180deg, var(--void) 0%, transparent 40%);
}

.contact-inner { padding-inline: var(--gutter); }
.contact .display { max-width: 18ch; }
.contact .lede { margin-top: 20px; }

.contact-grid {
  margin-top: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(7, 8, 10, 0.55);
  border: 1px solid rgba(241, 239, 234, 0.2);
  border-radius: 0;
  color: var(--ink);
  font-family: Archivo, sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(241, 239, 234, 0.34); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(241, 239, 234, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acc);
  background: rgba(140, 240, 210, 0.04);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: #0a0c0f; color: var(--ink); }

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-note {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  max-width: 34ch;
  line-height: 1.5;
}

.contact-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 34px); }
.big-link {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(140, 240, 210, 0.4);
  padding-bottom: 6px;
  transition: color 0.25s, border-color 0.25s;
  word-break: break-word;
}
.big-link:hover { color: var(--acc); border-color: var(--acc); }
.contact-side .body { margin-top: 22px; font-size: 14px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--void);
  padding: 34px var(--gutter) 42px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { color: var(--ink-3); }
.footer-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-links a:hover { color: var(--ink); }
.footer-legal {
  flex: 0 0 100%;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(241, 239, 234, 0.34);
  max-width: 70ch;
}

/* ---------- scroll reveal ---------- */

.reveal { will-change: transform, opacity; }

.io-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.io-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .bot-body { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .bot { min-height: auto; position: static; }
  .bot-body { padding-bottom: 56px; }
  .console-feed { min-height: 220px; }
  .deck-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-main { grid-row: auto; }
  .thesis-copy { grid-template-columns: 1fr; }
  .thesis-copy .display,
  .thesis-copy .lede,
  .thesis-copy .lede + .lede { grid-column: 1; }
  .thesis-copy .lede + .lede { color: var(--ink-2); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav-cta .btn { display: none; }
  .hero { align-items: flex-end; }
  .hero-h1 { font-size: clamp(2.3rem, 11vw, 3.6rem); line-height: 0.94; max-width: none; }
  .hero-sub { font-size: 1rem; max-width: 34ch; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.11em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 24px 0; }
  .stat + .stat { padding-left: 0; }
  .form { grid-template-columns: 1fr; }
  .deck-chart-head { flex-direction: column; }
  .metric-delta { text-align: left; }
  .tier-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-links { margin-left: 0; flex-basis: 100%; }
  .bot-bar { flex-wrap: wrap; gap: 10px; }
  .bot-stat { margin-left: 0; flex-basis: 100%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .io-reveal { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .console-live i { animation: none; }
}
