/* Well Done Guides — site styles. Brand: deep green, gold, cream. Playfair Display + Inter (self-hosted). */

@font-face { font-family: "Playfair Display"; src: url(/fonts/PlayfairDisplay.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(/fonts/PlayfairDisplay-Italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/Inter.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --green: #163C34;
  --green-2: #1F4B41;
  --green-deep: #0E2A24;
  --gold: #E2BE78;
  --gold-soft: #F0DDB3;
  --gold-ink: #8A6A2A;
  --cream: #FFF6E6;
  --cream-2: #FBEFD9;
  --paper: #FFFCF5;
  --line: #E9DEC6;
  --ink: #1B2422;
  --muted: #5E6A66;
  --danger: #B3261E;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(22, 60, 52, .10), 0 2px 6px rgba(22, 60, 52, .06);
  --shadow-lg: 0 30px 60px rgba(14, 42, 36, .28);
  --wrap: 1120px;
  --gutter: 16px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--green-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--green); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .9em; }
.eyebrow.on-dark { color: var(--gold); }
.lead { font-size: 1.2rem; line-height: 1.55; color: #2C3835; }
.fine { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: var(--cream); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14, 42, 36, .18); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #EBC98A; border-color: #EBC98A; color: var(--green-deep); }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: rgba(22, 60, 52, .06); color: var(--green-deep); box-shadow: none; }
.btn-sm { font-size: .92rem; padding: .65em 1.15em; }
.btn-lg { font-size: 1.1rem; padding: 1.05em 1.9em; width: 100%; }
.btn-disabled, .btn-disabled:hover { background: #D9D2C3; border-color: #D9D2C3; color: #5E6A66; cursor: default; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 230, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: 1rem; }
.nav a:hover { color: var(--green); }
.nav a.is-active { color: var(--green); font-weight: 600; }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--green); cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin: 12px 0 0; justify-content: center; border-bottom: none; }
}

/* Hero */
.hero { padding: 48px 0 24px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-art { position: relative; height: 520px; }
.hero-art .book { position: absolute; bottom: 10px; width: 46%; filter: drop-shadow(0 30px 40px rgba(14, 42, 36, .35)); transition: transform .4s ease; }
.hero-art .book-1 { left: 22%; z-index: 3; width: 56%; }
.hero-art .book-2 { left: -2%; bottom: 30px; z-index: 2; width: 44%; transform: rotate(-7deg) scale(.92); }
.hero-art .book-3 { right: -4%; bottom: 36px; z-index: 1; width: 42%; transform: rotate(8deg) scale(.88); }
.hero-art.two .book-1 { left: 28%; width: 58%; }
.hero-art.two .book-2 { left: 0; bottom: 34px; width: 48%; transform: rotate(-8deg) scale(.9); }
.hero-art.one .book-1 { left: 20%; width: 60%; }
.hero-art::before { content: ""; position: absolute; inset: auto 6% 0 6%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(226, 190, 120, .45), rgba(226, 190, 120, 0)); z-index: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { height: 360px; margin-top: 10px; }
}
@media (max-width: 480px) { .hero-art { height: 280px; } }

/* Offer band */
.offer { background: var(--green); color: var(--cream); padding: 28px 0; }
.offer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.offer h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .2em; }
.offer p { margin: 0; color: var(--gold-soft); }
.offer .code { font-family: var(--sans); font-weight: 700; letter-spacing: .08em; color: var(--gold); }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--cream-2); }
.section.dark { background: var(--green-deep); color: var(--cream); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0; }
.section-head .more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.cards.single { grid-template-columns: repeat(auto-fit, minmax(270px, 380px)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22, 60, 52, .14); }
.card-media { position: relative; display: grid; place-items: center; padding: 26px 26px 0; aspect-ratio: 4 / 3; background: radial-gradient(120% 100% at 50% 100%, var(--glow, #2a4a40) 0%, var(--tint, #163C34) 70%); }
.card-media img { width: 62%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); transform: translateY(6%); }
.card-media .tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--green-deep); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.card-media .tag.soon { background: var(--cream); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .eyebrow { margin-bottom: .2em; }
.card-body h3 { margin: 0; font-size: 1.45rem; }
.card-body h3 a { text-decoration: none; color: var(--green-deep); }
.card-body h3 a:hover { text-decoration: underline; }
.card-sub { color: #3F4A46; margin: 0 0 .4em; font-size: 1rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.price { font-family: var(--sans); font-weight: 700; font-size: 1.4rem; color: var(--green-deep); white-space: nowrap; letter-spacing: -.01em; }
.price small { font-family: var(--sans); font-weight: 500; font-size: .75rem; color: var(--muted); margin-left: 4px; letter-spacing: .02em; }
.price .was { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-right: 8px; }

/* Feature list / trust row */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.trust div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.trust h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 0 0 .3em; color: var(--green-deep); }
.trust p { margin: 0; color: var(--muted); font-size: .95rem; }
.trust .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: var(--gold); display: grid; place-items: center; margin-bottom: 12px; font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1; }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.about-teaser img { width: 120px; height: 120px; border-radius: 50%; box-shadow: var(--shadow); }
@media (max-width: 600px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser img { width: 96px; height: 96px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 600; font-size: 1.4rem; color: var(--gold-ink); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: #2C3835; }

/* Breadcrumbs */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs span::before, .crumbs a + a::before { content: "›"; margin: 0 8px; color: #B4AB97; }

/* Category hero */
.cat-hero { padding: 36px 0 10px; }
.cat-hero .lead { max-width: 720px; }

/* Product page */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; padding: 24px 0 40px; }
.gallery-main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 9 / 7; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { border: 2px solid transparent; border-radius: 10px; padding: 0; background: var(--paper); cursor: pointer; overflow: hidden; width: 84px; aspect-ratio: 1; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--green); }
.buy-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.buy-panel h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .15em; }
.buy-panel .subtitle { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.2rem; color: var(--green); margin: 0 0 .8em; }
.badges { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: .82rem; font-weight: 600; color: var(--green-deep); background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; }
.price-row .price { font-size: 2rem; }
.price-row .vat { font-size: .85rem; color: var(--muted); }
.buy-panel .btn-lg { margin-top: 4px; }
.buy-panel .fine { margin: 12px 0 0; }
.panel-note { background: var(--cream-2); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 16px; font-size: .95rem; }
.panel-note strong { color: var(--green-deep); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .buy-panel { position: static; }
}

/* Product body */
.product-body { max-width: 780px; padding-bottom: 48px; }
.product-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose p { font-size: 1.08rem; }
.chapters { list-style: none; padding: 0; margin: 0; counter-reset: ch; display: grid; gap: 12px; }
.chapters li { counter-increment: ch; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.chapters li::before { content: counter(ch, decimal-leading-zero); font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--green-deep); background: var(--gold); border-radius: 8px; width: 40px; height: 40px; display: grid; place-items: center; }
.chapters div { min-width: 0; }
.chapters strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--green-deep); }
.chapters span { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 11px; width: 6px; height: 4px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-1px); }
.menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.menus div { background: var(--green); color: var(--cream); border-radius: var(--radius-sm); padding: 18px; }
.menus strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--gold); margin-bottom: 4px; }
.menus span { font-size: .95rem; color: var(--gold-soft); }
.contents { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 0 18px; margin-top: 10px; }
.contents summary { cursor: pointer; font-weight: 600; padding: 14px 0; color: var(--green); }
.contents .groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; padding: 6px 0 18px; }
.contents h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.contents ul { margin: 0; padding-left: 18px; font-size: .95rem; color: #2C3835; }
.contents li { margin: 3px 0; }

/* Offer page */
.offer-hero { background: linear-gradient(180deg, var(--green-deep) 0%, var(--green) 100%); color: var(--cream); padding: 48px 0 56px; position: relative; overflow: hidden; }
.offer-hero h1 { color: #fff; }
.offer-hero h1 em { color: var(--gold); }
.offer-hero .lead { color: var(--gold-soft); }
.offer-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; }
.offer-grid .book-shot { width: min(78%, 420px); margin: 0 auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.code-box { background: rgba(255, 255, 255, .06); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.code-box .label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-weight: 600; }
.code-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.code-row code { font-family: var(--sans); font-weight: 700; font-size: 1.8rem; letter-spacing: .12em; color: #fff; background: rgba(0, 0, 0, .25); padding: 8px 16px; border-radius: 10px; }
.code-row .btn { padding: .7em 1.2em; }
.code-box .steps { margin: 14px 0 0; padding-left: 20px; color: var(--gold-soft); font-size: .95rem; }
.code-box .steps li { margin: 4px 0; }
.price-strike { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 0; }
.price-strike .now { font-family: var(--sans); font-size: 2.2rem; font-weight: 700; color: #fff; }
.price-strike .was { font-size: 1.1rem; color: var(--gold-soft); text-decoration: line-through; }
.price-strike .vat { font-size: .85rem; color: var(--gold-soft); }
@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } .offer-grid .book-shot { order: -1; width: min(60%, 300px); } }

/* Generic text pages */
.page { max-width: 760px; padding: 36px 0 60px; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page h2 { font-size: 1.6rem; margin-top: 1.8em; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }

/* Social row */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.socials a:hover { border-color: var(--green); }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--gold-soft); padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(226, 190, 120, .25); margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #B9B19C; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .95rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 90; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
