:root {
  --bg: #0a0c11;
  --bg-elevated: #12151d;
  --card: #151924;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #eef1f7;
  --text-dim: #a2a9ba;
  --text-faint: #6b7284;
  --accent-a: #6ee7d8;
  --accent-b: #a78bfa;
  --accent-grad: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-w: 1080px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* Ambient glow background */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(650px circle at 15% 0%, rgba(110, 231, 216, 0.14), transparent 60%),
    radial-gradient(650px circle at 85% 15%, rgba(167, 139, 250, 0.14), transparent 60%),
    var(--bg);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 17, 0.72);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #0a0c11;
  font-size: 0.9rem;
}

.brand-name strong { font-weight: 700; }

.site-nav {
  display: none;
  gap: 28px;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--text); }

.nav-cta { display: none; }

@media (min-width: 760px) {
  .site-nav { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent-grad);
  color: #06110f;
}

.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  border-color: var(--card-border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn-outline:hover { border-color: rgba(255,255,255,0.25); }

.btn-ghost {
  color: var(--text);
  border-color: var(--card-border);
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* ============ HERO ============ */
.hero {
  padding: 72px 20px 56px;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--accent-a);
  font-weight: 600;
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.deck {
  font-size: 1.08rem;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-meta {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 0;
}

/* ============ ARTICLE ============ */
.article { padding-bottom: 40px; }

.article-section {
  padding: 48px 0;
  border-top: 1px solid var(--card-border);
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.article-section p { color: var(--text-dim); }

.section-lead {
  max-width: 62ch;
  margin-bottom: 32px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-family: var(--font-display);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(110, 231, 216, 0.12);
  color: var(--accent-a);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-family: var(--font-display);
}

.steps p { margin: 0; font-size: 0.92rem; }

/* ============ VIDEO (modular placeholder) ============ */
.media-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  margin-bottom: 24px;
}

.media-video iframe,
.media-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(110,231,216,0.10), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(167,139,250,0.10), transparent 55%);
}

.media-placeholder .ph-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.media-placeholder strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.media-placeholder span {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 32ch;
}

/* ============ GALLERY (modular) ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--bg-elevated);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
}

/* ============ QUOTES CAROUSEL (modular) ============ */
.quote-carousel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-slide {
  display: none;
  text-align: center;
}

.quote-slide.active { display: block; }

.quote-slide blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.4;
  color: var(--text);
}

.quote-slide blockquote::before { content: "“"; }
.quote-slide blockquote::after { content: "”"; }

.quote-slide cite {
  font-style: normal;
  color: var(--accent-a);
  font-size: 0.85rem;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--card-border);
  cursor: pointer;
  padding: 0;
}

.quote-dot.active {
  background: var(--accent-grad);
  width: 20px;
  border-radius: 4px;
  transition: width 0.2s ease;
}

/* Closing */
.closing { text-align: left; }
.closing p { max-width: 56ch; margin-bottom: 24px; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0 60px;
}

.footer-inner {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
