/* ── PressReady Main CSS ── */

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

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-alt: #F3F2EF;
  --border: #E8E5E0;
  --orange: #4F46E5;
  --orange-dark: #4338CA;
  --orange-tint: #EEF2FF;
  --iron: #1C1917;
  --body: #57534E;
  --muted: #78716C;
  --success: #166534;
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.06), 0 1px 2px rgba(28,25,23,0.04);
  --shadow-md: 0 4px 16px rgba(28,25,23,0.08), 0 2px 6px rgba(28,25,23,0.05);
  --shadow-hover: 0 8px 24px rgba(79,70,229,0.10), 0 2px 8px rgba(28,25,23,0.06);
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Fraunces optical sizing for warmth */
h1, h2, h3 {
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50, 'WONK' 0;
}

/* Text selection on-brand */
::selection {
  background: #FFF0E6;
  color: #EA6C0A;
}

/* Inter feature settings */
body {
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--iron);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--iron);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.wordmark span { color: var(--orange); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}

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

.btn-primary,
.btn-orange {
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: white;
  border: none;
  box-shadow: 0 2px 12px rgba(79,70,229,0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover,
.btn-orange:hover {
  background: linear-gradient(135deg, #4338CA, #4F46E5);
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}

.btn-outline:hover {
  background: rgba(249,115,22,0.06);
}

/* ── HERO ── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text { max-width: 580px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero-headline .hl-line { display: block; }
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--iron);
  letter-spacing: -2px;
  margin-bottom: 24px;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

.hero-subhead {
  font-size: 18px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.link-ghost {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.link-ghost:hover {
  color: var(--iron);
  border-color: var(--iron);
}

/* ── BOOK MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.book-scene {
  perspective: 800px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.book {
  width: 200px;
  height: 280px;
  position: relative;
  transform: rotateY(-20deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow: 20px 30px 60px rgba(28,25,23,0.25), 4px 6px 20px rgba(28,25,23,0.15);
  border-radius: 2px 6px 6px 2px;
}

.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F97316 0%, #FBBF24 60%, #F59E0B 100%);
  border-radius: 2px 6px 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.book-title {
  font-family: 'Fraunces', serif;
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.book-sub {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-line {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
}

.book-spine {
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(180deg, #C2410C 0%, #EA580C 100%);
  border-radius: 2px 0 0 2px;
  transform: rotateY(-90deg) translateX(-15px);
  transform-origin: right center;
}

/* ── GENRE STRIP ── */
.genre-strip {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
  overflow: hidden;
}

.section-eyebrow {
  text-align: center;
  margin-bottom: 28px;
}

.genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.genre-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  opacity: 0;
  transform: translateX(-20px);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: default;
}

.genre-badge:hover {
  background: var(--orange-tint);
  border-color: var(--orange);
  color: var(--orange);
}

/* ── HOW IT WORKS ── */
.how {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--iron);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--body);
  max-width: 520px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  opacity: 0;
  transform: translateY(40px);
}

.step-icon { width: 48px; height: 48px; background: var(--orange-tint); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-icon i { width: 24px; height: 24px; stroke: var(--orange); stroke-width: 1.75; }

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--iron);
  margin-bottom: 10px;
}

.step-body {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
}

/* ── PRICING ── */
.pricing {
  padding: 96px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) !important;
}

.card.featured {
  border-top: 3px solid var(--orange);
  box-shadow: 0 4px 32px rgba(249,115,22,0.15);
}

.badge-slot {
  height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.popular-badge {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.card-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--iron);
  margin-bottom: 4px;
}

.card-price {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--iron);
  line-height: 1.1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  min-height: 5em;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.feature-list {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 14px;
  color: var(--body);
  padding: 6px 0;
  border-bottom: 1px solid #F5F4F2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.card .btn-pill {
  justify-content: center;
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.note-box {
  background: var(--orange-tint);
  border: 1px solid #FED7AA;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #92400E;
  text-align: center;
}

/* ── ADD-ONS ── */
.addons {
  padding: 96px 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}

.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: white;
  gap: 16px;
}

.addon-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--iron);
}

.addon-price {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* ── FOOTER ── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--iron);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-trust {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(255,247,237,0.85);
  margin-bottom: 4px;
}

.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFF7ED;
}

.footer-wordmark span { color: var(--orange); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,247,237,0.4);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,247,237,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover { color: rgba(255,247,237,0.9); }

.footer-contact {
  font-size: 13px;
  color: rgba(255,247,237,0.4);
}

.footer-contact a {
  color: rgba(255,247,237,0.6);
  text-decoration: none;
}

.footer-contact a:hover { color: rgba(255,247,237,0.9); }

/* ── FAQ ── */
.faq {
  padding: 96px 0;
  background: var(--body);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-question {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--iron);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  color: var(--iron);
  font-size: 16px;
  line-height: 1;
  user-select: none;
}

details[open] .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--surface);
  padding: 0 0 20px 0;
  max-width: 780px;
}

@media (max-width: 768px) {
  .faq { padding: 64px 0; }
  .faq-question { font-size: 16px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .how, .pricing, .addons { padding: 64px 0; }
}

.hl-word { display: inline; }

/* ── PRICING CALCULATOR ── */
.calc-wrap {
  margin-top: 48px;
}

.stage-track-container {
  position: relative;
  padding: 0 16px;
  margin-bottom: 40px;
}

.stage-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stage-label-item {
  flex: 1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  line-height: 1.3;
}

.stage-label-item.active {
  color: #4F46E5;
}

.slider-track-wrap {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.slider-track {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: #E8E5E0;
  border-radius: 3px;
}

.slider-fill {
  position: absolute;
  top: 0; bottom: 0;
  background: #4F46E5;
  border-radius: 3px;
  transition: left 0.05s, width 0.05s;
}

.stage-dots {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E8E5E0;
  border: 2px solid #E8E5E0;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.stage-dot.active {
  background: #4F46E5;
  border-color: #4F46E5;
}

.stage-dot.endpoint {
  background: white;
  border-color: #4F46E5;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.2);
}

.slider-handles-wrap {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
}

.range-handle {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  pointer-events: none;
}

.range-handle::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4F46E5;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(79,70,229,0.4);
  cursor: grab;
  pointer-events: all;
  transition: box-shadow 0.15s;
}

.range-handle::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow: 0 4px 16px rgba(79,70,229,0.5);
}

.range-handle::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4F46E5;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(79,70,229,0.4);
  cursor: grab;
  pointer-events: all;
}

.pressready-label-row {
  display: flex;
  margin-top: 8px;
  padding: 0 0;
  position: relative;
  height: 20px;
}

.pressready-label {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #4F46E5;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: left 0.05s, width 0.05s;
  text-align: center;
}

.stage-sublabels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.stage-sublabel-item {
  flex: 1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #A8A29E;
  line-height: 1.3;
  padding: 0 2px;
}

/* Quick picks */
.quick-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.quick-picks-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.quick-pill {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #C7D2FE;
  background: #EEF2FF;
  color: #4F46E5;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.3;
}

.quick-pill strong {
  font-weight: 700;
  margin-left: 6px;
  opacity: 0.8;
}

.quick-pill:hover {
  background: #E0E7FF;
  border-color: #4F46E5;
}

.quick-pill.active {
  background: #4F46E5;
  color: white;
  border-color: #4F46E5;
}

.quick-pill.active strong {
  opacity: 1;
}

/* Output card */
.calc-output {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.calc-price {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  color: #4F46E5;
  line-height: 1;
}

.calc-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-top: -8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--iron);
  line-height: 1.5;
}

.calc-includes li::before {
  content: '✓';
  color: #4F46E5;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.calc-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* ── Add-ons in calculator ── */
.calc-addons {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-addons-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 4px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.addon-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #4F46E5;
  cursor: pointer;
  flex-shrink: 0;
}

.addon-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--iron);
  flex: 1;
}

.addon-price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.addon-item:has(input:checked) .addon-name,
.addon-item:has(input:checked) .addon-price {
  color: #4F46E5;
}

.btn-indigo {
  background: #4F46E5;
  color: white;
  border: none;
}

.btn-indigo:hover {
  background: #4338CA;
  color: white;
}

.btn-outline-indigo {
  background: transparent;
  color: #4F46E5;
  border: 1.5px solid #4F46E5;
}

.btn-outline-indigo:hover {
  background: #EEF2FF;
}

.calc-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ── MOBILE STAGE SELECTORS (replaces slider on small screens) ── */
.mobile-stage-selectors {
  display: none;
  gap: 16px;
  margin-bottom: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.mobile-stage-select-group {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-stage-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mobile-stage-select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--iron);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 32px 10px 12px;
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.mobile-stage-select:focus {
  outline: 2px solid #4F46E5;
  outline-offset: 1px;
  border-color: #4F46E5;
}

.mobile-stage-arrow {
  font-size: 22px;
  color: #4F46E5;
  font-weight: 700;
  flex-shrink: 0;
  padding-bottom: 10px;
}

/* ── ADDON NOTE (KDP guide note) ── */
.addon-note {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

.addon-item--kdp {
  flex-wrap: wrap;
}

.addon-item--kdp .addon-note {
  flex: 0 0 100%;
  padding-left: 26px;
}

@media (max-width: 640px) {
  .calc-output { padding: 28px 24px; }
  .calc-price { font-size: 40px; }
  .stage-track-container { display: none; }
  .mobile-stage-selectors { display: flex; }
  .quick-picks { flex-direction: column; align-items: flex-start; }
}

/* ── INTERIOR PREVIEW ── */
.interior-preview { padding: 96px 0; background: var(--surface-alt); }
.interior-tabs { display: flex; gap: 8px; justify-content: center; margin: 40px 0 32px; }
.interior-tab { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 10px 24px; border-radius: var(--radius-full); border: 1.5px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; transition: all 0.2s; }
.interior-tab.active { background: var(--orange); color: white; border-color: var(--orange); }
.interior-panel { display: none; }
.interior-panel.active { display: block; }
.interior-pair { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; max-width: 900px; margin: 0 auto; }
.interior-book-thumb img { width: 100%; border-radius: var(--radius-md); box-shadow: 0 8px 32px rgba(28,25,23,0.18); }
.interior-book-label { font-family: 'Fraunces', serif; font-weight: 700; font-size: 16px; color: var(--iron); margin-top: 12px; }
.interior-book-label span { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }
.interior-page-thumb img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.interior-page-label { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }
@media (max-width: 768px) { .interior-pair { grid-template-columns: 1fr; } .interior-book-thumb { max-width: 200px; } }

/* ── QUALITY SECTION ── */
.quality-section { padding: 96px 0; background: var(--iron); color: #FFF7ED; }
.quality-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.quality-section .eyebrow { color: var(--orange); }
.quality-section .section-title { color: #FFF7ED; }
.quality-body { font-size: 16px; line-height: 1.75; color: rgba(255,247,237,0.75); margin-bottom: 16px; }
.quality-standards { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.quality-standard { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,247,237,0.85); }
.quality-standard i { width: 18px; height: 18px; stroke: var(--orange); stroke-width: 2; flex-shrink: 0; }
.quality-books { display: flex; flex-direction: column; gap: 16px; }
.real-book-card { display: flex; gap: 16px; align-items: center; background: rgba(255,247,237,0.06); border: 1px solid rgba(255,247,237,0.1); border-radius: var(--radius-md); padding: 16px; }
.real-book-img { width: 70px; height: 100px; object-fit: cover; border-radius: 4px; flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.real-book-title { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 700; color: #FFF7ED; margin-bottom: 4px; }
.real-book-genre { font-size: 13px; color: rgba(255,247,237,0.5); }
@media (max-width: 768px) { .quality-inner { grid-template-columns: 1fr; gap: 48px; } }

/* ── TECHNOLOGY ── */
.technology { padding: 96px 0; background: var(--surface-alt); }
.tech-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.tech-header { position: static; }
.tech-steps { display: flex; flex-direction: column; gap: 40px; }
.tech-step { display: flex; gap: 20px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.tech-step-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--orange-tint); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.tech-step-icon i { width: 22px; height: 22px; stroke: var(--orange); stroke-width: 1.75; }
.tech-step-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--iron); margin-bottom: 8px; }
.tech-step-body { font-size: 16px; line-height: 1.7; color: var(--body); }
@media (max-width: 768px) { .tech-inner { grid-template-columns: 1fr; gap: 40px; } .tech-header { position: static; } }
.tech-promise { margin-top: 40px; padding: 28px 32px; background: var(--iron); border-radius: var(--radius-lg); color: #FFF7ED; font-family: 'Fraunces', serif; font-size: 18px; line-height: 1.6; font-style: italic; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 96px 0; background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.testimonial-text { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 24px; font-style: italic; }
.testimonial-text::before { content: '\201C'; font-family: 'Fraunces', serif; font-size: 48px; color: var(--orange); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-name { font-weight: 600; color: var(--iron); font-size: 14px; }
.testimonial-book { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── BOOKS SHOWCASE ── */
.books-showcase { padding: 96px 0; }
.books-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 48px; align-items: end; }
.book-cover-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.css-book {
  width: 120px;
  height: 170px;
  position: relative;
  display: flex;
  transform: perspective(600px) rotateY(-8deg);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
}
.css-book:hover { transform: perspective(600px) rotateY(-2deg) translateY(-4px); }
.css-spine {
  width: 20px;
  height: 100%;
  background: var(--spine-color);
  border-radius: 2px 0 0 2px;
  flex-shrink: 0;
}
.css-cover {
  flex: 1;
  background: var(--book-color);
  border-radius: 0 3px 3px 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.3);
}
.css-book-title { color: white; font-family: 'Fraunces', serif; font-size: 12px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.css-book-author { color: rgba(255,255,255,0.7); font-family: 'Inter', sans-serif; font-size: 10px; }
.book-genre-tag { font-size: 12px; color: var(--muted); font-weight: 500; }
.books-disclaimer { text-align: center; margin-top: 32px; font-size: 12px; color: var(--muted); font-style: italic; }
@media (max-width: 768px) { .books-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── INNER PAGES ── */
.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-content {
  padding: 80px 0 96px;
}

.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--iron);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-intro {
  font-size: 18px;
  color: var(--body);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

.prose h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--iron);
  margin: 40px 0 12px;
}

.prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 8px;
}

.prose a {
  color: var(--orange);
  text-decoration: underline;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--iron);
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-info a {
  color: var(--orange);
  text-decoration: none;
}

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

/* ── THANK YOU PAGE ── */
.thankyou-section {
  padding: 120px 0;
  text-align: center;
}

.thankyou-section .section-title {
  margin-bottom: 20px;
}

.thankyou-section p {
  font-size: 17px;
  color: var(--body);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ── WORDPRESS BLOCK EDITOR COMPATIBILITY ── */
.wp-site-blocks { padding: 0; }
.entry-content { margin: 0; }
