/* CDS Vision — production stylesheet (Blend theme) */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@1,400;1,500&display=swap");

:root {
  --bg-page:          #faf9f5;
  --bg-soft:          #f3ede2;
  --bg-card:          #efe9de;
  --bg-strong:        #e8e0d2;
  --bg-dark:          #0f1a26;
  --bg-dark-elev:     #1a2738;
  --bg-dark-soft:     #0a121d;

  --hairline:         #e6dfd8;
  --hairline-soft:    #ebe6df;
  --hairline-dark:    #1f2c3e;

  --ink:              #141413;
  --body:             #3d3d3a;
  --body-strong:      #1f1f1d;
  --muted:            #6c6a64;
  --muted-soft:       #8e8b82;
  --on-dark:          #faf9f5;
  --on-dark-soft:     #a6aab2;

  --accent:           #cc785c;
  --accent-press:     #a9583e;
  --accent-on:        #ffffff;
  --accent-teal:      #5db8a6;
  --accent-amber:     #e8a23c;
  --success:          #5db872;

  --font-display:     "Fraunces", "Tiempos Headline", Garamond, serif;
  --font-body:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:        "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-emphasis:    "Playfair Display", "Fraunces", serif;
  --emphasis-italic:  italic;
  --emphasis-color:   var(--accent);

  --h1-size: 66px; --h1-track: -1.8px; --h1-lead: 1.03; --h1-weight: 400;
  --h2-size: 48px; --h2-track: -1.2px; --h2-lead: 1.08; --h2-weight: 400;
  --h3-size: 32px; --h3-track: -0.6px; --h3-lead: 1.18; --h3-weight: 400;
  --h4-size: 22px; --h4-track: -0.2px; --h4-lead: 1.3;  --h4-weight: 500;

  --radius-btn:    9999px;
  --radius-card:   14px;
  --radius-pill:   9999px;
  --radius-mockup: 14px;

  --btn-glow:        0 0 0 4px rgba(204,120,92,0.14), 0 8px 22px rgba(204,120,92,0.22);
  --btn-press-glow:  0 0 0 4px rgba(204,120,92,0.22), 0 4px 12px rgba(204,120,92,0.28);
  --eyebrow-prefix:  "— ";
  --eyebrow-color:   var(--accent);
  --eyebrow-track:   2.4px;

  --pattern-dark:    repeating-linear-gradient(0deg, rgba(245,241,234,0.045) 0 1px, transparent 1px 40px),
                     repeating-linear-gradient(90deg, rgba(245,241,234,0.045) 0 1px, transparent 1px 40px);

  --section-pad:     100px;
}

/* ---------- Base ---------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-page); color: var(--body); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body { font-size: 16px; line-height: 1.55; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ---------- Type ---------------------------------------------------- */
h1, .h1 { font-family: var(--font-display); font-weight: var(--h1-weight); font-size: var(--h1-size); letter-spacing: var(--h1-track); line-height: var(--h1-lead); color: var(--ink); text-wrap: balance; }
h2, .h2 { font-family: var(--font-display); font-weight: var(--h2-weight); font-size: var(--h2-size); letter-spacing: var(--h2-track); line-height: var(--h2-lead); color: var(--ink); text-wrap: balance; }
h3, .h3 { font-family: var(--font-display); font-weight: var(--h3-weight); font-size: var(--h3-size); letter-spacing: var(--h3-track); line-height: var(--h3-lead); color: var(--ink); }
h4, .h4 { font-family: var(--font-display); font-weight: var(--h4-weight); font-size: var(--h4-size); letter-spacing: var(--h4-track); line-height: var(--h4-lead); color: var(--ink); }
p { font-size: 16px; line-height: 1.6; color: var(--body); }
.lead { font-size: 19px; line-height: 1.55; color: var(--body-strong); max-width: 60ch; }

.emph {
  font-family: var(--font-emphasis);
  font-style: var(--emphasis-italic);
  color: var(--emphasis-color);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.pain {
  font-family: var(--font-emphasis);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--body-strong);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--eyebrow-track);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}
.eyebrow::before { content: var(--eyebrow-prefix); }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark p { color: var(--on-dark); }
.on-dark p { color: var(--on-dark-soft); }
.on-dark .lead { color: var(--on-dark); }
.on-dark .pain { color: var(--on-dark); }

/* ---------- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  height: 46px; padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--accent-on); box-shadow: var(--btn-glow); }
.btn-primary:hover { background: var(--accent-press); box-shadow: var(--btn-press-glow); transform: translateY(-1px); }

.btn-secondary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); box-shadow: var(--btn-glow); }
.btn-secondary:hover { background: var(--accent-press); border-color: var(--accent-press); box-shadow: var(--btn-press-glow); transform: translateY(-1px); }

.on-dark .btn-secondary { color: var(--on-dark); border-color: rgba(245,241,234,0.25); background: rgba(245,241,234,0.04); }
.on-dark .btn-secondary:hover { background: rgba(245,241,234,0.08); border-color: rgba(245,241,234,0.45); }

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  color: var(--accent);
}
.btn-link:hover { text-decoration: underline; }
.on-dark .btn-link { color: var(--accent); }

/* ---------- Nav ----------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-page);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav-inner {
  height: 68px; max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 36px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-brand:hover { text-decoration: none; }
.nav-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.nav-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-mark { display: inline-flex; width: 44px; height: 44px; }
.footer-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-wordmark {
  font-family: var(--font-display); font-size: 19px; letter-spacing: -0.5px;
  color: var(--ink); font-weight: 500;
}

.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--body); position: relative; padding: 6px 0;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); text-decoration: none; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-cta { height: 42px; padding: 0 20px; font-size: 14px; }

.nav-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink);
  padding: 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
}
.nav-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay — appended to <body> to avoid iOS Safari backdrop-filter containment */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: var(--bg-page);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.mobile-overlay.is-open { display: flex; }
.mobile-overlay-links {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
.mobile-overlay-links .nav-link { font-size: 22px; letter-spacing: 0; color: var(--ink); }
.mobile-overlay-links .nav-link.is-active { color: var(--accent); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-badge { display: none; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
}

/* ---------- Marquee ------------------------------------------------- */
.marquee-wrap {
  background: var(--bg-dark);
  color: var(--on-dark-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-dark);
}
.marquee-track {
  display: flex; gap: 48px; padding: 12px 0;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ------------------------------------------------ */
.section { padding: var(--section-pad) 0; position: relative; }
.section-dark {
  background: var(--bg-dark);
  color: var(--on-dark);
  background-image: var(--pattern-dark);
}
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-page); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }

/* ---------- Grids --------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cta-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards --------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--hairline-soft);
}

.card-dark {
  background: var(--bg-dark-elev);
  color: var(--on-dark);
  border-radius: var(--radius-mockup);
  padding: 24px;
}
.card-dark h4, .card-dark h3 { color: var(--on-dark); }

/* Pain-point tile variant */
.tile.tile-pain {
  background: var(--bg-page);
  border-color: var(--hairline);
  padding: 20px 20px 24px;
  gap: 18px;
}
.tile-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-strong);
  border: 1px solid var(--hairline);
  margin-bottom: 4px;
}
.tile-img-photo {
  background: var(--bg-strong);
  padding: 0;
  aspect-ratio: 3 / 2;
  border-color: transparent;
}
.tile-img-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
}
.tile-pain .eyebrow { margin-bottom: 0; }
.tile-pain .tile-body { font-size: 15px; line-height: 1.55; color: var(--body); margin: 0; }
.tile-pain .tile-stat {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 14px;
}
.tile-pain .tile-stat-v {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: -0.8px;
  color: var(--accent); font-weight: 400; line-height: 1;
}
.tile-pain .tile-stat-l {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.tile.tile-pain:hover { border-color: var(--muted-soft); }

.tile {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline-soft);
  padding: 32px;
  display: flex; flex-direction: column;
  height: 100%;
  transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--muted-soft); transform: translateY(-2px); }
.tile .eyebrow { margin-bottom: 16px; }
.tile h3, .tile h4 { margin-bottom: 12px; }
.tile p { margin-bottom: 16px; flex: 1; }
.tile .btn-link { margin-top: auto; align-self: flex-start; }

/* ---------- Stats bar ---------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.on-dark .stats { border-color: var(--hairline-dark); }
.stat { padding: 28px 24px; border-right: 1px solid var(--hairline); }
.on-dark .stat { border-right-color: var(--hairline-dark); }
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 44px; font-weight: var(--h2-weight);
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1;
}
.on-dark .stat-value { color: var(--accent); }
.stat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-top: 12px;
}
.on-dark .stat-label { color: var(--on-dark-soft); }

/* ---------- Hero ---------------------------------------------------- */
.hero { padding: 80px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 28px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Dark mockup window ------------------------------------- */
.mockup {
  background: var(--bg-dark);
  border-radius: var(--radius-mockup);
  padding: 20px;
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
}
.mockup-chrome { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mockup-chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: #3d3d3a; }
.mockup-chrome .label { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-soft); letter-spacing: 0.5px; }
.mockup-pane {
  background: var(--bg-dark-soft);
  border-radius: 10px;
  padding: 20px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
}
.mockup-status {
  display: flex; gap: 18px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--on-dark-soft); letter-spacing: 0.4px;
}
.mockup-status .ok { color: var(--success); }

/* ---------- Callout band ------------------------------------------- */
.callout {
  background: var(--bg-dark);
  color: var(--on-dark);
  border-radius: var(--radius-mockup);
  padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 900px) { .callout { grid-template-columns: 1fr; } }
.callout h2 { color: #fff; }
.callout p { color: rgba(255,255,255,0.92); }

/* ---------- Footer -------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  color: var(--on-dark-soft);
  padding: 72px 0 28px;
  background-image: var(--pattern-dark);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 3fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--hairline-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-lockup { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; color: var(--on-dark); font-weight: 500; letter-spacing: -0.4px; }
.footer-tag { margin-top: 20px; max-width: 320px; font-family: var(--font-emphasis); font-style: italic; color: var(--accent); font-size: 18px; line-height: 1.4; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-col h5 { letter-spacing: 2.4px; font-size: 11px; color: var(--accent); font-family: var(--font-mono); margin-bottom: 16px; text-transform: uppercase; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--on-dark-soft); font-size: 14px; }
.footer-col a:hover { color: var(--on-dark); text-decoration: none; }
.footer-fine {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 24px; font-size: 13px; color: var(--on-dark-soft);
}
.wosb-strip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
  background: rgba(245,241,234,0.03);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.wosb-strip .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cert-logos { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.cert-logo { height: 52px; width: auto; max-width: 120px; object-fit: contain; object-position: center; opacity: 0.9; }

/* ---------- Hero feature row --------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 24px; } }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-strong);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -0.1px; line-height: 1.3; color: var(--ink); margin: 0; }
.feature p { font-size: 13.5px; line-height: 1.45; color: var(--muted); max-width: 22ch; margin: 0; }

/* ---------- Dark hero ---------------------------------------------- */
.hero.hero-dark {
  background: var(--bg-dark);
  color: var(--on-dark);
  background-image: var(--pattern-dark);
  padding: 96px 0 96px;
}
.hero.hero-dark h1 {
  font-family: var(--font-display);
  color: var(--on-dark);
  font-size: clamp(44px, 5.4vw, 68px);
  letter-spacing: -1.6px;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero.hero-dark h1 .emph { font-style: italic; font-weight: 400; color: var(--accent); }
.hero.hero-dark .lead { color: rgba(245,241,234,0.62); font-size: 17px; line-height: 1.6; max-width: 46ch; margin-bottom: 32px; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(245,241,234,0.04);
  border: 1px solid rgba(245,241,234,0.10);
  color: rgba(245,241,234,0.86);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 32px;
}
.eyebrow-pill::before { content: ""; }
.eyebrow-pill .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(93,184,114,0.6);
  animation: feed-pulse 1.8s ease-out infinite;
}

.hero.hero-dark .btn-secondary { color: var(--on-dark); border-color: rgba(245,241,234,0.18); background: transparent; }
.hero.hero-dark .btn-secondary:hover { background: rgba(245,241,234,0.06); border-color: rgba(245,241,234,0.32); }

.hero.hero-dark .mockup {
  background: #0c1014;
  border: 1px solid rgba(245,241,234,0.08);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero.hero-dark .mockup-chrome { margin-bottom: 20px; }
.hero.hero-dark .mockup-chrome .dot { background: #2a2f36; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.metric-tile { background: rgba(245,241,234,0.04); border: 1px solid rgba(245,241,234,0.06); border-radius: 10px; padding: 18px; }
.metric-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,241,234,0.46); margin-bottom: 10px; }
.metric-value { font-family: var(--font-display); font-size: 40px; letter-spacing: -1.4px; line-height: 1; color: var(--on-dark); font-weight: 400; margin-bottom: 14px; }
.metric-of { font-family: var(--font-mono); font-size: 13px; color: rgba(245,241,234,0.4); margin-left: 2px; }
.metric-bar { height: 3px; background: rgba(245,241,234,0.08); border-radius: 99px; overflow: hidden; }
.metric-bar-fill { height: 100%; width: 100%; background: var(--accent); }
.metric-conf { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: rgba(245,241,234,0.7); }
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.hero-log { position: relative; height: 290px; overflow: hidden; background: rgba(245,241,234,0.04); border: 1px solid rgba(245,241,234,0.06); border-radius: 10px; padding: 4px 0; }
.hero-log-track { display: flex; flex-direction: column; animation: hero-feed-scroll 28s linear infinite; }
.hero-log:hover .hero-log-track { animation-play-state: paused; }
.log-row { display: grid; grid-template-columns: 78px 1fr 78px 36px; align-items: center; gap: 14px; padding: 13px 18px; font-family: var(--font-mono); font-size: 12.5px; color: rgba(245,241,234,0.86); }
.log-row + .log-row { border-top: 1px solid rgba(245,241,234,0.04); }
.log-row .t   { color: rgba(245,241,234,0.5); letter-spacing: 0.4px; }
.log-row .op  { color: rgba(245,241,234,0.88); }
.log-row .kw  { color: var(--accent); margin-right: 4px; }
.log-row .qty { color: rgba(245,241,234,0.6); text-align: right; font-size: 12px; }
.log-row .ok  { color: var(--success); text-align: right; }

.hero-feature-row { max-width: none; margin: 36px 0 0; padding-top: 32px; gap: 24px; }
.hero-feature-row .feature p { max-width: 18ch; }
.hero.hero-dark .feature-row { border-top-color: rgba(245,241,234,0.10); }
.hero.hero-dark .feature-icon { background: rgba(245,241,234,0.06); color: var(--on-dark); border: 1px solid rgba(245,241,234,0.06); }
.hero.hero-dark .feature h4 { color: var(--on-dark); }
.hero.hero-dark .feature p  { color: rgba(245,241,234,0.5); }

/* ---------- Product 01 layout -------------------------------------- */
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: stretch; }
@media (max-width: 1024px) { .prod-grid { grid-template-columns: 1fr; align-items: start; } }
.prod-right { position: relative; display: flex; }
.prod-left .eyebrow { font-size: 12px; }
.prod-title { font-family: var(--font-display); font-size: clamp(40px, 4.2vw, 64px); letter-spacing: -1.4px; line-height: 1.02; color: var(--on-dark); margin: 16px 0 18px; font-weight: 500; }
.prod-title .emph { font-family: var(--font-emphasis); font-style: italic; color: var(--accent); font-weight: 400; }
.prod-sub { color: rgba(245,241,234,0.62); font-size: 16px; line-height: 1.6; max-width: 42ch; margin: 0 0 36px; }
.prod-features { list-style: none; display: flex; flex-direction: column; gap: 26px; margin: 0 0 28px; }
.prod-feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.prod-feature-icon { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(204,120,92,0.35); background: rgba(204,120,92,0.06); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prod-feature-icon svg { width: 20px; height: 20px; }
.prod-feature h4 { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: -0.1px; color: var(--on-dark); margin: 4px 0 6px; }
.prod-feature p { font-size: 14px; line-height: 1.5; color: rgba(245,241,234,0.6); margin: 0; max-width: 36ch; }
.prod-callout { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(204,120,92,0.35); border-radius: 10px; background: rgba(204,120,92,0.05); color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1.4; margin-top: 8px; }
.prod-callout svg { width: 20px; height: 20px; flex-shrink: 0; }
.prod-shot { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: 16px; border: 1px solid rgba(245,241,234,0.10); background: rgba(245,241,234,0.02); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.prod-shot-photo { aspect-ratio: auto; flex: 1; min-height: 620px; padding: 0; background: transparent; border: none; border-radius: 0; }
.prod-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-shot-photo img { object-fit: contain; object-position: center; width: 100%; height: 100%; }
.prod-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; padding: 28px 32px; border: 1px solid rgba(245,241,234,0.10); border-radius: 14px; background: rgba(245,241,234,0.02); }
@media (max-width: 900px) { .prod-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.prod-stat { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 0 20px; border-right: 1px solid rgba(245,241,234,0.08); }
.prod-stat:last-child { border-right: none; }
@media (max-width: 900px) { .prod-stat { border-right: none; padding: 0; } }
.prod-stat > svg { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.prod-stat-text h5 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--on-dark); margin: 0 0 4px; font-weight: 600; }
.prod-stat-text p { font-size: 13.5px; color: rgba(245,241,234,0.55); margin: 0; }

/* ---------- Hero feed (scrolling ticker) --------------------------- */
.hero-feed { position: relative; height: 320px; padding: 0 18px; overflow: hidden; }
.hero-feed-head { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--on-dark-soft); z-index: 2; pointer-events: none; background: linear-gradient(180deg, var(--bg-dark-soft) 0, var(--bg-dark-soft) 70%, rgba(10,18,29,0) 100%); }
.hero-feed-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.hero-feed-head .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(204,120,92,0.6); animation: feed-pulse 1.6s ease-out infinite; }
@keyframes feed-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(204,120,92,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(204,120,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(204,120,92,0); }
}
.hero-feed-track { position: absolute; left: 18px; right: 18px; top: 38px; display: flex; flex-direction: column; animation: hero-feed-scroll 28s linear infinite; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 36px), transparent 100%); }
.hero-feed:hover .hero-feed-track { animation-play-state: paused; }
@keyframes hero-feed-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.feed-item { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--hairline-dark); }
.feed-type { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.feed-name { font-family: var(--font-body); font-size: 13px; color: var(--on-dark); line-height: 1.3; }
.feed-name .sub { display: block; color: var(--on-dark-soft); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.4px; margin-top: 3px; }
.feed-status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.6px; color: var(--on-dark-soft); white-space: nowrap; }
.feed-status.ok { color: var(--success); }
.feed-status.live { color: var(--accent); }

/* ---------- Three-step cards --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-card); border-radius: var(--radius-card); border: 1px solid var(--hairline-soft); padding: 32px; position: relative; }
.step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.4px; color: var(--accent); margin-bottom: 18px; }
.step h3 { margin-bottom: 12px; font-size: 26px; }
.step p { color: var(--body); }
.step + .step::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--muted-soft); font-size: 22px; }
.on-dark .step + .step::before { color: var(--on-dark-soft); }
.on-dark .step h3, .on-dark .step h4 { color: var(--ink); }
.on-dark .step p { color: var(--body); }
@media (max-width: 900px) { .step + .step::before { display: none; } }

/* ---------- Pill / chip -------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink); padding: 6px 12px; border-radius: var(--radius-pill); background: var(--bg-strong); }
.chip-coral { background: rgba(204,120,92,0.12); color: var(--accent-press); }

.li-bullet { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 12px; border-radius: 50%; background: var(--accent); color: var(--accent-on); font-size: 12px; line-height: 1; font-weight: 700; vertical-align: -3px; flex-shrink: 0; }

/* ---------- Forms --------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-btn);
  background: var(--bg-page);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204,120,92,0.15);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); padding: 14px 18px 14px 24px; line-height: 1.5; }

/* ---------- Misc ---------------------------------------------------- */
.spacer-sm { height: 24px; }
.spacer-md { height: 40px; }
.spacer-lg { height: 64px; }
.divider { height: 1px; background: var(--hairline); margin: 48px 0; }
.on-dark .divider { background: var(--hairline-dark); }

.dashboard-row { display: grid; grid-template-columns: 110px 1fr 80px 80px; gap: 16px; padding: 12px 0; font-family: var(--font-mono); font-size: 12px; border-bottom: 1px solid var(--hairline-dark); color: var(--on-dark-soft); }
.dashboard-row:last-child { border-bottom: none; }
.dashboard-row .kw { color: var(--accent); }
.dashboard-row .ok { color: var(--success); }
.dashboard-row .v { color: var(--on-dark); }

/* ---------- Mobile -------------------------------------------------- */
@media (max-width: 600px) {
  :root {
    --h1-size: 36px; --h1-track: -1px;
    --h2-size: 28px; --h2-track: -0.6px;
    --h3-size: 22px; --h3-track: -0.3px;
    --section-pad: 56px;
  }
  .container, .container-narrow { padding: 0 20px; }
  .lead { font-size: 16px; }
  .callout { padding: 32px 24px; gap: 24px; }
  .card, .card-dark { padding: 24px 20px; }
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; gap: 24px; }
  .cta-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .spacer-md { height: 24px; }
  .spacer-lg { height: 40px; }
  .section-head { margin-bottom: 36px; }
  .mockup { display: none; }
}

/* ---------- Print --------------------------------------------------- */
@media print { .nav, .footer-cta { display: none !important; } }
