/* ===========================================================
   Mama AG — Enterprise Mutterwitze
   Design: editorial × corporate SaaS, dark cream + ink + lime
   =========================================================== */

:root {
  --cream: #f4efe6;
  --cream-2: #ebe4d6;
  --paper: #faf7f0;
  --ink: #0e0e0c;
  --ink-2: #1f1d1a;
  --muted: #6b6660;
  --rule: #d8d1c2;
  --acc: #d3ff3a;          /* electric lime */
  --acc-ink: #0e0e0c;
  --hot: #ff5638;
  --ok: #2bb673;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.display, .display-2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.display {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-variation-settings: 'opsz' 144;
}
.display-2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-variation-settings: 'opsz' 96;
  line-height: 1;
}
.display em, .display-2 em {
  font-style: italic;
  font-weight: 300;
}
.display .hl {
  background: var(--acc);
  padding: 0 0.15em;
  border-radius: 2px;
}

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.kicker.dark { color: rgba(255,255,255,0.55); }

.lede, .section-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
}
.section-sub.light { color: rgba(255,255,255,0.7); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-accent { background: var(--acc); color: var(--acc-ink); }
.btn-accent:hover { background: #c4f01a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1rem; }
.w-full { width: 100%; }

.link-quiet { color: var(--muted); font-size: 0.95rem; }
.link-quiet:hover { color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  background: rgba(244,239,230,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--acc);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-name { font-size: 1.05rem; }
.brand-name em { font-style: normal; color: var(--hot); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--hot); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.announce strong {
  background: var(--acc);
  color: var(--ink);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.announce a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 2rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dot-live {
  width: 8px; height: 8px;
  background: var(--ok);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(43,182,115,0.5);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(43,182,115,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(43,182,115,0); }
}
.hero h1.display { margin-bottom: 1.5rem; }
.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

/* terminal */
.hero-card {
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
  font-family: 'JetBrains Mono', monospace;
  color: #d8d3c8;
  font-size: 0.88rem;
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: #181714;
  border-bottom: 1px solid #2a2823;
  position: relative;
}
.terminal-head .dotr { background: #ff5f56; }
.terminal-head .doty { background: #ffbd2e; }
.terminal-head .dotg { background: #27c93f; }
.terminal-head .dotr,
.terminal-head .doty,
.terminal-head .dotg {
  width: 11px; height: 11px; border-radius: 50%;
}
.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: #999488;
}
.terminal-body { padding: 1.4rem 1.25rem; min-height: 320px; }
.terminal-body .line { margin-bottom: 0.55rem; line-height: 1.45; }
.prompt { color: var(--acc); margin-right: 0.5rem; }
.muted { color: #6b6660; }
.ok { color: var(--ok); font-weight: 600; }
.str { color: #ffbd2e; }
.cursor {
  display: inline-block;
  background: var(--acc);
  width: 9px; height: 1rem;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.quote {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--paper);
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #16151180;
  border-left: 3px solid var(--acc);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  transition: opacity 0.18s;
}
.quote.fading { opacity: 0; }
.terminal-btn {
  width: 100%;
  padding: 0.95rem;
  background: var(--acc);
  color: var(--acc-ink);
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}
.terminal-btn:hover { background: #c4f01a; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Trusted ---------- */
.trusted {
  padding: 3rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream-2);
}
.trusted-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}
.trusted-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5rem 2rem;
}
.trusted-row span {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.55;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.trusted-row span:hover { opacity: 1; }

/* ---------- Sections / Heads ---------- */
section { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); }

.section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 1rem; }

/* ---------- Features ---------- */
.features {
  max-width: 1280px;
  margin: 0 auto;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.feat {
  background: var(--paper);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.feat:hover { background: #fffdf6; }
.feat-accent { background: var(--ink); color: var(--paper); }
.feat-accent:hover { background: var(--ink-2); }
.feat-accent .feat-num { color: var(--acc); }
.feat-accent .feat-list { color: rgba(255,255,255,0.6); }
.feat-accent .feat-list li::before { color: var(--acc); }

.feat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--hot);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}
.feat h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feat p { color: inherit; opacity: 0.78; margin-bottom: 1.25rem; font-size: 0.95rem; }
.feat-list {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  border-color: var(--rule);
  color: var(--muted);
}
.feat-accent .feat-list { border-color: rgba(255,255,255,0.15); }
.feat-list li {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  position: relative;
  padding-left: 1.2rem;
}
.feat-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--hot);
  font-weight: 700;
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ---------- Demo ---------- */
.demo {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--rule);
}
.demo-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.demo-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.chip {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--acc); color: var(--paper); }
.chip.active { background: var(--acc); color: var(--ink); border-color: var(--acc); }

.demo-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.demo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}
.badge-tier {
  background: var(--ink);
  color: var(--acc);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.latency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.joke-text {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  min-height: 4.5em;
  display: flex;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: opacity 0.18s, transform 0.18s;
}
.joke-text.fading { opacity: 0; transform: translateY(6px); }

.punchline { margin-top: 1.5rem; }
.punchline-label {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.meter {
  height: 6px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--acc), var(--hot));
  width: 0%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.demo-actions .btn { flex: 1 1 auto; min-width: 110px; }
.hint {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.hint kbd {
  background: var(--ink);
  color: var(--paper);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
}

.metrics {
  max-width: 1280px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.metric {
  background: var(--ink);
  padding: 2rem 1.25rem;
  text-align: center;
}
.metric strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--acc);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.metric span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 820px) {
  .demo-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Stats Band ---------- */
.band {
  background: var(--acc);
  color: var(--ink);
  padding: 3rem clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.band-item { text-align: center; padding: 0 1rem; }
.band-item strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.band-item span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
}
@media (max-width: 700px) {
  .band { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Testimonial ---------- */
.testify {
  max-width: 1280px;
  margin: 0 auto;
}
.big-quote {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 1.5rem 0 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--hot);
  font-style: italic;
}
.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  padding-left: 2rem;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Fraunces', serif;
}
.quote-author strong { font-size: 0.95rem; }
.quote-author span { font-size: 0.85rem; color: var(--muted); }

.testify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.t-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.75rem;
  font-size: 0.95rem;
}
.t-card p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.t-card span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 800px) {
  .testify-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing { max-width: 1280px; margin: 0 auto; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.price {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-6px);
}
.price-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acc);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.price h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.price-tag span:last-child { color: var(--muted); font-size: 0.9rem; }
.price-feature .price-tag span:last-child { color: rgba(255,255,255,0.6); }
.price-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-feature .price-sub { color: rgba(255,255,255,0.7); }

.price ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.price ul li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 1.5rem;
}
.price-feature ul li { border-bottom-color: rgba(255,255,255,0.12); }
.price ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.price-feature ul li::before { color: var(--acc); }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-feature { transform: none; }
}

/* ---------- API ---------- */
.api { max-width: 1280px; margin: 0 auto; }
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.api-bullets {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.api-bullets li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.api-bullets li strong { display: inline-block; min-width: 110px; }
.code {
  background: var(--ink);
  color: #d8d3c8;
  padding: 1.75rem;
  border-radius: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  line-height: 1.65;
  overflow-x: auto;
}
.code .cm { color: #6b6660; font-style: italic; }
.code .kw { color: #ff79c6; }
.code .str { color: #ffbd2e; }
.code .cls { color: var(--acc); }
.code .fn { color: #82e2ff; }
.code .num { color: #ff5638; }

@media (max-width: 900px) {
  .api-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
details {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
details[open] { border-color: var(--ink); }
summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--muted);
  transition: transform 0.25s;
  font-weight: 300;
}
details[open] summary::after { transform: rotate(45deg); color: var(--hot); }
details p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Final CTA ---------- */
.finalcta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finalcta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(211,255,58,0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,86,56,0.1), transparent 50%);
  pointer-events: none;
}
.finalcta h2 { margin-bottom: 1rem; position: relative; z-index: 1; }
.finalcta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2);
  color: rgba(255,255,255,0.7);
  padding: 4rem clamp(1rem, 4vw, 3rem) 2rem;
  font-size: 0.9rem;
}
.foot-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand { max-width: 320px; }
.foot-brand .brand { color: var(--paper); margin-bottom: 1rem; }
.foot-brand p { font-size: 0.92rem; line-height: 1.55; margin-bottom: 1rem; }
.iso {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.iso span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
}
.foot-col h4 {
  color: var(--paper);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.foot-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--acc); }

.foot-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Confetti ---------- */
.confetti {
  position: fixed;
  top: 0;
  left: 50%;
  width: 7px;
  height: 12px;
  pointer-events: none;
  z-index: 199;
  border-radius: 1px;
}

/* ---------- Easter egg ---------- */
.ee {
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.2;
  cursor: pointer;
  user-select: none;
  z-index: 50;
  padding: 0.5rem;
}
.ee:hover { opacity: 1; }

/* =========================================================
   SUBPAGE SHELL
   ========================================================= */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  background: var(--cream-2);
}
.page-hero .crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .crumbs a:hover { color: var(--hot); }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
  max-width: 1080px;
  margin: 0 auto 1rem;
}
.page-hero h1 em { font-style: italic; font-weight: 300; }
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}
.page-hero.center, .page-hero.center h1, .page-hero.center .lede, .page-hero.center .crumbs {
  text-align: center;
}

.page-body {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.page-body.wide { max-width: 1180px; }
.page-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
  line-height: 1.15;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.page-body p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.page-body ul, .page-body ol {
  margin: 0 0 1.25rem 1.4rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
}
.page-body ul li, .page-body ol li { margin-bottom: 0.4rem; }
.page-body a { color: var(--hot); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--ink); }
.page-body strong { color: var(--ink); }
.page-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}
.page-body blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  border-left: 3px solid var(--hot);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink);
}

.callout {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--acc);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.callout strong { display: block; margin-bottom: 0.4rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin-top: 0; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; margin-bottom: 0.75rem; }
.card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.card .tag {
  display: inline-block;
  background: var(--ink);
  color: var(--acc);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* form */
.form {
  max-width: 480px;
  margin: 0 auto;
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--ink);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-help {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* job listing */
.jobs { display: flex; flex-direction: column; gap: 0.5rem; margin: 2rem 0; }
.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: border-color 0.15s, transform 0.15s;
  gap: 1rem;
  flex-wrap: wrap;
}
.job:hover { border-color: var(--ink); transform: translateX(2px); }
.job h3 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
}
.job .meta { color: var(--muted); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; }
.job .arrow { font-size: 1.5rem; color: var(--hot); }

/* press / investor cards */
.press-list, .invest-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.press-item, .invest-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.press-item .date, .invest-item .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.press-item h3, .invest-item h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.press-item p, .invest-item p { margin: 0; color: var(--muted); }
@media (max-width: 600px) {
  .press-item, .invest-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* big numbers (investor) */
.bignum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
}
.bignum {
  background: var(--paper);
  padding: 2rem 1.5rem;
}
.bignum strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.bignum span { color: var(--muted); font-size: 0.88rem; }

/* product page hero */
.product-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.product-hero .crumbs { color: rgba(255,255,255,0.6); }
.product-hero .crumbs a { color: rgba(255,255,255,0.85); }
.product-hero .crumbs a:hover { color: var(--acc); }
.product-hero h1 { color: var(--paper); }
.product-hero .lede { color: rgba(255,255,255,0.75); }
.product-hero .badge {
  display: inline-block;
  background: var(--acc);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* simple two-col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin: 3rem 0;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* legal toc */
.toc {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
}
.toc strong { display: block; margin-bottom: 0.6rem; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.toc ol { margin: 0 0 0 1.4rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--hot); }
