:root {
  --bg: #f9fafb;
  --text: #1d3557;
  --muted: #5b6b84;
  --brand: #ffc84b;
  --brand-strong: #ffab00;
  --card: #ffffff;
  --line: #e8edf4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #ffd66b 0%, var(--brand) 55%, #ffbf2f 100%);
  padding: 44px 0 28px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  line-height: 1.15;
  margin: 0;
}

.subtitle {
  margin-top: 16px;
  color: #344963;
  font-size: 1.06rem;
}

.button {
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  background: #1f2f46;
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(18, 33, 53, 0.2);
}

.button-inline {
  margin-top: 4px;
}

.hero-phone img {
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(42, 42, 42, 0.22);
  max-height: 620px;
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 2rem;
}

.section-alt {
  background: #ffffff;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

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

.screen {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.screen img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.screen figcaption {
  padding: 12px 14px;
  font-weight: 700;
}

.privacy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.privacy-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.support a {
  color: #225ecf;
  font-weight: 700;
  text-decoration: none;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer a {
  color: #1b4fb1;
  text-decoration: none;
  font-weight: 700;
}

.policy-hero {
  padding: 36px 0;
  background: linear-gradient(135deg, #ffd66b 0%, var(--brand) 60%, #ffbf2f 100%);
}

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

.policy-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.policy-back {
  text-decoration: none;
  color: #1f2f46;
  font-weight: 800;
}

.policy-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.policy-content h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.policy-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .features,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-phone img {
    max-height: 520px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .features,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 1.6rem;
  }
}
