:root {
  --burgundy: #6b1e2a;
  --burgundy-deep: #4a121c;
  --burgundy-soft: #8f3a48;
  --cream: #f7f0e6;
  --cream-deep: #ebe1d2;
  --ink: #2a1c1f;
  --muted: #6e5a5e;
  --paper: #fffdf9;
  --line: rgba(107, 30, 42, 0.14);
  --shadow: 0 18px 40px rgba(74, 18, 28, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(143, 58, 72, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(107, 30, 42, 0.1), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 45%, #e4d8c8 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--burgundy-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 240, 230, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--burgundy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(74, 18, 28, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  gap: 28px;
  align-items: end;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: min(72vh, 640px);
    padding-top: 64px;
  }
}

.hero-copy {
  animation: rise 0.7s ease-out both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: rise 0.9s ease-out 0.08s both;
}

.hero-visual img {
  width: min(280px, 70vw);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--burgundy-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--burgundy-deep);
}

.lead {
  margin: 0 0 22px;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(107, 30, 42, 0.28);
}

.btn-primary:hover {
  background: var(--burgundy-deep);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy-deep);
  border-color: var(--line);
}

.btn-ghost {
  background: var(--paper);
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
  box-shadow: none;
}

.btn-ghost:hover {
  transform: none;
  color: var(--muted);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 12px;
}

.section h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--burgundy-deep);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 20px rgba(74, 18, 28, 0.05);
  animation: rise 0.6s ease-out both;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--burgundy-deep);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.panel + .panel {
  margin-top: 16px;
}

.page-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 8px;
  animation: rise 0.55s ease-out both;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 20px 64px;
}

.content h2 {
  margin: 1.6em 0 0.45em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--burgundy-deep);
}

.content h3 {
  margin: 1.15em 0 0.35em;
  font-size: 1.05rem;
  color: var(--ink);
}

.content p,
.content li {
  color: var(--ink);
}

.content ul {
  padding-left: 1.2em;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--burgundy-deep);
}

.faq details[open] summary {
  margin-bottom: 8px;
}

.note,
.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.placeholder-email {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f3e6d8;
  border: 1px dashed rgba(107, 30, 42, 0.35);
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: var(--burgundy-deep);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner a {
  font-weight: 600;
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-visual,
  .feature,
  .page-hero {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
