/* ============================================================
   SKILLS AI v3 — Atelier Index
   Editorial monochrome. No SaaS templates.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap");

:root {
  /* Light atelier — paper store */
  --void: #f7f5f0;
  --ink: #ffffff;
  --paper: #0a0a0a;
  --paper-dim: #2a2a2a;
  --stone: #6b6660;
  --line: #e4e0d8;
  --line2: #cfc9bd;
  --focus: #0a0a0a;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1280px;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--paper);
  color: var(--void);
}

/* subtle paper grain on light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- primitives ---------- */
.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.narrow { width: min(720px, 100%); }

.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; }
.muted { color: var(--stone); }
.paper { color: var(--paper); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* underline link */
.u-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease);
}
.u-link:hover { background-size: 100% 1px; }

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .index-row::after { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--void) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  justify-self: start;
}
.logo em {
  font-style: normal;
  color: var(--stone);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--paper); }

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.04em;
  display: none;
}
@media (min-width: 900px) {
  .nav-phone { display: inline; }
}

/* ---------- buttons (0xswift-grade · atelier monochrome) ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: var(--btn-h);
  padding: 0 1.45rem;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--void);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(10, 10, 10, 0.04),
    0 10px 28px rgba(10, 10, 10, 0.1);
  transition:
    transform 0.4s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 40%, rgba(10, 10, 10, 0.22), transparent 55%);
  opacity: 0.35;
  z-index: -1;
  filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
  animation: btnGlow 2.8s ease-in-out infinite;
}
.btn:hover {
  transform: scale(1.03);
  background: #141414;
  border-color: #141414;
  color: var(--void);
  box-shadow:
    0 0 0 1px rgba(10, 10, 10, 0.12),
    0 14px 40px rgba(10, 10, 10, 0.18);
}
.btn:hover::before { opacity: 0.7; }
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(10, 10, 10, 0.12);
}
.btn:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--paper);
  border-color: var(--line2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.btn-ghost::before { display: none; }
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--paper);
  border-color: rgba(10, 10, 10, 0.35);
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.08);
}
.btn-ghost:active {
  background: #fff;
}
.btn-sm {
  --btn-h: 40px;
  padding: 0 1.05rem;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.btn-xl {
  --btn-h: 56px;
  padding: 0 1.85rem;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.btn-block { width: 100%; }
.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
  font-weight: 400;
}
.btn:hover .arrow { transform: translateX(5px); }
.btn-ico {
  flex-shrink: 0;
  display: block;
  opacity: 0.92;
}
@keyframes btnGlow {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .btn::before { animation: none; opacity: 0.25; }
  .btn:hover { transform: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 8vh 0 10vh;
  position: relative;
}
@media (min-width: 960px) {
  .hero-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.55fr);
    gap: 48px;
    align-items: end;
  }
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--stone);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 9.5vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 11ch;
  margin-bottom: 36px;
  font-style: normal;
}
.hero h1 i {
  font-style: italic;
  color: var(--paper-dim);
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--stone);
  max-width: 28ch;
  line-height: 1.65;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.hero-aside {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 32px;
  display: none;
}
@media (min-width: 960px) {
  .hero-aside { display: block; }
}
.hero-aside dl {
  display: grid;
  gap: 28px;
}
.hero-aside dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.hero-aside dd {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-foot {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- section chrome ---------- */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (min-width: 800px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-note {
  color: var(--stone);
  font-weight: 300;
  font-size: 1rem;
  max-width: 36ch;
  justify-self: end;
}

/* ---------- INDEX (replaces card grid) ---------- */
.index {
  border-top: 1px solid var(--line);
}
.index-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px 24px;
  align-items: baseline;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: color 0.3s ease;
}
.index-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.index-row:hover::after { transform: scaleY(1); }
.index-row:hover { color: var(--void); }
.index-row:hover .idx-sku,
.index-row:hover .idx-meta,
.index-row:hover .idx-price { color: color-mix(in srgb, var(--void) 55%, transparent); }
.index-row:hover .idx-go { opacity: 1; transform: translateX(0); }

.idx-sku {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.idx-name {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.idx-tag {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  max-width: 48ch;
  line-height: 1.5;
}
.index-row:hover .idx-tag { color: color-mix(in srgb, var(--void) 60%, transparent); }

.idx-right {
  display: flex;
  align-items: baseline;
  gap: 28px;
  justify-self: end;
}
.idx-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  display: none;
}
@media (min-width: 720px) {
  .idx-meta { display: inline; }
}
.idx-price {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  min-width: 4.5ch;
  text-align: right;
}
.idx-go {
  font-size: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
@media (max-width: 719px) {
  .index-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }
  .idx-sku { grid-column: 1 / -1; }
  .idx-go { display: none; }
}

/* badge on index */
.idx-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 3px 7px;
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.7;
}

/* ---------- manifesto / why ---------- */
.split-editorial {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .split-editorial {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
  }
}
.big-quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-style: italic;
  color: var(--paper-dim);
}
.point-list { display: flex; flex-direction: column; }
.point-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.point-item:last-child { border-bottom: 1px solid var(--line); }
.point-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.point-item h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.point-item p {
  color: var(--stone);
  font-weight: 300;
  font-size: 0.98rem;
  max-width: 42ch;
}

/* ---------- process steps ---------- */
.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .process { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  padding: 40px 28px 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 800px) {
  .process-step {
    padding: 48px 40px 56px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .process-step:first-child { padding-left: 0; }
  .process-step:last-child { border-right: 0; padding-right: 0; }
}
.process-n {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--line2);
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}
.process-step:hover .process-n {
  -webkit-text-stroke-color: var(--paper);
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.process-step p {
  color: var(--stone);
  font-weight: 300;
  max-width: 28ch;
  font-size: 0.95rem;
}

/* ---------- personas strip ---------- */
.personas {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 800px) {
  .personas { grid-template-columns: repeat(3, 1fr); }
}
.persona {
  background: var(--void);
  padding: 40px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
}
.persona:hover { background: var(--ink); }
.persona .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.persona h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 20px 0 12px;
  line-height: 1.15;
}
.persona p {
  color: var(--stone);
  font-weight: 300;
  font-size: 0.95rem;
  max-width: 30ch;
}

/* ---------- final CTA ---------- */
.finale {
  padding: clamp(100px, 16vw, 180px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.finale::before {
  content: "";
  position: absolute;
  inset: 20% 10% auto;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.04), transparent 70%);
  pointer-events: none;
}
.finale h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}
.finale h2 em {
  font-style: italic;
  color: var(--paper-dim);
}
.finale .sub {
  color: var(--stone);
  font-weight: 300;
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.finale .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}
.finale .fine {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- pack detail ---------- */
.pack-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  border-bottom: 1px solid var(--line);
}
.pack-hero .label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.pack-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 24px;
}
.pack-hero .lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--stone);
  max-width: 36ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}
.price-block .amt {
  font-family: var(--serif);
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-block .cur {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stone);
  text-transform: uppercase;
}
.price-block .was {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--stone);
  text-decoration: line-through;
}

.pack-layout {
  display: grid;
  gap: 56px;
  padding: clamp(56px, 8vw, 96px) 0;
}
@media (min-width: 960px) {
  .pack-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 72px;
    align-items: start;
  }
}

.pack-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  line-height: 1.15;
}
.pack-body h2:first-child { margin-top: 0; }
.pack-body > p {
  color: var(--stone);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: var(--measure);
  margin-bottom: 12px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.checklist li {
  padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  color: var(--paper-dim);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 0.98rem;
}
.checklist li::before {
  content: "—";
  color: var(--stone);
  font-family: var(--mono);
}

.file-tree {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  border: 1px solid var(--line);
  padding: 24px 22px;
  color: var(--stone);
  background: var(--ink);
}
.file-tree .dir { color: var(--paper); }

.install-steps { border-top: 1px solid var(--line); }
.install-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.install-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
  padding-top: 3px;
}
.install-step p {
  margin: 0;
  font-weight: 300;
  color: var(--paper-dim);
}

.use-case {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.use-case:last-of-type { border-bottom: 1px solid var(--line); }
.use-case h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.use-case p {
  color: var(--stone);
  font-weight: 300;
  margin: 0;
  max-width: var(--measure);
}

.sample {
  border: 1px solid var(--line);
  background: var(--ink);
  margin: 0;
}
.sample-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.sample pre {
  padding: 22px 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--paper-dim);
  white-space: pre-wrap;
  overflow-x: auto;
}

/* side buy panel */
.buy-panel {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--line);
  padding: 32px 28px;
  background: var(--ink);
}
.buy-panel .sku {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.buy-panel h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.buy-panel .price-block { margin-bottom: 24px; }
.buy-panel .price-block .amt { font-size: 2.5rem; }
.buy-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.buy-meta {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.buy-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--paper-dim);
  font-weight: 300;
}
.buy-meta span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 16px;
  color: var(--stone);
  flex-shrink: 0;
}
.faq[open] summary::after { content: "−"; }
.faq p {
  padding: 0 0 24px;
  color: var(--stone);
  font-weight: 300;
  max-width: var(--measure);
}

/* ---------- simple pages ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero .lead {
  color: var(--stone);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 36ch;
}
.page-body {
  padding: clamp(48px, 8vw, 88px) 0;
}
.page-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}
.page-body p {
  color: var(--stone);
  font-weight: 300;
  max-width: var(--measure);
  margin-bottom: 12px;
}
.contact-stage {
  border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px);
  margin-bottom: 48px;
}
.contact-stage .big {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
  margin: 12px 0 32px;
}

/* ---------- footer (colophon) ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}
.footer-brand .logo { margin-bottom: 20px; display: inline-block; }
.footer-brand p {
  color: var(--stone);
  font-weight: 300;
  font-size: 0.95rem;
  max-width: 28ch;
  line-height: 1.6;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  color: var(--paper-dim);
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- fab + sticky ---------- */
.wa-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--void);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.wa-fab:hover { transform: scale(1.06); color: var(--void); }

.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  background: color-mix(in srgb, var(--void) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-bar .amt {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.sticky-bar .sku {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-left: 10px;
  text-transform: uppercase;
}

@media (max-width: 959px) {
  .sticky-bar { display: flex; }
  body.has-sticky { padding-bottom: 72px; }
  .buy-panel { position: static; }
}

/* ---------- related ---------- */
.related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
}
.related-head h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ---------- 404 ---------- */
.err-hero {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.err-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
  font-weight: 400;
}

/* mobile nav */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

/* focus */
:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 3px;
}

/* GEO / SEO content blocks */
.geo-tldr, .geo-takeaways, .geo-def {
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 22px 22px 18px;
  margin: 0 0 28px;
}
.geo-tldr p:last-child, .geo-def p:last-child { margin-bottom: 0; }
.geo-takeaways ul { margin: 8px 0 0 1.1rem; }
.geo-def strong { color: var(--paper); font-weight: 600; }
.sitemap-posts { columns: 1; }
@media (min-width: 800px) {
  .sitemap-posts { columns: 2; gap: 32px; }
}
.sitemap-posts li { break-inside: avoid; margin-bottom: 8px; font-size: 0.92rem; }
