:root {
  --pink: #ff4f8b;
  --purple: #6b3df0;
  --ink: #1d1530;
  --muted: #5d5470;
  --card: #ffffff;
  --bg: #fff6fa;
  --line: #f0dbe7;
  --radius: 22px;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6eefc;
    --muted: #b9aecb;
    --card: #221a33;
    --bg: #150f22;
    --line: #34294a;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

@media (prefers-color-scheme: dark) {
  a { color: #b9a4ff; }
}

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font: 600 20px var(--display);
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.nav { display: flex; gap: 18px; font-weight: 600; font-size: 15px; }
.nav a { color: inherit; text-decoration: none; opacity: 0.8; }
.nav a:hover { opacity: 1; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b9e 0%, #c94fd6 48%, #6b3df0 100%);
  color: #fff;
  border-radius: 0 0 40px 40px;
}

.hero .site-header a { color: #fff; }

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

.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgb(40 0 80 / 0.35);
}

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }

.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 700; margin-top: 22px; }

.tagline { font: 600 clamp(22px, 3vw, 28px)/1.25 var(--display); margin: 12px 0 0; }

.lede { font-size: 18px; max-width: 34em; margin: 18px 0 28px; color: rgb(255 255 255 / 0.9); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 17px var(--display);
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(40 0 80 / 0.25);
}

.badge svg { width: 20px; height: 20px; }

.fine { font-size: 14px; margin-top: 12px; color: rgb(255 255 255 / 0.8); }

.hero-phone {
  justify-self: center;
  width: min(330px, 100%);
  margin-bottom: -60px;
  transform: rotate(3deg);
}

.phone {
  border-radius: 44px;
  border: 10px solid #160f22;
  overflow: hidden;
  background: #160f22;
  box-shadow: 0 30px 60px rgb(30 0 60 / 0.45);
}

section { padding-block: 96px 0; }

.section-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; max-width: 18em; }

.section-lede { color: var(--muted); max-width: 36em; margin: 12px 0 0; font-size: 18px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

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

.feature .emoji { font-size: 34px; line-height: 1; }
.feature h3 { font-size: 22px; font-weight: 600; margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.shot strong { display: block; color: var(--ink); font: 600 18px var(--display); }
.shot .phone { border-width: 7px; border-radius: 32px; }

.cta {
  margin-top: 96px;
  text-align: center;
  background: linear-gradient(135deg, #ff6b9e, #6b3df0);
  color: #fff;
  border-radius: 32px;
  padding: 56px 24px;
}

.cta h2 { font-size: clamp(30px, 4.4vw, 44px); }
.cta p { margin: 12px auto 26px; max-width: 30em; color: rgb(255 255 255 / 0.9); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 40px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: inherit; }

.page { max-width: 720px; padding-block: 24px 40px; }
.page h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 700; margin: 24px 0 8px; }
.page h2 { font-size: 24px; font-weight: 600; margin: 36px 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 24px; }
.page ul { padding-left: 1.2em; }
.page li { margin-block: 6px; }

.plain-header { border-bottom: 1px solid var(--line); }

@media (max-width: 860px) {
  .hero-body { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-icon { margin-inline: auto; }
  .lede { margin-inline: auto; }
  .hero-phone { width: min(280px, 80%); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 8px;
  }
  .shot { flex: 0 0 72%; scroll-snap-align: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .feature { padding: 16px; }
  .feature .emoji { font-size: 28px; }
  .feature h3 { font-size: 18px; margin-top: 10px; }
  .feature p { font-size: 14px; }
  section { padding-top: 72px; }
}
