/* ============================================================
   SHARED STYLES — Ирина Евдокимова
   ============================================================ */

:root {
  --bg: #ffffff;
  --text: #090909;
  --muted: rgba(9, 9, 9, 0.72);
  --button-border: rgba(9, 9, 9, 0.92);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);

  --page-pad: clamp(24px, 5vw, 72px);
  --content-max: 1220px;
  --section-gap: clamp(56px, 8vw, 96px);

  --title-size: clamp(54px, 5vw, 65px);
  --section-title-size: clamp(42px, 4vw, 50px);
  --copy-size: 16px;
  --copy-line: 24px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Page shell ---- */
.page {
  padding: 75px var(--page-pad) 88px;
}

.page__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(44px, 7vw, 140px);
  row-gap: var(--section-gap);
}

/* ---- Typography ---- */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.section-title {
  margin: 0 0 28px;
  font-family: 'Playfair Display', serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.legal-subhead {
  font-family: 'Raleway', sans-serif;
  font-size: var(--copy-size);
  font-weight: 700;
  line-height: var(--copy-line);
  color: var(--text);
  margin: 0 0 8px;
}

.body-text {
  font-size: var(--copy-size);
  line-height: var(--copy-line);
  font-weight: 500;
  color: var(--muted);
}

.body-text strong {
  font-weight: 700;
  color: var(--text);
}

.body-text p {
  margin: 0 0 12px;
}

.body-text p:last-child {
  margin-bottom: 0;
}

/* ---- Button ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
}

.button:active {
  transform: translateY(1px);
}

/* ---- Footer ---- */
.footer-back {
  margin-top: clamp(84px, 10vw, 126px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --page-pad: 32px;
    --title-size: 45px;
    --section-title-size: 35px;
    --copy-size: 15px;
    --copy-line: 21px;
  }

  .page {
    padding-top: 75px;
    padding-bottom: 64px;
  }

  .content {
    grid-template-columns: 1fr;
    row-gap: 74px;
  }

  .button {
    min-height: 42px;
    padding: 0 22px;
    font-size: 11px;
  }

  .footer-back {
    margin-top: 78px;
  }
}
