html {
  background:
    radial-gradient(circle at 18% 18%, rgba(234, 107, 82, 0.28), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(90, 181, 216, 0.22), transparent 28%),
    radial-gradient(circle at 52% 78%, rgba(239, 185, 93, 0.16), transparent 24%),
    linear-gradient(180deg, #06080d 0%, #0b1018 42%, #101622 100%);
}

body.book-page {
  --book-bg: #0c0f17;
  --book-text: rgba(247, 240, 229, 0.96);
  --book-muted: rgba(247, 240, 229, 0.7);
  --book-panel: rgba(255, 255, 255, 0.08);
  --book-panel-strong: rgba(255, 255, 255, 0.12);
  --book-line: rgba(255, 255, 255, 0.12);
  --book-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  background-color: #0c0f17;
  background:
    radial-gradient(circle at 18% 18%, rgba(234, 107, 82, 0.28), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(90, 181, 216, 0.22), transparent 28%),
    radial-gradient(circle at 52% 78%, rgba(239, 185, 93, 0.16), transparent 24%),
    linear-gradient(180deg, #06080d 0%, #0b1018 42%, #101622 100%);
  min-height: 100vh;
  color: var(--book-text);
  overflow-x: hidden;
}

body.book-page::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.book-page .page-bar__inner {
  background: rgba(9, 12, 19, 0.62);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--book-text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.book-page .page-nav a,
.book-page .lang-pill,
.book-page .back-link {
  color: var(--book-muted);
}

.book-page .page-nav a:hover,
.book-page .lang-pill:hover,
.book-page .back-link:hover {
  color: var(--book-text);
  background: rgba(255, 255, 255, 0.06);
}

.book-page .lang-pill.is-active {
  color: var(--book-text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.book-page .brand__dot {
  box-shadow: 0 0 0 7px rgba(234, 107, 82, 0.16);
}

.book-shell {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
  min-height: calc(100vh - 98px);
  display: grid;
  align-items: center;
  padding: 34px 0 50px;
}

.book-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: center;
}

.book-hero::before,
.book-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.book-hero::before {
  width: 260px;
  height: 260px;
  top: 8%;
  right: 10%;
  background: rgba(234, 107, 82, 0.18);
}

.book-hero::after {
  width: 220px;
  height: 220px;
  bottom: 6%;
  left: 8%;
  background: rgba(90, 181, 216, 0.18);
}

.book-copy {
  position: relative;
  z-index: 1;
}

.book-copy .eyebrow {
  color: var(--book-muted);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.book-title {
  margin: 22px 0 10px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.book-subtitle {
  display: block;
  margin-top: 10px;
  color: #f8c676;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.book-lead {
  max-width: 56ch;
  margin: 18px 0 0;
  color: var(--book-muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.8;
}

.book-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  margin-top: 28px;
}

.book-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid var(--book-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  box-shadow: var(--book-shadow);
}

.book-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%);
  pointer-events: none;
}

.book-panel h2,
.book-panel h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.book-panel p {
  margin: 12px 0 0;
  color: var(--book-muted);
  line-height: 1.75;
}

.book-page .taste-list {
  margin-top: 16px;
}

.book-page .taste-list li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--book-muted);
}

.book-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.book-form__row {
  display: grid;
  gap: 12px;
}

.book-form input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 15, 0.52);
  color: var(--book-text);
}

.book-form input[type="email"]::placeholder {
  color: rgba(247, 240, 229, 0.48);
}

.book-form input[type="email"]:focus-visible {
  outline: 2px solid rgba(90, 181, 216, 0.6);
  outline-offset: 2px;
}

.book-form .button--primary {
  width: 100%;
}

.book-form .form-note {
  color: var(--book-muted);
}

.book-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.book-stage__halo,
.book-stage__glow,
.book-stage__grain {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.book-stage__halo {
  width: min(78vw, 560px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(234, 107, 82, 0.44), transparent 46%),
    radial-gradient(circle at 66% 34%, rgba(90, 181, 216, 0.28), transparent 42%);
  filter: blur(40px);
  animation: pulse-halo 7s ease-in-out infinite;
}

.book-stage__glow {
  width: min(72vw, 520px);
  aspect-ratio: 0.8;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.book-stage__grain {
  inset: 5% 9%;
  border-radius: 36px;
  background:
    linear-gradient(transparent, rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%);
  opacity: 0.55;
}

.book-cover-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 18px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: rotate(-7deg) translateZ(0);
  animation: cover-float 7.4s ease-in-out infinite;
}

.book-cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.book-cover-card img {
  width: 100%;
  aspect-ratio: 0.7;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28);
}

.book-cover-card figcaption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--book-muted);
  font-size: 0.95rem;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--book-text);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.floating-chip--left {
  top: 16%;
  left: 0;
  animation: drift-chip-left 8s ease-in-out infinite;
}

.floating-chip--right {
  right: 4%;
  bottom: 14%;
  animation: drift-chip-right 8.6s ease-in-out infinite;
}

.book-footnote {
  margin-top: 14px;
  color: rgba(247, 240, 229, 0.56);
  font-size: 0.9rem;
}

@keyframes pulse-halo {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.82;
  }
}

@keyframes cover-float {
  0%,
  100% {
    transform: rotate(-7deg) translateY(-8px);
  }

  50% {
    transform: rotate(-4deg) translateY(10px);
  }
}

@keyframes drift-chip-left {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes drift-chip-right {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(12px) rotate(-3deg);
  }
}

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

  .book-stage {
    min-height: 520px;
    order: -1;
  }
}

@media (max-width: 720px) {
  .book-shell {
    width: min(100% - 20px, 1240px);
  }

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

  .book-cover-card {
    width: min(100%, 340px);
  }

  .floating-chip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-stage__halo,
  .book-cover-card,
  .floating-chip {
    animation: none;
  }
}
