:root {
  --cream: #f7f2e7;
  --paper: #fffdf8;
  --paper-soft: #efe7d8;
  --sage: #e3e9dc;
  --ink: #1d1b17;
  --muted: #6d685f;
  --green: #3f6344;
  --green-dark: #2f4f35;
  --brown: #6b4a3c;
  --red: #b43d3d;
  --line: #d9d0bf;
  --shadow: 0 18px 46px rgba(69, 54, 37, .12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 1rem/1.7 "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 100;
  padding: 9px 13px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.anchor-target { position: absolute; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(63, 99, 68, .32); outline-offset: 3px; }
section { scroll-margin-top: 72px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif;
  line-height: 1.24;
  letter-spacing: -.025em;
}
h1 { margin-bottom: 18px; font-size: clamp(2rem, 8vw, 3rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.45rem, 5.2vw, 1.95rem); }
h3 { margin-bottom: 10px; font-size: 1.15rem; }
p { margin-bottom: 15px; }
.container, .narrow { width: min(calc(100% - 28px), var(--max)); margin-inline: auto; }
.section { padding: 30px 0; }
.soft { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 16px; }
.section-head > :last-child, .topics-copy > :last-child { margin-bottom: 0; }
.section-head > p:last-child, .topics-copy > p:last-child { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--red); }

.draft {
  padding: 8px 14px;
  color: #fffaf1;
  background: var(--brown);
  text-align: center;
  font-size: .78rem;
  line-height: 1.45;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.navlinks { display: flex; align-items: center; }
.navlinks > a:not(.btn) { display: none; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn.small { min-height: 40px; padding: 9px 15px; font-size: .86rem; }
.btn.outline { color: var(--ink); background: transparent; border-color: #bfb5a4; }
.btn.outline:hover { color: var(--green-dark); background: #f3eee4; border-color: var(--green); }

.age-notice {
  padding: 6px 0;
  color: #82392f;
  background: #faeee5;
  border-block: 1px solid #d7afa0;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
  animation: age-notice-pulse 2.4s ease-in-out 2;
}
.age-notice p { margin-bottom: 0; }
@keyframes age-notice-pulse {
  50% {
    background-color: #efd7ca;
    border-color: #b97562;
  }
}

.hero { padding: 28px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 22px; }
.hero-copy { max-width: 650px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.actions { display: grid; gap: 8px; margin: 18px 0 16px; }
.price, .order-price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.regular-price {
  color: var(--ink);
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", serif;
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.35;
}
.regular-price s {
  color: var(--ink);
  text-decoration-line: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2.5px;
  text-decoration-skip-ink: none;
}
.price strong, .order-price strong {
  color: var(--green-dark);
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", serif;
  font-size: 1.58rem;
  line-height: 1.4;
  text-decoration: none;
}
.offer-note { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 15px; color: var(--muted); font-size: .88rem; }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta span::before { content: ""; width: 4px; height: 4px; background: var(--green); border-radius: 50%; }
.cover-preview {
  display: grid;
  justify-items: center;
  justify-self: center;
  gap: 4px;
  color: var(--green-dark);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}
.cover-preview > span { padding: 5px 10px; }
.cover-preview:hover > span, .cover-preview:focus-visible > span { text-decoration: underline; text-underline-offset: .2em; }
.cover {
  width: min(220px, 64vw);
  max-width: 100%;
  height: auto;
  justify-self: center;
  border-radius: 3px;
  box-shadow: 0 24px 52px rgba(29, 27, 23, .24);
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.stats div { padding: 12px 5px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--ink); font-family: "Noto Serif Bengali", serif; font-size: 1.32rem; }
.stats span { color: var(--muted); font-size: .8rem; }

.benefits { display: grid; gap: 10px; }
.card { padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--sage);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}
.editorial { max-width: 740px; }
.quote {
  position: relative;
  margin: 0;
  padding: 20px 18px;
  color: #423d35;
  background: var(--paper-soft);
  border-left: 3px solid var(--green);
  border-radius: 0 14px 14px 0;
  font-size: 1.04rem;
}
.quote::before { content: "“"; position: absolute; left: 18px; top: 4px; color: rgba(107, 74, 60, .16); font: 6rem/1 Georgia, serif; }

.topics { display: grid; gap: 16px; }
.topic-list { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.topic-list li { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.topic-list li::before { content: "✓"; flex: none; color: var(--green); font-weight: 900; }
details { margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
summary { position: relative; min-height: 48px; padding: 12px 42px 12px 14px; color: var(--ink); font-weight: 800; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; color: var(--green); font-size: 1.4rem; transform: translateY(-50%); }
details[open] summary::after { content: "−"; }
details > p { padding: 0 18px 18px; margin: 0; color: var(--muted); }
.toc { padding: 0 18px 18px 42px; margin-top: 0; }
.toc li { padding: 7px 2px; color: var(--muted); border-bottom: 1px solid var(--line); }
.toc a { color: var(--green-dark); text-underline-offset: .18em; }

.audience-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.audience {
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
  counter-reset: audience;
}
.audience li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 4px;
  font-weight: 750;
  counter-increment: audience;
}
.audience li + li { border-top: 1px solid var(--line); }
.audience li::before {
  content: counter(audience, bengali) ".";
  flex: none;
  min-width: 1.3em;
  color: var(--green);
}

.order { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.order-info { padding: 20px 16px; background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.order-info > p:not(.eyebrow) { color: var(--muted); }
.order-price { margin: 16px 0; padding: 12px 0; border-block: 1px solid #cfc2ae; }
.steps { padding: 0; margin: 16px 0 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 29px; padding: 0 0 13px 39px; color: #514b43; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 29px; height: 29px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 31px; bottom: 3px; width: 1px; background: #bdb3a4; }
.order-form { padding: 20px 16px; }
.payment-accounts { min-width: 0; padding: 0; margin: 0 0 14px; border: 0; }
.payment-accounts legend { margin-bottom: 10px; color: var(--ink); font-weight: 850; }
.payment-account { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 12px; color: #5a4e40; background: #f8eddd; border: 1px solid #dfc8a7; }
.payment-account:first-of-type { border-radius: 10px 10px 0 0; }
.payment-account + .payment-account { border-top: 0; border-radius: 0 0 10px 10px; }
.payment-account strong, .payment-account small { display: block; }
.payment-account strong { color: var(--ink); }
.payment-account small { color: var(--muted); font-size: .78rem; }
.copy-number { flex: none; min-height: 44px; padding: 4px 8px; color: var(--green-dark); background: var(--paper); border: 1px solid #cdbb9e; border-radius: 7px; font-weight: 800; cursor: pointer; }
.copy-number:hover { border-color: var(--green); }
.copy-number span { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; }
.copy-status { margin: 0 0 8px; color: var(--green-dark); font-size: .82rem; }
.copy-status:empty { margin: 0; }
.fields { display: grid; gap: 12px; margin-bottom: 14px; }
.fields label { display: block; margin-bottom: 6px; color: #453f37; font-size: .9rem; font-weight: 800; }
.fields small { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; }
.field-wide { grid-column: 1 / -1; }
.fields input, .fields select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid #c9bead;
  border-radius: 8px;
}
.fields input::placeholder { color: #938b80; }
.fields input:focus, .fields select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 99, 68, .12); }
.fields input[aria-invalid="true"], .fields select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 61, 61, .1); }
.fields select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6d685f 50%), linear-gradient(135deg, #6d685f 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.order-form .btn { width: 100%; }
.form-note, .form-status { margin: 12px 0 0; color: var(--muted); font-size: .84rem; }
.form-status { display: none; padding: 11px 13px; color: #5c342d; background: #f9e9e4; border: 1px solid #dfb8ad; border-radius: 8px; }
.form-status.show { display: block; }

.final { padding: 28px 0; background: var(--cream); }
.final-box { display: grid; gap: 16px; padding: 20px 16px; background: var(--sage); border: 1px solid #cbd4c3; border-radius: var(--radius); }
.final-box h2 { margin-bottom: 10px; }
.final-box p { margin: 0; color: var(--muted); }
.final-box .btn { justify-self: start; }

footer { padding: 24px 0 calc(84px + env(safe-area-inset-bottom)); color: #6f675d; background: var(--paper-soft); border-top: 1px solid var(--line); }
.footer p { margin-bottom: 8px; }
.footer .muted { color: #8a8176; font-size: .84rem; }
.contact-heading {
  margin: 16px 0 4px;
  font-family: inherit;
  font-size: 1.15rem;
  letter-spacing: normal;
}
.contact-links { display: grid; justify-items: start; gap: 2px; margin: 0 0 18px; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 32px;
  min-width: 0;
  color: var(--green-dark);
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 3px;
}
.contact-links a:hover, .contact-links a:focus-visible { text-decoration: underline; }
.contact-links a span { overflow-wrap: anywhere; }
.contact-links svg { width: 16px; height: 16px; flex: none; }

.sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  color: var(--ink);
  background: rgba(255, 253, 248, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(69, 54, 37, .1);
  backdrop-filter: blur(12px);
}
.sticky .regular-price { font-size: .78rem; font-weight: 700; }
.sticky strong { display: block; color: var(--green-dark); font-size: 1rem; line-height: 1.3; text-decoration: none; }
.sticky .offer-note { margin-top: 3px; font-size: .72rem; }
.sticky .btn { flex: none; }
.reveal { opacity: 1; }
.js-ready .reveal { opacity: 0; transition: opacity .4s ease; }
.js-ready .reveal.visible { opacity: 1; }

html:has(.sample-dialog[open]) { overflow: hidden; }
.sample-dialog {
  width: min(calc(100% - 48px), 1060px);
  height: min(calc(100% - 48px), 880px);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(22, 24, 19, .36);
}
.sample-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  grid-template-rows: auto minmax(0, 1fr);
}
.sample-dialog::backdrop { background: rgba(27, 31, 24, .66); }
.sample-dialog-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.sample-dialog-header p { margin: 0 0 3px; color: var(--green-dark); font-size: .8rem; font-weight: 750; }
.sample-dialog-header h2 { margin: 0; font-size: clamp(1.1rem, 2.8vw, 1.6rem); line-height: 1.35; }
.sample-dialog-controls { display: flex; flex: none; gap: 6px; }
.sample-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--green-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 1.55rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.sample-control:hover, .sample-control[aria-pressed="true"] { background: var(--sage); border-color: var(--green); }
.sample-pages {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: clamp(8px, 2vw, 20px);
  background: var(--paper-soft);
}
.sample-pages:focus-visible { outline-offset: -3px; }
.sample-pages > img, .sample-final-page {
  width: min(100%, 680px);
  margin-inline: auto;
}
.sample-pages img {
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(69, 54, 37, .09);
}
.sample-pages > * + * { margin-top: 10px; }
.sample-pages.zoomed > * { width: max(145%, 550px); max-width: none; margin-inline: 0; }
.sample-final-page { position: relative; }
.sample-final-page img { width: 100%; }
.sample-page-buy {
  position: absolute;
  /* Match the PDF button on the rendered, side-cropped page. */
  inset: 61.3% 13.4% 31% 13.3%;
  border-radius: 5px;
}
.sample-page-buy:focus-visible { outline-color: var(--green); }
.sample-dialog-aside {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border-inline-start: 1px solid var(--line);
}
.sample-book { display: flex; align-items: center; gap: 12px; }
.sample-book img { flex: none; width: 55px; height: auto; border-radius: 3px; }
.sample-book h3 { margin: 0 0 4px; line-height: 1.35; }
.sample-book p { margin: 0; color: var(--muted); font-size: .84rem; }
.sample-dialog-links { display: grid; gap: 2px; justify-items: start; }
.sample-dialog-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--green-dark);
  font-size: .85rem;
  text-underline-offset: .2em;
}

@media (max-width: 740px) {
  .sample-dialog {
    width: calc(100% - 12px);
    height: calc(100% - 16px);
    height: calc(100dvh - 16px);
    border-radius: 13px;
  }
  .sample-dialog[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .sample-dialog-header { padding: 9px 10px; }
  .sample-dialog-aside {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    padding: 6px 10px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .sample-book { display: none; }
  .sample-dialog-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 10px; }
  .sample-dialog-links a { min-height: 35px; }
}

.sample-reader {
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", system-ui, sans-serif;
}
.sample-reader h1, .sample-reader h2, .sample-reader h3 {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
  letter-spacing: normal;
  line-height: 1.35;
}
.sample-back, .sample-meta a {
  color: var(--green-dark);
  font-weight: 750;
  text-underline-offset: .2em;
}
.sample-back { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.sample-main {
  margin: 0 auto 42px;
}
.sample-paper {
  padding: clamp(26px, 6vw, 56px) clamp(16px, 6vw, 66px);
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.sample-header {
  margin-bottom: clamp(24px, 5vw, 38px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.sample-header h1 { margin-bottom: 12px; font-size: clamp(1.8rem, 5vw, 2.5rem); text-wrap: balance; }
.sample-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  color: var(--muted);
  font-size: .94rem;
}
.sample-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.sample-text { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.85; }
.sample-text h2 { margin: 1.55em 0 .5em; color: var(--green-dark); font-size: clamp(1.28rem, 3.2vw, 1.6rem); }
.sample-text p { margin-bottom: 1em; }
.sample-types, .sample-references { padding-inline-start: 1.6em; list-style-type: bengali; }
.sample-types li + li, .sample-references li + li { margin-top: .65em; }
.sample-types li::marker, .sample-references li::marker { color: var(--green-dark); font-weight: 750; }
.sample-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: clamp(.875rem, 1.9vw, 1rem);
  line-height: 1.55;
  text-align: start;
  overflow-wrap: anywhere;
}
.sample-table th, .sample-table td { padding: clamp(6px, 1.8vw, 13px); border: 1px solid var(--line); vertical-align: top; text-align: start; }
.sample-table thead th { color: var(--green-dark); background: var(--sage); }
.sample-table thead th:first-child { width: 28%; }
.sample-table tbody th { font-weight: 750; }
.sample-table tbody tr:nth-child(even) { background: var(--cream); }
.sample-note {
  margin-block: 1.4em;
  padding: 15px clamp(12px, 3vw, 20px);
  background: var(--cream);
  border-inline-start: 3px solid var(--brown);
}
.sample-note p, .sample-references { margin-bottom: 0; }
.sample-references { color: var(--muted); font-size: .92em; }
.sample-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 14px 0;
  padding: clamp(16px, 4vw, 28px);
  background: var(--sage);
  border: 1px solid #cbd4c3;
  border-radius: var(--radius);
}
.sample-order h2 { margin-bottom: 5px; font-size: clamp(1.3rem, 3.2vw, 1.65rem); }
.sample-order p { margin: 0; color: var(--muted); }

@media (min-width: 560px) {
  .sample-main { width: min(calc(100% - 48px), 800px); margin-top: clamp(24px, 4vw, 44px); }
  .sample-paper { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .sample-order { margin-inline: 0; }
}

@media (min-width: 700px) {
  .container { width: min(calc(100% - 56px), var(--max)); }
  .narrow { width: min(calc(100% - 56px), 820px); }
  .section { padding: 46px 0; }
  h1 { font-size: clamp(2.8rem, 5.5vw, 3.65rem); }
  h2 { font-size: clamp(1.8rem, 3.2vw, 2.2rem); }
  .actions { display: flex; flex-wrap: wrap; }
  .actions .btn { min-width: 170px; }
  .cover { width: 260px; }
  .stats div { padding: 15px 10px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .card:last-child { grid-column: 1 / -1; }
  .topic-list, .fields { grid-template-columns: 1fr 1fr; }
  .toc { columns: 2; column-gap: 34px; }
  .toc li { break-inside: avoid; }
  .order-info, .order-form { padding: 30px; }
  .final { padding: 42px 0; }
  .final-box { grid-template-columns: 1fr auto; align-items: center; padding: 30px; }
}

@media (max-width: 380px) {
  .sample-table th, .sample-table td { padding-inline: 4px; }
  .brand { font-size: .9rem; }
  .nav .btn.small { padding-inline: 11px; font-size: .8rem; }
  .regular-price { font-size: 1.32rem; }
  .price strong, .order-price strong { font-size: 1.42rem; }
  .sticky .regular-price { font-size: .72rem; }
  .sticky strong { font-size: .92rem; }
  .sticky .btn.small { padding-inline: 12px; }
}

@media (min-width: 960px) {
  html { scroll-padding-bottom: 0; }
  section { scroll-margin-top: 82px; }
  .nav { min-height: 74px; }
  .brand { font-size: 1.15rem; }
  .navlinks { gap: 28px; }
  .navlinks > a:not(.btn) { display: inline; color: #4f4a43; font-size: .92rem; font-weight: 700; text-decoration: none; }
  .navlinks > a:not(.btn):hover { color: var(--green-dark); }
  .hero { padding: 54px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
  .cover { width: 290px; }
  .stats { margin-top: -26px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .card:last-child { grid-column: auto; }
  .card { padding: 24px; }
  .topics { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 40px; }
  .topics-copy { position: sticky; top: 110px; }
  .order { display: grid; grid-template-columns: .82fr 1.18fr; }
  .order-info { border-right: 1px solid var(--line); border-bottom: 0; }
  .order-info, .order-form { padding: 36px; }
  footer { padding-bottom: 28px; }
  .sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .age-notice { animation: none; }
  .reveal { opacity: 1; }
}
