:root {
  --bg-ink: #0b1f33;
  --bg-warm: #f7f1e3;
  --paper: #fdfaf2;
  --card: #fffdf7;
  --text-main: #152233;
  --text-muted: #4f6077;
  --accent: #be7b2c;
  --accent-strong: #a65f10;
  --line: #d8ccb8;
  --shadow: 0 16px 36px rgba(8, 24, 38, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: min(1140px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-warm);
  line-height: 1.55;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(190, 123, 44, 0.2) 0%, transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(11, 31, 51, 0.14) 0%, transparent 35%),
    linear-gradient(180deg, #fbf6ea 0%, #f4ecdc 100%);
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1rem;
}

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

.site-header {
  width: var(--container);
  margin: 1rem auto 0;
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
}

main {
  width: var(--container);
  margin: 1rem auto 4.8rem;
}

.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(11, 31, 51, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.03rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-actions {
  margin: 1.4rem 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-solid {
  background: var(--accent);
  color: #fff;
}

.button-solid:hover {
  background: var(--accent-strong);
}

.button-outline {
  border-color: rgba(21, 34, 51, 0.25);
  color: var(--bg-ink);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.button-outline:hover {
  border-color: var(--bg-ink);
}

.button-ghost {
  border-color: rgba(21, 34, 51, 0.2);
  color: var(--bg-ink);
  background: transparent;
}

.button-large {
  font-size: 1.03rem;
  padding: 0.9rem 1.8rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  padding: 0.44rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 34, 51, 0.2);
  font-size: 0.86rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.58);
}

.hero-cover {
  margin: 0;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(21, 34, 51, 0.14);
  box-shadow: var(--shadow);
}

.hero-cover img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.panel {
  background: rgba(255, 253, 247, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.8vw, 2rem);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1rem;
}

.card p {
  color: var(--text-muted);
  margin: 0;
}

.author-grid {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.author-photo-wrap {
  margin: 0;
}

.author-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.author-copy p {
  color: var(--text-muted);
}

.author-copy .button {
  margin-top: 0.3rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

details summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 0.7rem;
  color: var(--text-muted);
}

.closing {
  text-align: center;
  padding-bottom: 6rem;
}

.closing p {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 1.2rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.68rem 1rem;
  background: rgba(15, 31, 47, 0.95);
  color: #fff;
  backdrop-filter: blur(10px);
}

.mobile-cta span {
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-cta .button {
  padding-inline: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-cover {
    order: 1;
    max-width: 420px;
    justify-self: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 244, 232, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(21, 34, 51, 0.12);
    padding: 0.7rem 0;
  }

  main {
    margin-top: 0.2rem;
  }

  .mobile-cta {
    display: flex;
  }
}
