:root {
  --ink: #241a16;
  --muted: #6f625b;
  --wine: #681f27;
  --wine-dark: #331014;
  --gold: #c89a45;
  --cream: #fbf5eb;
  --paper: #fffdf9;
  --line: #e5d8c8;
  --shadow: 0 24px 70px rgba(55, 20, 14, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(111, 36, 42, .12);
  background: rgba(255, 253, 249, .88);
  backdrop-filter: blur(14px);
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; line-height: 1.2; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--wine); color: #fff; font-family: Lora, serif; font-weight: 600; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.header-link { color: var(--wine); font-weight: 700; text-decoration: none; }
.section { max-width: 1180px; margin: 0 auto; padding: 110px 24px; }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding-top: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Lora, serif; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 5.8vw, 76px); line-height: 1.12; }
h1 em { color: var(--wine); font-weight: 500; }
h2 { margin-bottom: 24px; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.2; }
h3 { font-size: 23px; line-height: 1.35; }
.lead { max-width: 650px; color: var(--muted); font-size: 21px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 13px 24px; border: 0; border-radius: 999px; font-family: "Be Vietnam Pro", system-ui, sans-serif; font-size: 16px; line-height: 1.35; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--wine); color: #fff; box-shadow: 0 12px 28px rgba(104, 31, 39, .23); }
.secondary { border: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { padding: 6px 11px; border-radius: 999px; background: var(--cream); color: #594a43; font-size: 13px; font-weight: 700; }
.book-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.book-stage img { position: relative; z-index: 2; width: min(100%, 560px); filter: drop-shadow(0 28px 28px rgba(42, 10, 12, .28)); transform: rotate(1deg); }
.halo { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(200,154,69,.25), rgba(104,31,39,.08) 47%, transparent 70%); filter: blur(8px); }
.question-band { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--wine-dark); color: #f5e7d5; }
.question-band p { margin: 0; padding: 30px 26px; border-right: 1px solid rgba(255,255,255,.12); text-align: center; font-family: Lora, serif; font-size: 18px; font-style: italic; }
.story { padding-top: 130px; }
.section-heading { max-width: 820px; margin-bottom: 56px; }
.section-heading > p:last-child { color: var(--muted); font-size: 20px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 40px rgba(79, 48, 31, .06); }
.story-card .number { display: inline-block; margin-bottom: 36px; color: var(--gold); font: 600 28px Lora, serif; }
.story-card p { color: var(--muted); }
.value-gift { padding-top: 100px; }
.value-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-stack div { display: grid; grid-template-columns: 74px 1fr; gap: 3px 18px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.value-stack span { grid-row: 1 / 3; color: var(--gold); font: 600 34px Lora, serif; }
.value-stack strong { font-size: 19px; }
.value-stack small { color: var(--muted); font-size: 15px; }
.gentle-cta { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 22px; padding: 25px 28px; border-radius: 20px; background: var(--cream); }
.gentle-cta p { max-width: 760px; margin: 0; }
.situations { max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: var(--cream); }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.topic-grid div { display: grid; grid-template-columns: 54px 1fr; gap: 2px 14px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); }
.topic-grid div:last-child { grid-column: 1 / -1; }
.topic-grid span { grid-row: 1 / 3; color: var(--gold); font: 600 22px Lora, serif; }
.topic-grid strong { font-size: 21px; }
.topic-grid small { color: var(--muted); font-size: 15px; }
.for-family { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.preview-section { overflow: hidden; }
.preview-strip { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 18px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; }
.preview-page { min-width: 190px; padding: 0; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(52, 28, 18, .12); cursor: zoom-in; overflow: hidden; scroll-snap-align: start; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.preview-page:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(52, 28, 18, .18); }
.preview-page img { display: block; width: 100%; aspect-ratio: 468 / 648; object-fit: cover; object-position: top; }
.preview-page span { display: block; padding: 14px 15px; color: var(--wine); font-weight: 800; }
.digital-note { display: grid; grid-template-columns: 78px 1fr; gap: 24px; align-items: center; margin-top: 42px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.digital-note h3, .digital-note p { margin-bottom: 4px; }
.digital-note p { color: var(--muted); }
.device-icon { display: grid; place-items: center; width: 78px; height: 92px; border-radius: 10px; background: var(--wine); color: #fff; font-size: 19px; font-weight: 800; box-shadow: inset 0 0 0 5px rgba(255,255,255,.14); }
.family-quote > p { color: var(--wine); font-weight: 800; }
.family-points { border-top: 1px solid var(--line); }
.family-points div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.family-points span { color: var(--muted); }
.receive { max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: linear-gradient(135deg, #2f0d12, #711f28); color: #fff; }
.receive-card { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: center; }
.receive-copy { max-width: 720px; }
.receive-copy > p { color: #eadbd5; }
.light { color: #e7bc70 !important; }
.receive ol { list-style: none; padding: 0; margin: 30px 0; }
.receive li { display: flex; gap: 15px; align-items: center; margin: 13px 0; }
.receive li span { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #f0c879; font-weight: 800; }
.gold { background: #d8aa58; color: #2f0d12; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.message-button { margin-left: 10px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.fine-print { margin: 20px 0 0; font-size: 14px; opacity: .8; }
.trust-message { padding: 18px 20px; border-left: 3px solid #e2b963; border-radius: 0 12px 12px 0; background: rgba(255,255,255,.08); }
.support-seal { display: grid; place-items: center; min-height: 300px; padding: 34px; border: 1px solid rgba(238,195,119,.5); border-radius: 50%; background: radial-gradient(circle, rgba(230,182,95,.18), transparent 68%); text-align: center; }
.support-seal small, .support-seal span { display: block; color: #ebca8b; }
.support-seal strong { display: block; font: 600 45px Lora, serif; }
.support-seal sup { font-size: 20px; }
.support-seal .seal-support { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(238,195,119,.35); }
#show-support { min-width: 330px; min-height: 68px; padding: 12px 30px; flex-direction: column; border: 2px solid #f3d08c; font-size: 17px; line-height: 1.25; letter-spacing: .02em; box-shadow: 0 15px 36px rgba(0,0,0,.3), 0 0 0 4px rgba(243,208,140,.12); }
#show-support::after { display: block; margin-top: 4px; color: #5b251c; font-size: 11px; line-height: 1.3; letter-spacing: .03em; font-weight: 700; content: "Mở mã và hướng dẫn nhận sách"; }
#show-support[aria-expanded="true"]::after { content: "Thu gọn thông tin"; }
#show-support:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 0 5px rgba(243,208,140,.18); }
#show-support:focus-visible { outline: 4px solid #fff; outline-offset: 4px; }
.support-details { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 54px; align-items: center; margin-top: 70px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.18); }
.support-details[hidden] { display: none; }
.support-image img { display: block; width: 100%; max-height: 760px; object-fit: contain; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.bank-details h3 { font: 600 35px/1.25 Lora, serif; }
.bank-details dl { margin: 30px 0; border-top: 1px solid rgba(255,255,255,.18); }
.bank-details dl div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.bank-details dt { color: #e8c782; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bank-details dd { margin: 0; font-weight: 700; }
.copy-number { padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; }
.copy-number span { margin-left: 8px; color: #e8c782; font-size: 12px; font-weight: 600; }
.bank-note { color: #eadbd5; }
.preview-dialog { max-width: min(92vw, 760px); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 28px 100px rgba(0,0,0,.5); overflow: visible; }
.preview-dialog::backdrop { background: rgba(22, 9, 9, .84); backdrop-filter: blur(5px); }
.preview-dialog img { display: block; max-width: 100%; max-height: 90vh; border-radius: 18px; }
.dialog-close { position: absolute; top: -16px; right: -16px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--wine); cursor: pointer; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.faq-list { max-width: 900px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 24px 8px; cursor: pointer; color: var(--wine); font-size: 19px; font-weight: 800; }
details p { max-width: 760px; padding: 0 8px 24px; color: var(--muted); }
.closing { text-align: center; padding-top: 60px; }
.closing .button { margin-top: 16px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 32px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.sticky-receive { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero, .for-family, .receive-card { grid-template-columns: 1fr; }
  .value-stack { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .book-stage { min-height: auto; }
  .book-stage img { width: min(92%, 520px); }
  .question-band, .story-grid { grid-template-columns: 1fr; }
  .question-band p { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .support-seal { width: 300px; max-width: 100%; margin: 0 auto; }
  .support-details { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 10px 16px; }
  .brand small { display: none; }
  .header-link { font-size: 13px; }
  .section { padding: 78px 18px; }
  .hero { gap: 28px; }
  h1 { font-size: 43px; }
  h2 { font-size: 35px; }
  .lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  #show-support { width: 100%; min-width: 0; min-height: 72px; font-size: 18px; }
  .digital-note { grid-template-columns: 1fr; }
  .message-button { margin: 10px 0 0; }
  .support-details { margin-top: 50px; padding-top: 44px; }
  .bank-details dl div { grid-template-columns: 1fr; gap: 4px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-grid div:last-child { grid-column: auto; }
  .family-points div { grid-template-columns: 1fr; gap: 4px; }
  .gentle-cta { align-items: stretch; flex-direction: column; }
  .support-seal strong { font-size: 38px; }
  footer { flex-direction: column; }
  body { padding-bottom: 76px; }
  .sticky-receive { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 17px; border-radius: 15px; background: #651f27; color: #fff; text-decoration: none; box-shadow: 0 12px 34px rgba(48, 10, 14, .3); }
  .sticky-receive span { font-size: 11px; opacity: .82; }
  .sticky-receive strong { white-space: nowrap; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
