:root {
  --ink: #17140f;
  --ink-soft: #302b24;
  --paper: #f8f5ef;
  --paper-deep: #efe8dc;
  --paper-white: #fffdf9;
  --gold: #a77839;
  --gold-deep: #7d5528;
  --gold-pale: #d9bf91;
  --line: rgba(91, 68, 38, 0.22);
  --muted: #6f675d;
  --dark: #14120f;
  --dark-2: #1f1a14;
  --light-text: #f8f1e6;
  --serif: "EB Garamond", Georgia, serif;
  --hebrew: "Noto Serif Hebrew", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(45, 32, 17, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-200%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.12; letter-spacing: .12em; }
.brand span { font-size: .76rem; font-weight: 700; }
.brand small { margin-top: 4px; font-size: .64rem; color: var(--muted); letter-spacing: .15em; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-link { text-decoration: none; font-size: .9rem; color: var(--muted); }
.nav-link:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fffaf1;
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .01em;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.button:hover { transform: translateY(-2px); background: var(--gold-deep); }
.button-small { min-height: 42px; padding: 0 17px; font-size: .84rem; }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #000; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--gold-pale); padding-bottom: 3px; }

.eyebrow { margin: 0 0 18px; font-size: .76rem; letter-spacing: .16em; font-weight: 800; color: var(--gold-deep); }
.eyebrow.light { color: #d5b276; }

h1, h2, h3, h4, blockquote p, .lead-serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, h4 { margin: 0; line-height: .98; }
h1 { font-size: clamp(3.4rem, 7vw, 6.9rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.8rem, 5.4vw, 5.1rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
em { font-weight: 400; color: var(--gold); }

.hero { padding: 74px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-copy h1 { max-width: 760px; }
.hero-lead { max-width: 650px; margin: 30px 0 0; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding-line { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.founding-line strong { color: var(--ink); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.micro { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.hero-visual { position: relative; min-height: 630px; }
.hero-visual::before { content: ""; position: absolute; inset: 28px -24px -28px 46px; border: 1px solid var(--gold-pale); z-index: 0; }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 630px; object-fit: cover; object-position: 59% center; box-shadow: var(--shadow); }
.hero-card { position: absolute; z-index: 2; left: -44px; bottom: 28px; width: min(360px, 84%); padding: 24px 28px; background: rgba(248,245,239,.96); border: 1px solid var(--gold-pale); box-shadow: var(--shadow); display: grid; gap: 6px; }
.hero-card .card-kicker { font-size: .69rem; letter-spacing: .15em; font-weight: 800; color: var(--gold-deep); }
.hero-card strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.hero-card span:last-child { color: var(--muted); font-size: .88rem; }

.demo-section { background: var(--dark); color: var(--light-text); padding: 96px 0 88px; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.demo-intro h2 { max-width: 560px; font-size: clamp(3rem, 5vw, 5.3rem); }
.demo-intro p:not(.eyebrow) { max-width: 630px; color: #d5cabb; font-size: 1.03rem; }
.codex-card { background: #0b0a08; border: 1px solid rgba(216,190,145,.42); padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.codex-topline { display: flex; justify-content: space-between; gap: 20px; color: #bda37a; font-size: .68rem; letter-spacing: .16em; font-weight: 800; border-bottom: 1px solid rgba(216,190,145,.2); padding-bottom: 14px; }
.codex-ref { margin: 26px 0 2px; color: #d7ccbb; font-size: .92rem; }
.codex-value { font-family: var(--serif); font-size: clamp(5rem, 9vw, 8rem); color: #f6ead7; line-height: .94; }
.math-flow { margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(216,190,145,.2); }
.math-flow > div { display: grid; gap: 6px; }
.math-flow small { color: #a98c60; letter-spacing: .13em; font-weight: 800; }
.math-flow strong { font-size: 1rem; }
.math-flow > span { color: var(--gold-pale); font-size: 1.3rem; }

.discovery-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(216,190,145,.24); border-bottom: 1px solid rgba(216,190,145,.24); }
.discovery-step { position: relative; padding: 34px 26px 38px; border-right: 1px solid rgba(216,190,145,.18); }
.discovery-step:last-child { border-right: 0; }
.step-num { display: block; color: #8f744f; font-family: var(--serif); font-size: 1.2rem; }
.step-label { margin: 22px 0 10px; font-size: .67rem; letter-spacing: .15em; color: #b99a69; font-weight: 800; }
.discovery-step h3 { margin-bottom: 16px; line-height: 1.05; }
.discovery-step p:last-child, .discovery-step > p:not(.step-label):not(.hebrew) { color: #cabfaf; }
.discovery-step strong { color: #fff6e8; }
.hebrew, .hebrew-inline { font-family: var(--hebrew); }
.hebrew { font-size: 1.55rem; color: #e0c28f !important; letter-spacing: .02em; }
.hebrew-inline { color: #e3c28c; }
.accent-step { background: rgba(167,120,57,.08); }
.pattern-band { padding: 50px 0 0; text-align: center; }
.pattern-label { margin: 0 0 16px; color: #b99a69; font-size: .68rem; letter-spacing: .16em; font-weight: 800; }
.pattern-flow { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; align-items: center; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.3rem); color: #f2e6d4; }
.pattern-flow b { color: #a97e45; font-weight: 400; }
.pattern-note { max-width: 850px; margin: 22px auto 0; color: #afa494; font-size: .93rem; }

.purpose-section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.purpose-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 76px; align-items: start; }
.purpose-grid h2 { max-width: 500px; }
.lead-serif { margin: 0 0 16px; font-size: 1.75rem; line-height: 1.25; }
.purpose-copy > p:not(.lead-serif) { color: var(--muted); max-width: 720px; }
.method-row { margin-top: 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.method-row span { padding: 16px 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.method-row b { display: block; margin-bottom: 8px; color: var(--gold-deep); }

.membership-section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 650px; }
.section-head > p:last-child { margin: 0; color: var(--muted); max-width: 500px; }
.benefit-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-card { position: relative; padding: 34px 28px 42px; border-right: 1px solid var(--line); }
.benefit-card:last-child { border-right: 0; }
.benefit-meta { display: block; margin-bottom: 26px; font-size: .7rem; letter-spacing: .14em; color: var(--gold-deep); font-weight: 800; }
.benefit-number { position: absolute; top: 31px; right: 25px; color: #a18c70; font-family: var(--serif); font-size: 1.45rem; }
.benefit-card h3 { padding-right: 18px; line-height: 1.03; }
.benefit-card p { color: var(--muted); }
.primary-benefit { background: #f2ecdf; }
.included-grid { margin-top: 38px; display: grid; gap: 24px; }
.included-card { border: 1px solid var(--line); background: var(--paper-white); padding: 42px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: start; }
.tag { display: inline-block; margin-bottom: 16px; color: var(--gold-deep); font-size: .69rem; letter-spacing: .15em; font-weight: 800; }
.included-card h3 { margin-bottom: 12px; }
.included-card h4 { font-size: 1.9rem; line-height: 1.08; margin-bottom: 12px; }
.included-card p { color: var(--muted); }
.included-card strong { color: var(--ink); }
.subtle { font-size: .9rem; }
.course-benefit { background: var(--paper-deep); }
.course-stats { display: flex; gap: 9px; flex-wrap: wrap; align-content: flex-start; }
.course-stats span { padding: 8px 10px; border: 1px solid var(--gold-pale); font-size: .76rem; color: var(--gold-deep); background: rgba(255,255,255,.45); }

.proof-section { padding: 96px 0 110px; background: #eee7db; }
.proof-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: end; }
.proof-head .eyebrow { align-self: start; }
.proof-head h2 { max-width: 800px; }
.testimonials { margin-top: 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.testimonial { margin: 0; padding: 34px; border: 1px solid rgba(125,85,40,.28); background: rgba(255,253,249,.72); }
.testimonial p { margin: 0; font-size: 1.45rem; line-height: 1.3; }
.testimonial footer { margin-top: 22px; color: var(--gold-deep); font-size: .85rem; }
.featured-quote { grid-row: span 3; padding: 48px; background: var(--ink); color: #f7efe3; display: flex; flex-direction: column; justify-content: center; }
.featured-quote p { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.featured-quote footer { color: #d4b37c; }

.teacher-section { padding: 106px 0; }
.teacher-grid { display: grid; grid-template-columns: .72fr 1.08fr .7fr; gap: 50px; align-items: start; }
.teacher-photo { position: sticky; top: 110px; }
.teacher-photo img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: center 18%; box-shadow: var(--shadow); }
.teacher-copy h2 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); }
.teacher-copy p { color: var(--muted); }
.teacher-copy strong { color: var(--ink); }
.teacher-id { margin-top: 28px; display: grid; gap: 2px; padding-top: 22px; border-top: 1px solid var(--line); }
.teacher-id span { color: var(--muted); font-size: .86rem; }
.welcome-card { margin-top: 32px; padding: 28px; border: 1px solid var(--gold-pale); background: #f1eadf; }
.welcome-card h3 { margin-bottom: 20px; }
.welcome-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.welcome-card li { margin-bottom: 10px; }
.welcome-card p:last-child { margin-bottom: 0; color: var(--gold-deep); font-weight: 700; }

.pricing-section { padding: 100px 0; background: var(--dark); color: var(--light-text); }
.pricing-head { text-align: center; }
.pricing-head h2 { margin-inline: auto; max-width: 780px; }
.pricing-head > p:last-child { color: #cabdac; }
.price-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.price-card { position: relative; padding: 38px; border: 1px solid rgba(216,190,145,.28); background: #201b15; }
.price-card.recommended { border-color: #c59a59; background: #f6efe4; color: var(--ink); transform: translateY(-10px); }
.recommend-badge { position: absolute; top: 0; right: 0; transform: translateY(-50%); padding: 8px 12px; background: var(--gold); color: white; font-size: .66rem; letter-spacing: .14em; font-weight: 800; }
.price-label { color: #cfb17f; font-size: .71rem; letter-spacing: .15em; font-weight: 800; }
.recommended .price-label { color: var(--gold-deep); }
.price { font-family: var(--serif); font-size: 6.6rem; line-height: .88; margin-top: 18px; }
.price span { font-size: 3rem; vertical-align: top; }
.price-period { color: #bcae9d; }
.recommended .price-period, .recommended > p:not(.price-label) { color: var(--muted); }
.price-card .button { width: 100%; margin-top: 20px; }
.price-card small { display: block; margin-top: 14px; color: #aa9e8f; }
.recommended small { color: var(--muted); }
.pricing-notes { max-width: 900px; text-align: center; margin-top: 36px; color: #b7aa99; font-size: .89rem; }

.faq-section { padding: 100px 0; }
.faq-wrap { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; }
.faq-head h2 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 1.34rem; line-height: 1.2; padding-right: 36px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: var(--sans); }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; color: var(--muted); margin-bottom: 2px; }

.final-cta { padding: 110px 0; text-align: center; background: linear-gradient(rgba(20,18,15,.93), rgba(20,18,15,.93)), url('assets/torah-study.jpg') center / cover; color: #f8f0e5; }
.final-inner { max-width: 870px; }
.final-inner h2 { margin-inline: auto; }
.final-inner p:not(.eyebrow) { max-width: 680px; margin: 24px auto 30px; color: #d3c6b6; font-size: 1.05rem; }

.site-footer { background: #0f0d0b; color: #d9cdbc; border-top: 1px solid rgba(216,190,145,.16); }
.footer-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand small { color: #9f9384; }
.site-footer a { color: #d9cdbc; text-decoration: none; font-size: .88rem; }

@media (max-width: 1020px) {
  .hero-grid, .demo-grid, .purpose-grid, .section-head, .proof-head, .teacher-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-visual { min-height: 520px; }
  .hero-visual img { height: 520px; }
  .hero-card { left: 18px; }
  .demo-grid { gap: 42px; }
  .discovery-grid { grid-template-columns: repeat(2, 1fr); }
  .discovery-step:nth-child(2) { border-right: 0; }
  .discovery-step:nth-child(-n+2) { border-bottom: 1px solid rgba(216,190,145,.18); }
  .method-row { grid-template-columns: repeat(3, 1fr); }
  .section-head { gap: 24px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-card:last-child { border-bottom: 0; }
  .included-card { grid-template-columns: 1fr; gap: 22px; }
  .testimonials { grid-template-columns: 1fr; }
  .featured-quote { grid-row: auto; }
  .teacher-grid { gap: 32px; }
  .teacher-photo { position: relative; top: auto; max-width: 520px; }
  .welcome-card { margin-top: 0; }
  .faq-wrap { gap: 38px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 68px; }
  .nav-link { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 36px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-visual { min-height: 420px; }
  .hero-visual::before { inset: 14px -10px -14px 20px; }
  .hero-visual img { height: 420px; }
  .hero-card { left: 12px; right: 12px; width: auto; bottom: 14px; }
  .demo-section, .purpose-section, .membership-section, .proof-section, .teacher-section, .pricing-section, .faq-section { padding: 72px 0; }
  .codex-card { padding: 22px; }
  .codex-topline { flex-direction: column; gap: 4px; }
  .codex-value { font-size: 5.6rem; }
  .math-flow { grid-template-columns: 1fr; }
  .math-flow > span { transform: rotate(90deg); justify-self: center; }
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-step { border-right: 0; border-bottom: 1px solid rgba(216,190,145,.18); }
  .discovery-step:last-child { border-bottom: 0; }
  .pattern-flow { gap: 8px; }
  .method-row { grid-template-columns: 1fr 1fr; }
  .benefit-card, .included-card, .testimonial, .featured-quote, .price-card { padding: 26px; }
  .proof-head { gap: 16px; }
  .testimonial p { font-size: 1.28rem; }
  .featured-quote p { font-size: 1.8rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.recommended { transform: none; margin-top: 12px; }
  .price { font-size: 5.7rem; }
  .final-cta { padding: 80px 0; }
  .footer-inner { padding: 26px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* V2 premium contrast pass */
.site-header {
  background: rgba(18, 15, 12, 0.94);
  border-bottom-color: rgba(216,190,145,.18);
}
.site-header .brand span,
.site-header .nav-link { color: #f3eadc; }
.site-header .brand small { color: #aa9c8b; }
.site-header .nav-link:hover { color: #fff8ec; }

.hero {
  background: var(--dark);
  color: var(--light-text);
  padding: 64px 0 88px;
}
.hero .shell { width: min(1280px, calc(100% - 40px)); }
.hero-grid { grid-template-columns: .76fr 1.24fr; gap: 64px; }
.hero-copy h1 { max-width: 620px; }
.hero-lead { color: #d4c8b8; }
.hero .text-link { color: #f4eadb; border-bottom-color: rgba(216,190,145,.42); }
.hero .founding-line { border-top-color: rgba(216,190,145,.2); color: #b8ab9b; }
.hero .founding-line strong { color: #f6ecde; }
.hero .micro { color: #9f9385; }
.hero-visual { min-height: 0; }
.hero-visual::before { inset: 24px -18px -24px 36px; border-color: rgba(216,190,145,.56); }
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.hero-card {
  left: -28px;
  bottom: 24px;
  background: rgba(24,20,15,.95);
  border-color: rgba(216,190,145,.46);
  color: #f6eddf;
}
.hero-card .card-kicker { color: #d3aa6c; }
.hero-card span:last-child { color: #b9ac9b; }

.demo-section {
  background: #eee3d2;
  color: var(--ink);
  padding-top: 92px;
}
.demo-section .eyebrow.light { color: var(--gold-deep); }
.demo-intro p:not(.eyebrow) { color: #5f574d; }
.codex-card { background: #11100d; }
.math-flow { align-items: stretch; }
.reduction-block {
  min-height: 150px;
  padding: 16px 14px 12px;
  border: 1px solid rgba(216,190,145,.18);
  background: rgba(255,255,255,.02);
  align-content: center;
  text-align: center;
}
.reduction-block .equation {
  color: #c6b7a3;
  font-size: .9rem;
  letter-spacing: .04em;
}
.reduction-result {
  display: block;
  font-family: var(--serif);
  font-weight: 400 !important;
  font-size: clamp(4.2rem, 7vw, 6.4rem) !important;
  line-height: .8;
  color: #f0c985;
  margin-top: 8px;
}
.discovery-grid {
  border-top-color: rgba(92,67,36,.22);
  border-bottom-color: rgba(92,67,36,.22);
}
.discovery-step { border-right-color: rgba(92,67,36,.18); }
.discovery-step .step-num { color: #9a7748; }
.discovery-step .step-label { color: #7d5528; }
.discovery-step h3 { color: var(--ink); }
.discovery-step > p:not(.step-label):not(.hebrew),
.discovery-step p:last-child { color: #5d554c; }
.discovery-step strong { color: #231d17; }
.discovery-step .hebrew { color: #8b602c !important; }
.discovery-step .hebrew-inline { color: #8b602c; }
.accent-step { background: rgba(125,85,40,.07); }
.step-result {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 7.5vw, 7.2rem);
  line-height: .78;
  letter-spacing: -.055em;
  color: #8e5f29;
}
.step-result.wide { font-size: clamp(3.8rem, 6.2vw, 5.8rem); }
.pattern-band {
  margin-top: 54px;
  padding: 42px 28px;
  background: #17130f;
  border: 1px solid rgba(125,85,40,.22);
}
.pattern-label { color: #c6a26d; }
.pattern-flow { color: #f4eadb; }
.pattern-note { color: #b8aa99; }

.purpose-section {
  background: #211b15;
  color: #f5ecdf;
  border-bottom-color: rgba(216,190,145,.18);
}
.purpose-section .eyebrow { color: #cba76f; }
.purpose-copy > p:not(.lead-serif) { color: #c4b7a6; }
.method-row span { color: #d7cbbb; border-top-color: rgba(216,190,145,.22); }
.method-row b { color: #d7b474; }

.membership-section {
  background: #12100d;
  color: #f6eddf;
  border-top: 1px solid rgba(216,190,145,.14);
}
.membership-section .eyebrow,
.membership-section .benefit-meta,
.membership-section .tag { color: #c9a66e; }
.section-head > p:last-child { color: #b7aa9a; }
.benefit-grid { border-top-color: rgba(216,190,145,.18); border-bottom-color: rgba(216,190,145,.18); }
.benefit-card { border-right-color: rgba(216,190,145,.14); background: #17130f; }
.benefit-number { color: #9b7b50; }
.benefit-card p { color: #c0b3a3; }
.primary-benefit { background: #211a13; }
.included-card {
  background: #191510;
  border-color: rgba(216,190,145,.2);
}
.included-card p { color: #bdb0a0; }
.included-card strong { color: #f3eadb; }
.included-card h4, .included-card h3 { color: #f6eddf; }
.course-benefit { background: #211910; }
.course-stats span {
  background: rgba(216,190,145,.06);
  border-color: rgba(216,190,145,.32);
  color: #d8b87f;
}

.proof-section { background: #dfd1bd; }
.testimonial { background: rgba(248,241,230,.82); border-color: rgba(92,67,36,.24); }
.featured-quote { background: #18140f; color: #f6eddf; }

.teacher-section {
  background: #1b1712;
  color: #f5ecdf;
}
.teacher-section .eyebrow { color: #cba76f; }
.teacher-copy p { color: #c2b5a4; }
.teacher-copy strong { color: #f5ecdf; }
.teacher-id { border-top-color: rgba(216,190,145,.2); }
.teacher-id span { color: #a99c8d; }
.welcome-card {
  background: #241d16;
  border-color: rgba(216,190,145,.3);
}
.welcome-card ul { color: #d3c7b7; }
.welcome-card p:last-child { color: #d8b778; }

.pricing-section {
  background: #0f0d0a;
  border-top: 1px solid rgba(216,190,145,.16);
}

.faq-section {
  background: #17130f;
  color: #f5ecdf;
}
.faq-section .eyebrow { color: #cba76f; }
.faq-list { border-top-color: rgba(216,190,145,.2); }
details { border-bottom-color: rgba(216,190,145,.18); }
details p { color: #c1b4a4; }
summary::after { color: #d1ad74; }

.final-cta { border-top: 1px solid rgba(216,190,145,.14); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 900px; }
}

@media (max-width: 720px) {
  .site-header { background: #12100d; }
  .hero { padding-top: 42px; }
  .hero .shell { width: min(100% - 28px, 1280px); }
  .hero-visual { min-height: 0; }
  .hero-visual::before { inset: 10px -7px -10px 12px; }
  .hero-visual img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 18px);
    margin: -12px 0 0 18px;
  }
  .math-flow { grid-template-columns: 1fr; }
  .reduction-block { min-height: 128px; }
  .reduction-result { font-size: 5rem !important; }
  .discovery-step { border-bottom-color: rgba(92,67,36,.18); }
  .pattern-band { margin-top: 34px; padding: 32px 18px; }
  .benefit-card { border-bottom-color: rgba(216,190,145,.16); }
}

/* V3 conversion/value pass */
.hero.hero-immersive {
  position: relative;
  min-height: 720px;
  padding: 0;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(90deg, #090806 0%, rgba(9,8,6,.99) 20%, rgba(9,8,6,.92) 37%, rgba(9,8,6,.60) 54%, rgba(9,8,6,.12) 75%, rgba(9,8,6,.02) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.48) 100%),
    url('assets/torah-study.jpg') center right / cover no-repeat;
  color: #f7efe2;
  overflow: hidden;
}
.hero.hero-immersive::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(9,8,6,.58));
  pointer-events: none;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 720px;
  padding: 74px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy { width: min(620px, 50%); padding: 0; }
.hero-copy h1 {
  max-width: none;
  font-size: clamp(4.8rem, 7.2vw, 7.4rem);
  line-height: .80;
  letter-spacing: -.055em;
  color: #f8f0e4;
}
.hero-subhead {
  margin: 24px 0 0;
  max-width: 610px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: .98;
  color: #eadbc7;
}
.hero-lead {
  margin-top: 28px;
  max-width: 610px;
  color: #d7c8b5;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.42;
}
.hero-offer-row {
  margin-top: 30px;
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  border-top: 1px solid rgba(215,180,122,.35);
  border-bottom: 1px solid rgba(215,180,122,.35);
  background: rgba(0,0,0,.18);
}
.hero-price,
.hero-founding { padding: 20px 22px; }
.hero-price {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(215,180,122,.24);
}
.hero-price > strong {
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: .8;
  color: #f5e9d5;
  font-weight: 400;
}
.hero-price > span {
  display: grid;
  gap: 2px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #e0cfb7;
}
.hero-price small { color: #d2a65e; font-size: .79rem; }
.hero-founding { display: grid; align-content: center; gap: 3px; }
.hero-founding strong { font-size: 1.2rem; color: #f2eadf; }
.hero-founding span { font-size: .63rem; letter-spacing: .14em; color: #a99984; font-weight: 800; }
.hero-founding b { color: #e8b85f; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.hero-urgency {
  width: min(620px, 100%);
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid #d5a958;
  background: linear-gradient(90deg, rgba(191,137,62,.18), rgba(191,137,62,.03));
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 5px 14px;
  align-items: baseline;
}
.hero-urgency > span { font-size: .62rem; letter-spacing: .15em; color: #d2ad72; font-weight: 800; }
.hero-urgency > strong { color: #fff3dc; font-size: .94rem; }
.hero-urgency > b { color: #e6b35f; font-size: .84rem; }
.hero-urgency > small { grid-column: 1 / -1; color: #b9aa96; font-size: .74rem; }
.hero-actions { margin-top: 22px; }
.hero-discovery-link { color: #eee1cf !important; border-bottom-color: rgba(215,180,122,.45) !important; }
.hero-manifesto {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 44px;
  width: 330px;
  padding-left: 18px;
  border-left: 1px solid rgba(217,184,125,.45);
  display: grid;
  gap: 2px;
  font-size: .68rem;
  letter-spacing: .09em;
  color: #b8aa97;
}
.hero-manifesto strong { color: #e5b85f; }

/* Membership benefits need to read as a five-part value stack */
.membership-section .section-head > p:last-child { font-size: 1.02rem; }
.benefit-card { min-height: 360px; padding: 44px 34px 40px; }
.benefit-number {
  position: static;
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 6vw, 6.2rem);
  line-height: .72;
  color: #b88d53;
  letter-spacing: -.05em;
}
.benefit-meta { margin-bottom: 14px; }
.benefit-card h3 { padding-right: 0; }

.numbered-includes { gap: 18px; }
.major-value-card {
  grid-template-columns: 120px .88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.major-value-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 38px;
  font-family: var(--serif);
  font-size: clamp(5.2rem, 7vw, 7.4rem);
  line-height: .72;
  color: #c09457;
  background: rgba(196,145,74,.08);
  border-right: 1px solid rgba(216,190,145,.18);
  letter-spacing: -.06em;
}
.major-value-copy,
.major-value-detail { padding: 42px 0; }
.major-value-detail { padding-right: 42px; }
.major-value-copy h3 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: .98; }
.value-callout {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(216,190,145,.22);
  display: grid;
  gap: 2px;
}
.value-callout span { font-size: .63rem; letter-spacing: .15em; color: #a99780; font-weight: 800; }
.value-callout strong { font-family: var(--serif); font-size: 2.55rem; line-height: 1; color: #f1c778 !important; font-weight: 500; }
.value-callout b { color: #d9c6a9; font-size: .83rem; }
.course-benefit .value-callout strong { font-size: 3.2rem; }
.course-stats { margin-bottom: 20px; }
.value-stack-strip {
  padding: 28px 34px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px 28px;
  border: 1px solid rgba(216,190,145,.32);
  background: linear-gradient(90deg, rgba(181,129,58,.18), rgba(181,129,58,.04));
}
.value-stack-strip > span { font-size: .68rem; letter-spacing: .15em; color: #c9a66e; font-weight: 800; }
.value-stack-strip > strong { font-family: var(--serif); font-size: 4rem; line-height: .8; color: #f0c276; font-weight: 400; }
.value-stack-strip p { margin: 0; color: #c5b7a5; }

/* Founding price change is a major value proposition, not a footnote */
.founding-price-shift {
  margin-top: 44px;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(225,184,111,.46);
  background: linear-gradient(90deg, rgba(197,142,63,.16), rgba(255,255,255,.03));
}
.founding-price-shift > div:not(.price-shift-arrow) { text-align: center; display: grid; gap: 3px; }
.founding-price-shift span { color: #c7a774; font-size: .66rem; letter-spacing: .14em; font-weight: 800; }
.founding-price-shift strong { font-family: var(--serif); font-size: 4.7rem; line-height: .82; color: #f7e9d2; font-weight: 400; }
.founding-price-shift small { color: #9f9283; font-size: .67rem; letter-spacing: .08em; }
.price-shift-arrow { color: #d9ac62; font-size: 2rem; }
.founding-price-shift > p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(216,190,145,.18);
  text-align: center;
  color: #d2c4b1;
}
.pricing-lock-note {
  margin-top: 10px !important;
  padding: 16px 18px;
  border: 1px solid rgba(216,190,145,.22);
  color: #e1cfb3 !important;
}
.pricing-lock-note strong { color: #f2c476; }

@media (max-width: 1020px) {
  .hero.hero-immersive {
    min-height: 760px;
    background:
      linear-gradient(90deg, #090806 0%, rgba(9,8,6,.96) 30%, rgba(9,8,6,.72) 58%, rgba(9,8,6,.18) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.48)),
      url('assets/torah-study.jpg') 62% center / cover no-repeat;
  }
  .hero-overlay { min-height: 760px; }
  .hero-copy { width: 64%; }
  .major-value-card { grid-template-columns: 100px 1fr; }
  .major-value-detail { grid-column: 2; padding: 0 34px 38px 0; }
  .major-value-copy { padding-right: 34px; }
  .value-stack-strip { grid-template-columns: 1fr auto; }
  .value-stack-strip p { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero.hero-immersive {
    min-height: 880px;
    background:
      linear-gradient(180deg, rgba(8,7,5,.18) 0%, rgba(8,7,5,.72) 42%, #090806 72%, #090806 100%),
      url('assets/torah-study.jpg') 70% top / auto 54% no-repeat,
      #090806;
  }
  .hero-overlay { min-height: 880px; padding-top: 330px; justify-content: flex-start; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .hero-subhead { font-size: 2rem; }
  .hero-offer-row { grid-template-columns: 1fr; }
  .hero-price { border-right: 0; border-bottom: 1px solid rgba(215,180,122,.24); }
  .hero-urgency { grid-template-columns: 1fr; }
  .hero-urgency > small { grid-column: auto; }
  .hero-manifesto { display: none; }
  .benefit-card { min-height: 0; }
  .major-value-card { grid-template-columns: 76px 1fr; }
  .major-value-number { font-size: 4.4rem; padding-top: 30px; }
  .major-value-copy { padding: 30px 22px 18px 0; }
  .major-value-detail { grid-column: 1 / -1; padding: 0 24px 30px; }
  .value-stack-strip { grid-template-columns: 1fr; }
  .value-stack-strip > strong { font-size: 3.4rem; }
  .founding-price-shift { grid-template-columns: 1fr; padding: 24px 20px; }
  .price-shift-arrow { transform: rotate(90deg); text-align: center; }
}

/* V4 brand and clarity pass */
.brand-lockup {
  flex-direction: row;
  align-items: center;
  gap: 11px;
  letter-spacing: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
  letter-spacing: .12em;
}
.brand-copy > span { font-size: .76rem; font-weight: 700; color: #f3eadc; }
.brand-copy small { margin-top: 4px; font-size: .64rem; color: #aa9c8b; letter-spacing: .15em; }

.codex-hebrew-verse {
  margin: 10px 0 8px;
  max-width: 100%;
  font-family: var(--hebrew);
  font-size: clamp(.86rem, 1.25vw, 1.02rem);
  line-height: 1.85;
  color: #cdbb9e;
  text-align: right;
  opacity: .96;
}

.free-tag {
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(239,194,118,.55);
  background: rgba(202,145,66,.14);
  color: #f0c77d !important;
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 900;
}
.major-value-card .value-callout b {
  color: #f0d5aa;
  font-size: .9rem;
}
.major-value-detail h4 { max-width: 720px; }

.footer-inner {
  min-height: 132px;
  align-items: center;
}
.footer-brand-family {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.footer-brand-family img {
  width: 250px;
  max-width: 44vw;
  height: auto;
}
.footer-brand-family p {
  margin: 0;
  max-width: 430px;
  color: #a99b89;
  font-size: .78rem;
  line-height: 1.45;
}
.footer-brand-family strong { color: #d7c5aa; font-weight: 600; }

@media (max-width: 720px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy > span { font-size: .7rem; }
  .brand-copy small { font-size: .58rem; }
  .footer-brand-family { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-brand-family img { width: 220px; max-width: 78vw; }
  .footer-brand-family p { max-width: 100%; }
}


.brand-links-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(180, 129, 58, 0.18);
  background: rgba(255,255,255,0.55);
}

.brand-links-card p {
  margin: 0 0 0.85rem;
}

.brand-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-link-list a, .footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(180,129,58,0.35);
  padding-bottom: 0.15rem;
}

.brand-link-list a:hover, .footer-links a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-top: 0.9rem;
}
