:root {
  --wine: #641c2e;
  --wine-dark: #40101f;
  --wine-soft: #8a3149;
  --orange: #f59e45;
  --cream: #fff4e6;
  --paper: #fffdf9;
  --ink: #251b1d;
  --muted: #6f6264;
  --line: #e8dcd7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(69, 24, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 78px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgba(100, 28, 46, .1); background: rgba(255, 253, 249, .92); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.brand strong { color: var(--wine); }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; border: 7px solid var(--wine); display: inline-block; position: relative; }
.brand-mark::after { content: ""; width: 13px; height: 6px; border-radius: 8px; background: var(--orange); position: absolute; right: -11px; bottom: -5px; transform: rotate(45deg); }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-weight: 600; color: var(--muted); font-size: .92rem; }
nav a:hover { color: var(--wine); }
.header-cta { text-decoration: none; border: 1px solid var(--wine); color: var(--wine); border-radius: 999px; padding: .65rem 1.05rem; font-weight: 700; font-size: .9rem; }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 7vw, 8rem); overflow: hidden; position: relative; }
.hero::before { content: ""; width: 390px; height: 390px; border-radius: 50%; background: rgba(245, 158, 69, .12); position: absolute; left: -180px; top: 40px; }
.hero-copy { max-width: 660px; position: relative; z-index: 1; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; color: var(--wine-soft); margin-bottom: 1rem; }
h1, h2, h3 { font-family: "Libre Franklin", sans-serif; line-height: 1.08; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(3rem, 6.2vw, 6.2rem); max-width: 850px; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.5rem; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .85rem 1.35rem; font: 700 .95rem "DM Sans", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.primary { color: var(--white); background: var(--wine); box-shadow: 0 10px 28px rgba(100, 28, 46, .22); }
.primary:hover { background: var(--wine-dark); }
.secondary { color: var(--wine); background: transparent; border: 1px solid var(--line); }
.hero-note { color: var(--muted); font-size: .86rem; }
.hero-note span { color: #4a9a73; margin-right: .4rem; }
.hero-visual { margin: 0; border-radius: 2.2rem 2.2rem 8rem 2.2rem; overflow: hidden; box-shadow: var(--shadow); background: var(--cream); position: relative; min-height: 520px; }
.hero-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.hero-visual figcaption { position: absolute; left: 1.4rem; bottom: 1.4rem; background: rgba(255,255,255,.93); backdrop-filter: blur(12px); padding: .9rem 1.1rem; border-radius: 1rem; display: flex; flex-direction: column; box-shadow: 0 14px 30px rgba(30,15,18,.14); }
.hero-visual figcaption span { color: var(--wine-soft); font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.hero-visual figcaption strong { font-size: .95rem; }

.intro-strip { background: var(--wine); color: var(--white); display: grid; grid-template-columns: repeat(3, 1fr); padding: 2rem clamp(1.25rem, 7vw, 8rem); gap: 1rem; }
.intro-strip p { margin: 0; padding: .2rem clamp(0rem, 2vw, 2rem); display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.18); }
.intro-strip p:last-child { border-right: 0; }
.intro-strip strong { font-family: "Libre Franklin", sans-serif; font-size: 1.25rem; }
.intro-strip span { color: rgba(255,255,255,.7); font-size: .9rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2 { max-width: 750px; margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.concept-card { min-height: 390px; border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.5rem; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.concept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.concept-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--card-color); }
.concept-number { color: var(--muted); font-size: .75rem; letter-spacing: .15em; font-weight: 800; }
.concept-icon { width: 60px; height: 60px; margin: 1.4rem 0 1.7rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: color-mix(in srgb, var(--card-color) 13%, white); color: var(--card-color); }
.concept-card h3 { margin-bottom: .8rem; }
.concept-card > p { color: var(--muted); margin-top: 0; }
.example { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .91rem; }
.example span { display: block; color: var(--card-color); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 800; margin-bottom: .25rem; }
.altered { --card-color: #c47622; }
.adulterated { --card-color: #386b78; }
.counterfeit { --card-color: #713c7b; }
.memory-tip { margin-top: 1.2rem; padding: 1.3rem 1.5rem; border-radius: 1rem; background: var(--cream); display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 1rem; }
.memory-tip p { margin: 0; }
.tip-label { color: var(--wine); font-weight: 800; }

.supplements { background: var(--wine-dark); color: var(--white); position: relative; overflow: hidden; }
.supplements::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 90px solid rgba(245,158,69,.08); right: -140px; top: -180px; }
.section-heading.light { position: relative; z-index: 1; }
.section-heading.light .eyebrow { color: var(--orange); }
.section-heading.light > p { color: rgba(255,255,255,.65); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; position: relative; z-index: 1; }
.case-card { background: var(--white); color: var(--ink); border-radius: 1.6rem; padding: clamp(1.5rem, 3vw, 2.4rem); }
.case-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 1.7rem; }
.case-tag { background: var(--cream); color: var(--wine); border-radius: 999px; padding: .45rem .8rem; font-size: .8rem; font-weight: 800; }
.case-letter { font: 800 3.3rem/1 "Libre Franklin", sans-serif; color: rgba(100,28,46,.11); }
.case-card ul { padding-left: 1.2rem; color: var(--muted); }
.case-card li { margin-bottom: .6rem; }
.case-warning { border-left: 4px solid var(--orange); background: #fff8ee; padding: .85rem 1rem; border-radius: 0 .6rem .6rem 0; margin-top: 1.5rem; font-size: .9rem; }

.safe-buy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.safe-copy { position: sticky; top: 120px; align-self: start; }
.safe-copy p { color: var(--muted); font-size: 1.06rem; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--wine); font-weight: 800; text-underline-offset: 5px; }
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.checklist li > span { color: var(--orange); font-weight: 800; }
.checklist strong { font-family: "Libre Franklin", sans-serif; font-size: 1.25rem; }
.checklist p { margin: .3rem 0 0; color: var(--muted); }

.quiz-section { background: #f4ebe6; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.quiz-intro > p { color: var(--muted); }
.quiz-progress { width: 100%; height: 7px; border-radius: 999px; background: rgba(100,28,46,.12); overflow: hidden; margin-top: 2rem; }
.quiz-progress span { display: block; width: 20%; height: 100%; background: var(--orange); transition: width .3s ease; }
.question-count { font-size: .85rem; font-weight: 700; }
.quiz-card { min-height: 440px; background: var(--white); padding: clamp(1.6rem, 4vw, 3.2rem); border-radius: 1.6rem; box-shadow: var(--shadow); }
.quiz-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--wine-soft); }
.quiz-card h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 1rem 0 1.8rem; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.quiz-option { min-height: 52px; border: 1px solid var(--line); background: var(--paper); border-radius: .8rem; text-align: left; padding: .75rem 1rem; font: 700 .95rem "DM Sans", sans-serif; color: var(--ink); cursor: pointer; }
.quiz-option:hover:not(:disabled) { border-color: var(--wine); color: var(--wine); }
.quiz-option.correct { background: #e7f6ee; border-color: #4a9a73; color: #286447; }
.quiz-option.incorrect { background: #fbe9e6; border-color: #c65b49; color: #8d3528; }
.quiz-feedback { margin: 1rem 0; padding: .9rem 1rem; background: var(--cream); border-radius: .7rem; }
.quiz-next { margin-top: .3rem; }
.score { text-align: center; padding-top: 2rem; }
.score-number { font: 800 clamp(4rem, 9vw, 7rem)/1 "Libre Franklin", sans-serif; color: var(--wine); }

.ebook { margin: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem); border-radius: 2rem; background: var(--wine); color: var(--white); padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.ebook::after { content: "PDF"; position: absolute; right: 1rem; bottom: -2.5rem; color: rgba(255,255,255,.05); font: 800 10rem/1 "Libre Franklin", sans-serif; }
.ebook .eyebrow { color: var(--orange); }
.ebook h2 { margin-bottom: .8rem; }
.ebook p { color: rgba(255,255,255,.72); margin: 0; max-width: 700px; }
.ebook-action { display: flex; align-items: center; flex-direction: column; gap: .6rem; position: relative; z-index: 1; }
.light-button { background: var(--white); color: var(--wine); width: min(100%, 270px); }
.light-button:disabled { cursor: not-allowed; opacity: .82; }
.ebook-action span { color: rgba(255,255,255,.65); font-size: .78rem; text-align: center; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.about-copy > p { color: var(--muted); font-size: 1.08rem; }
.team-placeholder { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.team-placeholder span { border: 1px dashed #c8b7b1; color: var(--muted); padding: .45rem .75rem; border-radius: 999px; font-size: .82rem; }
.references { margin: 0 clamp(1.25rem, 7vw, 8rem) 5rem; padding: 2rem; border-radius: 1rem; background: #f4ebe6; }
.references h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.references li, .references p { color: var(--muted); font-size: .86rem; }

footer { padding: 2.2rem clamp(1.25rem, 7vw, 8rem); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .86rem; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 28px; height: 28px; border-width: 6px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .hero-visual img { min-height: 420px; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .safe-buy, .quiz-section, .about { grid-template-columns: 1fr; }
  .safe-copy { position: static; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding-inline: 1rem; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 28px; height: 28px; border-width: 6px; }
  .header-cta { display: none; }
  .hero { padding-top: 3.2rem; min-height: auto; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 330px; border-bottom-right-radius: 4rem; }
  .hero-visual img { min-height: 330px; }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-strip p { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: .8rem 0; }
  .intro-strip p:last-child { border-bottom: 0; }
  .concept-grid, .case-grid, .ebook { grid-template-columns: 1fr; }
  .concept-card { min-height: 340px; }
  .memory-tip { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .ebook { margin-inline: 1rem; }
  footer { flex-direction: column; text-align: center; }
}

.modal-overlay { position: fixed; inset: 0; background: rgba(37, 27, 29, .55); display: grid; place-items: center; padding: 1.25rem; z-index: 50; }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: min(460px, 100%); max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: 1.4rem; padding: 2rem clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1rem; }
.modal h3 { margin-bottom: .4rem; }
.modal-lead { color: var(--muted); margin-top: 0; margin-bottom: 1.4rem; }
.modal label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.modal input[type="text"], .modal input[type="email"] { width: 100%; padding: .75rem .9rem; border-radius: .7rem; border: 1px solid var(--line); font: inherit; margin-bottom: 1.1rem; }
.modal .optional { font-weight: 400; color: var(--muted); }
.checkbox-field { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .88rem; color: var(--muted); margin-bottom: 1.3rem; }
.checkbox-field input { margin-top: .2rem; }
.modal-feedback { background: #fbe9e6; color: #8d3528; border-radius: .6rem; padding: .7rem .9rem; font-size: .88rem; margin-bottom: 1rem; }
.modal .button { width: 100%; }

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