:root {
  --bg: #f5efe5;
  --bg-accent: #efe6d9;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffaf3;
  --surface-dark: #1b1713;
  --line: rgba(65, 45, 20, 0.12);
  --line-strong: rgba(65, 45, 20, 0.2);
  --text: #1b1713;
  --muted: #64594c;
  --gold: #b7864e;
  --gold-deep: #956537;
  --violet: #6c54e5;
  --violet-soft: #ebe7ff;
  --shadow: 0 24px 70px rgba(72, 49, 25, 0.12);
  --shadow-lg: 0 40px 100px rgba(72, 49, 25, 0.18);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
  --radius-sm: 1rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(108, 84, 229, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(183, 134, 78, 0.12), transparent 24%),
    linear-gradient(180deg, #fbf7f1 0%, #f3ece2 54%, #efe6da 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
  opacity: 0.55;
}

body::before {
  top: 7rem;
  left: -3rem;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 84, 229, 0.18), transparent 68%);
}

body::after {
  right: -2rem;
  bottom: 8rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 134, 78, 0.16), transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Shell ─────────────────────────────────────────── */
.site-shell {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.5rem 1.75rem;
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 1.7rem;
  background: rgba(255, 250, 243, 0.82);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 1.25rem;
  z-index: 100;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,0.48) 50%, transparent 82%);
  transform: translateX(-120%);
  animation: header-sheen 12s ease-in-out infinite;
  pointer-events: none;
}

.brand img { width: min(230px, 48vw); }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 160ms, color 160ms, transform 160ms;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fffaf3;
  box-shadow: 0 8px 20px rgba(149, 101, 55, 0.28);
  transition: transform 160ms, box-shadow 160ms;
  white-space: nowrap;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(149, 101, 55, 0.34); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: background 160ms;
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.95); }

/* ── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  flex-shrink: 0;
}

/* ── Cards base ─────────────────────────────────────── */
.hero-copy,
.hero-panel,
.panel-card,
.feature-card,
.stat-card,
.spotlight,
.code-card,
.callout-card,
.testimonial,
.pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card,
.stat-card,
.callout-card,
.pricing-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.panel-card,
.feature-card,
.stat-card,
.callout-card,
.testimonial,
.pricing-card,
.code-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.panel-card::after,
.feature-card::after,
.stat-card::after,
.callout-card::after,
.testimonial::after,
.pricing-card::after,
.code-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      220px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
      rgba(108, 84, 229, 0.12),
      transparent 62%
    );
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: -1;
}

.panel-card.is-glow-active::after,
.feature-card.is-glow-active::after,
.stat-card.is-glow-active::after,
.callout-card.is-glow-active::after,
.testimonial.is-glow-active::after,
.pricing-card.is-glow-active::after,
.code-card.is-glow-active::after {
  opacity: 1;
}

.feature-card:hover,
.stat-card:hover,
.callout-card:hover,
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 1.25rem;
}

.hero.compact { grid-template-columns: 1fr; }

.hero-copy { padding: 3.2rem 3rem; }

.hero-panel {
  padding: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(108, 84, 229, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(247, 241, 232, 0.96));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-card {
  flex: 1;
  padding: 1.95rem 1.85rem;
  border-color: var(--line);
  background:
    radial-gradient(circle at top right, rgba(108, 84, 229, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 241, 232, 0.96));
}

/* ── Photo card ──────────────────────────────────────── */
.photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.photo-card:hover img { transform: scale(1.03); }

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(108, 84, 229, 0.16), transparent 42%, rgba(183, 134, 78, 0.2));
  mix-blend-mode: screen;
  opacity: 0.68;
  pointer-events: none;
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 12, 6, 0.68));
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.25rem;
  pointer-events: none;
}

.photo-card-label {
  color: rgba(255, 248, 235, 0.95);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Typography ─────────────────────────────────────── */
.hero h1,
.feature-card h2,
.spotlight h2,
.panel-card h2,
.callout-card h2 {
  margin: 0.9rem 0 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 5vw, 6rem);
}

.lead,
.panel-card p,
.feature-card p,
.spotlight p,
.callout-card p,
.code-card p {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  margin-top: 1.2rem;
  font-size: 1.12rem;
  max-width: 54ch;
}

/* ── Buttons ─────────────────────────────────────────── */
.cta-row, .mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button, .mini-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  border-radius: 999px;
  padding: 0.92rem 1.4rem;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 160ms, box-shadow 160ms, background 160ms;
}

.button:hover, .mini-links a:hover { transform: translateY(-2px); }

.button::after,
.mini-links a::after {
  content: "→";
  font-size: 0.92em;
  opacity: 0.68;
  transform: translateX(0);
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover::after,
.mini-links a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fffaf3;
  box-shadow: 0 18px 28px rgba(149, 101, 55, 0.26);
}

.button-primary:hover { box-shadow: 0 22px 36px rgba(149, 101, 55, 0.34); }

.button-secondary, .mini-links a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.button-secondary:hover, .mini-links a:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* ── Badges ─────────────────────────────────────────── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.badge {
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.52rem 0.85rem;
}

/* ── Metrics strip ──────────────────────────────────── */
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.metric-value {
  font-family: "Sora", sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Stats row ──────────────────────────────────────── */
.stats, .section-grid, .process-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-grid.two-col { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stat-card, .feature-card, .callout-card, .code-card { padding: 1.7rem; }

.stat-card { background: rgba(255, 252, 247, 0.92); }

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 0.9rem;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-card { background: rgba(255, 252, 247, 0.95); }

.feature-card h2,
.callout-card h2,
.spotlight h2 {
  font-size: 2.05rem;
}

/* Card icon */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  background: var(--violet-soft);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

/* ── Spotlight (dark band) ──────────────────────────── */
.spotlight {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  margin-top: 1.5rem;
  padding: 1.15rem;
  background:
    linear-gradient(135deg, rgba(24, 19, 16, 0.97), rgba(42, 31, 22, 0.99));
  color: #f8f2e8;
}

.spotlight > div { border-radius: var(--radius-md); }

.spotlight-copy {
  padding: 1.95rem;
  background: rgba(255, 255, 255, 0.04);
}

.spotlight .eyebrow { color: #e2c8a8; }
.spotlight .eyebrow::before { background: linear-gradient(135deg, #e2c8a8, #8c71ff); }
.spotlight p, .spotlight .lead { color: rgba(248, 242, 232, 0.72); }
.spotlight .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8f2e8;
  border-color: rgba(255, 255, 255, 0.16);
}
.spotlight .button-secondary:hover { background: rgba(255, 255, 255, 0.15); }

.code-card { background: rgba(255, 255, 255, 0.04); }

.code-card pre {
  overflow-x: auto;
  margin: 1rem 0 0;
  border-radius: 1rem;
  background: rgba(8, 8, 10, 0.6);
  padding: 1.2rem;
  color: #f7efe5;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  line-height: 1.7;
}

/* ── Testimonial ────────────────────────────────────── */
.testimonial {
  padding: 2.2rem 2.4rem;
  background: var(--surface-strong);
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.85;
  font-style: italic;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.author-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; }
.author-title { font-size: 0.82rem; color: var(--muted); }

/* ── Process ─────────────────────────────────────────── */
.process-step {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
}

.process-step strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.pricing-card {
  padding: 2rem;
  position: relative;
  background: rgba(255, 252, 247, 0.95);
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(108, 84, 229, 0.07), rgba(255, 252, 247, 0.97));
  border-color: rgba(108, 84, 229, 0.22);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--violet), #9c7dff);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-name {
  margin: 0.45rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin: 1.1rem 0 0;
}

.pricing-price .amount {
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.pricing-price .period {
  font-size: 0.84rem;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0.9rem 0 1.5rem;
  min-height: 3.5rem;
}

.pricing-annual {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-highlight {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.55;
}

.pricing-fit {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 0.05rem;
}

/* ── Section header ─────────────────────────────────── */
.section-header {
  margin-bottom: 0.2rem;
}

.section-header h2 {
  margin: 0.5rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-header p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
}

/* ── Contact ─────────────────────────────────────────── */
.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-list a, .contact-list span {
  display: block;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.64);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  transition: background 160ms;
}

.contact-list a:hover { background: rgba(255, 255, 255, 0.95); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  margin-top: 2.5rem;
  padding: 2.2rem 0 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 961px) {
  .site-header {
    margin-bottom: 2rem;
    padding: 1rem 1.35rem;
  }

  .nav-cta {
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(149, 101, 55, 0.22);
    box-shadow: 0 14px 26px rgba(149, 101, 55, 0.18);
  }

  .nav-cta-about {
    padding-inline: 1.3rem;
    background: linear-gradient(135deg, #be8e57, #8f6237);
  }

  .hero {
    gap: 1.4rem;
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
    margin-bottom: 1.6rem;
  }

  .stats,
  .section-grid,
  .process-grid {
    gap: 1.2rem;
    margin-top: 1.5rem;
  }

  .hero-copy .cta-row {
    margin-top: 1.8rem;
  }

  .hero-copy .badge-row {
    margin-top: 1.55rem;
  }

  .hero.compact .hero-copy .cta-row {
    align-items: center;
  }

  .button-contact-desktop {
    min-width: 12.5rem;
    padding-inline: 1.7rem;
    justify-content: center;
    box-shadow: 0 20px 34px rgba(149, 101, 55, 0.24);
  }

  .feature-card p,
  .callout-card p {
    max-width: 34ch;
  }

  .site-nav a {
    padding-inline: 1.05rem;
  }
}

.footer-brand img {
  width: min(190px, 50vw);
  margin-bottom: 0.9rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.75;
  max-width: 26ch;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text);
  transition: color 160ms;
}

.footer-links a:hover { color: var(--gold-deep); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom a { color: var(--gold-deep); }
.footer-bottom a:hover { text-decoration: underline; }

.motion-ready .is-reveal-target {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.motion-ready .is-reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes header-sheen {
  0%, 74%, 100% { transform: translateX(-120%); }
  82% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .site-header::after,
  body::before,
  body::after {
    animation: none;
  }

  .motion-ready .is-reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .mini-links a,
  .feature-card,
  .stat-card,
  .callout-card,
  .pricing-card,
  .photo-card img {
    transition: none;
  }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero,
  .spotlight,
  .stats,
  .section-grid,
  .section-grid.two-col,
  .process-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
    gap: 0.25rem;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover { background: rgba(255, 255, 255, 0.75); }

  .site-header {
    flex-wrap: wrap;
    gap: 0;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .header-right .site-nav { order: 2; }

  .hero h1 { max-width: none; }

  .metric-row { gap: 1.5rem; }
}

@media (max-width: 680px) {
  .site-shell { padding: 0.9rem; }

  .hero-copy,
  .panel-card,
  .feature-card,
  .spotlight-copy,
  .code-card,
  .callout-card,
  .stat-card,
  .pricing-card,
  .testimonial {
    padding: 1.25rem;
  }

  .hero h1 { font-size: 2.5rem; }

  .button, .mini-links a { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
