:root {
  --site-bg: #fcf7f4;
  --site-bg-soft: #f6ede8;
  --site-paper: rgba(255, 255, 255, 0.78);
  --site-paper-strong: rgba(255, 255, 255, 0.9);
  --site-line: rgba(86, 40, 64, 0.12);
  --site-text: #2f2730;
  --site-muted: #75636d;
  --site-plum: #562840;
  --site-plum-deep: #3d1630;
  --site-rose: #c88892;
  --site-sage: #8fa5a1;
  --site-gold: #b08b4f;
  --site-shadow: 0 22px 52px rgba(70, 44, 57, 0.1);
  --site-radius-xl: 34px;
  --site-radius-lg: 26px;
  --site-radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--site-text);
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 136, 146, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 165, 161, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfb 0%, var(--site-bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.site-topbar,
.site-card,
.site-panel,
.footer-card,
.legal-card {
  background: var(--site-paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: var(--site-shadow);
}

.site-topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand-mark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86) 56%, rgba(252, 245, 241, 0.92) 100%);
  box-shadow:
    0 18px 38px rgba(70, 44, 57, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  padding: 7px;
}

.site-brand-mark::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: radial-gradient(circle, rgba(200, 136, 146, 0.26) 0%, rgba(200, 136, 146, 0) 70%);
  filter: blur(6px);
}

.site-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 18px;
  border: 1px solid rgba(86, 40, 64, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.site-brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-brand strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.site-brand small {
  display: block;
  margin-top: 5px;
  color: var(--site-muted);
}

.site-nav,
.hero-actions,
.trust-row,
.feature-chips,
.footer-links,
.footer-meta,
.legal-links,
.growth-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--site-muted);
  background: rgba(255, 255, 255, 0.55);
}

.site-main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.hero-grid,
.story-grid,
.retention-grid,
.feature-grid,
.book-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.site-card {
  padding: 28px;
  border-radius: var(--site-radius-xl);
}

.section-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--site-muted);
}

.hero-copy h1,
.site-card h2,
.legal-card h1 {
  margin: 12px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 12ch;
}

.hero-lead,
.section-copy,
.feature-card p,
.retention-card p,
.story-step p,
.book-copy p,
.legal-card p,
.legal-card li {
  color: var(--site-muted);
  line-height: 1.8;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.04rem;
}

.hero-brand-band {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 244, 0.68)),
    radial-gradient(circle at right top, rgba(200, 136, 146, 0.12), transparent 38%);
  box-shadow: 0 18px 36px rgba(70, 44, 57, 0.08);
}

.hero-brand-emblem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9) 56%, rgba(252, 245, 241, 0.96) 100%);
  box-shadow:
    0 22px 42px rgba(86, 40, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero-brand-emblem::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 35%, rgba(200, 136, 146, 0.34), transparent 52%),
    radial-gradient(circle at 70% 62%, rgba(143, 165, 161, 0.18), transparent 56%);
  filter: blur(10px);
}

.hero-brand-emblem::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(86, 40, 64, 0.08);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
}

.hero-brand-emblem img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-brand-copy strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.08;
}

.hero-brand-copy span {
  display: block;
  margin-top: 7px;
  color: var(--site-muted);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
}

.button-primary {
  background: linear-gradient(135deg, var(--site-plum-deep), var(--site-plum));
  color: #fff8f4;
  box-shadow: 0 14px 28px rgba(86, 40, 64, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--site-text);
  border: 1px solid var(--site-line);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff8f4;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-pill,
.feature-chip,
.growth-pill,
.footer-links a,
.legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--site-text);
  font-size: 0.9rem;
}

.site-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--site-radius-xl);
  overflow: hidden;
}

.hero-visual {
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(61, 22, 48, 0.98), rgba(86, 40, 64, 0.92)),
    url("https://images.unsplash.com/photo-1515488042361-ee00e0ddd4e4?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: #fff8f4;
}

.hero-visual-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.hero-shot,
.book-shot,
.story-shot {
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  background: #eadfd7;
}

.hero-shot img,
.book-shot img,
.story-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.retention-grid,
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.retention-card,
.feature-card,
.story-step,
.footer-card {
  padding: 22px;
  border-radius: var(--site-radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 30px rgba(70, 44, 57, 0.08);
}

.retention-card h3,
.feature-card h3,
.story-step h3,
.book-copy h2 {
  margin: 14px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
}

.retention-meta {
  color: var(--site-plum);
  font-size: 0.92rem;
  font-weight: 700;
}

.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.story-steps {
  display: grid;
  gap: 14px;
}

.book-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
}

.book-copy .book-price {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(200, 136, 146, 0.1);
  border: 1px solid rgba(200, 136, 146, 0.18);
  color: var(--site-plum);
  font-weight: 700;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.site-footer {
  margin-top: 8px;
}

.footer-card--brand {
  position: relative;
  overflow: hidden;
}

.footer-card--brand::before {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 200px;
  height: 200px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 58%),
    rgba(200, 136, 146, 0.12);
  filter: blur(2px);
}

.footer-brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand-mark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9) 56%, rgba(252, 245, 241, 0.96) 100%);
  box-shadow:
    0 18px 34px rgba(70, 44, 57, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.footer-brand-mark::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: radial-gradient(circle, rgba(200, 136, 146, 0.2), rgba(200, 136, 146, 0) 72%);
  filter: blur(8px);
}

.footer-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 18px;
  border: 1px solid rgba(86, 40, 64, 0.08);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
}

.footer-brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-lockup strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.footer-brand-lockup span {
  display: block;
  margin-top: 6px;
  color: var(--site-muted);
  line-height: 1.6;
}

.footer-card h2 {
  margin-top: 12px;
  font-size: 2.2rem;
}

.footer-links a,
.legal-links a {
  font-weight: 600;
}

.footer-meta {
  align-items: center;
  justify-content: space-between;
  color: var(--site-muted);
  font-size: 0.92rem;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.legal-card {
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--site-radius-xl);
}

.legal-card h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.legal-card h2 {
  margin: 28px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
}

.legal-card ul {
  padding-left: 20px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .story-grid,
  .book-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-topbar {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .retention-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .legal-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-card,
  .site-panel,
  .footer-card,
  .legal-card {
    padding: 22px;
    border-radius: 26px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-brand-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-brand-emblem {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    border-radius: 26px;
  }

  .retention-card h3,
  .feature-card h3,
  .story-step h3,
  .book-copy h2,
  .footer-card h2 {
    font-size: 1.7rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
