/* READ BY HUMAN — production stylesheet
   Palette + type scale ported from the Claude Design prototype (READ BY HUMAN.dc.html) */

:root {
  --cream: #F7F3EC;
  --charcoal: #171717;
  --burgundy: #7D1717;
  --burgundy-muted: #9B3434;
  --warm-gray: #6E6A65;
  --beige: #ECE5DA;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-muted); }
img { max-width: 100%; display: block; }
::selection { background: var(--beige); }
button { font-family: var(--sans); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-prose { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.rule-top { border-top: 1px solid var(--charcoal); }
.rule-bottom { border-bottom: 1px solid var(--charcoal); }
.bg-white { background: var(--white); }
.bg-beige { background: var(--beige); }
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); color: var(--cream); }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--burgundy); margin-bottom: 20px; text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); margin: 0; }

.btn {
  display: inline-block; border-radius: 3px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; padding: 16px 28px; text-align: center; cursor: pointer;
  border: 1px solid transparent; font-family: var(--sans); transition: opacity .15s ease;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--burgundy); color: var(--cream) !important; }
.btn-secondary { background: transparent; color: var(--charcoal) !important; border-color: var(--charcoal); }
.btn-cream { background: var(--cream); color: var(--burgundy) !important; }
.btn-outline-cream { background: transparent; color: var(--cream) !important; border-color: var(--cream); }
.btn-sm { padding: 13px; font-size: 12px; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,236,0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--charcoal);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 24px; max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { width: 34px; height: auto; mix-blend-mode: multiply; background: transparent; }
.nav-logo-text { font-family: var(--serif); font-size: 19px; line-height: 1; letter-spacing: 0.01em; }
.nav-logo-text .b { color: var(--charcoal); font-weight: 700; }
.nav-logo-text .r { color: var(--burgundy); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a { color: var(--charcoal); }
.nav-right { display: flex; align-items: center; gap: 16px; }

.btn-story {
  display: inline-block;
  background: transparent;
  color: var(--charcoal) !important;
  border: 1px solid var(--charcoal);
  border-radius: 3px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-story:hover {
  background: var(--burgundy) !important;
  color: var(--cream) !important;
  border-color: var(--burgundy) !important;
  box-shadow: 0 4px 14px rgba(125, 23, 23, 0.22);
}

.nav-mobile-toggle {
  display: none; background: none; border: 1px solid var(--charcoal); border-radius: 3px;
  padding: 8px 10px; font-size: 20px; line-height: 1; cursor: pointer;
}
.nav-mobile-panel {
  display: none; border-top: 1px solid var(--charcoal); padding: 20px 24px;
  flex-direction: column; gap: 18px; font-size: 15px; font-weight: 500;
}
.nav-mobile-panel.open { display: flex; }
.nav-mobile-panel a { color: var(--charcoal); }
/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
  padding: 72px 24px 96px;
}
.hero h1 {
  font-weight: 700; font-size: clamp(38px,5.4vw,64px); line-height: 1.06;
  margin: 0 0 28px; letter-spacing: -0.01em;
}
.hero p.lead { font-size: 19px; line-height: 1.6; margin: 0 0 8px; max-width: 520px; }
.hero p.sub { font-size: 16px; line-height: 1.7; color: var(--warm-gray); margin: 16px 0 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cover-wrap { display: flex; justify-content: center; perspective: 1400px; }
.hero-cover-wrap img {
  width: min(100%, 340px); height: auto; border-radius: 2px;
  box-shadow: 0 40px 80px -20px rgba(23,23,23,0.35), 0 4px 12px rgba(23,23,23,0.15);
  transform: rotateY(-8deg) rotateX(2deg); transition: transform .5s ease;
}
.hero-cover-wrap img:hover { transform: rotateY(0deg) rotateX(0deg); }

/* ---------- Editorial / problem section ---------- */
.section-pad { padding: 112px 24px; }
.editorial {
  padding: 96px 24px;
}
.editorial h2 {
  font-weight: 600; font-style: italic; font-size: clamp(28px,4vw,44px);
  line-height: 1.25; margin: 0 0 40px; letter-spacing: -0.005em;
}
.editorial p { font-size: 18px; line-height: 1.75; max-width: 680px; margin: 0; }

/* ---------- System / six stages ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 { font-weight: 700; font-size: clamp(30px,4.4vw,46px); margin: 0 0 16px; }
.section-head p { font-size: 17px; color: var(--warm-gray); line-height: 1.6; margin: 0; }

.stage-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 0;
  border-top: 1px solid var(--charcoal);
  border-left: 1px solid var(--charcoal);
}
.stage-cell { padding: 28px 18px; border-right: 1px solid var(--charcoal); border-bottom: 1px solid var(--charcoal); }
.stage-num { font-family: var(--serif); font-size: 15px; color: var(--burgundy-muted); font-weight: 600; margin-bottom: 14px; }
.stage-name { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; }
.stage-desc { font-size: 14px; color: var(--warm-gray); line-height: 1.55; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.product-card {
  border: 1px solid var(--charcoal); border-radius: 3px; padding: 32px;
  display: flex; flex-direction: column; background: var(--cream);
}
.product-role { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--burgundy); margin-bottom: 16px; text-transform: uppercase; }
.product-card img { width: 100%; max-width: 180px; margin: 0 auto 24px; box-shadow: 0 20px 40px -12px rgba(23,23,23,0.3); }
.product-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.product-card p { font-size: 14px; color: var(--warm-gray); line-height: 1.6; margin: 0 0 24px; flex-grow: 1; }
.product-price { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 20px; }

/* ---------- Toolkit highlight ---------- */
.toolkit-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 112px 24px; }
.toolkit-badge { display: inline-block; border: 1px solid var(--cream); padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 24px; }
.toolkit-wrap h2 { font-weight: 700; font-size: clamp(28px,4vw,42px); line-height: 1.15; margin: 0 0 20px; }
.toolkit-wrap > div:first-child > p { font-size: 16px; line-height: 1.7; color: var(--beige); margin: 0 0 28px; }
.toolkit-includes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; font-size: 15px; }
.toolkit-price { font-family: var(--serif); font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.toolkit-separate { font-size: 14px; color: var(--beige); margin-bottom: 32px; text-decoration: line-through; opacity: 0.85; }
.toolkit-stack { display: flex; justify-content: center; align-items: flex-end; position: relative; height: 340px; }
.toolkit-stack img { position: absolute; border-radius: 2px; }
.toolkit-stack .book { left: 38%; bottom: 0; width: 180px; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5); z-index: 3; }
.toolkit-stack .workbook { left: 12%; top: 14px; width: 165px; box-shadow: 0 24px 48px -10px rgba(0,0,0,0.45); z-index: 2; }
.toolkit-stack .prompts { left: 58%; top: 28px; width: 165px; box-shadow: 0 24px 48px -10px rgba(0,0,0,0.45); z-index: 1; }

/* ---------- Deliverables grid (12 Tangible Career Assets) ---------- */
.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliv-cell { background: var(--cream); border: 1px solid var(--charcoal); border-radius: 3px; padding: 24px 22px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.deliv-cell:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,25,24,0.06); }
.deliv-num { font-family: var(--serif); color: var(--burgundy); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.deliv-name { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.35; margin-bottom: 8px; color: var(--charcoal); }
.deliv-desc { font-size: 13px; color: var(--warm-gray); line-height: 1.5; }

/* ---------- AI without slop ---------- */
.slop-wrap { max-width: 900px; margin: 0 auto; padding: 112px 24px; text-align: center; }
.slop-wrap h2 { font-weight: 700; font-size: clamp(30px,4.6vw,48px); margin: 0 0 32px; line-height: 1.15; }
.slop-wrap > p { font-size: 17px; line-height: 1.7; color: var(--beige); max-width: 560px; margin: 0 auto 48px; }
.slop-quote { border-top: 1px solid var(--warm-gray); border-bottom: 1px solid var(--warm-gray); padding: 36px 0; margin-bottom: 56px; }
.slop-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px,2.8vw,28px); line-height: 1.4; margin: 0; }
.workflow-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.workflow-chips span { border: 1px solid var(--warm-gray); padding: 10px 16px; border-radius: 3px; }

/* ---------- Inside the book ---------- */
.book-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; padding: 112px 24px; max-width: 1280px; margin: 0 auto; }
.book-covers { display: flex; gap: 20px; justify-content: center; }
.book-covers picture { display: block; flex: 1 1 0; min-width: 0; max-width: 260px; }
.book-covers img { width: 100%; height: auto; display: block; box-shadow: 0 24px 48px -12px rgba(23,23,23,0.3); border-radius: 2px; }
.book-covers picture:last-child img { margin-top: 24px; }
.book-wrap h2 { font-weight: 700; font-size: clamp(28px,3.8vw,42px); line-height: 1.2; margin: 0 0 24px; }
.book-stages { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--burgundy); margin-bottom: 28px; }
.book-wrap p.body { font-size: 16px; line-height: 1.75; max-width: 560px; margin: 0 0 32px; }



/* ---------- Audience ---------- */
.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-tags span { border: 1px solid var(--charcoal); border-radius: 20px; padding: 8px 18px; font-size: 13px; font-weight: 600; }

.not-for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; margin-bottom: 36px; }
.not-for-item { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--beige); padding-bottom: 16px; }
.not-for-item .dash { color: var(--burgundy-muted); }

/* ---------- Pricing ---------- */
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.pricing-head h2 { font-weight: 700; font-size: clamp(28px,3.8vw,42px); margin: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pricing-card { border: 1px solid var(--charcoal); border-radius: 3px; padding: 28px 24px; display: flex; flex-direction: column; background: var(--white); }
.pricing-card.highlight { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.pricing-role { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--burgundy-muted); margin-bottom: 16px; text-transform: uppercase; }
.pricing-card.highlight .pricing-role { color: var(--cream); }
.pricing-name { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.pricing-price { font-family: var(--serif); font-size: 28px; font-weight: 700; margin-bottom: 24px; flex-grow: 1; }

/* ---------- FAQ (native <details>/<summary> — no JS required) ---------- */
.faq-list { border-top: 1px solid var(--charcoal); }
.faq-item { border-bottom: 1px solid var(--charcoal); }
.faq-q {
  list-style: none; width: 100%; padding: 22px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600; cursor: pointer; color: var(--charcoal);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { font-size: 20px; flex-shrink: 0; width: 20px; text-align: center; }
.faq-icon::before { content: '+'; }
.faq-item[open] .faq-icon::before { content: '\2212'; }
.faq-a { padding: 0 4px 24px; font-size: 15px; line-height: 1.7; color: var(--warm-gray); max-width: 640px; }

/* ---------- Payment modal ---------- */
.rbh-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(23,23,23,0.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.rbh-modal[hidden] { display: none; }
.rbh-modal-box {
  position: relative; background: var(--white); border-radius: 4px; padding: 40px 32px 32px;
  max-width: 420px; width: 100%; text-align: center; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.4);
}
.rbh-modal-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 24px;
  line-height: 1; cursor: pointer; color: var(--warm-gray);
}
.rbh-modal-box h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.rbh-modal-box p { font-size: 14px; line-height: 1.6; color: var(--warm-gray); margin: 0 0 20px; }
.rbh-modal-box .spinner {
  width: 28px; height: 28px; border: 3px solid var(--beige); border-top-color: var(--burgundy);
  border-radius: 50%; margin: 0 auto 16px; animation: rbh-spin 0.8s linear infinite;
}
@keyframes rbh-spin { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.about-quote { border-left: 2px solid var(--burgundy); padding-left: 24px; }
.about-quote .name { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.about-quote .role { font-size: 14px; color: var(--warm-gray); }

/* ---------- QR / continue online ---------- */
.qr-wrap { max-width: 900px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.qr-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--beige); margin-bottom: 16px; text-transform: uppercase; }
.qr-wrap h3 { font-weight: 700; font-size: clamp(22px,3vw,30px); margin: 0 0 16px; }
.qr-wrap p { font-size: 15px; line-height: 1.7; color: var(--beige); max-width: 520px; margin: 0 auto; }

/* ---------- Final CTA ---------- */
.final-cta { max-width: 800px; margin: 0 auto; padding: 112px 24px; text-align: center; }
.final-cta h2 { font-weight: 700; font-size: clamp(30px,4.6vw,48px); line-height: 1.15; margin: 0 0 24px; }
.final-cta p { font-size: 17px; line-height: 1.7; color: var(--warm-gray); margin: 0 0 40px; }
.final-cta-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.newsletter-wrap { max-width: 640px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.newsletter-wrap .eyebrow { margin-bottom: 16px; }
.newsletter-wrap h3 { font-weight: 700; font-size: clamp(24px,3.2vw,32px); margin: 0 0 16px; }
.newsletter-wrap > p { font-size: 15px; line-height: 1.7; color: var(--warm-gray); margin: 0 0 28px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.newsletter-form input {
  flex: 1; min-width: 220px; max-width: 320px; padding: 14px 16px; border: 1px solid var(--charcoal);
  border-radius: 3px; font-size: 14px; font-family: var(--sans); background: var(--white); color: var(--charcoal);
}
.newsletter-form button {
  background: var(--burgundy); color: var(--cream); border: none; padding: 14px 26px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em; border-radius: 3px; cursor: pointer;
}
.newsletter-success { font-size: 15px; font-weight: 600; color: var(--burgundy); margin-bottom: 14px; }
.newsletter-disclosure { font-size: 12px; color: var(--warm-gray); }

/* ---------- Footer ---------- */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 64px 24px 40px; max-width: 1280px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 30px; height: auto; }
.footer-brand span { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--cream); }
.footer-tagline { font-size: 12px; letter-spacing: 0.08em; color: var(--warm-gray); margin-bottom: 20px; }
.footer-domain { font-size: 13px; color: var(--beige); }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-links a { color: var(--beige); }
.footer-bottom { padding: 20px 24px; border-top: 1px solid #3a3a3a; font-size: 12px; color: var(--warm-gray); max-width: 1280px; margin: 0 auto; }

/* ---------- Payment / download widget ---------- */
.buy-status { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.buy-status.error { color: #b23b3b; }
.buy-status.success { color: var(--burgundy); font-weight: 600; }
.buy-download-link { display: inline-block; margin-top: 8px; font-weight: 700; }

/* ---------- Simple pages (privacy/terms) ---------- */
.simple-header { border-bottom: 1px solid var(--charcoal); padding: 20px 24px; }
.simple-header .row { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.simple-header img { width: 28px; height: auto; }
.simple-header .brand { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.simple-body { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.simple-body h1 { font-weight: 700; font-size: clamp(30px,4.4vw,44px); margin: 0 0 8px; }
.simple-body .updated { font-size: 13px; color: var(--warm-gray); margin: 0 0 48px; }
.simple-sections { display: flex; flex-direction: column; gap: 36px; font-size: 15px; line-height: 1.75; }
.simple-sections h2 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.simple-sections ul { margin: 0; padding-left: 20px; }
.simple-back { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--charcoal); }
.simple-back a { font-size: 14px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hide-mobile { display: none !important; }
  .hero, .toolkit-wrap, .book-wrap, .not-for-grid, .footer-grid { grid-template-columns: 1fr !important; }
  .stage-grid, .product-grid { grid-template-columns: 1fr 1fr !important; }
  .pricing-grid, .deliv-grid { grid-template-columns: 1fr 1fr !important; }
  .nav-mobile-toggle { display: inline-block !important; }
  .toolkit-stack { height: 280px; }
}
@media (max-width: 560px) {
  .section-pad { padding: 64px 20px !important; }
  .editorial { padding: 56px 20px !important; }
  .hero { padding: 48px 20px 40px !important; gap: 40px !important; }
  .pricing-grid, .deliv-grid { grid-template-columns: 1fr !important; }
  .stage-grid, .product-grid { grid-template-columns: 1fr !important; }
  .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-ctas { flex-direction: column; width: 100%; }
}
