/* Truatos — landing styles (v2)
 * Light B2B aesthetic: white background, near-black typography, a single
 * forest-green accent reserved for the last few words of each headline.
 * Faint background grid throughout. Mono labels with slash prefix.
 * All design vocabulary is non-copyrightable convention; HTML/CSS/copy
 * are original Truatos work.
 */

:root {
  --bg: #ffffff;
  --bg-soft: #F4F6F2;
  --bg-card: #ffffff;
  --bg-dark: #0d1410;

  --text: #16201C;
  --text-muted: #5B6B5E;
  --text-faint: #8C968C;
  --text-on-dark: #EEF0EA;

  --border: #E2E7E1;
  --border-hair: #ECEFEA;

  --green: #0E3B2E;
  --green-soft: #2e6147;
  --green-bright: #3aa580;
  --green-pale: #d4e3da;
  --gold: #B7791F;

  /* Product UI semantic palette (mirrors the admin design system, so the
     site's mockups read as the real product). Each: solid + light bg. */
  --success: #1F8A5B; --success-bg: #E7F4ED;
  --warn:    #B7791F; --warn-bg:    #FBF1DC;
  --danger:  #C0392B; --danger-bg:  #FBEAE7;
  --info:    #1E6F8B; --info-bg:    #E4F1F5;
  --ink:     #16201C;

  /* The brand chevron, as a mask so any accent bullet can echo the logo mark.
     Apply with: -webkit-mask/mask: var(--chevron) center / contain no-repeat;
     and set background to the desired colour. */
  --chevron: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='2%206%2096%2056'%20fill='none'%20stroke='%23000'%20stroke-width='15'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%2052%20L50%2016%20L86%2052'/%3E%3C/svg%3E");

  --shadow-card: 0 2px 24px rgba(10, 10, 10, 0.05);
  --shadow-card-hover: 0 8px 36px rgba(10, 10, 10, 0.08);

  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --gap-section: clamp(96px, 14vw, 200px);
  --radius: 999px;
  --radius-card: 2px;

  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Editorial New', 'Times New Roman', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

/* ── Background grid (graph-paper rhythm) ─────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.035) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  background-position: 0 0;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }

/* ── Layout primitives ─────────────────────────────────────── */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

section { padding: var(--gap-section) 0; position: relative; }

/* Slash + number + dot + LABEL — section signature */
.sec-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(40px, 6vw, 80px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.sec-tag::before { content: '/'; color: var(--text-faint); font-weight: 500; }
.sec-tag .dot { color: var(--text-faint); }

/* ── Header ────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-hair);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand-area {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.26em;
  font-family: 'Hanken Grotesk', var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 22px;
  line-height: 1;
  color: var(--green);
}

/* Brand mark: a single upward chevron in the site's forest-green accent (the
   same --green used by headlines and buttons, so the logo stays in the site's
   palette). Proportioned to the original lockup: box width = 1em (the wordmark
   size), gap 0.26em. Lifts slightly on hover. */
.brand-mark {
  display: inline-flex;
  width: 1em;
  height: auto;
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.25s ease;
}

.brand-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Hover: the up-chevron gently bounces upward, an "ascend" nod (the static
   square used to rotate). Held while hovered, like the old rotation was. */
@keyframes brand-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  45%      { transform: translateY(-4px); }
}
.brand:hover .brand-mark {
  animation: brand-arrow-bounce 0.85s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-mark { animation: none; transform: translateY(-2px); }
}

.nav-main {
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

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

.nav-main a { color: var(--text); transition: color 0.15s ease; }
.nav-main a:hover { color: var(--green); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 700px) {
  /* "Sign in" is a rare action on a landing page. Hide on mobile so
   * the primary CTA + language pill have room to breathe. */
  .nav-right .btn.ghost { display: none; }
  .lang-link { padding: 5px 9px; font-size: 10px; }
}

/* ── Mobile navigation (hamburger + slide-in drawer) ───────── */
/* The toggle button and the drawer are injected by app.js from the
 * existing header markup, so every page gets the same mobile menu
 * without editing its HTML. Hidden on desktop; shown at <= 900px to
 * match where .nav-main is hidden. */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.nav-toggle:hover { border-color: var(--text); }
.nav-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.nav-toggle .bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.22,0.61,0.36,1), opacity 0.18s ease, top 0.28s cubic-bezier(0.22,0.61,0.36,1);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }

/* Open state morphs the bars into an X */
body.mnav-open .nav-toggle .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.mnav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.mnav-open .nav-toggle .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Backdrop */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 70;
}
body.mnav-open .mobile-overlay { opacity: 1; visibility: visible; }

/* Drawer panel (slides in from the right) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--bg);
  border-left: 1px solid var(--border-hair);
  box-shadow: -16px 0 48px -24px rgba(10,10,10,0.35);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22,0.61,0.36,1);
  z-index: 71;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.mnav-open .mobile-nav { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-hair);
  flex-shrink: 0;
}
.mobile-nav-head .brand { font-size: 20px; }

.mnav-close {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.mnav-close:hover { border-color: var(--text); }
.mnav-close svg { width: 16px; height: 16px; }

.mobile-nav-body {
  padding: 14px 20px 8px;
  display: flex;
  flex-direction: column;
}

/* Primary links */
.mnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  border-bottom: 1px solid var(--border-hair);
}
.mnav-link:active { color: var(--green); }

/* Use-cases sub-section inside the drawer */
.mnav-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 18px 4px 8px;
}
.mnav-sub {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--border-hair);
}
.mnav-sub:last-of-type { border-bottom: 1px solid var(--border-hair); }
.mnav-sub .dd-mark {
  width: 7px; height: 7px;
  background: var(--green);
  margin-top: 6px;
  flex-shrink: 0;
}
.mnav-sub .mnav-sub-title { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.mnav-sub .mnav-sub-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }

/* Footer of drawer: CTAs + language */
.mobile-nav-foot {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border-hair);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-nav-foot .btn {
  width: 100%;
  height: 46px;
  justify-content: center;
  font-size: 15px;
}
.mobile-nav-foot .mnav-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.mobile-nav-foot .mnav-lang a { color: var(--green); }

@media (max-width: 900px) {
  /* Show the hamburger; collapse the desktop CTAs and lang pill into
   * the drawer so the mobile header stays clean: brand + toggle only. */
  .nav-toggle { display: inline-flex; }
  .nav-right .btn,
  .nav-right .lang-link { display: none; }
}

@media (min-width: 901px) {
  /* Drawer never shows on desktop even if the body class lingers. */
  .nav-toggle, .mobile-nav, .mobile-overlay { display: none !important; }
}

/* ── Buttons (pill style) ─────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary { background: var(--text); color: #fff; }
.btn.primary:hover { background: var(--green); border-color: var(--green); }

.btn.ghost { background: #fff; }
.btn.ghost:hover { background: var(--text); color: #fff; }

.btn .arrow {
  width: 14px; height: 14px;
  display: inline-block;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lang-link:hover {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: 0;
  border-bottom: 1px solid var(--border-hair);
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-tag::before {
  content: '';
  width: 13px; height: 8px;
  background: var(--green);
  -webkit-mask: var(--chevron) center / contain no-repeat;
          mask: var(--chevron) center / contain no-repeat;
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.8vw, 92px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: clamp(36px, 6vw, 72px);
  max-width: 20ch;
  color: var(--text);
}

.hero h1 .grn { color: var(--green); }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border-hair);
}

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

.hero-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) { .hero-cta { justify-content: flex-start; } }

/* ── Marquee (categories ticker) ──────────────────────────── */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  padding: 18px 0;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.marquee-inner {
  display: inline-block;
  animation: marquee var(--marquee-dur, 60s) linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  will-change: transform;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-right: 64px;
}

.marquee-inner span::before {
  content: '';
  width: 12px; height: 7px;
  background: var(--green);
  -webkit-mask: var(--chevron) center / contain no-repeat;
          mask: var(--chevron) center / contain no-repeat;
  display: inline-block;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section heading pattern ───────────────────────────────── */

.h2-big {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 24ch;
}

.h2-big .grn { color: var(--green); }
.h2-big .gld { color: var(--gold); }
.h2-big .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

.sec-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: clamp(56px, 7vw, 96px);
}

/* ── Numbered feature cards (01/02/03 big) ────────────────── */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

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

.feat {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.25s ease, border-color 0.25s ease;
}
.feat:hover { box-shadow: var(--shadow-card-hover); z-index: 2; }

/* ── Bento layout for /03 Platform engines ────────────────── */
.feat-grid.bento {
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "a a b"
    "c d b"
    "e e f";
}
.feat-grid.bento .bento-a { grid-area: a; }
.feat-grid.bento .bento-b { grid-area: b; }
.feat-grid.bento .bento-c { grid-area: c; }
.feat-grid.bento .bento-d { grid-area: d; }
.feat-grid.bento .bento-e { grid-area: e; }
.feat-grid.bento .bento-f { grid-area: f; }

.feat-grid.bento .feat.bento-a,
.feat-grid.bento .feat.bento-e {
  min-height: 320px;
}
.feat-grid.bento .feat.bento-b {
  min-height: 100%;
}

/* Featured (wide) cards get bigger headline + lead-in */
.feat-grid.bento .feat.bento-a h3,
.feat-grid.bento .feat.bento-e h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  max-width: 22ch;
}
.feat-grid.bento .feat.bento-a p,
.feat-grid.bento .feat.bento-e p {
  font-size: 16px;
  max-width: 58ch;
}

@media (max-width: 900px) {
  .feat-grid.bento {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "f";
  }
  .feat-grid.bento .feat { min-height: 280px; }
}

.feat-num {
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green);
  margin-bottom: clamp(56px, 8vw, 96px);
}

.feat:nth-child(2) .feat-num { color: var(--gold); }

.feat h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  max-width: 18ch;
}

.feat p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: auto;
}

.feat-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.feat-foot strong {
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Stat callouts row ─────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}

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

.stat {
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.4vw, 36px);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 8px;
}
.stat:last-child { border-right: none; }

.stat-num {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
}

.stat-num em {
  font-style: normal;
  color: var(--green);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── How it works (numbered steps) ─────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

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

.step {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 2.6vw, 40px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  transition: box-shadow 0.3s ease, background 0.25s ease;
}
.step:hover { box-shadow: var(--shadow-card-hover); z-index: 2; }
.step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.step h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 18ch;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Coverage grid (2-col, content-heavy) ─────────────────── */

.coverage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

@media (max-width: 1000px) { .coverage { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .coverage { grid-template-columns: 1fr; } }

.cov {
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 220px;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  transition: box-shadow 0.3s ease, background 0.25s ease;
}
.cov:hover { box-shadow: var(--shadow-card-hover); z-index: 2; }

.cov-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.cov h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 10px;
  max-width: 18ch;
}

.cov p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── CTA section ───────────────────────────────────────────── */

.cta-block {
  background: var(--text);
  color: #fff;
  padding: clamp(72px, 10vw, 144px) clamp(28px, 4vw, 80px);
  border-radius: 4px;
  text-align: left;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

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

.cta-block h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.cta-block h2 .grn { color: #c5e0d2; }

.cta-block .cta-cta {
  display: flex; gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .cta-block .cta-cta { justify-content: flex-start; } }

.cta-block .btn { border-color: #fff; color: #fff; }
.cta-block .btn:hover { background: #fff; color: var(--text); }
.cta-block .btn.primary { background: #fff; color: var(--text); }
.cta-block .btn.primary:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Contact form ──────────────────────────────────────────── */

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } }

.form-grid { display: grid; gap: 16px; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 2px;
  transition: border-color 0.15s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
}

.field textarea { resize: vertical; min-height: 120px; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.btn-submit {
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
  padding: 0 22px;
  height: 44px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-submit:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  min-height: 16px;
}
.form-status.err { color: var(--danger); }

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--text);
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px) 0;
  background: var(--bg);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}

@media (max-width: 900px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

.foot-brand {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.6;
}

.foot-brand strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

/* Footer column "labels" — semantic role removed (was an h-tag, but
 * heading-order rejected it as a skip from the prior h2). Now styled
 * as a non-heading label so doc heading order stays clean. */
.foot-col p.foot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.foot-col a {
  display: block;
  color: var(--text-muted);
  padding: 5px 0;
  font-size: 14px;
  transition: color 0.15s ease;
}
.foot-col a:hover { color: var(--green); }

.foot-bot {
  border-top: 1px solid var(--border-hair);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Animations ────────────────────────────────────────────── */

/* Page-load stagger for hero (lede / cta only — h1 uses per-letter) */
.hero-tag, .hero-lede, .hero-cta {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-tag  { animation-delay: 0.05s; }
.hero-lede { animation-delay: 0.65s; }
.hero-cta  { animation-delay: 0.8s; }

/* Fallback hero h1 fade-up when JS doesn't run / reduced motion */
.hero h1 {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.25s cubic-bezier(0.22, 0.61, 0.36, 1) 0.18s forwards;
}
.hero h1.letters-on {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Per-letter entrance — applied when JS wraps each char.
 * .word wrapper keeps the whole word on one line so letters animate
 * without browsers breaking the word at any letter boundary. */
.hero h1 .word {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: letter-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes letter-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal — sections + cards fade-in-up when entering viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Per-child stagger inside grids */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.27s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.49s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }

/* Stat counter — slight pulse when count finishes */
.stat-num.counted em {
  animation: count-glow 0.6s ease;
}
@keyframes count-glow {
  0%   { color: var(--green); transform: scale(1); }
  40%  { color: var(--green); transform: scale(1.04); }
  100% { color: var(--green); transform: scale(1); }
}

/* Nav link underline reveal */
.nav-main a {
  position: relative;
  padding-bottom: 4px;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-main a:hover::after { width: 100%; }

/* Card hover lift (overrides earlier transform) */
.feat {
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.25s ease,
    background 0.25s ease;
}
.feat:hover {
  transform: translateY(-4px);
  background: #F4F6F2;
}
.feat:hover .feat-num {
  transform: translateX(4px);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cov {
  transition: background 0.25s ease, border-color 0.25s ease;
}
.cov:hover { background: #F4F6F2; }
.cov:hover .cov-tag { color: var(--gold); }

/* Step hover marker */
.step { transition: background 0.25s ease; }
.step:hover { background: #F4F6F2; }
.step:hover .step-num { color: var(--gold); transition: color 0.25s ease; }

/* Marquee — pause on hover so reader can scan */
.marquee:hover .marquee-inner { animation-play-state: paused; }

/* Arrow icon — micro-float on button hover */
.btn:hover .arrow,
.btn-submit:hover .arrow {
  transform: translate(2px, -2px);
  transition: transform 0.2s ease;
}
.btn .arrow, .btn-submit .arrow { transition: transform 0.2s ease; }

/* Hero h1 — green clause uses solid colour so letter-wrap children
 * keep colour. (background-clip:text broke when letters were nested
 * because the gradient sat only on the parent and children inherited
 * the transparent colour without the background.) */
.hero h1 .grn {
  color: var(--green);
}

/* Subtle blink cursor at end of hero (signals "system online") */
.hero-tag::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--green);
  margin-left: 2px;
  animation: blink 1.2s steps(2) infinite;
  vertical-align: middle;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ── Cursor spotlight (hero) ──────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at var(--mx, 50%) var(--my, 35%),
    rgba(14, 59, 46, 0.10),
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero.spot-on::before { opacity: 1; }
.hero > .container { position: relative; z-index: 1; }

/* ── Card hover spotlight ─────────────────────────────────── */

.feat, .cov, .step {
  position: relative;
  overflow: hidden;
}
.feat::before, .cov::before, .step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(14, 59, 46, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.feat:hover::before, .cov:hover::before, .step:hover::before { opacity: 1; }
.feat > *, .cov > *, .step > * { position: relative; z-index: 1; }

/* ── Status pill (header) ─────────────────────────────────── */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 1100px) { .status-pill { display: none; } }

.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  position: relative;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 59, 46, 0.45); opacity: 1; }
  60%     { box-shadow: 0 0 0 7px rgba(14, 59, 46, 0); opacity: 0.7; }
}

/* ── Live decision ticker ─────────────────────────────────── */

.live-ticker {
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
  padding: 14px 0;
  background: var(--bg-soft);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.live-ticker .container {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.lt-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}
.lt-feed {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 18px;
  mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 60px), transparent);
}
.lt-line {
  position: absolute;
  left: 0; top: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.lt-line.is-show { opacity: 1; transform: translateY(0); }
.lt-line.is-out  { opacity: 0; transform: translateY(-10px); }
.lt-line .lt-time { color: var(--text-muted); }
.lt-line .lt-ev   { color: var(--text); }
.lt-line .lt-res  { color: var(--green); font-weight: 600; }

/* ── Product mockup (browser-framed dashboard preview) ──── */

.product-preview {
  padding: clamp(96px, 14vw, 200px) 0 0 0;
  background: var(--bg-soft);
  position: relative;
}

.product-preview .sec-sub { margin-bottom: clamp(56px, 7vw, 96px); }

.mockup-frame {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(10,10,10,0.04),
    0 24px 60px -20px rgba(10,10,10,0.18),
    0 60px 120px -40px rgba(10,10,10,0.12);
  overflow: hidden;
  border: 1px solid var(--border-hair);
  transform: translateY(40px);
}

.mockup-chrome {
  background: #EEF0EA;
  border-bottom: 1px solid var(--border-hair);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-chrome .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-chrome .dot:nth-child(1) { background: #ff5f56; }
.mockup-chrome .dot:nth-child(2) { background: #ffbd2e; }
.mockup-chrome .dot:nth-child(3) { background: #27c93f; }
.mockup-chrome-url {
  margin-left: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  padding: 5px 14px;
  background: #fff;
  border: 1px solid var(--border-hair);
  border-radius: 4px;
  flex: 1;
  max-width: 360px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}

/* Mockup styled to read as the real product admin UI: evergreen sidebar,
   Hanken Grotesk + Space Mono, rounded cards, semantic status colours. */
.mockup-side {
  background: var(--green);
  padding: 18px 12px;
  font-family: 'Hanken Grotesk', var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}
.mockup-side .brand {
  font-family: 'Hanken Grotesk', var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  font-size: 16px;
  padding: 2px 10px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-side .brand::before {
  content: '';
  width: 15px; height: 9px;
  background: #fff;
  -webkit-mask: var(--chevron) center / contain no-repeat;
          mask: var(--chevron) center / contain no-repeat;
  display: inline-block;
}
.mockup-side-group-label {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  padding: 14px 10px 6px 10px;
}
.mockup-side-item {
  padding: 8px 10px;
  margin: 1px 0;
  border-radius: 7px;
  color: rgba(255,255,255,0.66);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-side-item.active {
  color: #fff;
  background: rgba(255,255,255,0.10);
}
.mockup-side-item .bullet {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  display: inline-block;
}
.mockup-side-item.active .bullet { background: #fff; }

.mockup-main { padding: 24px 28px; background: var(--bg-soft); }

.mockup-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}
.mockup-h h3 {
  font-family: 'Hanken Grotesk', var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.mockup-h .pill {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.mockup-h .pill .live-dot {
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.mockup-statrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.mockup-stat-cell {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.mockup-stat-cell .lbl {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mockup-stat-cell .val {
  font-family: 'Hanken Grotesk', var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mockup-stat-cell .delta {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 10px;
  color: var(--success);
}
.mockup-stat-cell .delta.down { color: var(--danger); }

.mockup-chart {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 8px 16px;
  margin-bottom: 22px;
}
.mockup-chart-h {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.mockup-chart-svg {
  width: 100%;
  height: 80px;
  display: block;
}
.mockup-chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mockup-chart-area { fill: rgba(14,59,46,0.07); }

.mockup-feed-h {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.mockup-feed {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-feed-row {
  display: grid;
  grid-template-columns: 64px 1fr 120px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-hair);
  gap: 12px;
}
.mockup-feed-row:last-child { border-bottom: none; }
.mockup-feed-row .t { color: var(--text-faint); }
.mockup-feed-row .ev { color: var(--text); }
.mockup-feed-row .r { color: var(--success); font-weight: 600; text-align: right; }
.mockup-feed-row .r.blocked { color: var(--danger); }
.mockup-feed-row .r.queued { color: var(--warn); }

@media (max-width: 800px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
  .mockup-statrow { grid-template-columns: 1fr 1fr; }
  .mockup-feed-row { grid-template-columns: 50px 1fr 80px; font-size: 11px; }
}

/* ── Side scroll indicator (anchor progress) ─────────────── */

.scroll-nav {
  position: fixed;
  top: 50%;
  right: clamp(12px, 2vw, 28px);
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scroll-nav.is-visible { opacity: 1; }

.scroll-nav a {
  width: 10px;
  height: 10px;
  border: 1px solid var(--text-faint);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.scroll-nav a:hover { transform: scale(1.3); border-color: var(--green); }
.scroll-nav a.is-active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.2);
}
.scroll-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--text);
  color: #fff;
  padding: 4px 9px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-nav a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

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

/* ── Big number section (full-bleed dark moment) ─────────── */

.big-number {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(96px, 16vw, 200px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245,243,237,0.025) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
}
.big-number .container { position: relative; z-index: 1; }

.big-number-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.5);
  margin-bottom: clamp(32px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.big-number-tag::before {
  content: '';
  width: 13px; height: 8px;
  background: var(--green);
  -webkit-mask: var(--chevron) center / contain no-repeat;
          mask: var(--chevron) center / contain no-repeat;
  display: inline-block;
}

.big-number-num {
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--text-on-dark);
  display: inline-block;
}
.big-number-num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green-pale);
  margin-left: -0.05em;
}

.big-number-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.big-number-sub .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green-pale);
}

.big-number-foot {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.4);
  margin-top: clamp(40px, 5vw, 72px);
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.big-number-foot strong { color: rgba(245, 243, 237, 0.75); font-weight: 500; }

/* ── Hero dynamic background graph ───────────────────────── */

.hero-graph {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: rise 1.4s ease 0.6s forwards;
}

.hero-graph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero-graph-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

.hero-graph-area {
  opacity: 0.85;
}

.hero-graph-tip {
  fill: var(--green);
  r: 5;
  filter: drop-shadow(0 0 8px rgba(14, 59, 46, 0.6));
}

.hero-graph-label {
  position: absolute;
  bottom: clamp(24px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: right;
  line-height: 1.4;
}
.hero-graph-label strong {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  text-transform: none;
  margin-top: 4px;
}
.hero-graph-label .arrow-up {
  color: var(--green);
  margin-left: 4px;
  font-size: 18px;
}

@media (max-width: 700px) {
  .hero-graph-label { display: none; }
  .hero-graph-line { opacity: 0.4; }
}

/* ── Hero particle network canvas ─────────────────────────── */

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
}

/* ── Flow diagram in /02 How it works ─────────────────────── */

.flow-diagram {
  margin-bottom: clamp(48px, 6vw, 80px);
  border: 1px solid var(--border-hair);
  background: #fff;
  padding: clamp(20px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.flow-diagram-svg {
  width: 100%;
  height: auto;
  max-height: 240px;
  display: block;
}
.flow-box-bg { fill: #fff; stroke: var(--text); stroke-width: 1; }
.flow-box-truatos { fill: var(--text); }
.flow-line { stroke: var(--text); stroke-width: 1; fill: none; opacity: 0.4; }
.flow-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; fill: var(--text); }
.flow-text-mono-sm { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; fill: var(--text-faint); }
.flow-text-tr { font-family: var(--font-sans); font-size: 14px; font-weight: 600; fill: #fff; letter-spacing: -0.01em; }
.flow-text-tr-sm { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; fill: rgba(255,255,255,0.7); }
.flow-pulse { fill: var(--green); }

.flow-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Stat number subtle ticker on hover ──────────────────── */

.stat:hover .stat-num em {
  animation: stat-jitter 0.5s ease;
}
@keyframes stat-jitter {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-2px); }
  60% { transform: translateY(1px); }
}

/* ════════════════════════════════════════════════════════════
   USE-CASE PAGES — nav dropdown, sub-page hero, demo visuals
   All built on the same vocabulary as the landing: forest-green
   accent, mono labels, graph-paper grid, reveal animations.
   ════════════════════════════════════════════════════════════ */

/* ── Header nav dropdown (Use cases ▾) ───────────────────── */
.nav-main .has-dropdown { position: relative; }

.nav-main .dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-main .dd-trigger .caret {
  width: 9px; height: 9px;
  transition: transform 0.25s ease;
}
.nav-main .has-dropdown:hover .dd-trigger .caret,
.nav-main .has-dropdown:focus-within .dd-trigger .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-card-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22,0.61,0.36,1), visibility 0.2s;
  z-index: 60;
}
/* Hover bridge so the cursor can travel into the menu without a gap. */
.nav-main .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 16px;
}
.nav-main .has-dropdown:hover .dropdown,
.nav-main .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}

.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.dd-item:hover { background: var(--bg-soft); }
.dd-item .dd-mark {
  width: 8px; height: 8px;
  background: var(--green);
  margin-top: 5px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.dd-item:hover .dd-mark { transform: rotate(45deg); }
.dd-item .dd-txt { display: flex; flex-direction: column; gap: 2px; }
.dd-item .dd-title { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.dd-item .dd-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.dd-foot {
  margin-top: 4px;
  border-top: 1px solid var(--border-hair);
  padding: 11px 12px 4px;
}
.dd-foot a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dd-foot a:hover { color: var(--green-soft); }

/* Mobile: dropdown is hidden with the rest of nav-main; the use-case
 * links live in the footer + hub page, so no separate mobile menu needed. */

/* ── Sub-page hero (two-column: copy + live visual) ──────── */
.uc-hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: 0;
  border-bottom: 1px solid var(--border-hair);
  position: relative;
  overflow: hidden;
}
.uc-hero .container { position: relative; z-index: 1; }

.uc-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(24px, 4vw, 44px);
  display: flex;
  align-items: center;
  gap: 9px;
}
.uc-breadcrumb a { color: var(--text-muted); transition: color 0.15s ease; }
.uc-breadcrumb a:hover { color: var(--green); }
.uc-breadcrumb .sep { color: var(--border); }

.uc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-bottom: clamp(48px, 7vw, 96px);
}
@media (max-width: 940px) { .uc-hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.uc-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: clamp(20px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.uc-eyebrow::before {
  content: '';
  width: 13px; height: 8px;
  background: var(--green);
  -webkit-mask: var(--chevron) center / contain no-repeat;
          mask: var(--chevron) center / contain no-repeat;
  display: inline-block;
}

.uc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: clamp(20px, 3vw, 32px);
  max-width: 16ch;
  color: var(--text);
}
.uc-hero h1 .grn { color: var(--green); }
.uc-hero h1 .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.uc-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.uc-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.uc-hero-cta .note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ── Hero visual panel (framed live demo) ────────────────── */
.uc-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  min-height: 320px;
}
.uc-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.uc-visual > * { position: relative; z-index: 1; }
.uc-visual-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.uc-visual-label .live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }

/* ── Win gauge (chargeback) ──────────────────────────────── */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 4px; }
.gauge { position: relative; width: clamp(180px, 22vw, 240px); height: clamp(96px, 12vw, 128px); }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge-track { fill: none; stroke: var(--border); stroke-width: 14; stroke-linecap: round; }
.gauge-fill {
  fill: none; stroke: var(--green); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: var(--gauge-len, 251);
  stroke-dashoffset: var(--gauge-len, 251);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22,0.61,0.36,1);
}
.gauge.is-in .gauge-fill { stroke-dashoffset: var(--gauge-off, 38); }
.gauge-val {
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.gauge-val em { font-style: normal; color: var(--green); font-size: 0.5em; }
.gauge-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
}

/* ── AI scan strip (chargeback hero) ─────────────────────── */
/* Shows the platform reading every company system before it scores the
 * dispute. Source chips light up in sequence and a beam sweeps across,
 * so the 85% gauge below reads as the output of that scan, not a guess. */
.uc-scan { margin: 2px 0 16px; }
.uc-scan-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.uc-scan-spark {
  width: 14px; height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.uc-scan-spark::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: scan-ping 1.8s ease-out infinite;
}
@keyframes scan-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}
.uc-scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
}
.uc-scan-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.uc-scan-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* Each chip flips to "scanned" in sequence once the panel scrolls in. */
.uc-visual.is-in .uc-scan-chip {
  animation: chip-scan 0.5s cubic-bezier(0.22,0.61,0.36,1) forwards;
  animation-delay: calc(var(--i, 0) * 0.18s);
}
@keyframes chip-scan {
  0%   { border-color: var(--border); }
  40%  { border-color: var(--green); background: rgba(14,59,46,0.06); }
  100% { border-color: var(--green-pale); color: var(--text); }
}
.uc-visual.is-in .uc-scan-chip::before {
  animation: chip-dot 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.18s);
}
@keyframes chip-dot {
  to { background: var(--green); box-shadow: 0 0 0 3px rgba(14,59,46,0.12); }
}
/* Sweep beam that travels down the grid while it scans. */
.uc-scan-beam {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  pointer-events: none;
}
.uc-visual.is-in .uc-scan-beam {
  animation: scan-beam 1.5s cubic-bezier(0.4,0,0.2,1) 0.1s 2;
}
@keyframes scan-beam {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(120px); }
}

/* ── Evidence checklist (chargeback) ─────────────────────── */
.ev-list { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.ev-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-hair);
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  transform: translateX(-8px);
}
.ev-row:last-child { border-bottom: none; }
.uc-visual.is-in .ev-row { animation: ev-in 0.5s cubic-bezier(0.22,0.61,0.36,1) forwards; }
.uc-visual.is-in .ev-row:nth-child(1) { animation-delay: 0.15s; }
.uc-visual.is-in .ev-row:nth-child(2) { animation-delay: 0.40s; }
.uc-visual.is-in .ev-row:nth-child(3) { animation-delay: 0.65s; }
.uc-visual.is-in .ev-row:nth-child(4) { animation-delay: 0.90s; }
.uc-visual.is-in .ev-row:nth-child(5) { animation-delay: 1.15s; }
@keyframes ev-in { to { opacity: 1; transform: translateX(0); } }
.ev-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ev-check svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.4; fill: none; }
.ev-row .ev-meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }

/* ── Phone mock (payment links) ──────────────────────────── */
.phone-mock {
  width: clamp(190px, 24vw, 230px);
  margin: 4px auto 0;
  background: var(--bg-dark);
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 18px 40px -16px rgba(10,10,10,0.4);
}
.phone-screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.phone-bar {
  background: #25d366;
  color: #fff;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.phone-bar .av { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; background: #ece5dd; flex: 1; }
.chat-bubble {
  background: #fff;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  max-width: 92%;
  box-shadow: 0 1px 1px rgba(10,10,10,0.06);
  opacity: 0;
  transform: translateY(10px);
}
.chat-bubble.out { align-self: flex-end; background: #d9fdd3; }
.uc-visual.is-in .chat-bubble { animation: rise 0.55s cubic-bezier(0.22,0.61,0.36,1) forwards; }
.uc-visual.is-in .chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.uc-visual.is-in .chat-bubble:nth-child(2) { animation-delay: 0.7s; }
.uc-visual.is-in .chat-bubble:nth-child(3) { animation-delay: 1.2s; }
.pay-link-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
}
.pay-link-card .plc-top { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; }
.pay-link-card .plc-top .brand-mark { width: 13px; height: 8px; background: var(--green); -webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat; }
.pay-link-card .plc-amt { font-family: 'Hanken Grotesk', var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.pay-link-card .plc-btn {
  background: var(--green); color: #fff;
  text-align: center; font-size: 11px; font-weight: 600;
  padding: 7px; border-radius: 6px; margin-top: 2px;
}

/* ── Fraud split (pre / post payment) ────────────────────── */
.fraud-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
@media (max-width: 460px) { .fraud-split { grid-template-columns: 1fr; } }
.fraud-col {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px;
  background: #fff;
}
.fraud-col .fraud-col-h {
  font-family: 'Space Mono', var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.fraud-sig {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; padding: 6px 0;
  border-bottom: 1px solid var(--border-hair);
  opacity: 0; transform: translateY(6px);
}
.fraud-sig:last-child { border-bottom: none; }
.uc-visual.is-in .fraud-sig { animation: rise 0.5s cubic-bezier(0.22,0.61,0.36,1) forwards; }
.uc-visual.is-in .fraud-col:nth-child(1) .fraud-sig:nth-child(2){animation-delay:.2s}
.uc-visual.is-in .fraud-col:nth-child(1) .fraud-sig:nth-child(3){animation-delay:.35s}
.uc-visual.is-in .fraud-col:nth-child(1) .fraud-sig:nth-child(4){animation-delay:.5s}
.uc-visual.is-in .fraud-col:nth-child(2) .fraud-sig:nth-child(2){animation-delay:.45s}
.uc-visual.is-in .fraud-col:nth-child(2) .fraud-sig:nth-child(3){animation-delay:.6s}
.uc-visual.is-in .fraud-col:nth-child(2) .fraud-sig:nth-child(4){animation-delay:.75s}
.fraud-sig .tag { font-family: 'Space Mono', var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.fraud-sig .tag.pass { color: var(--success); background: var(--success-bg); }
.fraud-sig .tag.block { color: var(--danger); background: var(--danger-bg); }
.fraud-sig .tag.review { color: var(--warn); background: var(--warn-bg); }

/* ── Code → checkout (vibe coding) ───────────────────────── */
.code-flow { display: grid; grid-template-columns: 1fr; gap: 12px; }
.code-block {
  background: var(--bg-dark);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: #cfe6da;
  overflow-x: auto;
}
.code-block .ln { display: block; white-space: pre; opacity: 0; transform: translateY(5px); }
.uc-visual.is-in .code-block .ln { animation: rise 0.4s ease forwards; }
.uc-visual.is-in .code-block .ln:nth-child(1){animation-delay:.15s}
.uc-visual.is-in .code-block .ln:nth-child(2){animation-delay:.3s}
.uc-visual.is-in .code-block .ln:nth-child(3){animation-delay:.45s}
.uc-visual.is-in .code-block .ln:nth-child(4){animation-delay:.6s}
.uc-visual.is-in .code-block .ln:nth-child(5){animation-delay:.75s}
.code-block .tok-key { color: #7fd1aa; }
.code-block .tok-str { color: #e6c98a; }
.code-block .tok-fn { color: #9ecbff; }
.code-block .tok-com { color: #5f7a6e; }
.code-arrow { text-align: center; color: var(--green); font-size: 18px; line-height: 1; }
.code-out {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 11px;
}
.code-out .co-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.code-out .co-txt { display: flex; flex-direction: column; gap: 1px; }
.code-out .co-t1 { font-size: 13px; font-weight: 600; }
.code-out .co-t2 { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.code-out .co-go { margin-left: auto; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }

/* ── Workflow DAG (orchestration) ────────────────────────── */
.dag { width: 100%; }
.dag svg { width: 100%; height: auto; overflow: visible; }
.dag-node { fill: #fff; stroke: var(--text); stroke-width: 1; }
.dag-node.brain { fill: var(--text); }
.dag-line { stroke: var(--text); stroke-width: 1; fill: none; opacity: 0.35; }
.dag-txt { font-family: var(--font-mono); font-size: 10px; fill: var(--text); letter-spacing: 0.04em; }
.dag-txt.on { fill: #fff; }
.dag-pulse { fill: var(--green); }

/* ── Cost / problem band (red-tinted stat strip) ─────────── */
.uc-cost {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
@media (max-width: 760px) { .uc-cost { grid-template-columns: 1fr; } }
.uc-cost-cell {
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.4vw, 36px);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.uc-cost-cell:last-child { border-right: none; }
.uc-cost-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--danger);
}
.uc-cost-num em { font-style: normal; }
.uc-cost-lbl {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.uc-cost-src {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Two-column "how Truatos does it" with sticky visual ── */
.uc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 940px) { .uc-split { grid-template-columns: 1fr; gap: 40px; } }
.uc-split-list { display: flex; flex-direction: column; }
.uc-point {
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 18px;
}
.uc-point:first-child { padding-top: 0; }
.uc-point:last-child { border-bottom: none; }
.uc-point .pt-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 28px;
}
.uc-point h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.uc-point p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ── Cross-link cards (other use cases) ──────────────────── */
.uc-cross {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 900px) { .uc-cross { grid-template-columns: 1fr; } }
.uc-cross-card {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; flex-direction: column;
  min-height: 200px;
  transition: background 0.25s ease, box-shadow 0.3s ease;
}
.uc-cross-card:hover { background: #F4F6F2; box-shadow: var(--shadow-card-hover); z-index: 2; }
.uc-cross-card .xc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.uc-cross-card h3 {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.uc-cross-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin-bottom: 18px; }
.uc-cross-card .xc-go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 7px;
}
.uc-cross-card:hover .xc-go { color: var(--green); }
.uc-cross-card .xc-go svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.uc-cross-card:hover .xc-go svg { transform: translate(2px,-2px); }

/* ── Hub grid (use-cases index) ──────────────────────────── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 800px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; flex-direction: column;
  min-height: 300px;
  transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22,0.61,0.36,1);
  position: relative; overflow: hidden;
}
.hub-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(280px circle at var(--mx,50%) var(--my,50%), rgba(14,59,46,0.07), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.hub-card:hover::before { opacity: 1; }
.hub-card:hover { background: #F4F6F2; box-shadow: var(--shadow-card-hover); transform: translateY(-3px); z-index: 2; }
.hub-card > * { position: relative; z-index: 1; }
.hub-card .hub-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.hub-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 18ch;
}
.hub-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; max-width: 46ch; }
.hub-card .hub-go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.hub-card:hover .hub-go { color: var(--green); }
.hub-card .hub-go svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.hub-card:hover .hub-go svg { transform: translate(3px,-3px); }

/* Full-row outcome label inside the hub grid (groups the use-case cards) */
.hub-grid .hub-group {
  grid-column: 1 / -1;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px clamp(28px, 3vw, 48px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hub-grid .hub-group::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  display: inline-block;
}

/* ── Inline mini-CTA inside content sections ─────────────── */
.uc-inline-cta {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-tag, .hero h1, .hero-lede, .hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .marquee-inner { animation: none; }
  .hero-tag::after { animation: none; }
  .hero::before, .feat::before, .cov::before, .step::before { display: none; }
  .live-dot { animation: none; box-shadow: none; }
  .lt-line { transition: none; }
  .stat:hover .stat-num em { animation: none; }
  .hero h1 .letter { opacity: 1; transform: none; animation: none; }
  .hero-particles, .hero-graph { display: none; }
  .flow-pulse { display: none; }
  /* Use-case visuals: show final state, no entrance motion */
  .ev-row, .chat-bubble, .fraud-sig, .code-block .ln { opacity: 1 !important; transform: none !important; animation: none !important; }
  .gauge-fill { transition: none; stroke-dashoffset: var(--gauge-off, 38); }
  .dag-pulse { display: none; }
  .hub-card::before { display: none; }
  /* AI scan strip: show the scanned end-state, no sweep or sequence. */
  .uc-scan-chip { animation: none !important; border-color: var(--green-pale); color: var(--text); }
  .uc-scan-chip::before { animation: none !important; background: var(--green); }
  .uc-scan-spark::after { animation: none; }
  .uc-scan-beam { display: none; }
  .faq-item summary { transition: none; }
}

/* ── FAQ accordion (rendered from FAQPage JSON-LD by the build) ──── */
.faq-section { padding-top: clamp(64px, 9vw, 120px); }
.faq-list {
  border-top: 1px solid var(--border);
  max-width: 860px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 28px) 4px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-mark {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-mark::before, .faq-mark::after {
  content: '';
  position: absolute;
  background: var(--green);
  transition: transform 0.25s cubic-bezier(0.22,0.61,0.36,1), opacity 0.25s ease;
}
.faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-mark::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  padding: 0 4px clamp(20px, 2.6vw, 28px);
  max-width: 70ch;
}
.faq-a p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
