:root {
  color-scheme: light;
  --navy: #142438;
  --deep: #101d2d;
  --ink: #202936;
  --cream: #fbf6ec;
  --muted: #505564;
  --gold: #f0c474;
  --line: #dfd0b7;
  --rail: 33rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: system-ui, sans-serif; text-align: center; line-height: 1.57; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #bc641f; outline-offset: 4px; }
h1, h2 { font-family: Georgia, serif; text-wrap: balance; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.65rem, 10.7vw, 4.45rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.03rem, 8vw, 3.15rem); letter-spacing: -.035em; }
h3, p, figure { margin: 0; }
.wrap { width: min(calc(100% - 2rem), var(--rail)); margin-inline: auto; }
.skip { position: absolute; inset: 0 auto auto 0; translate: 0 -110%; padding: .65rem; background: white; z-index: 1; }
.skip:focus { translate: 0 0; }
.hero { background: var(--navy); color: #fff5e2; padding: max(1rem, env(safe-area-inset-top)) 0 2.1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .5rem; color: #edcf97; text-decoration: none; font-size: .88rem; font-weight: 650; }
.hero-content { padding-top: 1.06rem; }
.hero-content > p { max-width: 28rem; margin: 1rem auto 0; color: #ecdcc8; font-size: 1rem; }
.book {
  display: grid;
  place-items: center;
  margin: 1.4rem auto 1.25rem;
  min-height: 15rem;
  background: radial-gradient(ellipse at 50% 48%, #8d613f 0%, #453846 53%, #1b2b42 100%);
  border: 1px solid #6b5960;
  border-radius: 1.15rem;
  padding: .95rem;
}
.book img { width: clamp(9.7rem, 50vw, 14.5rem); border-radius: .3rem; border-right: .24rem solid #ecd1a0; box-shadow: 0 14px 30px #100c12ad; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; width: min(100%, 25rem); padding: .75rem .9rem; border-radius: .65rem; text-decoration: none; font-weight: 750; line-height: 1.2; }
.btn-gold { background: var(--gold); color: #222231; }
.btn-gold:hover { background: #ffd78f; }
.btn-outline { border: 1px solid var(--gold); color: #fff5e2; }
.btn-outline:hover { background: #28394e; }
.offer-link { display: table; min-height: 44px; margin: .3rem auto -.5rem; align-content: center; color: #edcf97; font-size: .95rem; text-underline-offset: .23em; }
.section { padding: 3.25rem 0; scroll-margin-top: .6rem; }
.intro { margin: .75rem auto 0; max-width: 28rem; color: var(--muted); }
.choices { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; margin: 1.15rem 0 1rem; }
.choices button { min-height: 44px; padding: .45rem .82rem; background: white; border: 1px solid #bba984; border-radius: .5rem; font-size: .92rem; font-weight: 650; }
.choices button[aria-pressed="true"] { background: var(--navy); color: #fff6e7; border-color: var(--navy); }
.sample { margin-inline: auto; max-width: 22rem; }
.sample-image { position: relative; display: block; width: 100%; padding: 0; border: 1px solid #a99a80; background: #eadabd; border-radius: .57rem; overflow: hidden; box-shadow: 0 .55rem 1.1rem #392a1821; }
.sample-image > span { display: inline-block; margin: .55rem; padding: .4rem .65rem; border-radius: .45rem; background: var(--navy); color: #fff6e7; font-size: .9rem; font-weight: 700; }
figcaption { margin-top: .7rem; color: var(--muted); font-size: .92rem; }
.use { background: #f1e6d4; }
.uses { display: grid; gap: .95rem; margin: 1.4rem auto 0; max-width: 27rem; }
.uses > div { border: 1px solid #d7c2a0; background: #fff9ee; padding: .9rem 1.1rem; border-radius: .7rem; }
.uses p { margin-top: .25rem; color: var(--muted); }
.uses h3 { font-size: 1.1rem; }
.offer { background: var(--navy); color: #fff5e2; }
.offer .intro { color: #ecdcc8; }
.price-card { max-width: 24rem; margin: 1.35rem auto 0; padding: 1.1rem; border: 1px solid #a98856; border-radius: .85rem; background: var(--deep); }
.price-card-complete { position: relative; margin-top: 1.8rem; padding-top: 1.55rem; border-color: var(--gold); background: #23354c; }
.offer-badge { position: absolute; inset: 0 auto auto 50%; transform: translate(-50%, -50%); padding: .32rem .75rem; border-radius: .3rem; background: var(--gold); color: var(--deep); font-size: .78rem; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.price-label { color: #f4dfb7; font-size: 1.17rem; }
.price { font-family: Georgia, serif; font-size: clamp(2.6rem, 13vw, 4.2rem); line-height: 1.07; color: var(--gold); }
.price-detail { margin-top: .55rem; }
.price-note { color: #ecdcc8; font-size: .88rem; margin: .75rem 0 .8rem; }
.offer-items { list-style: none; margin: .6rem 0 0; padding: 0; }
.offer-items li { padding: .4rem 0; border-bottom: 1px solid #f4dfb73d; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: .9rem; }
summary { cursor: pointer; font-weight: 720; padding: .85rem .25rem; min-height: 48px; list-style-position: inside; }
details p { max-width: 25rem; margin: 0 auto .85rem; color: var(--muted); }
footer { padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom)); background: var(--deep); color: #edcf97; font-size: .9rem; }
dialog { width: min(calc(100% - 1rem), 43rem); max-height: calc(100dvh - 1rem); padding: 0; border: 0; border-radius: .6rem; background: var(--cream); color: var(--ink); box-shadow: 0 .8rem 4rem #100c12ad; }
dialog::backdrop { background: #0e1827c9; }
.dialog-bar { position: sticky; top: 0; display: flex; gap: .5rem; justify-content: space-between; align-items: center; background: var(--cream); padding: .35rem .65rem; }
.dialog-bar h2 { font: 700 1rem system-ui, sans-serif; }
.dialog-bar button { min-height: 44px; padding: .3rem .7rem; border: 1px solid #a99a80; border-radius: .45rem; background: #fff; }
dialog img { width: 100%; }
@media (min-width: 42rem) { .hero-content { padding-top: 1.35rem; } .section { padding-block: 4rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
