:root {
  --ink: #081426;
  --ink-soft: #14233a;
  --navy: #0a1830;
  --navy-2: #102642;
  --ivory: #fff8ea;
  --paper: #f7ecd6;
  --paper-soft: #fffdf7;
  --gold: #c99a45;
  --gold-soft: #efd8a6;
  --muted: #6e6255;
  --line: rgba(8, 20, 38, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 20, 38, 0.18);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 154, 69, 0.18), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, #f8efdf 44%, #fffdf7 100%);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 154, 69, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, 0.82);
  border-bottom: 1px solid rgba(8, 20, 38, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 10px 34px rgba(8, 20, 38, 0.08);
}

.nav-shell {
  width: min(100% - 2rem, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: 1px solid rgba(201, 154, 69, 0.45);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-menu a {
  text-decoration: none;
  color: rgba(8, 20, 38, 0.76);
  transition: color 0.2s ease;
}

.site-menu a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.7rem 1rem;
  color: var(--ivory) !important;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(8, 20, 38, 0.18);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 25%, rgba(239, 216, 166, 0.58), transparent 20rem),
    radial-gradient(circle at 18% 10%, rgba(16, 38, 66, 0.16), transparent 25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8.5rem);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 1.5rem;
  color: rgba(8, 20, 38, 0.72);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-actions {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions.centered {
  justify-content: center;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--navy), #1c3454);
  box-shadow: 0 18px 40px rgba(8, 20, 38, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(8, 20, 38, 0.14);
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-meta span {
  padding: 0.45rem 0.75rem;
  color: rgba(8, 20, 38, 0.72);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(8, 20, 38, 0.08);
  border-radius: 999px;
  font-size: 0.85rem;
}

.book-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.book-glow {
  position: absolute;
  width: min(80vw, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 154, 69, 0.34), transparent 64%);
  filter: blur(8px);
}

.book-card {
  position: relative;
  width: min(100%, 350px);
  min-height: 510px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ivory);
  background:
    linear-gradient(160deg, rgba(8, 20, 38, 0.94), rgba(18, 44, 76, 0.98)),
    radial-gradient(circle at 70% 10%, rgba(201, 154, 69, 0.25), transparent 16rem);
  border: 1px solid rgba(239, 216, 166, 0.3);
  border-radius: 10px 26px 26px 10px;
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(239, 216, 166, 0.22);
  border-radius: 6px 18px 18px 6px;
  pointer-events: none;
}

.book-label {
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.book-card h2 {
  color: var(--ivory);
  font-size: 3.2rem;
  text-align: center;
  letter-spacing: -0.05em;
}

.book-line {
  color: rgba(255, 248, 234, 0.72);
  text-align: center;
}

.book-cover-img {
  position: relative;
  width: min(100%, 350px);
  border-radius: 10px 22px 22px 10px;
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
}

.split-grid,
.author-grid,
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  margin-top: 1rem;
  color: rgba(8, 20, 38, 0.7);
  font-size: 1.05rem;
}

.feature-card,
.journey-card,
.author-card,
.platform-preview,
.final-card,
.reflection-shell {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(8, 20, 38, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 70px rgba(8, 20, 38, 0.08);
}

.feature-card {
  padding: 2rem;
}

.card-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 3rem;
  color: var(--ivory);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 800;
}

.feature-card p,
.journey-card p,
.author-card p,
.platform-preview p,
.final-card p,
.reflection-shell p {
  margin-top: 0.8rem;
  color: rgba(8, 20, 38, 0.68);
}

.journey-section {
  background:
    linear-gradient(180deg, rgba(8, 20, 38, 0.02), rgba(8, 20, 38, 0.04)),
    transparent;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.section-heading p:last-child {
  margin-top: 1rem;
  color: rgba(8, 20, 38, 0.68);
  font-size: 1.08rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.journey-card {
  padding: 1.5rem;
}

.icon-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
  background: rgba(201, 154, 69, 0.1);
  border-radius: 50%;
  font-size: 1.25rem;
}

.reflection-shell {
  padding: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

blockquote {
  max-width: 880px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.author-card {
  padding: 2rem;
  text-align: center;
}

.author-avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--navy), var(--gold));
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.7rem;
}

.platform-section {
  background: var(--navy);
  color: var(--ivory);
}

.platform-section h2,
.platform-section h3,
.platform-section .section-copy p,
.platform-section .text-link {
  color: var(--ivory);
}

.platform-section .eyebrow {
  color: var(--gold-soft);
}

.platform-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 248, 234, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.platform-preview {
  padding: 2rem;
  color: var(--ivory);
  background:
    radial-gradient(circle at top right, rgba(201, 154, 69, 0.18), transparent 16rem),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 248, 234, 0.16);
}

.preview-label {
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.final-cta {
  text-align: center;
}

.final-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(8, 20, 38, 0.58);
  border-top: 1px solid rgba(8, 20, 38, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    inset: 76px 1rem auto;
    display: grid;
    gap: 0;
    padding: 0.8rem;
    background: rgba(255, 250, 240, 0.96);
    border: 1px solid rgba(8, 20, 38, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-menu a {
    padding: 0.9rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-grid,
  .split-grid,
  .author-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

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

  .book-stage {
    order: -1;
  }

  .book-card,
  .book-cover-img {
    transform: none;
  }

  .book-card {
    min-height: 430px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .brand-text {
    display: none;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .hero-actions,
  .hero-actions.centered {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .book-card {
    width: min(100%, 300px);
    min-height: 410px;
  }

  .book-card h2 {
    font-size: 2.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
