:root {
  --bg-top: #ffe3ec;
  --bg-bottom: #e4e5f2;
  --text: #2a2233;
  --muted: #6b6274;
  --accent: #c93052;
  --surface: rgba(255, 255, 255, 0.72);
  --border: rgba(42, 34, 51, 0.1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #2a1a22;
    --bg-bottom: #16151d;
    --text: #f3eef5;
    --muted: #b3aabb;
    --accent: #ff6f8f;
    --surface: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) var(--bg-bottom);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
}

a {
  color: var(--accent);
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

main {
  flex: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 340px);
  align-items: center;
  gap: 64px;
  padding: 24px 0 64px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.questions {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.lead {
  margin: 0 0 28px;
  max-width: 34em;
}

.badge img {
  display: block;
  height: 48px;
  width: auto;
}

.phones {
  margin: 0;
}

.phone-stack {
  position: relative;
  aspect-ratio: 735 / 1500;
}

.phone-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.phone-stack img.active {
  opacity: 1;
}

.phones figcaption {
  margin-top: 16px;
  min-height: 3em;
  text-align: center;
  font-weight: 600;
}

.page {
  max-width: 720px;
  padding-bottom: 64px;
}

.page h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

.page h2 {
  font-size: 21px;
  margin: 36px 0 8px;
}

.updated {
  color: var(--muted);
  margin-top: 0;
}

.card {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  padding-block: 24px 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }

  .phones {
    width: min(280px, 80%);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-stack img {
    transition: none;
  }
}
