/* =========================================================
   PLOTLINE — Problem-first SaaS landing page wireframe
   Art direction: warm editorial cream + deep ink, single amber CTA.
   Wireframe annotations toggle on via .wf-on on <body>.
   ========================================================= */

:root {
  /* Palette — warm, writerly, single accent */
  --bg: #f6f1e7;
  --bg-alt: #efe7d6;
  --surface: #fdfaf3;
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --ink-3: #7c766a;
  --border: #ddd2b8;
  --accent: #c44a1f; /* Single accent — terracotta, used for the primary CTA only */
  --accent-hover: #a83b13;
  --accent-soft: #fbe4d8;

  /* Type */
  --font-display: "Gambarino", "Source Serif 4", Georgia, serif;
  --font-body:
    "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;

  /* Type scale */
  --text-xs: 0.8125rem; /* 13 */
  --text-sm: 0.9375rem; /* 15 */
  --text-base: 1rem; /* 16 */
  --text-lg: 1.125rem; /* 18 */
  --text-xl: clamp(1.375rem, 2vw + 1rem, 1.875rem); /* 22–30 */
  --text-2xl: clamp(1.875rem, 3vw + 1rem, 2.75rem); /* 30–44 */
  --text-hero: clamp(2.25rem, 5vw + 1rem, 4.25rem); /* 36–68 */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.05);
  --shadow-md:
    0 6px 24px -8px rgba(28, 26, 23, 0.12),
    0 2px 6px -2px rgba(28, 26, 23, 0.06);

  --max-w: 1180px;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ---------- Eyebrows / section headings ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.eyebrow--center {
  text-align: center;
}

.section-title {
  font-size: var(--text-2xl);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto var(--space-6);
}
.section-title--left {
  text-align: left;
  margin-left: 0;
}

.section-sub {
  text-align: center;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto var(--space-12);
  font-size: var(--text-lg);
}

/* ---------- Buttons (one true CTA style) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: var(--text-base);
  border-radius: 12px;
}
.btn--xl {
  padding: 1.1rem 2rem;
  font-size: var(--text-lg);
  border-radius: 14px;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Pulse dot — 'live' / 'in beta' signal */
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.pulse--inline {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(196, 74, 31, 0.5);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 74, 31, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(196, 74, 31, 0);
  }
}
.site-header__cta .pulse {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation-name: pulseLight;
}
@keyframes pulseLight {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}

/* ---------- Header (sticky, scroll-aware) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: var(--header-h);
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.brand__name {
  font-weight: 400;
}

.site-header__nav {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}
.site-header__nav a {
  font-size: var(--text-sm);
  color: var(--ink-2);
  font-weight: 500;
}
.site-header__nav a:hover {
  color: var(--ink);
}
.site-header__cta {
  margin-left: var(--space-2);
}

.site-header__menu {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
.site-header__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 820px) {
  .site-header__nav {
    display: none;
  }
  .site-header__menu {
    display: block;
  }
  .site-header__cta {
    padding: 0.55rem 0.9rem;
    font-size: var(--text-xs);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 7rem);
}
.hero__title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
  letter-spacing: -0.025em;
}
.hero__title-accent {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: var(--space-8);
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.hero__cta-note {
  font-size: var(--text-xs);
  color: var(--ink-3);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--text-xs);
  color: var(--ink-3);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__trust span {
  color: #d2a23a;
  letter-spacing: 0.08em;
}

/* Hero visual — four-card pillar stack (Write / Edit / Cover / Launch) */
.hero__visual {
  perspective: 1400px;
}
.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transform: rotate(-1deg);
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-shadow:
    0 18px 40px -22px rgba(28, 26, 23, 0.25),
    0 4px 12px -6px rgba(28, 26, 23, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  position: relative;
}
.hero-card--write { transform: translateY(-6px); }
.hero-card--edit { transform: translateY(8px); }
.hero-card--cover { transform: translateY(4px); }
.hero-card--launch { transform: translateY(-8px); }
.hero-card__tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.cover-thumb {
  background: linear-gradient(160deg, #2d3142 0%, #5b3a29 100%);
  border-radius: 6px;
  padding: 18px 12px;
  color: #f6f1e7;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86px;
}
.cover-thumb__title {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
}
.cover-thumb__author {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.launch-row {
  font-size: 11px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.launch-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.launch-row .dot--accent { background: var(--accent); }
.mock-line--strike { position: relative; }
.mock-line--strike::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1.5px solid var(--ink-3);
  top: 50%;
}
.mock-line {
  height: 10px;
  border-radius: 5px;
  background: var(--bg-alt);
  width: 100%;
}
.mock-line--title {
  height: 18px;
  width: 60%;
  background: var(--ink);
  border-radius: 4px;
  margin-bottom: 8px;
}
.mock-line--accent {
  background: var(--accent-soft);
  position: relative;
}
.mock-line--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 35%;
  background: var(--accent);
  border-radius: 5px;
}
.w-60 {
  width: 60%;
}
.w-75 {
  width: 75%;
}
.w-80 {
  width: 80%;
}
.w-85 {
  width: 85%;
}
.w-90 {
  width: 90%;
}
.mock-cursor {
  width: 2px;
  height: 18px;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
  margin-top: 6px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .hero__visual {
    order: -1;
    max-width: 480px;
  }
}

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--bg-alt);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.problem-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
}
.problem-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}
.problem-card p {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.problem__close {
  text-align: center;
  margin: var(--space-12) auto 0;
  max-width: 48ch;
  font-size: var(--text-lg);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}

@media (max-width: 820px) {
  .problem__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- SOLUTION ---------- */
.solution {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.solution__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lede {
  font-size: var(--text-lg);
  color: var(--ink-2);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.solution__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-left: 2px solid var(--border);
  padding-left: var(--space-6);
}
.solution__bullets li {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.55;
}
.solution__bullets strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.solution__proof {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.quote blockquote {
  margin: 0 0 var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--text-xs);
}
.quote__name {
  font-weight: 600;
}
.quote__role {
  color: var(--ink-3);
  font-size: var(--text-xs);
}

.proof-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.proof-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.logos {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px dashed var(--border);
}
.logos__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--space-3);
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1rem;
}

@media (max-width: 820px) {
  .solution__inner {
    grid-template-columns: 1fr;
  }
  .solution__proof {
    position: static;
  }
}

/* ---------- FEATURES ---------- */
.features {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.features__grid--four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .features__grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.feature__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}
.feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.feature__solves {
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}
.feature__solves em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.feature p:last-child {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- HOW IT WORKS ---------- */
.how {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: var(--space-12) auto 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  counter-reset: step;
}
.steps--four {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}
@media (max-width: 1100px) {
  .steps--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
.steps li {
  position: relative;
  padding-top: var(--space-6);
}
.steps__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.steps h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.steps p {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRICING ---------- */
.pricing {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--featured {
  background: var(--ink);
  color: #f6f1e7;
  border-color: var(--ink);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.price-card--featured .price-card__name,
.price-card--featured .price-card__amt,
.price-card--featured .price-card__per,
.price-card--featured .price-card__pitch,
.price-card--featured .price-card__list li {
  color: #f6f1e7;
}
.price-card--featured .price-card__list li::before {
  color: var(--accent);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}
.price-card__pitch {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-bottom: var(--space-6);
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-6);
}
.price-card__amt {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card__per {
  font-size: var(--text-sm);
  color: var(--ink-3);
}
.price-card__cta {
  width: 100%;
  margin-bottom: var(--space-6);
}
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.price-card__list li {
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing__note {
  text-align: center;
  margin-top: var(--space-8);
  color: var(--ink-3);
  font-size: var(--text-sm);
}
@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .price-card--featured {
    transform: none;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq__head .lede {
  margin: 0;
}
.faq__head a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq__list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  transition: background 0.2s;
}
.faq__list details[open] {
  background: #fff;
}
.faq__list summary {
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  color: var(--ink);
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__list details[open] summary::after {
  content: "–";
}
.faq__list details p {
  margin-top: var(--space-3);
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .faq__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- FINAL CTA BAND ---------- */
.cta-band {
  background: var(--ink);
  color: #f6f1e7;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 74, 31, 0.16);
  color: var(--accent);
  border: 1px solid rgba(196, 74, 31, 0.35);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}
.cta-band__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(196, 74, 31, 0.6);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.cta-band__title {
  font-size: var(--text-2xl);
  color: #f6f1e7;
  max-width: 22ch;
}
.cta-band__sub {
  color: #c8c0ad;
  max-width: 52ch;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.cta-band__note {
  color: #8d8676;
  font-size: var(--text-xs);
  margin-top: var(--space-2);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 5rem);
  font-size: var(--text-sm);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}
.site-footer__tagline {
  color: var(--ink-3);
  font-size: var(--text-sm);
  max-width: 28ch;
  margin-top: var(--space-3);
}
.site-footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-footer__col a {
  color: var(--ink-2);
}
.site-footer__col a:hover {
  color: var(--accent);
}

/* Author column — visually distinct from primary funnel */
.site-footer__col--author {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: -8px;
}
.site-footer__col--author h3 {
  color: var(--accent);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  border-top: 1px solid var(--border);
  padding: var(--space-6) clamp(1rem, 4vw, 2rem);
  color: var(--ink-3);
  font-size: var(--text-xs);
  flex-wrap: wrap;
}
.site-footer__legal ul {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  padding: 0;
  margin: 0;
}
.site-footer__legal a {
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__col--author {
    grid-column: 1 / -1;
  }
}

/* ---------- WIREFRAME ANNOTATIONS ---------- */
.wf-toggle {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 100;
  background: var(--ink);
  color: #f6f1e7;
  border: 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: background 0.2s;
}
.wf-toggle:hover {
  background: var(--accent);
}
.wf-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8c0ad;
}
.wf-on .wf-toggle__dot {
  background: var(--accent);
}

/* Annotation chips — injected by JS, visible only when .wf-on */
.wf-note {
  display: none;
}
.wf-on .wf-note {
  display: block;
  position: absolute;
  z-index: 40;
  background: var(--ink);
  color: #f6f1e7;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.4;
  max-width: 240px;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.wf-on .wf-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--ink);
}
.wf-on [data-wf] {
  position: relative;
  outline: 1.5px dashed var(--accent);
  outline-offset: 6px;
  border-radius: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
