/* BrowserAnvil — clean, modern, flat. No shadows, no gradients. */

:root {
  /* Core surfaces — warm, paper-like palette */
  --bg: #fbfaf7;           /* default page background (warm off-white) */
  --bg-soft: #f3f1ec;      /* alternate section bg */
  --bg-tint: #eee9df;      /* accent tinted surface */
  --bg-accent: #fff1ea;    /* soft orange wash */
  --bg-dark: #111418;      /* dark sections */
  --bg-darker: #0a0c0f;    /* footer */

  /* Ink */
  --ink: #14171c;
  --ink-2: #3c4149;
  --muted: #6b7078;
  --on-dark: #e8e9ec;
  --on-dark-muted: #9aa0aa;

  /* Lines */
  --line: #e4e0d7;
  --line-strong: #c9c4b7;
  --line-dark: #23272d;

  /* Accents */
  --accent: #e8482b;        /* forge orange */
  --accent-strong: #c93b1f;
  --accent-ink: #ffffff;
  --accent-soft: #ffe5dc;

  --ok: #1f7a55;
  --warn: #a85a12;

  --maxw: 1180px;
  --radius: 8px;
  --radius-sm: 4px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; color: var(--ink-2); }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
a:hover { border-bottom-color: var(--ink); }

code, pre {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

pre {
  background: var(--bg-dark);
  color: #e6e8ec;
  padding: 22px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  border: 1px solid var(--bg-dark);
}
pre code { background: transparent; border: none; padding: 0; color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .2s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: var(--ink);
  position: relative;
  transform: rotate(0deg);
  transition: transform .4s var(--ease);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--accent);
}
.brand:hover .brand-mark { transform: rotate(45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links button.nav-trigger {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.94rem;
  color: var(--ink-2);
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background .15s var(--ease), color .15s var(--ease);
}

.nav-links a:hover,
.nav-links button.nav-trigger:hover { color: var(--ink); background: var(--bg-soft); }

.nav-trigger .caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform .2s var(--ease);
}
.nav-trigger[aria-expanded="true"] .caret,
li:hover .nav-trigger .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: none;
  color: var(--ink);
  transition: background .12s var(--ease), transform .12s var(--ease);
}
.dropdown a:hover { background: var(--bg-soft); transform: translateX(2px); }

.dropdown a .d-title { font-weight: 500; display: block; font-size: 0.95rem; }
.dropdown a .d-sub { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

.nav-cta { display: flex; gap: 8px; align-items: center; }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
  position: relative;
}
.btn:hover {
  background: #000;
  border-color: #000;
  border-bottom-color: #000;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

/* ---------- Sections — unified color rhythm ---------- */
section {
  padding: 88px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
}
section.tight { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
section.tint { background: var(--bg-tint); }
section.accent { background: var(--bg-accent); }
section.dark {
  background: var(--bg-dark);
  color: var(--on-dark);
  border-color: var(--line-dark);
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: var(--on-dark-muted); }
section.dark a { color: #fff; }
section.dark code { background: #1c2026; border-color: #2a2f36; color: var(--on-dark); }
section.dark .card { background: #1a1d22; border-color: var(--line-dark); color: var(--on-dark); }
section.dark .card h3 { color: #fff; }
section.dark .card p { color: var(--on-dark-muted); }
section.dark .card .tag { color: var(--accent); }
section.dark .list-check li { border-bottom-color: var(--line-dark); color: var(--on-dark-muted); }
section.dark .faq-item { border-bottom-color: var(--line-dark); }
section.dark .faq-item h3 { color: #fff; }

/* Hero */
.hero {
  padding: 104px 0 96px;
  background: var(--bg);
  overflow: hidden;
}
.hero.soft { background: var(--bg-soft); }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--bg-accent);
}
.hero .lead {
  font-size: 1.18rem;
  max-width: 640px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
section.soft .card { background: var(--bg); }
section.tint .card { background: var(--bg); }
section.accent .card { background: var(--bg); }

.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature + .feature { margin-top: 88px; }
.feature .media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 30px;
  text-align: center;
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { border-left: 2px solid var(--accent); padding-left: 20px; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Check list */
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.list-check li:last-child { border-bottom: none; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 14px;
  height: 7px;
  border: 2px solid var(--accent);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

/* Table */
table.pricing {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
table.pricing th, table.pricing td {
  border: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
table.pricing th {
  background: var(--bg-soft);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}
table.pricing tr td:first-child { font-weight: 500; color: var(--ink); }
table.pricing tr:hover td { background: var(--bg-soft); }

/* Pricing cards */
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--ink); }
.plan.featured {
  border-color: var(--ink);
  border-width: 2px;
  background: var(--bg-soft);
}
.plan .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 10px 0 0;
  letter-spacing: -0.02em;
}
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; }
.plan ul li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; color: var(--ink-2); }
.plan ul li:last-child { border-bottom: none; }

/* FAQ (animated) */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .25s var(--ease);
  line-height: 1;
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0 22px;
  color: var(--ink-2);
  animation: fadeInUp .3s var(--ease);
}
/* plain faq fallback */
.faq-item > h3 { margin: 0; padding: 18px 0 8px; font-size: 1.05rem; }
.faq-item > h3 + p { padding-bottom: 18px; }

/* Form */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

/* Footer */
.site-footer {
  background: var(--bg-darker);
  color: var(--on-dark-muted);
  padding: 72px 0 28px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a {
  color: var(--on-dark-muted);
  display: block;
  padding: 5px 0;
  font-size: 0.92rem;
  border: none;
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.site-footer a:hover { color: #fff; transform: translateX(2px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p { color: var(--on-dark-muted); max-width: 320px; font-size: 0.9rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: #fff; }
.footer-brand .brand-mark::after { background: var(--accent); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7078;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Logos */
.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.logos span:hover { color: var(--ink); }

/* Logo wall (real SVG logos from CDN) */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 960px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 92px;
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.logo-cell:hover { color: var(--ink); background: var(--soft); }

.logo-cell img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.logo-cell:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/* Remove right border on last column, bottom border on last row */
.logo-wall .logo-cell:nth-child(6n) { border-right: none; }
@media (max-width: 960px) {
  .logo-wall .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-wall .logo-cell:nth-child(4n) { border-right: none; }
}
@media (max-width: 560px) {
  .logo-wall .logo-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .logo-wall .logo-cell:nth-child(2n) { border-right: none; }
}

/* Quote */
.quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  line-height: 1.4;
  font-weight: 500;
  max-width: 820px;
  color: var(--ink);
  margin: 0 auto 24px;
  text-align: center;
  letter-spacing: -0.015em;
}
.quote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.quote::after { content: "”"; color: var(--accent); margin-left: 4px; }
.quote-author {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
section.dark .quote { color: #fff; }
section.dark .quote-author { color: var(--on-dark-muted); }

/* Callout */
.callout {
  border: 1px solid var(--ink);
  padding: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg);
}
.callout h2 { margin: 0; }
.callout p { margin: 6px 0 0; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); border: none; }
.breadcrumb a:hover { color: var(--ink); }

/* Docs layout */
.docs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.docs-nav {
  position: sticky;
  top: 92px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.docs-nav h4 {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px;
}
.docs-nav ul { list-style: none; padding: 0; margin: 0; }
.docs-nav li a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  border: none;
  color: var(--ink-2);
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.docs-nav li a:hover { color: var(--accent); transform: translateX(2px); }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 2px solid var(--line);
}
.timeline-item { padding: 0 0 32px 20px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--bg);
  border-radius: 50%;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.timeline-item .year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
section.soft .timeline-item::before { border-color: var(--bg-soft); }
section.tint .timeline-item::before { border-color: var(--bg-tint); }

/* Steps (numbered) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  counter-increment: step;
  position: relative;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--accent); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.step h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.94rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Key / Value rows (for use cases) */
.kv {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.kv:last-child { border-bottom: none; }
.kv h3 { margin: 0; font-size: 1.05rem; }
.kv p { margin: 0; }
@media (max-width: 860px) { .kv { grid-template-columns: 1fr; gap: 8px; } }

/* Tabs / pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  color: var(--ink-2);
  background: var(--bg);
  font-family: 'JetBrains Mono', monospace;
}
section.soft .pill { background: var(--bg); }

/* Compare table row highlight */
.compare-highlight { background: var(--bg-accent) !important; }
.compare-highlight td:first-child { color: var(--accent-strong); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulseAccent {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 72, 43, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(232, 72, 43, 0); }
}
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.hero h1, .hero .lead, .hero .eyebrow, .hero .ctas {
  animation: fadeInUp .55s var(--ease) both;
}
.hero .eyebrow { animation-delay: 0s; }
.hero h1       { animation-delay: .08s; }
.hero .lead    { animation-delay: .16s; }
.hero .ctas    { animation-delay: .24s; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* live dot */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  animation: subtleFloat 2s var(--ease) infinite;
  position: relative;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: pulseAccent 2s var(--ease) infinite;
}

/* Mobile nav */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .mobile-toggle { display: inline-block; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 20px;
    animation: fadeInUp .25s var(--ease);
  }
  .nav-links.mobile-open > li { width: 100%; }
  .nav-links.mobile-open .dropdown {
    position: static;
    border: none;
    padding: 0 0 0 14px;
    min-width: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.05rem; }
.eyebrow-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
