:root {
  --bg: #f4f5fb;
  --bg-footer: #e4e7f0;
  --text: #1a1a1a;
  --muted: #6b6f7c;
  --muted-2: #8b8f9a;
  --line: #d8dbe6;
  --white: #ffffff;
  --cta: #ff5c00;
  --cta-hover: #e85200;
  --link: #1aa7e0;
  --star: #ff8a00;
  --focus: #41246d;
  --radius: 12px;
  --radius-photo: 28px;
  --shadow-btn: 0 8px 20px rgba(255, 92, 0, 0.28);
  --max: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.header {
  padding: 22px 0 8px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
}

.account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.account:hover {
  text-decoration: none;
  color: var(--focus);
}

.account .tg-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #229ed9;
}

/* Hero */
.hero {
  padding: 36px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 18px;
  font-size: 16px;
  color: #2b2b2b;
}

.hero-cta {
  max-width: 420px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 4px;
  border: 0;
  border-radius: var(--radius);
  background: var(--cta);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn .tg-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn:hover,
.btn:focus-visible {
  background: var(--cta-hover);
  text-decoration: none;
  color: var(--white);
}

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

.legal-links {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.photo {
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: #f7a8c4;
  aspect-ratio: 4 / 5;
}

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

/* Stats */
.stats {
  padding: 56px 0 72px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.stat-value {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 4px;
  margin: 12px 0 10px;
}

.stars svg {
  width: 22px;
  height: 22px;
}

.stat-line {
  width: 92px;
  height: 1px;
  margin: 16px 0 12px;
  background: #cfd3de;
}

.stat-caption {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted-2);
}

/* Footer */
.footer {
  margin-top: auto;
  background: var(--bg-footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 22px 0;
}

.copy,
.phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.phone {
  color: var(--text);
}

.phone:hover {
  text-decoration: none;
  color: var(--focus);
}

.disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #8a8f9c;
  text-align: center;
}

/* Legal pages */
.page {
  padding: 12px 0 64px;
}

.page h1 {
  margin: 0 0 20px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.page h2 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.page p,
.page li {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.page ul {
  padding-left: 20px;
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .hero-cta {
    max-width: none;
  }

  .stats-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    padding: 20px 0 28px;
    text-align: center;
  }

  .disclaimer,
  .copy,
  .phone {
    text-align: center;
  }

  .header {
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .account {
    font-size: 13px;
  }

  .btn {
    font-size: 14px;
    letter-spacing: 0.02em;
  }
}
