:root {
  --ink: #161615;
  --paper: #f6f2e8;
  --soft: #efe3cf;
  --gold: #bc8a3b;
  --red: #7b2427;
  --green: #275647;
  --blue: #263f63;
  --line: rgba(22, 22, 21, 0.16);
  --shadow: 0 18px 55px rgba(22, 22, 21, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(246, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--red);
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.98rem;
}

.nav a {
  text-decoration: none;
  color: #3b3832;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 14, 11, 0.72), rgba(16, 14, 11, 0.30) 52%, rgba(16, 14, 11, 0.12)),
    url("assets/cover-book1.png") center 38% / cover no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(246, 242, 232, 0.96), rgba(246, 242, 232, 0) 34%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(70px, 12vh, 130px) clamp(18px, 7vw, 92px);
  color: #fffaf0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 720px;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions,
.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #1f1608;
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.64);
  color: #fffaf0;
}

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

.section-head,
.text-block {
  width: min(900px, 100%);
  margin: 0 auto 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.book {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.book-cover-wrap {
  background: linear-gradient(135deg, rgba(188, 138, 59, 0.22), rgba(39, 86, 71, 0.12));
  padding: 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.book-info h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.status {
  display: inline-flex;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(39, 86, 71, 0.11);
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.meta,
.note {
  color: #625b50;
}

.book-info p,
.text-block p {
  font-size: 1.08rem;
  line-height: 1.7;
}

.book-info .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.about-section {
  background: linear-gradient(135deg, rgba(39, 86, 71, 0.10), rgba(38, 63, 99, 0.08));
}

.contact-section {
  background: #fffaf0;
}

.purchase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 330px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(123, 36, 39, 0.12), rgba(39, 86, 71, 0.10)),
    #fffaf0;
  border-bottom: 1px solid var(--line);
}

.purchase-copy {
  max-width: 760px;
}

.purchase-copy h1 {
  color: var(--red);
}

.purchase-cover {
  width: 100%;
  max-width: 330px;
  justify-self: center;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.purchase-section {
  background: var(--paper);
}

.purchase-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.info-panel h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--red);
}

.info-panel p,
.steps {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.price {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--green);
}

.steps {
  padding-left: 22px;
}

.steps li + li {
  margin-top: 8px;
}

.payment-panel {
  grid-column: span 2;
}

.payment-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 6px;
  background: rgba(39, 86, 71, 0.08);
  border: 1px solid rgba(39, 86, 71, 0.18);
  font-family: Arial, sans-serif;
}

.payment-box p {
  margin: 0;
}

.warning {
  margin-top: 14px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #5d574d;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    margin-left: 18px;
    margin-bottom: 74px;
  }

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

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

  .payment-panel {
    grid-column: auto;
  }

  .book-cover-wrap {
    max-width: 320px;
  }
}
