:root {
  --bg: #f3ebe3;
  --bg-deep: #eadfd4;
  --paper: #fff8f1;
  --ink: #2c1f1c;
  --muted: #6d5852;
  --rose: #8e3d3d;
  --rose-deep: #6f2e2e;
  --blush: #d9b0a7;
  --gold: #b8946a;
  --line: #e0d2c4;
  --shadow: 0 18px 40px -24px rgba(44, 31, 28, 0.35);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(217, 176, 167, 0.28), transparent 55%),
    radial-gradient(900px 400px at 110% 0%, rgba(184, 148, 106, 0.16), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
p, figure, h1, h2, h3, ul { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 0.6rem; color: var(--paper); }

.preview-banner {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem var(--pad);
}
.preview-banner strong { font-weight: 600; }

.site-header {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  display: grid;
  grid-template-areas: "brand nav lang";
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { grid-area: brand; }
.site-nav { grid-area: nav; }
.lang-toggle { grid-area: lang; }
.nav-toggle { grid-area: toggle; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
}
.wordmark span {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.7rem 0;
}
.site-nav a[aria-current="page"] {
  color: var(--rose);
  box-shadow: inset 0 -2px 0 var(--rose);
}

.lang-toggle {
  display: inline-flex;
  gap: 2px;
  flex-shrink: 0;
  margin-left: 0.4rem;
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 40px;
  min-height: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-radius: 999px;
  box-shadow: none;
}
.lang-toggle a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

.hero {
  padding: clamp(2.75rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  gap: 1.35rem;
  max-width: 42rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
.lede {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 38rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary {
  background: var(--rose);
  color: #fffaf6;
}
.btn-primary:hover { background: var(--rose-deep); color: #fffaf6; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

.section {
  padding: clamp(2rem, 5vw, 3.75rem) 0;
}
.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  max-width: 40rem;
}
.prose {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  color: var(--ink);
}
.prose p, .prose li { color: var(--ink); }
.prose .muted, .muted { color: var(--muted); }
.prose ul { padding-left: 1.15rem; }
.prose li + li { margin-top: 0.45rem; }

.feature-card, .panel, .buy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  text-decoration: none;
  color: var(--ink);
}
.feature-card:hover { color: var(--ink); border-color: var(--blush); }
.feature-card .meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}
.feature-card p { color: var(--muted); }

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.point {
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}
.point strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.product-intro { grid-column: 1; grid-row: 1; }
.product-doors { grid-column: 1; grid-row: 2; }
.buy-card { grid-column: 2; grid-row: 1 / span 2; }

.buy-card {
  position: sticky;
  top: 1rem;
  padding: 1.4rem 1.35rem 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.price {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
}
.placeholder {
  display: inline-block;
  background: #f3e0d6;
  color: var(--rose-deep);
  border-radius: 8px;
  padding: 0.05em 0.4em;
  font-style: italic;
  font-size: 0.85em;
}
.buy-note {
  font-size: 0.88rem;
  color: var(--muted);
}
#lemonsqueezy {
  scroll-margin-top: 1.2rem;
}

.doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}
.door {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.4rem;
  gap: 0.15rem;
  min-height: 0;
}
.door b {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--rose);
}
.door span {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
  text-wrap: balance;
}
.door.is-named {
  background: linear-gradient(180deg, #fffaf4, #f7e6dc);
  border-color: #d8b8ad;
}

.how-list, .include-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.how-list li, .include-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.how-list strong, .include-list strong { color: var(--ink); }

.vouchers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.voucher {
  border: 1px dashed var(--gold);
  background: var(--paper);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.3rem;
}
.voucher strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.site-footer {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 3rem auto 0;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer a { text-decoration: none; }
.site-footer .wordmark span { font-size: 1.25rem; color: var(--ink); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.contact-line {
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .points { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-intro, .product-doors, .buy-card { grid-column: auto; grid-row: auto; }
  .product-intro { order: 1; }
  .buy-card { order: 2; position: static; margin: 0.4rem 0 0.6rem; }
  .product-doors { order: 3; }
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-areas:
      "brand lang toggle"
      "nav nav nav";
    grid-template-columns: 1fr auto auto;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
  .lang-toggle { margin-left: 0; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    margin: 0 0 0.7rem;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.85rem 1rem; border-radius: 10px; }
  .site-nav a[aria-current="page"] { box-shadow: none; background: var(--bg-deep); }
  .vouchers { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .door { aspect-ratio: 0.86; }
  .door span { font-size: 0.66rem; }
  h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
