:root {
  --bg: #121315;
  --bg-soft: #191b1e;
  --bg-elevated: #1d2024;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(187, 147, 104, 0.22);
  --text: #f3efe7;
  --muted: #c9c3bb;
  --muted-2: #9e9890;
  --accent: #7c2434;
  --accent-hover: #972c41;
  --accent-2: #bb9368;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
  --radius: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --narrow: 820px;
  --header-height: 82px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 36, 52, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(187, 147, 104, 0.08), transparent 18%),
    linear-gradient(180deg, #0e1012 0%, #141618 32%, #111214 100%);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  word-break: normal;
  overflow-wrap: break-word;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100%, var(--narrow));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--text);
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 13, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(187, 147, 104, 0.35);
}

.brand-text {
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(124, 36, 52, 0.18);
  border: 1px solid rgba(187, 147, 104, 0.24);
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 36, 52, 0.24), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(187, 147, 104, 0.12), transparent 18%),
    radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.03), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy,
.hero-media,
.author-copy,
.author-media,
.card,
.diagram-card,
.purchase-panel,
.topics-grid li,
details,
.hero-actions,
.hero-badges,
.section-heading,
.store-links,
.diagram-copy {
  min-width: 0;
}

.hero-copy,
.section-heading,
.diagram-copy,
.author-copy,
.author-media,
.purchase-panel {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 0.95;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-text,
.section p,
.card p,
.diagram-copy p,
details p,
.quote-explainer,
.purchase-note {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
  -webkit-tap-highlight-color: transparent;
  max-width: 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff8f0;
  background: linear-gradient(180deg, var(--accent) 0%, #631b28 100%);
  box-shadow: 0 16px 34px rgba(124, 36, 52, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, var(--accent-hover) 0%, #741f30 100%);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-large {
  min-width: 240px;
  font-size: 1.05rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 100%;
}

.book-stage {
  position: relative;
  margin: 0;
  padding: 1.4rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.section {
  padding: 5rem 0;
}

.section-intro {
  padding-top: 2.5rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.diagram-card,
.purchase-panel,
details {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.4rem 1.3rem;
}

.quote-band {
  background:
    linear-gradient(180deg, rgba(124,36,52,0.08), rgba(124,36,52,0.03)),
    rgba(255,255,255,0.01);
}

blockquote {
  margin: 0;
  padding: 0.3rem 0 0;
  border-left: 3px solid rgba(187, 147, 104, 0.65);
  padding-left: 1rem;
}

blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--text);
}

.quote-explainer {
  margin-top: 1rem;
}

.diagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.diagram-card {
  overflow: hidden;
}

.diagram-card img {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: #101214;
}

.diagram-copy {
  padding: 1.2rem 1.2rem 1.4rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topics-grid li {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.5;
}

.section-difference {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.author-media img {
  width: 100%;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-final {
  background:
    radial-gradient(circle at top center, rgba(124,36,52,0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.purchase-panel {
  margin-top: 1.8rem;
  padding: 1.5rem;
  text-align: center;
}

.purchase-note {
  margin: 0.9rem 0 1rem;
  color: var(--muted-2);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store-links a {
  text-decoration: none;
  text-align: center;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  max-width: 100%;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.store-links a:hover,
.store-links a:focus-visible {
  color: var(--text);
  border-color: rgba(187, 147, 104, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.cause-band {
  background:
    linear-gradient(180deg, rgba(187,147,104,0.08), rgba(187,147,104,0.03));
}

.faq-list {
  display: grid;
  gap: 1rem;
}

details {
  padding: 1.1rem 1.15rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  padding-right: 1.5rem;
  line-height: 1.4;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.footer-copy,
.footer-links a {
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .author-grid,
  .cards-grid,
  .topics-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-copy {
    order: 2;
  }

  .hero-media {
    order: 1;
    max-width: 440px;
    margin-inline: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 8vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  h3 {
    font-size: clamp(1.45rem, 3vw, 1.8rem);
  }

  .hero-subtitle {
    font-size: clamp(1.08rem, 2.8vw, 1.35rem);
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: inline-block;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0.75rem;
    left: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(16, 17, 19, 0.97);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0.35rem;
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 2.4rem;
    padding-bottom: 2rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1;
  }

  h3 {
    font-size: 1.4rem;
    line-height: 1.05;
  }

  .hero-subtitle {
    margin: 0.55rem 0 0.9rem;
    font-size: 1.02rem;
  }

  .hero-text,
  .section p,
  .card p,
  .diagram-copy p,
  details p,
  .quote-explainer,
  .purchase-note {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .hero-badges li {
    width: 100%;
    padding: 0.72rem 0.85rem;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .book-stage {
    padding: 1rem;
    border-radius: 22px;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-intro {
    padding-top: 1.4rem;
  }

  .section-heading {
    margin-bottom: 1.4rem;
  }

  .cards-grid,
  .diagram-grid,
  .faq-list {
    gap: 0.85rem;
  }

  .card {
    padding: 1.1rem 1rem;
  }

  .diagram-copy {
    padding: 1rem 1rem 1.15rem;
  }

  .topics-grid {
    gap: 0.75rem;
  }

  .topics-grid li {
    padding: 0.95rem 0.9rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .author-grid {
    gap: 1.3rem;
  }

  .purchase-panel {
    padding: 1.2rem 1rem;
  }

  .btn {
    min-height: 50px;
    padding: 0.9rem 1rem;
  }

  .btn-large {
    min-width: 100%;
  }

  blockquote {
    padding-left: 0.8rem;
  }

  blockquote p {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.05;
  }

  details {
    padding: 1rem;
  }

  summary {
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-links {
    gap: 0.75rem;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
    --radius: 18px;
    --radius-md: 16px;
    --radius-sm: 12px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .narrow {
    width: 100%;
  }

  .site-header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .header-inner {
    min-height: var(--header-height);
    gap: 0.75rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
  }

  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1.3rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-media {
    max-width: 270px;
  }

  .book-stage {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.2vw, 2.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1;
    margin-bottom: 0.75rem;
    text-wrap: balance;
  }

  h3 {
    font-size: 1.2rem;
    line-height: 1.08;
  }

  .hero-subtitle {
    margin: 0 0 0.9rem;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .hero-text,
  .section p,
  .card p,
  .diagram-copy p,
  details p,
  .purchase-note,
  .quote-explainer {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-text {
    max-width: 30ch;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin: 1rem 0 0.9rem;
    width: 100%;
  }

  .btn,
  .btn-large {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: 999px;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
  }

  .hero-badges li {
    width: 100%;
    padding: 0.72rem 0.85rem;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .section {
    padding: 2.3rem 0;
  }

  .section-intro {
    padding-top: 1rem;
  }

  .section-heading {
    margin-bottom: 1.1rem;
  }

  .cards-grid,
  .diagram-grid,
  .faq-list,
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .card {
    padding: 1rem 0.95rem;
    border-radius: 16px;
  }

  .diagram-copy {
    padding: 0.95rem;
  }

  .diagram-card {
    border-radius: 18px;
  }

  .topics-grid li {
    padding: 0.9rem 0.9rem;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .author-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .author-media {
    max-width: 290px;
    margin-inline: auto;
  }

  .purchase-panel {
    padding: 1rem 0.9rem;
    border-radius: 16px;
  }

  .store-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    width: 100%;
  }

  .store-links a {
    width: 100%;
    padding: 0.78rem 0.95rem;
    line-height: 1.35;
  }

  blockquote {
    padding-left: 0.75rem;
  }

  blockquote p {
    font-size: clamp(1.35rem, 6.6vw, 1.8rem);
    line-height: 1.06;
  }

  details {
    padding: 0.95rem;
    border-radius: 16px;
  }

  summary {
    font-size: 0.98rem;
    line-height: 1.42;
    padding-right: 1.5rem;
  }

  .site-footer {
    padding: 1.4rem 0 2rem;
  }

  .footer-inner {
    gap: 0.7rem;
  }

  .footer-links {
    gap: 0.65rem;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 20px);
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .hero-text,
  .section p,
  .card p,
  .diagram-copy p,
  details p {
    font-size: 0.93rem;
  }

  .hero-media {
    max-width: 240px;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 16px);
  }

  h1 {
    font-size: 1.76rem;
  }

  h2 {
    font-size: 1.38rem;
  }

  .hero-badges li,
  .topics-grid li,
  .card p,
  .section p,
  details p {
    font-size: 0.91rem;
  }

  .btn {
    font-size: 0.95rem;
  }
}