/* ========== SHARED BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

/* ========== DESIGN TOKENS — Gradient Garden ========== */
:root, [data-variant="b"] {
  --bg: #fff6ef;
  --bg-2: #ffeadd;
  --ink: #1b1430;
  --ink-soft: #5a4f72;
  --line: #f0d8c6;
  --accent: #ff5b6e;
  --accent-2: #b26bff;
  --accent-3: #ffb547;
  --accent-4: #47d9b5;
  --card: rgba(255,255,255,.78);
  --shadow: 0 20px 50px -24px rgba(27,20,48,.22);
  --radius: 28px;
  --radius-lg: 40px;
}

/* ========== LAYOUT CHROME ========== */
.page { min-height: 100vh; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 16px;
  text-decoration: none;
}
.brand-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  display: inline-block; position: relative;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}
.brand-dot::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.6), transparent 55%);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 6%, transparent); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ========== TYPOGRAPHY HELPERS ========== */
.display {
  font-family: 'Instrument Serif', 'Tiempos', Georgia, serif;
  font-weight: 400; letter-spacing: -0.02em; line-height: .95;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }

/* ========== NOW STRIP ========== */
.now-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 100%; overflow: hidden;
}
.now-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-4);
  box-shadow: 0 0 0 0 var(--accent-4);
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent-4) 60%, transparent); }
  70% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent-4) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.now-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}
.now-content {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; min-width: 0;
}
.now-rot { display: inline-block; transition: transform .5s cubic-bezier(.6,0,.2,1), opacity .3s; }
.now-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--accent);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in oklab, var(--ink) 4%, transparent); }
.btn-accent {
  background: var(--accent); color: #fff;
}
.btn svg { width: 16px; height: 16px; }

/* ========== CARDS ========== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ========== SECTION CHROME ========== */
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.03em;
}
.section-kicker {
  color: var(--ink-soft); font-size: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ========== STICKERS (shared, variant-tunable) ========== */
.sticker {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 6px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
  transform-origin: center;
}

/* ========== HERO (shared scaffold) ========== */
.hero { padding: 40px 0 40px; }
.hero-row { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.availability-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent-4);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-4) 25%, transparent);
}
.availability-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .04em; color: var(--ink-soft);
}

.cursor-spotlight { pointer-events: none; }

/* Utility */
.grid { display: grid; gap: 18px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }

/* scroll-reveal (subtle) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Variant-specific background ambient — replaced per variant in its file */
