@font-face {
  font-family: "Prata";
  src: url("../fonts/Prata-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosText-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ivory: #f3e9d7;
  --ivory-light: #fffaf1;
  --night: #22354e;
  --ink: #172638;
  --gold: #d7a044;
  --silver: #b6c8d7;
  --lilac: #9988a5;
  --line: rgba(34, 53, 78, 0.17);
  --serif: "Prata", Georgia, serif;
  --sans: "Golos Text", "Segoe UI", Arial, sans-serif;
  --shadow: 0 28px 70px rgba(23, 38, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 79% 9%, rgba(182, 200, 215, 0.48), transparent 31rem),
    radial-gradient(circle at 9% 29%, rgba(215, 160, 68, 0.15), transparent 27rem),
    var(--ivory);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.58;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(34, 53, 78, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 53, 78, 0.024) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(#000, transparent 82%);
}

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

a {
  color: inherit;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
}

.page-width {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ivory-light);
  background: var(--night);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 233, 215, 0.91);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 5vw, 5rem) 0 clamp(4.5rem, 9vw, 8rem);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(215, 160, 68, 0.35);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 44rem;
  height: 44rem;
  top: -25rem;
  right: -18rem;
}

.hero::after {
  width: 32rem;
  height: 32rem;
  bottom: -21rem;
  left: -18rem;
  border-color: rgba(153, 136, 165, 0.42);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy > .eyebrow { order: 1; }
.hero-copy > h1 { order: 2; }
.hero-copy > .author-line { order: 3; }
.hero-copy > .hero-hook { order: 4; }
.hero-copy > .button-row { order: 5; }
.hero-copy > .hero-lead { order: 6; }
.hero-copy > .book-facts { order: 7; }
.hero-copy > .rating-row { order: 8; }
.hero-copy > .cta-note { order: 9; }

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--night);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.hero-hook,
.display-copy {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 13ch;
  margin-bottom: 0.65rem;
  font-size: clamp(2.8rem, 4.6vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.2;
}

.author-line {
  margin: 0 0 1.25rem;
  color: var(--lilac);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-hook {
  max-width: 19ch;
  margin-bottom: 1.15rem;
  color: var(--night);
  font-size: clamp(1.55rem, 2.5vw, 2.12rem);
  line-height: 1.22;
}

.hero-lead {
  max-width: 39rem;
  margin: 1.3rem 0 1.1rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.book-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.book-facts span {
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.78rem;
  font-weight: 500;
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: clamp(0.7rem, 2.2vw, 1.7rem);
  align-items: end;
  max-width: 43rem;
  margin: 0 0 0.75rem;
  padding: 1rem 1.15rem;
  border-block: 1px solid var(--line);
}

.rating-row div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.rating-row strong {
  color: var(--night);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1;
}

.rating-row span {
  color: rgba(23, 38, 56, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.rating-row .price {
  padding-left: clamp(0.5rem, 2vw, 1.35rem);
  border-left: 1px solid var(--line);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--night);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 12px 26px rgba(23, 38, 56, 0.2);
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ivory-light);
  background: var(--night);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2e4868;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.6);
}

.cta-note {
  margin: 0.85rem 0 0;
  color: rgba(23, 38, 56, 0.66);
  font-size: 0.76rem;
}

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

.cover-card {
  position: relative;
  z-index: 3;
  width: min(100%, 410px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  background: var(--ivory-light);
  box-shadow: var(--shadow);
  transform: rotate(1.15deg);
}

.cover-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
}

.orbit {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-gold {
  width: 115%;
  height: 44%;
  top: 15%;
  left: -25%;
  border-color: rgba(215, 160, 68, 0.62);
  transform: rotate(32deg);
}

.orbit-silver {
  width: 105%;
  height: 48%;
  right: -28%;
  bottom: 11%;
  border-color: rgba(92, 132, 166, 0.44);
  transform: rotate(-27deg);
}

.cover-badge {
  position: absolute;
  z-index: 4;
  right: -0.5rem;
  bottom: 7%;
  min-width: 175px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(34, 53, 78, 0.18);
  color: var(--night);
  background: rgba(255, 250, 241, 0.95);
  box-shadow: 0 16px 36px rgba(23, 38, 56, 0.16);
}

.cover-badge span,
.cover-badge strong {
  display: block;
}

.cover-badge span {
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-badge strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.pressure-section,
.choice-section,
.excerpt-section,
.final-section {
  padding: clamp(4.8rem, 10vw, 8.5rem) 0;
}

.pressure-section {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.pressure-section h2 {
  max-width: 17ch;
}

.pressure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.pressure-grid article {
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ivory-light);
}

.pressure-grid article:nth-child(2) {
  background: #f1ebed;
}

.pressure-grid article:nth-child(3) {
  background: #e8eef1;
}

.card-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--lilac);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.pressure-grid p {
  margin-bottom: 0;
  color: rgba(23, 38, 56, 0.82);
}

.choice-section {
  position: relative;
  overflow: hidden;
}

.choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
}

.choice-heading img {
  width: 92px;
  margin-bottom: 2.2rem;
}

.choice-heading h2 {
  max-width: 10ch;
}

.display-copy {
  max-width: 24ch;
  margin-bottom: 1.7rem;
  color: var(--night);
  font-size: clamp(1.65rem, 3.1vw, 2.75rem);
  line-height: 1.3;
}

.choice-copy > p:last-child {
  max-width: 39rem;
}

.excerpt-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(215, 160, 68, 0.18), transparent 44%),
    linear-gradient(300deg, rgba(182, 200, 215, 0.42), transparent 52%),
    #f8f0e4;
}

.excerpt-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
}

.excerpt-card h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4vw, 3.75rem);
}

.excerpt-action p {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--gold);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.final-section {
  background: var(--night);
}

.final-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  color: var(--ivory-light);
}

.final-card .eyebrow {
  color: var(--silver);
}

.final-card h2 {
  max-width: 17ch;
}

.final-cover img {
  width: 180px;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.final-card .button-primary {
  border-color: var(--ivory-light);
  color: var(--night);
  background: var(--ivory-light);
}

.final-card .button-secondary {
  border-color: rgba(255, 250, 241, 0.72);
  color: var(--ivory-light);
  background: transparent;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(243, 233, 215, 0.2);
  color: rgba(255, 250, 241, 0.72);
  background: var(--night);
  font-size: 0.8rem;
}

.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-inner {
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration-color: rgba(255, 250, 241, 0.3);
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .hero-grid,
  .choice-grid,
  .excerpt-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 4rem;
  }

  .cover-stage {
    min-height: auto;
  }

  .cover-card {
    width: min(74vw, 390px);
  }

  .cover-badge {
    right: 5%;
  }

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

  .pressure-grid article {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 1.7rem;
  }

  .choice-heading h2,
  .excerpt-card h2 {
    max-width: 18ch;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .page-width {
    width: min(100% - 32px, 1160px);
  }

  .header-inner {
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-block: 0.85rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-list {
    width: 100%;
    gap: 1.3rem;
  }

  .nav-list a {
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 2.8rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .rating-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating-row .price {
    padding-left: 0;
    border-left: 0;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .cover-card {
    width: min(78vw, 350px);
  }

  .cover-badge {
    right: -0.3rem;
    bottom: 5%;
  }

  .final-card {
    grid-template-columns: 1fr;
  }

  .final-cover img {
    width: 128px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
