:root {
  --navy: #17243A;
  --navy-2: #22355A;
  --ink: #17243A;
  --muted: #5E6A82;
  --paper: #F7F8FC;
  --card: #FFFFFF;
  --sky: #53C7F5;
  --coral: #FF756E;
  --mint: #57DDB4;
  --sun: #FFD36B;
  --lavender: #A88CFF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(23, 36, 58, .12);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1C7FB8; }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--sun); padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(23, 36, 58, .92);
  backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: #DCE6F7; text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; text-decoration: none;
  padding: 14px 24px; border-radius: 18px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-play { background: var(--mint); color: var(--navy); box-shadow: 0 6px 0 #2FAF87; }
.btn-play:hover { transform: translateY(-1px); }
.btn-play[aria-disabled="true"] { cursor: default; opacity: .92; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; line-height: 1.1; }
.btn .stack { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #2C4A7A 0%, transparent 60%), linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 600; letter-spacing: .14em; font-size: .78rem; color: var(--sky); background: rgba(83,199,245,.12); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: 16px 0 12px; font-weight: 700; }
.hero h1 .a { color: var(--sun); display: block; }
.hero h1 .b { color: var(--coral); display: block; }
.hero p.lead { font-size: 1.2rem; color: #DCE6F7; max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.note { font-size: .85rem; color: #AFC0DA; margin-top: 14px; }

.phone {
  justify-self: center;
  width: min(300px, 80vw);
  border-radius: 38px;
  padding: 10px;
  background: #0E1626;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #2A3B5C;
  transform: rotate(3deg);
}
.phone img { border-radius: 30px; aspect-ratio: 540 / 1144; object-fit: cover; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-title { text-align: center; margin: 0 auto 40px; max-width: 640px; }
.section-title h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 0 0 10px; }
.section-title p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature .badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; }
.feature .badge svg { width: 28px; height: 28px; }
.feature h3 { margin: 0 0 6px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.b-sun { background: #FFF1CC; } .b-coral { background: #FFE1DF; } .b-mint { background: #DDF8EF; }
.b-sky { background: #DDF3FD; } .b-lav { background: #EDE6FF; } .b-navy { background: #E3E8F2; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--navy); font-weight: 700; display: grid; place-items: center; }
.step h3 { margin: 10px 0 6px; }
.step p { margin: 0; color: #C9D5EA; font-size: 1rem; }

.alt { background: #EEF2F9; }

.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.gallery img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 540 / 1144; object-fit: cover; background: #dfe5ef; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 10px; }

.themes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.themes span { background: var(--card); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }

.banner { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-radius: 28px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner h2 { margin: 0 0 6px; font-size: 1.8rem; }
.banner p { margin: 0; color: #C9D5EA; }

/* ---------- content pages ---------- */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 6px; line-height: 1.1; }
.page .meta { color: var(--muted); margin: 0 0 28px; }
.page h2 { margin-top: 36px; font-size: 1.35rem; }
.page li { margin: 6px 0; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; margin: 18px 0; }
details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 20px; margin: 12px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p, details ul { color: #3A4760; margin: 10px 0 0; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact .btn { background: var(--sun); color: var(--navy); box-shadow: 0 6px 0 #D9A93D; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #AFC0DA; padding: 36px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #DCE6F7; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .phone { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 52px 0; }
  .features { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; }
  .brand span { display: none; }
  .banner { padding: 28px; text-align: center; justify-content: center; }
  .gallery figure { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
