@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,450;6..72,500&display=swap");

:root {
  --bg: #fcfcfb;
  --surface: #ffffff;
  --surface-soft: #f7f7f4;
  --surface-line: #ecece7;
  --ink: #1a1a1a;
  --ink-soft: #202124;
  --muted: #64666d;
  --quiet: #8a8d96;
  --accent: #1b263b;
  --accent-hover: #1e2a44;
  --accent-soft: rgba(27, 38, 59, 0.08);
  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.16);
  --shadow: 0 24px 60px rgba(22, 24, 35, 0.07);
  --radius: 24px;
  --max: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 46%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(252, 252, 251, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand::after {
  content: " / книга";
  color: var(--quiet);
  font-weight: 450;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button.secondary,
.button.light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button.secondary:hover,
.button.light:hover {
  background: var(--accent-soft);
  border-color: rgba(27, 38, 59, 0.24);
  color: var(--accent-hover);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 240ms var(--ease), transform 240ms var(--ease);
}

.text-link::after {
  content: "";
  width: 32px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  opacity: 0.45;
  transition: width 240ms var(--ease);
}

.text-link:hover {
  transform: translateY(-1px);
  color: var(--accent-hover);
}

.text-link:hover::after {
  width: 44px;
}

.text-link.centered {
  justify-content: center;
  margin-top: 14px;
}

.secondary-link {
  margin-top: 26px;
}

.section {
  position: relative;
  padding: clamp(84px, 10vw, 148px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--surface-line);
}

.section > .wrap,
.section > .narrow {
  position: relative;
  z-index: 1;
}

.fragment-bg {
  overflow: hidden;
}

.fragment-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/soft-fragment-pain.png");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.46;
  mix-blend-mode: multiply;
}

.fragment-bg-thinking::before {
  background-image: url("../assets/soft-fragment-thinking.png");
}

.fragment-bg-life::before {
  background-image: url("../assets/soft-fragment-life.png");
}

.fragment-bg-difference::before {
  background-image: url("../assets/soft-fragment-difference.png");
}

.fragment-bg-audio::before {
  background-image: url("../assets/soft-fragment-audio.png");
}

.fragment-bg-final::before {
  background-image: url("../assets/soft-fragment-final.png");
}

.fragment-bg-left::before {
  background-position: center center;
}

.fragment-bg-right::before {
  background-position: center center;
}

.fragment-bg-center::before {
  background-position: center center;
  opacity: 0.38;
}

.fragment-bg-top::before {
  background-position: center center;
}

.fragment-bg-bottom::before {
  background-position: center center;
}

.white,
.cream,
.powder,
.milk {
  background: transparent;
}

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

.narrow {
  max-width: 900px;
}

.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.82fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: center;
  padding: clamp(64px, 8vw, 124px) clamp(20px, 5vw, 72px) clamp(90px, 10vw, 150px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.2vw, 86px);
}

h2 {
  max-width: 900px;
  font-size: clamp(40px, 5.2vw, 62px);
}

h3 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.06;
}

.lead,
.sublead,
.big-text {
  color: var(--muted);
  letter-spacing: -0.01em;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.56;
}

.sublead,
.big-text {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.result-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.result-line span {
  position: relative;
  padding: 9px 12px 9px 28px;
  border: 1px solid rgba(27, 38, 59, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.2;
}

.result-line span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.micro {
  color: var(--quiet);
  font-size: 14px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.meta-line span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-visual {
  position: relative;
}

.hero-cover,
.hero-photo,
.photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-soft);
}

.hero-cover,
.hero-photo {
  box-shadow: var(--shadow);
  transition: transform 460ms var(--ease);
}

.hero-cover:hover,
.hero-photo:hover {
  transform: scale(1.008);
}

.hero-cover {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: clamp(10px, 1.5vw, 16px);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 244, 238, 0.72)),
    var(--surface);
}

.hero-cover img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(22, 24, 35, 0.12);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5.18;
  object-fit: cover;
  object-position: center;
}

.photo img,
.hero-photo img {
  background: var(--surface-soft);
}

.glass-note {
  position: absolute;
  left: -24px;
  bottom: 28px;
  max-width: 260px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(252, 252, 251, 0.88);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 18px 46px rgba(22, 24, 35, 0.08);
  backdrop-filter: blur(20px);
}

.soft-list,
.example-grid,
.reviews,
.access,
.compare {
  display: grid;
  gap: 0;
  margin-top: 54px;
}

.soft-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.soft-item {
  min-height: 116px;
  display: flex;
  align-items: flex-end;
  padding: 26px 28px 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.soft-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.soft-item:nth-child(even) {
  padding-left: 28px;
}

.soft-item:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.turning-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: clamp(42px, 6vw, 68px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.turning-symbol {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(27, 38, 59, 0.22);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1;
}

.turning-point p {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.06;
}

.turning-point strong {
  color: var(--accent);
  font-weight: 500;
}

.chapter-list {
  display: grid;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.chapter {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.chapter-number,
.chapter-symbol figcaption {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.chapter-symbol {
  display: grid;
  gap: 12px;
  align-self: start;
  margin: 0;
}

.chapter-illustration img {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 28px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(22, 24, 35, 0.06);
  opacity: 0.9;
  filter: saturate(0.86) contrast(0.96);
}

.chapter p,
.example p,
.access-item p,
.review p {
  margin: 12px 0 0;
  color: var(--muted);
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.example,
.compare-card,
.review,
.access-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.example {
  padding: 30px;
}

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

.compare-card {
  padding: clamp(28px, 4vw, 42px);
}

.plain-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plain-list li {
  position: relative;
  padding-left: 25px;
}

.plain-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.no-list li::before {
  content: "–";
}

.yes-list li::before {
  content: "+";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.author-photo img {
  object-position: center top;
}

.split .photo:not(.author-photo) img {
  object-position: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.badge {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.reviews {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review {
  min-height: 170px;
  padding: 28px;
}

.review.is-placeholder {
  color: var(--quiet);
}

.preview-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

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

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.preview-media {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 430px;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 360ms var(--ease);
}

.preview-media:hover {
  transform: translateY(-3px);
}

.preview-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(22, 24, 35, 0.10);
}

.access {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.access-item {
  min-height: 150px;
  padding: 28px;
}

.access-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
}

.audiobook-form {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.audiobook-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.audiobook-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.audiobook-form input:focus {
  outline: 3px solid var(--accent-soft);
  border-color: rgba(27, 38, 59, 0.46);
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.checkbox input {
  min-height: auto;
  margin-top: 4px;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--accent-hover);
  font-size: 14px;
}

.buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.buy-side {
  min-width: 210px;
}

.checkout-note {
  max-width: 240px;
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.45;
}

.price,
.final-price {
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  line-height: 1;
}

.price {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 68px);
}

.final-price {
  margin-top: 26px;
  font-size: clamp(40px, 5vw, 64px);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
}

details p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.final {
  text-align: center;
  background: transparent;
}

.final h2 {
  max-width: 880px;
  margin: 0 auto;
}

.final p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
}

.final .button {
  margin-top: 34px;
}

.final-note {
  color: var(--quiet) !important;
  font-size: 14px !important;
}

.footer {
  padding: 48px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--surface-line);
  background: var(--surface-soft);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 32px;
}

.footer strong {
  color: var(--ink);
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.disclaimer {
  max-width: 760px;
}

.sticky-buy {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  box-shadow: 0 14px 34px rgba(27, 38, 59, 0.20);
}

.fade {
  animation: fadeUp 560ms var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .preview-block,
  .buy-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .preview-media {
    max-width: 520px;
  }

  .soft-list,
  .example-grid,
  .compare,
  .reviews,
  .access {
    grid-template-columns: 1fr;
  }

  .soft-item,
  .soft-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

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

  .chapter-symbol {
    grid-template-columns: 72px 1fr;
    align-items: center;
  }

  .chapter-illustration img,
  .chapter-symbol img {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .photo img {
    height: 430px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    padding-bottom: 74px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .brand::after {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-cover {
    max-width: 420px;
    border-radius: 26px;
  }

  .hero-cover img {
    border-radius: 18px;
  }

  .author-photo img,
  .split .photo:not(.author-photo) img {
    height: auto;
    aspect-ratio: 4 / 5.4;
    object-fit: cover;
    object-position: center top;
  }

  .preview-media {
    padding: 8px;
    border-radius: 22px;
  }

  .preview-media img {
    border-radius: 16px;
  }

  .glass-note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .soft-item {
    min-height: 96px;
  }

  .buy-side {
    min-width: 0;
  }

  .sticky-buy {
    display: inline-flex;
  }
}
