:root {
  --midnight: #121318;
  --ink: #1c1d24;
  --cloud: #ffffff;
  --light-grey: #f1f1f1;
  --mid-grey: #868a9c;
  --dark-grey: #424657;
  --orange-zest: #ffac16;
  --orange-rind: #fd8b00;
  --pink: #f1e1e7;
  --yellow: #f3eedf;
  --peach: #f3e6e2;
  --mint: #e5ede5;
  --blue: #e1ebf2;
  --indigo: #e4e9ff;
  --rose: #ffd9d9;
  --violet: #f6e0ff;
  --serif: "Playfair Display", Georgia, serif;
  --display: "Bebas Neue", Impact, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* The home page starts and ends dark, so paint the iPhone safe areas and overscroll dark too. */
html.dark-canvas, html.dark-canvas body { background: var(--midnight); }
html.dark-canvas main { background: var(--cloud); }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--orange-rind);
  margin: 0 0 12px;
}
.dark .eyebrow { color: var(--orange-zest); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h1 em, h2 em, h3 em { font-style: italic; }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--dark-grey); max-width: 34em; }
.dark .lede { color: #c9cbd6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange-zest); color: var(--midnight); }
.btn-primary:hover { background: #ffb933; }
.btn-ghost { color: var(--cloud); border: 1.5px solid rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.btn-dark { background: var(--midnight); color: var(--cloud); }
.btn-dark:hover { background: #2a2c36; }
.app-badge { display: inline-flex; transition: opacity 0.15s ease; }
.app-badge:hover { opacity: 0.85; }
.app-badge img { height: 54px; width: auto; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; margin-bottom: 3px; }
.btn .stack { text-align: left; line-height: 1.05; }
.btn .stack strong { font-size: 18px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(18,19,24,0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.nav.light { background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--light-grey); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .brand img { height: 30px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #d7d9e2; }
.nav.light a { color: var(--dark-grey); }
.nav a:hover { color: var(--cloud); }
.nav.light a:hover { color: var(--midnight); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; color: var(--midnight); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav ul { gap: 16px; } }

/* Dark sections */
.dark { background: var(--midnight); color: var(--cloud); }

/* Hero */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lede { margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-rating { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 15px; font-weight: 500; color: #d7d9e2; }
.hero-rating .stars { position: relative; display: inline-block; color: #3a3c46; letter-spacing: 2px; font-size: 16px; line-height: 1; }
.hero-rating .stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--orange-zest); }
.hero-note { margin-top: 8px; font-size: 14px; color: var(--mid-grey); }
.hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-bottom: -6%; }
.hero-phones img { width: 31%; max-width: 300px; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); }
.hero-phones img:nth-child(1) { transform: translateX(14%) rotate(-6deg) translateY(6%); }
.hero-phones img:nth-child(2) { position: relative; z-index: 2; }
.hero-phones img:nth-child(3) { transform: translateX(-14%) rotate(6deg) translateY(6%); }
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .hero-phones img { width: 44%; }
  .hero-phones img:nth-child(1) { transform: translateX(30%) rotate(-6deg) translateY(8%); }
  .hero-phones img:nth-child(3) { transform: translateX(-30%) rotate(6deg) translateY(8%); }
}

/* Sticker strip */
.strip { padding: 64px 0 40px; overflow: hidden; }
.strip p { padding: 0 var(--gutter); text-align: center; font-family: var(--display); font-size: 18px; letter-spacing: 0.08em; color: var(--mid-grey); margin: 0 0 22px; }
.marquee { display: flex; width: max-content; gap: 14px; animation: drift 60s linear infinite; }
.marquee img { width: 132px; height: 160px; object-fit: contain; padding: 16px 14px; border-radius: 22px; background: var(--peach); }
.marquee img:nth-child(6n+2) { background: var(--pink); }
.marquee img:nth-child(6n+3) { background: var(--mint); }
.marquee img:nth-child(6n+4) { background: var(--indigo); }
.marquee img:nth-child(6n+5) { background: var(--yellow); }
.marquee img:nth-child(6n+6) { background: var(--blue); }
@media (max-width: 640px) { .marquee img { width: 104px; height: 128px; padding: 12px 10px; border-radius: 18px; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } html { scroll-behavior: auto; } }

/* Make It steps */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .lede { margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border-radius: 24px; padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--midnight); color: var(--cloud); font-family: var(--display); font-size: 22px; padding-top: 2px;
  margin-bottom: 18px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--dark-grey); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; border-radius: 32px; padding: 56px; margin-bottom: 20px; }
.feature:nth-child(even) .feature-art { order: -1; }
.feature-art { display: flex; justify-content: center; }
.feature-art img { width: 100%; max-width: 300px; filter: drop-shadow(0 24px 32px rgba(18,19,24,0.22)); }
.feature h3 { margin-bottom: 14px; }
.feature p { margin: 0; color: var(--dark-grey); font-size: 18px; }
.feature .tag { display: inline-block; font-family: var(--display); font-size: 16px; letter-spacing: 0.08em; background: var(--midnight); color: var(--cloud); border-radius: 999px; padding: 5px 12px 3px; margin-bottom: 16px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; border-radius: 24px; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .feature-art img { max-width: 240px; }
}

.bg-pink { background: var(--pink); } .bg-yellow { background: var(--yellow); } .bg-peach { background: var(--peach); }
.bg-mint { background: var(--mint); } .bg-blue { background: var(--blue); } .bg-indigo { background: var(--indigo); }
.bg-rose { background: var(--rose); } .bg-violet { background: var(--violet); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--light-grey); border-radius: 24px; padding: 28px; }
.fact strong { display: block; font-family: var(--display); font-size: 48px; line-height: 1; letter-spacing: 0.02em; margin-bottom: 8px; }
.fact span { color: var(--dark-grey); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Closing CTA */
.cta { text-align: center; padding: 96px 0; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta img.icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 28px; }
.cta .lede { margin: 18px auto 32px; }

/* Footer */
.footer { background: var(--midnight); color: #9a9db0; padding: 40px 0 48px; border-top: 1px solid #23252e; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; color: #c9cbd6; }
.footer a:hover { color: var(--cloud); }
.footer p { margin: 0; }

/* Simple pages */
.page { padding: 72px 0 96px; min-height: 60vh; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 18px; }
.page .lede { margin-bottom: 32px; }
.card { border-radius: 24px; padding: 28px; margin-bottom: 16px; }
.card h2 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--dark-grey); }
.card p + p { margin-top: 10px; }
.card a { font-weight: 600; }

/* Motion: a gentle entrance on load and a soft fade-up while scrolling */
.hero-copy > * { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(n+4) { animation-delay: 0.18s; }
.hero-phones img { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-phones img:nth-child(2) { animation-delay: 0.25s; }
.hero-phones img:nth-child(1), .hero-phones img:nth-child(3) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes phone-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.steps [data-reveal]:nth-child(2), .facts [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.steps [data-reveal]:nth-child(3), .facts [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-phones img { animation: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
}
