/* ==========================================================
   United We Stand Books — styles
   ========================================================== */
:root {
  --black:   #17191D;
  --crimson: #A82937;
  --silver:  #C5C9CE;
  --white:   #F5F3F0;
  --steel:   #4A505A;

  /* derived tints (from brand colors) */
  --crimson-dark: #8E2230;
  --ink-2: #1F2228;
  --line: rgba(74, 80, 90, .18);
  --line-light: rgba(197, 201, 206, .16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(23,25,29,.06), 0 2px 8px rgba(23,25,29,.06);
  --shadow-md: 0 10px 30px -10px rgba(23,25,29,.25);
  --shadow-lg: 0 30px 60px -20px rgba(23,25,29,.45);

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--crimson); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .guide :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: var(--silver); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-lg { padding: 1.1rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { padding: .7rem 1.15rem; font-size: .9375rem; }
.btn-icon { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary { background: var(--crimson); color: var(--white); box-shadow: 0 8px 20px -8px rgba(168,41,55,.7); }
.btn-primary:hover { background: var(--crimson-dark); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(168,41,55,.8); }
.btn-ghost-light { color: var(--white); border-color: rgba(245,243,240,.45); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(245,243,240,.08); }
.btn-outline { color: var(--black); border-color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--crimson); }
.btn-light:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--silver); }
.eyebrow-light::before { background: var(--crimson); }
.eyebrow-star { width: 14px; height: 14px; fill: var(--crimson); }
.hero .eyebrow::before { display: none; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.section-head .eyebrow { justify-content: center; }
.section-head h2, .value-copy h2, .story-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.section-sub { margin-top: 1rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--steel); }
.section-head--light h2 { color: var(--white); }
.section-head--light .section-sub { color: var(--silver); }
.section-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23,25,29,.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--white); }
.brand-mark { width: 38px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .005em; }
.brand-sub { margin-top: .3rem; font-size: .6875rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--silver); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.9rem; }
.site-nav ul a {
  text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--silver);
  position: relative; padding: .4rem 0; transition: color .2s ease;
}
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav ul a:hover { color: var(--white); }
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-light); background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease, background-color .2s ease;
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(5rem, 8vw, 6.5rem);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(168,41,55,.32) 0%, rgba(168,41,55,0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(74,80,90,.45) 0%, rgba(74,80,90,0) 70%),
    repeating-linear-gradient(180deg, rgba(197,201,206,.035) 0 26px, transparent 26px 52px);
}
.hero-bg::after { /* faint star field, top-left */
  content: ""; position: absolute; top: 0; left: 0; width: 340px; height: 220px;
  background-image: radial-gradient(rgba(197,201,206,.22) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 70%);
  mask-image: linear-gradient(135deg, #000 10%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--silver); }
.hero .lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--silver); max-width: 34ch; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-proof { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; color: var(--silver); font-size: .9375rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--crimson); color: var(--white); }

.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.book-stack { position: relative; width: 300px; height: 420px; }
.book-stack .cover { position: absolute; width: 250px; }
.cover--back  { left: -70px; top: 40px; transform: rotate(-12deg); opacity: .9; }
.cover--mid   { left: 110px; top: 18px; transform: rotate(9deg); }
.cover--front { left: 25px;  top: 0;    transform: rotate(-2deg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(197,201,206,.12); }
.hero-badge {
  position: absolute; right: 0; bottom: 6px;
  background: var(--white); color: var(--black);
  border-radius: var(--radius); padding: 1rem 1.2rem; max-width: 210px;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--crimson);
}
.hero-badge-big { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.hero-badge-small { display: block; margin-top: .4rem; font-size: .8125rem; line-height: 1.4; color: var(--steel); }

.star-rule {
  position: absolute; left: 0; right: 0; bottom: 1.6rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: min(100% - 2.5rem, var(--container)); margin-inline: auto;
}
.star-rule span { flex: 1; height: 1px; background: var(--line-light); }
.star-rule svg { width: 12px; height: 12px; fill: var(--steel); }
.star-rule svg:nth-of-type(2) { fill: var(--crimson); width: 14px; height: 14px; }

/* ---------- Book cover placeholders ---------- */
.cover {
  --c-bg: var(--black); --c-fg: var(--white); --c-accent: var(--crimson);
  position: relative; aspect-ratio: 2 / 3; width: 100%;
  border-radius: 4px 10px 10px 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(0,0,0,.08) 5%, rgba(255,255,255,.07) 6.5%, transparent 9%),
    var(--c-bg);
  color: var(--c-fg);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0;
  padding: 30% 14% 14%;
  container-type: inline-size;
  text-align: center; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cover::before { /* inner frame */
  content: ""; position: absolute; inset: 7% 7% 7% 10%; border: 1px solid currentColor; opacity: .28; border-radius: 2px; pointer-events: none;
}
.cover-band { position: absolute; left: 0; right: 0; top: 0; height: 18%; background: var(--c-accent);
  background-image: repeating-linear-gradient(180deg, transparent 0 6px, rgba(245,243,240,.18) 6px 8px); }
.cover-star { width: 22%; aspect-ratio: 1; color: var(--c-accent); flex: none; margin-bottom: 4cqw; }
.cover-star svg { width: 100%; height: auto; aspect-ratio: 1; fill: currentColor; }
.cover-rule { width: 38%; height: 1px; background: currentColor; opacity: .5; margin: 4.5cqw 0; flex: none; }
.cover-title { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 11cqw; line-height: 1.05; }
.cover-imprint { margin-top: auto; font-size: max(5px, 3.6cqw); line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.cover--ink     { --c-bg: var(--black);   --c-fg: var(--white); --c-accent: var(--crimson); }
.cover--crimson { --c-bg: var(--crimson); --c-fg: var(--white); --c-accent: var(--white); }
.cover--steel   { --c-bg: var(--steel);   --c-fg: var(--white); --c-accent: var(--silver); }
.cover--silver  { --c-bg: var(--silver);  --c-fg: var(--black); --c-accent: var(--steel); }
.cover--crimson .cover-band, .cover--steel .cover-band { display: none; }

/* ---------- Stakes ---------- */
.stakes { background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pain {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem; font-weight: 500; font-size: 1.0625rem; line-height: 1.45;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(168,41,55,.35); }
.pain-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(168,41,55,.09); color: var(--crimson); margin-bottom: 1rem; }
.pain-icon svg { width: 20px; height: 20px; }

/* ---------- Value ---------- */
.value { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.value-copy .section-sub { max-width: 40ch; margin-bottom: 2.25rem; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.benefits li {
  display: flex; flex-direction: column; gap: 1rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.45;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.benefit-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--crimson); color: var(--white); }
.benefit-icon svg { width: 17px; height: 17px; }

.collection { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 3.5vw, 2.75rem); border: 1px solid var(--line); }
.collection-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.collection-head h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.collection-note { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem clamp(1rem, 2.5vw, 2rem); }
.shelf-item { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.shelf-item .cover { transition: transform .3s ease, box-shadow .3s ease; }
.shelf-item:hover .cover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.shelf-label { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-top: .25rem; }

/* ---------- Guide ---------- */
.guide { background: var(--black); color: var(--white); overflow: hidden; }
.guide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(74,80,90,.55), transparent 70%);
}
.guide .container { position: relative; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-card {
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden;
}
.stat-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--crimson); }
.stat-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(168,41,55,.16); color: var(--white); margin-bottom: 1.4rem; border: 1px solid rgba(168,41,55,.45); }
.stat-icon svg { width: 30px; height: 30px; }
.stat-big { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; color: var(--silver); margin-bottom: 1.1rem; }
.stat-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--white); }
.stat-card p:last-child { margin-top: .6rem; color: var(--silver); }
.testimonial {
  grid-column: 1 / -1; margin: 0; text-align: center;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 5rem);
  border-radius: var(--radius); background: var(--white); color: var(--black);
  position: relative;
}
.stars { width: 120px; height: 22px; margin: 0 auto 1.25rem; fill: var(--crimson); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; max-width: 32ch; margin-inline: auto; }
.testimonial figcaption { margin-top: 1.25rem; font-weight: 600; color: var(--steel); letter-spacing: .04em; }

/* ---------- Plan ---------- */
.plan { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { /* connector line */
  content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--silver) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--crimson); color: var(--white);
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--silver);
  position: relative;
}
.step h3 { font-size: 1.5rem; }
.step p { margin-top: .6rem; color: var(--steel); max-width: 28ch; margin-inline: auto; }

/* ---------- Transformation ---------- */
.transform { background: #fff; border-top: 1px solid var(--line); }
.transform .section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.compare-card { border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); }
.compare-card--before { background: var(--white); border: 1px solid var(--line); color: var(--steel); }
.compare-card--after { background: var(--black); color: var(--white); box-shadow: var(--shadow-lg); }
.compare-label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.compare-card--before .compare-label { color: var(--steel); }
.compare-card--after .compare-label { color: var(--silver); }
.compare-card ul { display: grid; gap: 1rem; }
.compare-card li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.125rem; font-weight: 500; line-height: 1.45; }
.compare-card li svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; margin-top: .05rem; }
.compare-card--before li svg { background: rgba(74,80,90,.12); color: var(--steel); }
.compare-card--after li svg { background: var(--crimson); color: var(--white); }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--crimson); color: var(--white); }

/* ---------- Story / explanatory ---------- */
.story { background: var(--white); border-top: 1px solid var(--line); }
.story-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-aside {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; max-width: 380px; width: 100%; justify-self: center;
  background:
    radial-gradient(circle at center, var(--white) 0 52%, transparent 52.5%),
    repeating-conic-gradient(from 0deg, var(--silver) 0 6deg, transparent 6deg 12deg);
  border: 1px solid var(--line);
}
.story-mark { width: 42%; height: auto; aspect-ratio: 48 / 56; filter: drop-shadow(0 18px 24px rgba(23,25,29,.25)); }
.story-kicker { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--crimson); margin: 1rem 0 1.25rem; }
.story-copy > p:not(.eyebrow):not(.story-kicker) { color: var(--steel); font-size: 1.125rem; max-width: 60ch; margin-bottom: 2.25rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--crimson); color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(23,25,29,.07) 0 22px, transparent 22px 44px);
}
.final-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.final-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); max-width: 20ch; }
.final-cta p { margin-top: .75rem; font-size: 1.125rem; color: var(--white); opacity: .92; }
.final-cta .btn-ghost-light { border-color: rgba(245,243,240,.7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--silver); padding: 4rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light); }
.footer-brand p { margin-top: 1rem; max-width: 36ch; font-size: .9375rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.footer-nav a { text-decoration: none; font-weight: 500; color: var(--white); font-size: .9375rem; }
.footer-nav a:hover { color: var(--silver); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--crimson); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: .875rem; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--silver); }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.to-top:hover { color: var(--white); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: 1.4rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--black); border-bottom: 1px solid var(--line-light);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem .25rem; font-size: 1.0625rem; border-bottom: 1px solid var(--line-light); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { width: 100%; padding: 1rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-art { min-height: 400px; }
  .guide-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { top: 36px; bottom: 36px; left: 50%; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--silver) 0 10px, transparent 10px 18px); display: none; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow svg { transform: rotate(90deg); }
  .story-inner { grid-template-columns: 1fr; }
  .story-aside { max-width: 220px; }
  .hero-badge { right: 4%; }
  .final-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2.5rem, var(--container)); }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 32px; height: 38px; }
  .pain-grid { grid-template-columns: 1fr; gap: .85rem; }
  .pain { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.15rem; }
  .pain-icon { margin: 0; flex: none; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .benefits li { flex-direction: row; align-items: center; padding: 1.1rem 1.15rem; }
  .btn-row .btn { width: 100%; }
  .hero-art { min-height: 0; padding-bottom: 1rem; }
  .book-stack { transform: scale(.66); transform-origin: center; margin: -60px 0 -70px; }
  .hero-badge { position: relative; right: auto; bottom: auto; max-width: none; text-align: center; margin-top: .5rem; }
  .section-cta .btn, .value-copy .btn, .story-copy .btn { width: 100%; }
  .collection { padding: 1.25rem; }
  .footer-nav ul { flex-direction: column; gap: .9rem; }
}
