:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #c3ccda;
  --soft: #8f9caf;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(8, 15, 28, 0.82);
  --panel-solid: #0d1728;
  --accent: #8ec7ff;
  --accent-strong: #e5f3ff;
  --gold: #d5ba7a;
  --bg: #050812;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(4, 8, 17, 0.9), rgba(4, 8, 17, 0.56));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-strong);
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  font-size: 0.92rem;
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 96px clamp(20px, 6vw, 70px) 72px;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 16, 0.96) 0%, rgba(3, 8, 18, 0.82) 34%, rgba(3, 8, 18, 0.38) 68%, rgba(3, 8, 18, 0.74) 100%),
    linear-gradient(180deg, rgba(2, 6, 16, 0.1) 0%, rgba(2, 6, 16, 0.3) 64%, var(--bg) 100%);
}

.hero-content {
  width: min(660px, 100%);
  padding-top: 5vh;
}

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

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #e2e8f4;
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent-strong);
  color: #08101f;
  border-color: var(--accent-strong);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 6vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.book-section {
  background:
    radial-gradient(circle at 85% 18%, rgba(142, 199, 255, 0.14), transparent 30%),
    #070d19;
}

.book-layout,
.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.62fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}

.book-copy p,
.author-copy p,
.reader-layout p {
  max-width: 720px;
}

.book-panel,
.reader-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.detail-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:first-child {
  padding-top: 0;
}

.detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-row span {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.detail-row strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.author-section {
  background: #080b14;
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
}

.reader-section {
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.96), rgba(5, 8, 18, 1)),
    #060a14;
}

.note-title {
  margin-top: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 70px);
  border-top: 1px solid var(--line);
  background: #030611;
}

.site-footer p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 138px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 6, 16, 0.88) 0%, rgba(3, 8, 18, 0.72) 42%, rgba(3, 8, 18, 0.9) 100%);
  }

  .book-layout,
  .author-layout,
  .reader-layout {
    grid-template-columns: 1fr;
  }

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