/*
  VibeMyWay Site CSS
  Shared reset, base, and component styles used across all pages.
  Depends on css/tokens.css for custom properties.
*/

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--brand-light);
  color: var(--text-primary);
  border: 1px solid var(--brand);
  padding: 0px 4px;
  border-radius: 4px;
}

/* Skip-to-content — hidden until focused, then animates into view */
.skip-link {
  position: absolute;
  top: var(--sp-md);
  left: var(--sp-md);
  z-index: 9999;
  background: var(--brand);
  color: var(--depth-text-primary);
  padding: 10px var(--sp-md);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--depth-text-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 10px var(--sp-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--depth-text-primary);
}
.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--depth-text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px oklch(0.45 0.27 264 / 0.28);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* Outlined — brand color */
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-secondary:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}
.btn-secondary:active { transform: translateY(0); box-shadow: none; }

/* Ghost — neutral border */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--text-primary);
  border-color: var(--surface-container);
}

/* White on --depth dark backgrounds */
.btn-on-depth {
  background: var(--surface);
  color: var(--depth);
  border-color: var(--surface);
}
.btn-on-depth:hover {
  background: var(--surface-alt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px oklch(0.14 0.025 264 / 0.3);
}

/* Built with VibeMyWay */
.btn-built-with {
  color: var(--text-tertiary);
  font-weight: 400;
}
.btn-built-with:hover {
  background: var(--surface-container);
  border-color: var(--surface-container);
} 

/* Sizes */
.btn-lg   { padding: 13px var(--sp-xl);  font-size: 1.0625rem; border-radius: 10px; }
.btn-xl   { padding: 15px 26px;           font-size: 1.125rem;  border-radius: 10px; }
.btn-full { justify-content: center; width: 100%; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: var(--sp-md) clamp(var(--sp-lg), 5vw, var(--sp-4xl));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: oklch(0.985 0.004 264 / 0.98);
  transition:
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.nav.scrolled {
  background: oklch(0.985 0.004 264 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo em { font-style: normal; color: var(--brand); }

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  margin-left: var(--sp-2xl);
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); background: var(--surface-alt); }
.nav-link[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-primary { display: none; }
}

.nav-actions  { display: flex; align-items: center; gap: var(--sp-sm); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: var(--sp-xs);
  cursor: pointer;
  color: var(--text-primary);
}

/* ============================================================
   MOBILE MENU
============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--depth);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: var(--sp-xl);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4xl);
}
.mobile-menu-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--depth-text-primary);
  text-decoration: none;
}
.mobile-menu-logo em { font-style: normal; color: var(--brand-light); }
.mobile-menu-close {
  background: none; border: none;
  padding: var(--sp-xs); cursor: pointer;
  color: var(--depth-text-primary);
}

.mobile-menu-nav { list-style: none; display: flex; flex-direction: column; gap: 0; flex: 1; }
.mobile-menu-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--depth-text-primary);
  text-decoration: none;
  padding: var(--sp-md) 0;
  transition: color var(--dur-fast);
}
.mobile-menu-nav a:hover { color: var(--depth-text-secondary); }
.mobile-menu-nav a[aria-current="page"] { color: var(--depth-text-secondary); }

.mobile-menu-sections {
  list-style: none;
  margin: var(--sp-lg) 0 0;
  padding: var(--sp-lg) 0 0;
  border-top: 1px solid oklch(1 0 0 / 0.10);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-sections a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--depth-text-secondary);
  text-decoration: none;
  padding: var(--sp-sm) 0;
  transition: color var(--dur-fast);
}
.mobile-menu-sections a:hover { color: var(--depth-text-primary); }

/* ============================================================
   SUBNAV (product pages)
============================================================ */
.subnav {
  position: sticky;
  top: 89px;
  z-index: 150;
  background: oklch(96.172% 0.00276 285.761 / 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 clamp(var(--sp-lg), 5vw, var(--sp-4xl));
}
.subnav-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1280px;
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav-list::-webkit-scrollbar { display: none; }
.subnav-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.subnav-link:hover { color: var(--brand); }
.subnav-link[aria-current="location"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
@media (prefers-reduced-motion: reduce) {
  .subnav-link { transition: none; }
}

/* ============================================================
   SECTION SCAFFOLD
============================================================ */
.section {
  padding: var(--sp-4xl) clamp(var(--sp-lg), 5vw, var(--sp-4xl));
}
.section-inner { max-width: 1280px; margin: 0 auto; }

/* Eyebrow label — "How it works", "Starter kit" etc. */
.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-md);
}

/* Section heading */
.headline {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.headline-section {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: var(--sp-md);
}
.headline-faq {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  margin-bottom: 0;
}
.headline-page {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-lg);
}

/* Section subheading / intro paragraph */
.subhead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 60ch;
}

/* ============================================================
   TAGS
============================================================ */
.tags { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--surface);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================
   SCROLL REVEALS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--dur-enter) var(--ease-out),
    transform var(--dur-enter) var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--surface-alt);
  padding: var(--sp-3xl) clamp(var(--sp-lg), 5vw, var(--sp-4xl));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-xl);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: var(--sp-xs);
}
.footer-logo em { font-style: normal; color: var(--brand); }
.footer-tagline { font-size: 0.875rem; color: var(--text-tertiary); }

.footer-links {
  list-style: none;
  display: flex;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-copy { font-size: 0.8125rem; color: var(--text-tertiary); }

.footer-socials {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-sm);
  padding-top: var(--sp-md);
}

/* ============================================================
   RESPONSIVE — shared elements only
============================================================ */
@media (max-width: 768px) {
  .nav-actions  { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: var(--sp-md); }
}

@media (max-width: 480px) {
  .section { padding: var(--sp-3xl) var(--sp-lg); }
}

/* ============================================================
   COOKIE CONSENT BAR
============================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-md) clamp(var(--sp-lg), 5vw, var(--sp-4xl));
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cookie-bar.visible { transform: translateY(0); }

.cookie-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.cookie-bar-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  min-width: 24ch;
}

.cookie-bar-text a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; }
}

/* ============================================================
   PRODUCT CARD
   Shared between the index products grid and per-product buy
   sections. Sits on a depth-blue surface; uses brand-bordered
   container, status-dot live indicator, numbered prod-caps
   spec sheet, and a divided pricing block.
============================================================ */
.prod {
  border: 6px solid var(--brand);
  border-radius: 16px;
  padding: var(--sp-xl);
}

.prod-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--depth-text-muted);
  margin-bottom: var(--sp-lg);
}

.prod-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--depth-success);
  flex-shrink: 0;
  animation: prod-status-pulse 2.4s var(--ease-out) infinite;
}

@keyframes prod-status-pulse {
  0%   { box-shadow: 0 0 0 0   oklch(0.72 0.13 162 / 0.55); }
  60%  { box-shadow: 0 0 0 5px oklch(0.72 0.13 162 / 0); }
  100% { box-shadow: 0 0 0 0   oklch(0.72 0.13 162 / 0); }
}

.prod-name {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw + 0.5rem, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 0.95;
  color: var(--depth-text-primary);
  margin-bottom: var(--sp-md);
}

.prod-hook {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--depth-text-primary);
  max-width: 48ch;
  margin-bottom: var(--sp-xl);
}

.prod-caps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.prod-cap {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: var(--sp-md);
  align-items: baseline;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 460ms var(--ease-out),
    transform 460ms var(--ease-out);
}

.reveal.in .prod-cap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(280ms + (var(--i, 0) * 70ms));
}

.prod-cap-group {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--depth-text-muted);
  white-space: nowrap;
}

/* Marginalia number — sits above-left of the label like a chapter mark. */
.prod-cap-num {
  position: absolute;
  top: -0.65rem;
  left: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: oklch(0.66 0.13 264);
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.prod-cap-items {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--depth-text-secondary);
}

.prod-beta {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--depth-success);
  vertical-align: middle;
  margin-left: 3px;
}

.prod-pricing {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid oklch(0.50 0.08 264 / 0.30);
}

.prod-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.prod-price-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--depth-text-primary);
  line-height: 1;
}

.prod-price-label {
  font-size: 0.875rem;
  color: var(--depth-text-muted);
}

.prod-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  align-items: flex-start;
}

.prod-learn-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--depth-text-secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast);
}
.prod-learn-link:hover { color: var(--depth-text-primary); }

@media (prefers-reduced-motion: reduce) {
  .prod-status-dot { animation: none; }
  .prod-cap {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   SHARED PRODUCT-PAGE COMPONENTS
   Extracted from contentmind.html + marketingkit.html.
   Each block is documented in DESIGN.md under "Components".
============================================================ */

/* ── Stat row (.what-meta) ──
   A horizontal list of "<num> <label>" pairs separated by middots.
   Used in the "what is it" intro to summarize the kit by the numbers. */
.what-meta {
  list-style: none;
  padding: 0;
  margin: var(--sp-sm) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
}
.what-meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.what-meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: var(--text-tertiary);
  margin: 0 var(--sp-xs);
  align-self: center;
  opacity: 0.6;
}
.what-meta-num {
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Idea pill controls (.demo-controls / .demo-pill) ──
   A "try a sample" pill bar used to swap demo content. Pills are tabbable
   buttons; pressed state uses aria-pressed. Page-specific extensions
   (loading shimmer, stage indicator, active scale) live in page CSS. */
.demo-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  margin-top: var(--sp-lg);
}
.demo-hint {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}
.demo-pill {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-light);
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 10px 14px;
  cursor: pointer;
  transition:
    background 200ms var(--ease-out),
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.demo-pill:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.demo-pill[aria-pressed="true"] {
  background: var(--brand);
  color: var(--depth-text-primary);
  border-color: var(--brand);
}
.demo-pill:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  pointer-events: none;
}

/* ── Features grid (.features-section / .features-grid / .feature-card) ──
   Three-column grid of "what's included" cards on a Frost surface.
   Each card carries a tag (Signal-Blue eyebrow), a title, and a description. */
.features-section { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-3xl);
}
.feature-card {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: var(--sp-xl);
}
.feature-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-sm);
}
.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
  letter-spacing: -0.005em;
}
.feature-card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Buy grid + pricing card (.buy-grid / .buy-card) ──
   Two-column value-stack: benefits checklist on the left, pricing card on
   the right, sitting on a Depth Blue surface. Page is responsible for
   .buy-section { background: var(--depth); } and any layout wrapper. */
.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
  margin: 0 auto;
}
.buy-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--depth-text-primary);
  margin-bottom: var(--sp-md);
}
.buy-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--depth-text-primary);
  margin-bottom: var(--sp-xl);
}
.buy-feats { display: flex; flex-direction: column; padding: 0; margin: 0; list-style: none; }
.buy-feat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: 11px 0;
  border-bottom: 1px solid oklch(0.50 0.08 264 / 0.20);
  font-size: 0.9375rem;
  color: var(--depth-text-secondary);
  line-height: 1.5;
}
.buy-feat:first-child { padding-top: 0; }
.buy-feat:last-child  { border-bottom: none; }
.buy-feat-check { color: oklch(0.72 0.13 162); flex-shrink: 0; margin-top: 2px; }
.buy-card {
  background: var(--surface);
  border-radius: 20px;
  padding: clamp(var(--sp-xl), 4vw, var(--sp-3xl));
  box-shadow: 0 8px 40px oklch(0.20 0.20 264 / 0.35);
}
.buy-card-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
}
.buy-card-version {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-tertiary);
  margin-left: 6px;
}
.buy-card-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.buy-card-amount .cur { font-size: 1.8rem; vertical-align: super; font-weight: 700; }
.buy-card-once {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xl);
}
.buy-card-cta {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: var(--sp-md);
}
.buy-card-reassure {
  font-size: 0.8125rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  /* border-bottom: 1px solid var(--border-subtle); */
}
.buy-card-next-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}
.buy-card-steps { display: flex; flex-direction: column; gap: var(--sp-sm); }
.buy-card-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.buy-step-n {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand);
  min-width: 1.25rem;
  padding-top: 1px;
  flex-shrink: 0;
}

/* ── FAQ accordion (.faq-section / .faq-list / .faq-item) ──
   Native <details>/<summary> on a Pale Slate surface. The plus icon
   rotates 45° when open. The answer slides in via a tiny keyframe. */
.faq-section { background: var(--surface-alt); text-align: center; }
.faq-list {
  margin: var(--sp-3xl) auto 0 auto;
  max-width: 760px;
}
.faq-item { border-top: 1px solid var(--border-subtle); }
.faq-item:last-child { border-bottom: 1px solid var(--border-subtle); }
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding: var(--sp-lg) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  user-select: none;
  transition: color 150ms var(--ease-out);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--brand); }
.faq-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--brand);
  transition: transform 250ms var(--ease-out);
}
details[open] > .faq-summary .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: var(--sp-xl);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 80ch;
  text-align: left;
}
details[open] .faq-answer {
  animation: faq-in 220ms var(--ease-out) both;
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive for shared components */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-grid      { grid-template-columns: 1fr; gap: var(--sp-2xl); }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Reduced-motion for shared components */
@media (prefers-reduced-motion: reduce) {
  details[open] .faq-answer { animation: none; }
  .faq-icon { transition: none; }
  .demo-pill { transition: none; }
  .demo-pill:hover { transform: none; }
}

/* ============================================================
   PROMO BANNER (.promo-banner)
   Site-wide announcement strip. Depth Blue surface, fixed above
   the nav. Hidden by default; shown when <html> carries the
   `has-promo` class (set by an inline gate script per page so the
   layout decision happens before first paint). Dismissible, with
   localStorage persistence, and auto-expires past PROMO_EXPIRES.
============================================================ */
:root { --promo-h: 44px; }

.promo-banner { display: none; }

html.has-promo .promo-banner {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  height: var(--promo-h);
  background: var(--depth-green);
  color: var(--depth-text-primary);
}

html.has-promo .nav { top: var(--promo-h); }
html.has-promo body { padding-top: var(--promo-h); }

.promo-banner-inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(var(--sp-md), 4vw, var(--sp-2xl));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.promo-banner-msg {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--depth-text-primary);
  margin: 0;
}
.promo-banner-msg strong {
  font-weight: 700;
  color: var(--depth-text-primary);
}
.promo-banner-spark {
  color: var(--depth-success);
  font-size: 0.875rem;
  line-height: 1;
  flex-shrink: 0;
}
.promo-banner-divider {
  color: var(--depth-text-muted);
  margin: 0 2px;
}
.promo-banner-soft { color: var(--depth-text-secondary); }

.promo-banner-code {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.promo-banner-code:hover {
  background: oklch(0.97 0.04 264);
}
.promo-banner-code:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 3px;
}
.promo-banner-code-icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  flex-shrink: 0;
}
.promo-banner-code[data-copied="true"] {
  background: var(--success-light);
  color: var(--success-text);
}
.promo-banner-code[data-copied="true"] .promo-banner-code-icon { display: none; }

.promo-banner-cta {
  color: var(--depth-text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 4px 2px;
  border-bottom: 1px solid oklch(0.97 0.010 264 / 0.4);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.promo-banner-cta:hover { border-bottom-color: var(--depth-text-primary); }
.promo-banner-cta:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 3px;
  border-radius: 2px;
}
.promo-banner-cta span { margin-left: 2px; }

.promo-banner-close {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--depth-text-secondary);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.promo-banner-close:hover {
  color: var(--depth-text-primary);
  background: oklch(0.97 0.010 264 / 0.08);
}
.promo-banner-close:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 2px;
}

/* Visually-hidden live region for "Copied" announcement */
.promo-banner-status {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Tablet & narrower: trim the secondary CTA so the message + code stay readable */
@media (max-width: 900px) {
  .promo-banner-cta { display: none; }
  .promo-banner-inner { gap: var(--sp-sm); }
}

/* Mobile: shrink, drop the divider, truncate the long sentence with a compact form */
@media (max-width: 640px) {
  :root { --promo-h: 52px; }
  .promo-banner-inner {
    padding: 0 var(--sp-md);
    gap: var(--sp-xs);
    font-size: 0.8125rem;
  }
  .promo-banner-divider { display: none; }
  .promo-banner-msg { gap: 6px; flex: 1; min-width: 0; }
  .promo-banner-msg strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .promo-banner-soft { display: none; }
  .promo-banner-code { padding: 3px 8px; font-size: 0.75rem; }
}

@media (max-width: 380px) {
  .promo-banner-spark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-banner-code,
  .promo-banner-cta,
  .promo-banner-close { transition: none; }
}

