:root {
  --bg: oklch(0.13 0.012 340);
  --panel: oklch(0.17 0.013 340);
  --panel-light: oklch(0.19 0.014 340);
  --text: oklch(0.97 0.006 340);
  --text-soft: oklch(0.95 0.006 340);
  --text-muted: oklch(0.65 0.02 340);
  --text-muted-2: oklch(0.62 0.02 340);
  --text-muted-3: oklch(0.6 0.02 340);
  --text-faint: oklch(0.5 0.015 340);
  --border: oklch(0.24 0.015 340);
  --accent-1: oklch(0.68 0.23 348);
  --accent-2: oklch(0.56 0.22 335);
  --accent-grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --eyebrow: oklch(0.75 0.16 348);
  --link: oklch(0.75 0.2 348);
  --link-hover: oklch(0.82 0.18 350);
  --soon-bg: oklch(0.24 0.06 348 / 0.4);
  --soon-border: oklch(0.55 0.18 348 / 0.5);
  --soon-text: oklch(0.85 0.14 348);
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }

html {
  /* Chrome/Samsung Internet на Android сами увеличивают шрифт у отдельных
     текстовых блоков ("text autosizer"), если решат, что блок "слишком
     мелкий для viewport" — эвристика зависит от длины текста и переносов
     строк, поэтому разные заголовки на одной странице раздуваются по-разному
     и визуально "съедают" отступы. На десктопе и в headless-эмуляции
     (DevTools, Playwright) этого эффекта нет вообще — поэтому баг был не
     виден ни в одной автоматической проверке, только на реальном телефоне.
     Отключаем автоподгон полностью — размер шрифта остаётся ровно тем, что
     задан в CSS. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: clamp(20px, 6vw, 64px);
  padding-right: clamp(20px, 6vw, 64px);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

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

.logo-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-grad);
}

.logo-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 12px;
  background: oklch(0.2 0.016 340);
  color: var(--text-soft);
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
}

/* Hero */
.hero {
  padding-top: clamp(24px, 6vw, 56px);
  padding-bottom: clamp(56px, 8vw, 100px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Ниже 760px не полагаемся на арифметику flex-wrap (при ширине текстовой
   колонки и мокапа телефона сумма технически влезает в строку ещё долго
   после того, как тексту остаётся по 1 слову на строку) — переключаем
   hero на явный вертикальный стек. */
@media (max-width: 760px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-phone-wrap {
    width: 100%;
  }
}

.eyebrow {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.hero h1 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 20px 40px -14px oklch(0.6 0.22 345 / 0.55);
}

.cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* Phone mockup */
.hero-phone-wrap {
  flex: none;
  width: clamp(260px, 32vw, 320px);
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 266px;
  height: 562px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 66px 18px 24px;
  border-radius: 40px;
  border: 1px solid oklch(0.24 0.015 340);
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.6);
}

.phone-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 16px;
}

.phone-logo .logo-dot { width: 11px; height: 11px; }

.phone-logo span {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.phone-card {
  position: relative;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px -14px oklch(0 0 0 / 0.55);
  background: var(--panel-light);
}

.phone-photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(160deg, oklch(0.22 0.02 340), oklch(0.15 0.015 340));
  color: var(--text-faint);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
}

.phone-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0 0 0 / 0) 45%, oklch(0.08 0.02 340 / 0.6) 78%, oklch(0.06 0.02 340 / 0.92) 100%);
  pointer-events: none;
}

.phone-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-name-row { display: flex; align-items: center; gap: 7px; }

.phone-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
}

.phone-age {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.phone-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.phone-tags span {
  padding: 4px 10px;
  border-radius: 8px;
  background: oklch(1 0 0 / 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.like-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px oklch(0.6 0.22 345 / 0.6);
}

/* Positioning block */
.positioning {
  max-width: 760px;
  padding-top: clamp(16px, 4vw, 32px);
  padding-bottom: clamp(48px, 7vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.positioning h2 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 36px);
  color: var(--text);
}

.positioning p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(15.5px, 1.8vw, 17px);
  line-height: 1.65;
  color: var(--text-muted-3);
  max-width: 520px;
}

/* Generic sections */
.section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.section h2 {
  margin: 0 0 32px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--text);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.step-card p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  color: oklch(0.85 0.01 340);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.feature-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted-3);
}

/* Rooms */
.rooms-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rooms-header h2 { margin: 0; }

.badge-soon {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soon-bg);
  border: 1px solid var(--soon-border);
  color: var(--soon-text);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.rooms-text {
  margin: 0 0 44px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(15.5px, 1.8vw, 17px);
  line-height: 1.65;
  color: var(--text-muted-3);
  max-width: 640px;
}

.rooms-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  max-width: 680px;
}

.chip {
  padding: 16px 26px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid oklch(0.26 0.02 340);
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: oklch(0.9 0.01 340);
  box-shadow: 0 12px 26px -10px oklch(0 0 0 / 0.4);
  white-space: nowrap;
}

.chip-1 { transform: rotate(-4deg); }
.chip-2 { background: var(--panel-light); border-color: oklch(0.28 0.02 340); transform: rotate(3deg) translateY(10px); }
.chip-3 { transform: rotate(-2deg) translateY(-6px); }
.chip-4 { background: var(--panel-light); border-color: oklch(0.28 0.02 340); transform: rotate(2deg); }
.chip-5 { transform: rotate(-3deg) translateY(8px); }

/* FAQ */
.faq {
  max-width: 840px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-item h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-soft);
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted-2);
}

/* Final CTA */
.final-cta-wrap {
  padding-bottom: clamp(64px, 9vw, 110px);
}

.final-cta {
  border-radius: 28px;
  background: var(--accent-grad);
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.final-cta h2 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
}

.final-cta p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 440px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 17px 34px;
  border-radius: 15px;
  background: #fff;
  color: oklch(0.4 0.2 345);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid oklch(0.22 0.015 340);
  padding-top: 32px;
  padding-bottom: 48px;
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: oklch(0.55 0.02 340);
}

/* Юридические страницы (оферта, политика конфиденциальности) */
.legal-header {
  padding-top: 28px;
  padding-bottom: 28px;
}

.back-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-muted-3);
}

.legal {
  max-width: 780px;
  padding-top: clamp(16px, 4vw, 32px);
  padding-bottom: clamp(64px, 9vw, 100px);
}

.legal h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 36px);
  color: var(--text);
  margin: 0 0 12px;
}

.legal .legal-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-faint);
  margin: 0 0 40px;
}

.legal h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--text);
  margin: 40px 0 16px;
}

.legal h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--text-soft);
  margin: 24px 0 10px;
}

.legal p, .legal li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted-2);
}

.legal ul, .legal ol {
  padding-left: 22px;
  margin: 12px 0;
}

.legal li { margin-bottom: 8px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.legal th, .legal td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--text-muted-2);
}

.legal th {
  color: var(--text-soft);
  font-weight: 600;
  background: var(--panel);
}

.legal .placeholder {
  color: var(--soon-text);
  background: var(--soon-bg);
  padding: 1px 6px;
  border-radius: 6px;
}

.legal strong { color: var(--text-soft); }
