:root {
  --bg: #0e1914;
  --bg-soft: #13221b;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef6ef;
  --muted: #b4c7b8;
  --green: #8fe36a;
  --lime: #c9ff9a;
  --gold: #f2bf63;
  --peach: #f7d8a0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(143, 227, 106, 0.12), transparent 25rem),
    radial-gradient(circle at bottom left, rgba(242, 191, 99, 0.12), transparent 28rem),
    linear-gradient(180deg, #102019 0%, #0d1713 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 {
  margin: 0 0 0.75rem;
  line-height: 1.05;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
ul { margin: 1rem 0; padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }

.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading { max-width: 50rem; margin: 0 auto 2.25rem; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.eyebrow {
  margin-bottom: 1rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}
.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 48rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 14, 11, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}
.brand img { width: min(14rem, 40vw); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 160ms ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid,
.media-grid,
.cta-grid,
.two-col,
.showcase-grid { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero-grid.tight { grid-template-columns: 1fr 0.9fr; }
.hero-copy .lede { margin-bottom: 1.5rem; }
.panel-glow {
  position: relative;
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top, rgba(201, 255, 154, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}
.panel-glow img { border-radius: calc(var(--radius) - 6px); width: 100%; }

.button-row,
.cta-actions,
.button-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 160ms ease;
}
.button.primary {
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #112016;
}
.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.button:hover,
.text-link:hover { transform: translateY(-1px); }
.text-link {
  color: var(--lime);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.stats div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.stats strong { display: block; margin-bottom: 0.35rem; }
.stats span { color: var(--muted); font-size: 0.95rem; }

.feature-grid,
.card-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card-grid.six-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card,
.mini-card,
.article-card,
.showcase-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-card,
.mini-card { padding: 1.5rem; }
.mini-card p,
.feature-card p { color: var(--muted); }

.showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase-card { overflow: hidden; }
.showcase-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.showcase-card h3,
.showcase-card p { padding: 0 1.4rem; }
.showcase-card h3 { margin-top: 1.15rem; }
.showcase-card p { color: var(--muted); padding-bottom: 1.4rem; }

.media-grid { grid-template-columns: 0.95fr 1.05fr; align-items: center; }
.cta-band {
  background:
    radial-gradient(circle at left, rgba(242, 191, 99, 0.12), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-grid { grid-template-columns: 1fr auto; align-items: center; }

.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-card-compact .article-card-media img,
.article-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card-body { padding: 1.2rem; }
.article-card-body h3 { margin-bottom: 0.6rem; }
.article-card-body p { color: var(--muted); }
.card-placeholder,
.article-hero-fallback {
  display: grid;
  place-items: center;
  min-height: 18rem;
  background:
    radial-gradient(circle at top, rgba(143, 227, 106, 0.15), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--lime);
  font-weight: 700;
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}
.faq-list details {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq-list details + details { margin-top: 0.9rem; }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin-top: 0.9rem; color: var(--muted); }

.page-main { min-height: 70vh; }
.page-hero {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(143, 227, 106, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.blog-hero,
.press-hero,
.business-hero { overflow: hidden; }

.article-shell { padding-bottom: 3rem; }
.article-hero {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.article-hero-image {
  width: 100%;
  margin-top: 2rem;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-content {
  display: grid;
  grid-template-columns: minmax(0, 52rem);
  justify-content: center;
  padding-top: 2.5rem;
}
.article-prose { font-size: 1.04rem; }
.article-prose p { color: #e7efe8; }
.article-section + .article-section { margin-top: 2.4rem; }
.article-section h2 { margin-bottom: 1rem; }

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 2rem;
}
.footer-logo { width: 7rem; margin-bottom: 1rem; }
.footer-copy,
.site-footer p { color: var(--muted); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}
.footer-links a { color: var(--text); }
.centered-link { margin-top: 2rem; text-align: center; }

@media (max-width: 960px) {
  .hero-grid,
  .media-grid,
  .faq-shell,
  .two-col,
  .cta-grid,
  .showcase-grid,
  .feature-grid,
  .card-grid,
  .article-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .nav-shell { flex-direction: column; align-items: flex-start; padding: 1rem 0; }
  .site-nav { justify-content: flex-start; }
  .section { padding: 4.25rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 1.25rem, 1160px); }
  .button,
  .site-nav a { width: 100%; justify-content: center; }
  .button-row,
  .cta-actions,
  .button-stack { flex-direction: column; }
}
