@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --paper: #f7f3eb;
  --ink: #17231e;
  --muted: #66706a;
  --accent: #d55b3e;
  --accent-dark: #ad422c;
  --line: rgba(23, 35, 30, 0.12);
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  padding: 42px clamp(28px, 6vw, 92px) 34px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 21px;
}

.brand-domain {
  color: var(--accent);
}

.content {
  max-width: 690px;
  margin: auto 0;
  padding: 80px 0;
}

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

h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 6.2vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
}

h1 span {
  color: var(--accent);
}

.lead {
  max-width: 580px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}

.features {
  max-width: 650px;
  margin-top: 42px;
  display: grid;
  gap: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.55);
  color: var(--accent);
  font-size: 17px;
}

.feature strong {
  display: block;
  margin: 2px 0 3px;
  font-size: 14px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.coming-soon {
  width: fit-content;
  margin-top: 43px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(213, 91, 62, 0.12);
}

footer {
  margin-top: auto;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #89908b;
  font-size: 11px;
  letter-spacing: 0.02em;
}

footer p {
  margin: 0;
}

.visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #e6ddd0;
  isolation: isolate;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255,255,255,0.22) 48.2%, transparent 49%),
    radial-gradient(circle at 72% 30%, rgba(255,255,255,0.5), transparent 33%);
  opacity: 0.8;
}

.book-stack {
  position: absolute;
  width: min(55vw, 500px);
  height: 430px;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -44%) rotate(-7deg);
}

.book {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 22px 35px rgba(30, 27, 20, 0.15);
}

.book-one {
  width: 270px;
  height: 350px;
  transform: translate(-28%, -36%) rotate(8deg);
  background: #b64b36;
}

.book-one::after {
  content: "НОВИ\\A КНИГИ";
  white-space: pre;
  position: absolute;
  inset: 28px;
  padding-top: 185px;
  border: 1px solid rgba(255,255,255,0.38);
  color: #fff5e9;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.book-two {
  width: 300px;
  height: 390px;
  transform: translate(-56%, -43%) rotate(-4deg);
  background: #263b34;
}

.book-two::after {
  content: "BOOK\\A MARKET";
  white-space: pre;
  position: absolute;
  inset: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  color: #f7f3eb;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  line-height: 1;
  text-align: center;
}

.book-three {
  width: 260px;
  height: 335px;
  transform: translate(-12%, -27%) rotate(13deg);
  background: #c69d61;
}

.book-three::after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(36, 31, 22, 0.35);
}

.book-page {
  position: absolute;
  z-index: -1;
  width: 245px;
  height: 330px;
  left: 54%;
  top: 52%;
  transform: translate(-5%, -25%) rotate(13deg);
  border-radius: 3px 8px 8px 3px;
  background: #fffdf5;
  box-shadow: 0 15px 25px rgba(30, 27, 20, 0.08);
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(23, 35, 30, 0.13);
}

.circle-one {
  width: 440px;
  height: 440px;
  top: -170px;
  right: -150px;
}

.circle-two {
  width: 230px;
  height: 230px;
  bottom: -95px;
  left: -70px;
}

.floating-note {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(23, 35, 30, 0.12);
  border-radius: 999px;
  background: rgba(247, 243, 235, 0.65);
  color: #5e665f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-one {
  top: 19%;
  left: 13%;
  transform: rotate(-8deg);
}

.note-two {
  right: 12%;
  bottom: 18%;
  transform: rotate(7deg);
}

@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 45px;
  }

  .content {
    padding: 95px 0 70px;
  }

  .visual {
    min-height: 460px;
  }

  .book-stack {
    transform: translate(-42%, -43%) scale(0.82) rotate(-7deg);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 25px 22px 28px;
  }

  .content {
    padding: 80px 0 55px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .lead {
    margin-top: 25px;
    font-size: 15px;
  }

  .features {
    margin-top: 34px;
    gap: 16px;
  }

  .coming-soon {
    margin-top: 34px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }

  .visual {
    min-height: 390px;
  }

  .book-stack {
    width: 420px;
    transform: translate(-44%, -43%) scale(0.67) rotate(-7deg);
  }
}
