:root {
  --paper: #faf8f4;
  --surface: #f1ede5;
  --white: #ffffff;
  --ink: #1c242b;
  --muted: #52606d;
  --sage: #2f5d50;
  --sage-dark: #23473d;
  --sage-soft: #e3ece9;
  --terracotta: #c85a32;
  --terracotta-soft: #f9ebe6;
  --line: #ddd6ca;
  --radius: 12px;
  --max-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.55rem 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--sage);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--sage-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
}

.btn-terracotta:hover {
  background: #b14c27;
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--sage);
  margin-bottom: 1.2rem;
}

.seal-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--terracotta);
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.35rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.metric span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* 3D Book Showcase */
.hero-visual {
  display: flex;
  justify-content: center;
}

.book-stage {
  position: relative;
  padding: 1rem 0 2.2rem;
}

.book-card {
  display: flex;
  width: 360px;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(28, 36, 43, 0.16), -8px 0 18px rgba(28, 36, 43, 0.08);
}

.book-spine {
  width: 28px;
  background: var(--sage);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 1rem 0;
  flex-shrink: 0;
}

.book-cover {
  flex: 1;
  padding: 1.35rem 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #faf8f4 0%, #f5f1e9 100%);
}

.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 0.9rem;
}

.cover-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--terracotta);
  border-radius: 3px;
  color: var(--terracotta);
  font-size: 0.62rem;
  font-weight: 800;
}

.cover-title-wrap h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.cover-title-wrap p {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}

.cover-art {
  margin: 0.85rem auto;
  height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-art img {
  max-height: 230px;
  width: auto;
  mix-blend-mode: multiply;
}

.cover-footer {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.1);
}

.note-tag {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.note-sub {
  font-size: 0.74rem;
  color: var(--muted);
}

/* Principles Strip */
.principles {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.p-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.3rem;
}

.principle-item h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.principle-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tinted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.8rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-head p {
  font-size: 1.02rem;
  color: var(--muted);
}

/* Interactive Explorer */
.explorer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.movement-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.move-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.15s ease;
}

.move-btn:hover {
  border-color: var(--sage);
}

.move-btn.is-active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--paper);
}

.move-idx {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--sage);
  flex-shrink: 0;
}

.move-btn.is-active .move-idx {
  background: rgba(250, 248, 244, 0.18);
  color: var(--paper);
}

.move-btn-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.anatomy-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  align-items: center;
}

.anatomy-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.65rem 0.85rem;
}

.svg-legend {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: center;
}

.svg-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.dot-stretch,
.dot-engage {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-stretch { background: var(--terracotta); }
.dot-engage { background: var(--sage); }

.body-zone {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.body-zone.is-stretch {
  opacity: 0.72;
  fill: var(--terracotta);
}

.body-zone.is-engage {
  opacity: 0.72;
  fill: var(--sage);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.detail-id {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage);
  white-space: nowrap;
}

.detail-reps {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--sage-soft);
  color: var(--sage);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.anatomy-detail h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.detail-desc {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.bio-cards {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.bio-card {
  border-radius: 9px;
  padding: 0.85rem 1rem;
  border-left: 3.5px solid;
}

.bio-stretch {
  background: var(--terracotta-soft);
  border-color: var(--terracotta);
}

.bio-engage {
  background: var(--sage-soft);
  border-color: var(--sage);
}

.bio-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.bio-stretch .bio-label { color: var(--terracotta); }
.bio-engage .bio-label { color: var(--sage); }

.bio-card p {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}

.detail-angles {
  font-size: 0.84rem;
  color: var(--muted);
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.angles-label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.35rem;
}

/* Look Inside */
.spread-showcase {
  margin-bottom: 2.5rem;
}

.spread-trigger {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
  padding: 0;
  box-shadow: 0 20px 50px rgba(28, 36, 43, 0.1);
}

.spread-trigger img {
  width: 100%;
}

.zoom-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(28, 36, 43, 0.88);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.character-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
}

.char-text h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.char-text p {
  font-size: 0.94rem;
  color: var(--muted);
}

.char-img-wrap {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
}

.price-featured {
  border: 2px solid var(--sage);
  box-shadow: 0 20px 45px rgba(47, 93, 80, 0.12);
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--terracotta);
  margin-bottom: 0.65rem;
}

.price-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
}

.price-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  flex: 1;
}

.feature-list li {
  font-size: 0.91rem;
  padding-left: 1.3rem;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 800;
}

.checkout-note {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Lead Magnet */
.section-sage {
  background: var(--sage);
  color: var(--paper);
}

.kicker-light {
  color: #b7d5cb;
}

.lead-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.lead-copy h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.lead-copy p {
  color: rgba(250, 248, 244, 0.85);
}

.lead-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.lead-form input {
  flex: 1 1 220px;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(250, 248, 244, 0.35);
  background: rgba(250, 248, 244, 0.12);
  color: var(--white);
  font-size: 0.96rem;
}

.lead-form input::placeholder {
  color: rgba(250, 248, 244, 0.65);
}

.form-status {
  width: 100%;
  font-size: 0.86rem;
  min-height: 1.2rem;
  color: #f6e7d8;
}

/* Series */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.series-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
}

.series-card.is-live {
  border-color: var(--sage);
  background: linear-gradient(180deg, #ffffff 0%, #f3f7f5 100%);
}

.s-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.series-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.series-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-brand .brand-name {
  display: block;
  margin-bottom: 0.5rem;
}

.copyright {
  margin-top: 0.75rem;
  color: var(--ink);
  font-weight: 600;
}

/* Lightbox Dialog */
.spread-dialog {
  width: min(94vw, 1280px);
  max-height: 92vh;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  background: var(--paper);
  overflow: auto;
}

.spread-dialog::backdrop {
  background: rgba(28, 36, 43, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.dialog-close {
  border: 0;
  background: var(--surface);
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-grid,
  .explorer-grid,
  .character-strip,
  .lead-box,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .pricing-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .floating-note {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .anatomy-panel {
    grid-template-columns: 1fr;
  }
  .series-grid {
    grid-template-columns: 1fr;
  }
}
