:root {
  --bg: #f6efe6;
  --bg-soft: #fbf6f0;
  --ink: #1c1412;
  --muted: #6d625c;
  --burgundy: #6b2432;
  --burgundy-deep: #541c28;
  --line: rgba(28, 20, 18, 0.12);
  --card: #fffbf7;
  --dark: #140c0a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(48, 28, 22, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(255, 255, 255, 0.7), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 239, 230, 0.9);
  border-bottom: 1px solid transparent;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 15px;
  text-decoration: none;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--ink); }
button.menu-toggle { display: none; }

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--burgundy-deep); }
.btn:focus-visible, .nav a:focus-visible, .faq summary:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}
.btn-wide { width: 100%; padding: 18px 22px; }

.hero { padding: 54px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}
.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.86;
}
.lede {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  max-width: 16ch;
}
.hero-copy p { color: #3a312d; }
.hero-copy .prose { max-width: 58ch; margin: 18px 0 0; }
.hero-copy .prose p { margin: 0 0 14px; }
.hero .btn { margin-top: 10px; }

.stage {
  position: relative;
  min-height: 620px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), transparent 30%),
    linear-gradient(160deg, #d7ccc0 0%, #c9bbb0 42%, #b7a89a 100%);
  overflow: hidden;
}
.slab {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 0;
  height: 168px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45), transparent 28%),
    linear-gradient(90deg, #ddd4cb, #cfc4b8 40%, #e5dbd1 70%, #c8bdb1);
  box-shadow: 0 -18px 40px rgba(70, 52, 40, 0.08);
}
.stage .book {
  position: absolute;
  width: 270px;
  height: 400px;
  right: 16%;
  bottom: 92px;
  transform: rotate(-8deg);
  filter: drop-shadow(18px 28px 24px rgba(40, 24, 18, 0.28));
}
.product-book {
  position: relative;
  width: 180px;
  height: 270px;
  flex: none;
  transform: rotate(-6deg);
  filter: drop-shadow(12px 18px 16px rgba(40, 24, 18, 0.22));
}
.product-book h2 { font-size: 34px; }
.book-cover {
  height: 100%;
  border-radius: 3px 8px 8px 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 8%),
    linear-gradient(160deg, #4a1824 0%, #2a0d14 55%, #16080c 100%);
  color: #f6efe6;
  padding: 22px 18px 18px 28px;
  position: relative;
  overflow: hidden;
}
.book-spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  background: linear-gradient(90deg, #1a090d, #5a2430 70%, #2a1016);
}
.book-kicker {
  position: absolute;
  left: 8px;
  top: 70px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 0.75;
}
.book h2 {
  margin: 18px 0 0;
  font-size: 54px;
  line-height: 0.82;
  font-weight: 500;
}
.book p { margin: 16px 0 0; max-width: 16ch; font-size: 11px; line-height: 1.35; letter-spacing: 0.04em; text-transform: uppercase; }
.book .edition { position: absolute; left: 28px; bottom: 18px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.silhouette { position: absolute; right: -8px; bottom: 0; width: 150px; height: 280px; }

.section { padding: 88px 0; }
.welcome-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: #12100e;
  position: relative;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.welcome h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 0.95; max-width: 12ch; }
.welcome .note { margin-top: 22px; color: var(--muted); font-size: 14px; }

.reviews {
  margin-top: 56px;
  padding: 28px;
  border-radius: 24px;
  background: var(--dark);
  box-shadow: var(--shadow);
  columns: 3 260px;
  column-gap: 16px;
}
.reviews img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.center { text-align: center; }
.center h2 { margin: 0; font-size: clamp(40px, 5vw, 60px); }
.center .sub { margin: 10px auto 0; max-width: 36ch; color: var(--muted); }
.cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: rgba(255, 251, 247, 0.72);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 22px 22px 8px;
  text-align: left;
}
.icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--burgundy); color: #fff; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.card ul { margin: 0; padding: 0 0 10px 18px; color: #3d342f; }
.card li { margin: 8px 0; }

.change { padding-top: 20px; }
.columns {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.col { border-radius: 22px; padding: 22px; }
.col.now { background: #f3ebe3; }
.col.after { background: var(--burgundy); color: #fff; }
.col h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.col.after h3 { color: rgba(255,255,255,0.72); }
.pair { padding: 14px 0; border-top: 1px solid var(--line); }
.col.after .pair { border-top-color: rgba(255,255,255,0.16); }
.pair p { margin: 0; }
.quote {
  margin: 34px auto 0;
  max-width: 40ch;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
}

.offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 28px;
}
.products { display: flex; align-items: flex-end; justify-content: center; min-height: 360px; gap: 12px; }
.product-book { width: 180px; transform: rotate(-6deg); }
.tablet, .phone {
  border-radius: 18px;
  background: #161116;
  color: #f6efe6;
  position: relative;
  box-shadow: var(--shadow);
}
.tablet { width: 190px; height: 250px; padding: 22px 16px; transform: translateY(16px); }
.phone { width: 112px; height: 210px; padding: 18px 12px; border-radius: 22px; }
.tablet h3, .phone strong { font-family: var(--serif); font-weight: 500; }
.tablet h3 { margin: 0; font-size: 28px; line-height: 0.95; }
.tablet span, .phone span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.phone { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.plane { width: 36px; height: 36px; margin-bottom: 10px; }
.offer-copy h2 { margin: 0 0 8px; font-size: 28px; }
.offer-copy .price {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.9;
}
.later { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.checks { margin: 0 0 8px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 26px; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--burgundy); font-weight: 700; }
.preorder { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.faq-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.faq details {
  background: rgba(255,251,247,0.7);
  border-radius: 16px;
  padding: 6px 18px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--burgundy); font-weight: 500; font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: #3d342f; }

.final {
  background: var(--dark);
  color: #f6efe6;
  text-align: center;
  padding: 88px 20px 72px;
}
.final h2 { margin: 0 auto; max-width: 18ch; font-size: clamp(36px, 5vw, 58px); line-height: 1; }
.final p { margin: 18px auto 28px; max-width: 46ch; color: rgba(246, 239, 230, 0.72); }
.footer {
  background: #0d0908;
  color: rgba(246, 239, 230, 0.55);
  text-align: center;
  font-size: 13px;
  padding: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 10, 0.56);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}
.modal.open { display: flex; }
.dialog {
  width: min(460px, 100%);
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 24px;
  padding: 28px;
}
.dialog h3 { margin: 0; font-size: 36px; }
.dialog p { color: #3d342f; }
.dialog .actions { display: flex; gap: 10px; margin-top: 8px; }
.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.error { color: var(--burgundy); min-height: 1.2em; }

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.success-card { width: min(520px, 100%); text-align: center; }
.mark {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--burgundy); color: white; font-size: 32px;
}
.success-card h1 { color: var(--ink); font-size: 64px; }
.pending .mark { background: #c7b5a4; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: rgba(246, 239, 230, 0.98);
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  button.menu-toggle { display: inline-flex; margin-left: auto; background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .header-inner .btn:last-child { display: none; }
  .hero-grid, .welcome-grid, .cards, .columns, .offer, .faq-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .reviews { margin-top: 32px; padding: 14px; border-radius: 18px; column-gap: 12px; }
  .reviews img { margin-bottom: 12px; border-radius: 12px; }
  .stage { min-height: 480px; }
  .stage .book { right: 50%; transform: translateX(50%) rotate(-6deg); width: 220px; height: 330px; }
  .welcome h2, h1 { max-width: none; }
  .products { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
