:root {
  --indigo: #1C1446;
  --plum: #2B2266;
  --plum-line: #4A3F8C;
  --ink: #0E0A26;
  --cream: #FFF6E5;
  --haze: #C9C2EE;
  --sun: #FFD23F;
  --sun-light: #FFE58A;
  --mint: #4BE3B0;
  --tang: #FF8A3D;
  --sky: #5CC8FF;
  --lilac: #B79BFF;
  --pink: #FF6FAE;
  --font: 'Rubik', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--indigo);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--sun); }
a:hover { color: var(--sun-light); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
img, svg { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-nav {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand span { font-size: 28px; font-weight: 900; font-style: italic; line-height: 1; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 800; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sun); }

/* Sticker buttons */
.btn {
  min-height: 60px;
  padding: 0 24px;
  border-radius: 18px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  background: var(--sun);
  color: var(--indigo);
  font: 900 19px/1 var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--indigo); transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.nav-links .btn { min-height: 48px; padding: 0 18px; font-size: 16px; background: var(--pink); color: var(--indigo); }
.nav-links .btn:hover { color: var(--indigo); }
.btn-cream { background: var(--cream); }
.btn-soon, .btn-soon:hover { cursor: default; transform: none; box-shadow: 0 6px 0 var(--ink); color: var(--indigo); }

.sticker { border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }

.tag {
  align-self: flex-start;
  background: var(--mint);
  color: var(--indigo);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 0 var(--ink);
}

h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.15; }
.h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.lede { margin: 0; font-size: 19px; line-height: 1.5; color: var(--haze); }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(52px, 8vw, 92px); line-height: 0.95; letter-spacing: -2px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-lede { margin: 0; font-size: 20px; line-height: 1.5; color: var(--haze); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 15px; font-weight: 700; color: var(--haze); }
.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; min-height: 640px; display: flex; justify-content: center; align-items: center; }
.hero-visual .phone-back { position: absolute; top: 10px; left: 50%; margin-left: 10px; width: 260px; transform: rotate(7deg); }
.hero-visual .phone-front { position: relative; margin-right: 140px; width: 280px; transform: rotate(-5deg); }

/* Phone frame */
.phone {
  aspect-ratio: 390 / 844;
  border-radius: 40px;
  border: 4px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink);
  overflow: hidden;
  background: var(--indigo);
  flex-shrink: 0;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* Bands */
.band-plum { background: var(--plum); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.band-sun { background: var(--sun); color: var(--indigo); border-bottom: 3px solid var(--ink); }
.band-pink { background: var(--pink); color: var(--indigo); border-top: 3px solid var(--ink); }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

/* Modes */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.mode { color: var(--indigo); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mode-top { display: flex; align-items: center; justify-content: space-between; }
.mode h3 { font-size: 28px; }
.mode p { margin: 0; font-size: 16px; line-height: 1.45; }
.chip { font-size: 12px; font-weight: 900; letter-spacing: 1px; border: 2.5px solid var(--ink); border-radius: 10px; padding: 4px 8px; background: var(--indigo); color: var(--cream); }
.chip-free { background: var(--cream); color: var(--indigo); }
.mode:nth-child(1) { background: var(--sun); transform: rotate(-1.2deg); }
.mode:nth-child(2) { background: var(--mint); transform: rotate(1deg); }
.mode:nth-child(3) { background: var(--tang); transform: rotate(-1deg); }
.mode:nth-child(4) { background: var(--sky); transform: rotate(0.8deg); }
.mode:nth-child(5) { background: var(--lilac); transform: rotate(-0.8deg); }
.mode:nth-child(6) { background: var(--pink); transform: rotate(1.2deg); }

/* How it works */
.how-title { text-align: center; }
.steps { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; }
.step { flex: 1 1 280px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.step .phone { width: 240px; }
.step:nth-child(1) .phone { transform: rotate(-3deg); }
.step:nth-child(2) .phone { transform: rotate(2deg); }
.step:nth-child(3) .phone { transform: rotate(-2deg); }
.step-num { width: 48px; height: 48px; margin-top: 10px; border-radius: 24px; background: var(--indigo); color: var(--sun); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; }
.step h3 { font-size: 28px; }
.step p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 320px; }

/* Perks */
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.perk { background: var(--plum); border: 2.5px solid var(--plum-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.perk h3 { font-size: 22px; color: var(--sun); }
.perk p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--haze); }
.icon-row { display: flex; gap: 10px; margin-top: 2px; }
.icon-row img { width: 56px; height: 56px; border-radius: 13px; border: 2px solid var(--ink); }

/* Pricing */
.plans { display: flex; flex-wrap: wrap; gap: 28px; }
.plan { flex: 1 1 340px; min-width: 0; color: var(--indigo); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan h3 { font-size: 32px; }
.plan-free { background: var(--cream); }
.plan-plus { background: var(--pink); transform: rotate(1deg); }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.check-list svg { flex-shrink: 0; margin-top: 2px; }
.plan-note { margin: auto 0 0; font-size: 16px; font-weight: 700; line-height: 1.5; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 14px; padding: 14px 16px; }
.accent-pink { color: var(--pink); }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq details { background: var(--cream); color: var(--indigo); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); padding: 0 22px; }
.faq summary { min-height: 64px; display: flex; align-items: center; font-size: 19px; font-weight: 900; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; }
.faq details a { color: var(--indigo); font-weight: 700; }
.faq-more { margin: 0; color: var(--haze); }

/* Download */
.download { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.download h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; max-width: 820px; }
.download-note { font-size: 16px; font-weight: 700; }

/* Inner pages */
.page-hero { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -1px; }
.page-hero .lede { max-width: 640px; }
.page-hero .dates { margin: 0; font-size: 15px; font-weight: 700; color: var(--haze); }

.support-layout { padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.support-layout .faq { flex: 999 1 560px; min-width: 0; }
.support-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--pink); color: var(--indigo); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-card h2 { font-size: 28px; }
.contact-card p { margin: 0; }
.contact-card .btn { align-self: flex-start; max-width: 100%; min-height: 52px; font-size: 16px; padding: 0 18px; background: var(--cream); }
.aside-card { background: var(--plum); border: 2.5px solid var(--plum-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.aside-card h2 { font-size: 20px; color: var(--sun); }
.aside-card p { margin: 0; color: var(--haze); font-size: 16px; }

.summary-grid { padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.summary-grid .sticker { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--indigo); }
.summary-grid .sticker:nth-child(1) { background: var(--mint); }
.summary-grid .sticker:nth-child(2) { background: var(--sun); }
.summary-grid .sticker:nth-child(3) { background: var(--sky); }
.summary-grid h2 { font-size: 20px; }
.summary-grid p { margin: 0; font-size: 16px; }

.policy { max-width: 760px; margin: 0 auto; padding: 0 24px 112px; display: flex; flex-direction: column; gap: 40px; line-height: 1.65; }
.policy section { display: flex; flex-direction: column; gap: 10px; }
.policy h2 { font-size: 28px; }
.policy p { margin: 0; color: var(--haze); }

/* Footer */
.site-footer { background: var(--ink); color: var(--haze); }
.footer-inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 700; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 640px) {
  .container, .policy { padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 4px 18px; }
  .hero { padding-top: 24px; padding-bottom: 64px; }
  .hero-visual { min-height: 480px; }
  .hero-visual .phone-back { width: 190px; margin-left: -10px; }
  .hero-visual .phone-front { width: 205px; margin-right: 110px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .mode, .plan-plus { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
