@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --cream: #efeadc;
  --green: #22483b;
  --ink: #26352d;
  --muted: #4d5e53;
  --terracotta: #8d432f;
  --line: #d6d3c4;
  --title: 'Playfair Display', Georgia, serif;
  font-family: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.25rem; line-height: 1.67; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .6rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--green); text-decoration: none; font: 600 1.22rem/1.05 var(--title); }
.brand small { display: block; margin-top: .27rem; font: 700 .58rem/1.2 'DM Sans', system-ui, sans-serif; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid currentColor; border-radius: 50%; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.3rem); }
nav a { font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); padding-block: clamp(3rem, 7vw, 6.25rem); }
.home-hero { padding-block: clamp(2.4rem, 4.3vw, 3.5rem); }
.home-hero .intro, .home-hero [data-offer-regular] { margin-bottom: .85rem; }
.home-hero .actions { margin-top: 1rem; }
.eyebrow { margin-bottom: 1rem; color: var(--terracotta); font-weight: 700; font-size: .72rem; letter-spacing: .145em; text-transform: uppercase; }
h1, h2, blockquote { color: var(--green); font-family: var(--title); font-weight: 500; }
h1 { margin: 0 0 1.4rem; font-size: clamp(3.15rem, 6.45vw, 6.2rem); line-height: .99; letter-spacing: -.048em; }
h1 em { font-weight: inherit; }
h2 { margin: 0 0 .9rem; font-size: clamp(2.15rem, 4.1vw, 3.45rem); line-height: 1.08; letter-spacing: -.03em; }
.intro { max-width: 33rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.15rem; min-height: 2.8rem; border: 1px solid var(--green); border-radius: 3px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.primary { background: var(--green); color: white; }
.primary:hover { background: #19372c; color: white; }
.secondary { color: var(--green); }
.secondary:hover { background: var(--cream); color: var(--green); }
.hero-cover { display: grid; place-items: center; min-height: 100%; padding: clamp(1rem, 3vw, 2.5rem); background: #e5ddc6; border-radius: 48% 48% 3px 3px / 27% 27% 3px 3px; }
.hero-cover img, .start-cover { width: min(100%, 17.4rem); box-shadow: 2px 3px 6px #382e2426, 14px 17px 34px #382e2435; }
.reading { border-block: 1px solid var(--line); background: var(--cream); }
.editorial { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; padding-block: clamp(2.7rem, 6vw, 5rem); }
.editorial > div:first-child p:last-child { margin-bottom: 0; }
.excerpt { padding-left: clamp(1rem, 3vw, 2rem); border-left: 1px solid #a88e76; }
blockquote { margin: 0 0 .8rem; font-size: clamp(1.35rem, 2.7vw, 2.15rem); line-height: 1.3; }
.credit, figcaption, .start-note { color: var(--muted); font-size: .85rem; }
summary { width: fit-content; color: var(--green); cursor: pointer; font-size: .92rem; font-weight: 700; }
details p { max-width: 46ch; margin: .7rem 0 0; }
.planner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
figure { margin: 0; }
figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: 67% center; border-radius: 3px; }
figcaption { margin-top: .6rem; }
.detail-hero { gap: clamp(2rem, 5vw, 4.5rem); }
.detail-hero h1 { font-size: clamp(2.8rem, 5.5vw, 4.9rem); }
.detail-hero .actions { margin-top: 1.15rem; }
.detail-illustration { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.feature-list { display: grid; gap: 1.25rem; }
.feature-list > div + div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.feature-list h3 { margin: 0 0 .35rem; color: var(--green); font: 600 1.3rem/1.25 var(--title); }
.feature-list p { margin: 0; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; margin-bottom: .4rem; color: var(--green); }
.offer-price strong { font: 600 clamp(2.4rem, 5vw, 3.7rem)/1.05 var(--title); }
.offer-timer { width: fit-content; margin: 0 0 .45rem; padding: .48rem .75rem; border: 1px solid #ccb29e; border-radius: 3px; background: #f1e5d8; color: var(--terracotta); font-variant-numeric: tabular-nums; }
.offer-deadline { max-width: 39ch; margin-bottom: .8rem; color: var(--muted); font-size: .86rem; }
.offer-contact { margin: 1rem 0 0; color: var(--muted); }
.order-page { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.order-page h1 { font-size: clamp(2.8rem, 5.5vw, 4.9rem); }
.order-media { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); align-items: center; gap: 1rem; margin-top: 1.5rem; }
.order-media .start-cover { width: 100%; }
.order-panel { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 6px; background: #fffdf7; }
.order-panel h2 { font-size: clamp(1.85rem, 3vw, 2.55rem); }
.order-form { display: grid; gap: .4rem; }
.order-form label { color: var(--green); font-size: .92rem; font-weight: 700; }
.order-form label span { color: var(--muted); font-weight: 400; }
.order-form :is(input, textarea) { min-width: 0; width: 100%; margin: 0 0 .65rem; padding: .65rem .7rem; border: 1px solid #aaa99c; border-radius: 3px; background: white; color: var(--ink); font: inherit; }
.order-form input { min-height: 2.75rem; }
.order-form textarea { resize: vertical; }
.order-form button { justify-self: start; cursor: pointer; font-family: inherit; }
.order-privacy { margin-top: 1.25rem; color: var(--muted); font-size: .85rem; }
.order-error { padding: .75rem; border-left: 3px solid var(--terracotta); background: #f6e9e0; }
.book-extracts { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.book-extracts .editorial { padding-block: 0; }
.book-extracts details { padding: 1rem 0; border-block-end: 1px solid var(--line); }
.book-extracts blockquote { margin: .8rem 0 0; color: var(--ink); font: inherit; }
.book-extracts blockquote p { max-width: 64ch; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.start-page {
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(0, 17.4rem);
  justify-content: center;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 65vh;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.start-page h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); }
.quick-links { display: grid; max-width: 27rem; margin: 1.7rem 0 1rem; border-top: 1px solid var(--line); }
.quick-links a { display: flex; justify-content: space-between; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.quick-links a:hover { text-decoration: underline; }
.start-note { margin-bottom: 0; }
.guide-page { max-width: 54rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.guide-intro { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.guide-intro h1 { font-size: clamp(2.6rem, 5.7vw, 5rem); }
.guide-intro .intro { max-width: 42rem; }
.guide-page article > section { padding-block: 2rem; border-top: 1px solid var(--line); }
.guide-page h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.guide-page li { margin-bottom: .75rem; line-height: 1.65; }
.guide-page section > :last-child { margin-bottom: 0; }
.guide-links { flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.guide-links a { text-decoration: underline; }
@media (max-width: 46rem) {
  .wrap { width: min(100% - 2rem, 36rem); }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .hero, .editorial, .planner, .start-page, .order-page { grid-template-columns: 1fr; }
  .order-illustration { max-height: 12rem; }
  .hero { gap: 2rem; }
  .hero-cover { min-height: 0; padding-block: 1.4rem; }
  .hero-cover img, .start-cover { width: min(66%, 14rem); }
  .planner figure { grid-row: 2; }
  .start-cover { justify-self: start; }
  .footer-inner { flex-wrap: wrap; }
}
