:root {
  color-scheme: dark;
  --ink: #f8f3ea;
  --muted: #c9c0b4;
  --dim: #8e8579;
  --charcoal: #11110f;
  --black: #080807;
  --panel: #191815;
  --line: #363128;
  --gold: #d8ad55;
  --gold-soft: #f1d891;
  --clay: #a65d3c;
  --sage: #7d9477;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(8, 8, 7, 0.76), rgba(8, 8, 7, 0.95)),
    url("assets/studio-bg.jpg") center top / 100% auto no-repeat,
    radial-gradient(circle at 20% 0%, rgba(216, 173, 85, 0.14), transparent 34rem),
    linear-gradient(180deg, #12110f 0%, #080807 44%, #11100e 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 7, 0.78);
  border-bottom: 1px solid rgba(248, 243, 234, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-mark {
  align-items: center;
  display: flex;
  min-width: 142px;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  width: 142px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 8vw, 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.75fr);
  min-height: calc(100vh - 69px);
  padding: clamp(48px, 7vw, 90px) clamp(18px, 5vw, 72px) 36px;
  position: relative;
}

.hero::after {
  background-image:
    linear-gradient(rgba(248, 243, 234, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 243, 234, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.book-visual,
.section {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.65rem, 10vw, 9.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 24px;
  max-width: 10ch;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.8vw, 5.7rem);
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 11ch;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-lede {
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #17110a;
}

.button-secondary {
  background: rgba(248, 243, 234, 0.06);
  border-color: rgba(248, 243, 234, 0.22);
  color: var(--ink);
}

.book-visual {
  min-height: 460px;
}

.hero-product-image {
  background: #080807;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  max-width: min(680px, 100%);
  object-fit: cover;
  width: 100%;
}

.book-card {
  background: rgba(248, 243, 234, 0.94);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  color: #17110a;
  display: grid;
  gap: 7px;
  max-width: 235px;
  padding: 18px;
  position: absolute;
  right: 4%;
  top: 70%;
}

.book-card span {
  color: #584d3f;
}

.section {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.split-section,
.product-preview,
.sample-section,
.updates-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
}

.product-preview {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.78), rgba(8, 8, 7, 0.92)),
    radial-gradient(circle at 68% 30%, rgba(139, 59, 128, 0.22), transparent 28rem);
  border-block: 1px solid rgba(248, 243, 234, 0.1);
}

.cover-preview {
  margin: 0;
  text-align: center;
}

.cover-preview img {
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  max-width: min(720px, 100%);
  width: 100%;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article {
  background: rgba(248, 243, 234, 0.055);
  border: 1px solid rgba(248, 243, 234, 0.1);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-grid p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.proof-strip {
  background: #ece3d2;
  color: #15110d;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 0;
}

.proof-strip div {
  background: #f8f3ea;
  display: grid;
  min-height: 170px;
  place-content: center;
  text-align: center;
}

.proof-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1;
}

.proof-strip span {
  color: #5a5045;
  font-weight: 700;
}

.sample-section {
  background:
    linear-gradient(90deg, rgba(166, 93, 60, 0.12), transparent),
    var(--panel);
}

.sample-copy p,
.updates-section p,
.buy-section p {
  max-width: 680px;
}

.signup-form {
  align-self: start;
  background: rgba(8, 8, 7, 0.48);
  border: 1px solid rgba(248, 243, 234, 0.14);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.signup-form label {
  display: grid;
  gap: 7px;
}

.signup-form span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.signup-form input {
  background: #151514;
  border: 1px solid rgba(248, 243, 234, 0.38);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

.signup-form input:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(216, 173, 85, 0.2);
}

.signup-form button {
  width: 100%;
}

.form-note {
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.buy-section {
  align-items: center;
  border-block: 1px solid rgba(248, 243, 234, 0.1);
  display: flex;
  gap: 26px;
  justify-content: space-between;
}

.buy-section h2 {
  max-width: 12ch;
}

.updates-section {
  background: #0d0d0c;
}

.compact-form {
  background: transparent;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(248, 243, 234, 0.1);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero,
  .split-section,
  .product-preview,
  .sample-section,
  .updates-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .book-visual {
    min-height: 480px;
  }

  .book-card {
    right: clamp(0px, 8vw, 60px);
  }

  .buy-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    position: static;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5.6rem);
  }

  .hero-actions,
  .hero-actions .button,
  .buy-section .button {
    width: 100%;
  }

  .book-visual {
    min-height: auto;
  }

  .hero-product-image {
    min-height: 280px;
    object-fit: cover;
    object-position: 50% center;
  }

  .book-card {
    margin-top: 16px;
    max-width: none;
    position: static;
  }

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

  .proof-strip div {
    min-height: 124px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
