:root {
  --pink: #FF4D8D;       /* hero, panel */
  --pink-hot: #F0186F;   /* app icon */
  --pink-soft: #FFB8D1;  /* bubbles, download band */
  --blush: #FFF4F8;      /* page ground */
  --step-1: #FFE0EC;
  --step-2: #FFD0E1;
  --step-3: #FFC1D6;
  --ink: #1C1B20;        /* text, dark buttons, dark panels */
  --ink-2: #3A3842;      /* body copy */
  --ink-3: #55525D;      /* toast body */
  --mute: #6B6872;       /* timestamps */
  --panel-row: #232228;
  --chip-dark: #2B2A31;
  --on-dark: #F2F1F4;
  --on-dark-2: #B3B0BB;
  --on-dark-3: #D6D3DC;
  --working: #F5A524;
  --idle: #3DD68C;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: #5A0F2E; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 18px 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--sm { padding: 12px 20px; font-size: 15px; font-weight: 600; }
.btn--ink { background: var(--ink); color: #FFFFFF; }
.btn--ink:hover { color: #FFFFFF; background: #2B2A31; }
.btn--white { background: #FFFFFF; color: var(--ink); }
.btn--pop { box-shadow: 0 8px 0 var(--ink); }
.btn--pop:hover { transform: translateY(3px); box-shadow: 0 5px 0 var(--ink); }
.btn--outline { padding: 16px 24px; border: 2px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: rgba(255,255,255,.35); }
.btn:focus-visible, .nav__link:focus-visible, .brand:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.actions--center { justify-content: center; gap: 14px; }

.install {
  align-self: flex-start;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: #FFFFFF;
  font-family: var(--mono); font-size: 15px;
  overflow-x: auto; max-width: 100%; white-space: nowrap;
}
.install__prompt { color: var(--pink-soft); }
.install--big { align-self: center; padding: 12px 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--pink); }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.bubble--a { right: -120px; top: -140px; width: 520px; height: 520px; background: #FFFFFF; opacity: .22; }
.bubble--b { left: -80px; bottom: -160px; width: 360px; height: 360px; background: var(--pink-soft); opacity: .5; }
.bubble--c { right: 28%; bottom: 60px; width: 90px; height: 90px; background: #FFFFFF; opacity: .35; }

.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.nav__spacer { flex-grow: 1; }
.nav__link { font-weight: 600; font-size: 15px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }

.hero__body { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 112px; }
.hero__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 7.5vw, 104px); line-height: .95; letter-spacing: -3px; }
.lead { max-width: 540px; font-size: 20px; line-height: 1.5; font-weight: 500; }

.toasts { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px rgba(90,15,46,.22);
}
.toast--1 { transform: rotate(-2deg) translateX(-12px); }
.toast--2 { transform: rotate(1.5deg) translateX(24px); }
.toast--3 { transform: rotate(-.5deg); opacity: .8; }
.toast__icon { flex-shrink: 0; }
.toast__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex-grow: 1; }
.toast__title { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; }
.toast__time { font-weight: 500; color: var(--mute); }
.toast__body { font-size: 13px; color: var(--ink-3); }

@media (prefers-reduced-motion: no-preference) {
  .toast { animation: pop .5s cubic-bezier(.34,1.56,.64,1) both; }
  .toast--2 { animation-delay: .12s; }
  .toast--3 { animation-delay: .24s; }
  @keyframes pop { from { opacity: 0; scale: .85; } }
}

/* ---------- Steps ---------- */
.steps-section { display: flex; flex-direction: column; gap: 64px; padding-top: 112px; padding-bottom: 56px; }
.h2-xl { max-width: 820px; font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -2px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 28px; }
.step--1 { background: var(--step-1); }
.step--2 { background: var(--step-2); }
.step--3 { background: var(--step-3); }
.step__n {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #FFFFFF;
  font-family: var(--display); font-size: 24px; font-weight: 700;
}
.step h3 { font-size: 28px; letter-spacing: -.5px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.chip { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; font-family: var(--mono); font-size: 13px; }

/* ---------- Groups ---------- */
.groups-section { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 112px; }
.groups-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.h2-lg { font-size: clamp(32px, 4.5vw, 52px); line-height: 1; letter-spacing: -1.5px; }
.groups-copy p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 500; }

.groups {
  flex: 1 1 420px; min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: 28px;
  background: var(--ink); color: var(--on-dark);
}
.group { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; }
.group__name { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .6px; color: var(--on-dark-2); }
.swatch { width: 10px; height: 10px; border-radius: 3px; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--panel-row); font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--idle { background: var(--idle); }
.dot--working { background: var(--working); }
.dot--waiting { background: var(--pink); }

/* ---------- Download ---------- */
.download { position: relative; overflow: hidden; background: var(--ink); color: #FFFFFF; }
.download__bubble {
  position: absolute; left: 50%; top: -200px;
  width: 400px; height: 400px; margin-left: -200px;
  border-radius: 50%; background: var(--pink); opacity: .9;
}
.download__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 240px; padding-bottom: 96px; text-align: center; }
.download h2 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -2.5px; line-height: 1; }
.download p { font-size: 18px; color: var(--on-dark-3); }
.fine { font-size: 13px; color: var(--on-dark-2); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 16px; }
  .nav__link { display: none; }
  .hero__body { gap: 40px; padding-top: 32px; padding-bottom: 72px; }
  .hero h1 { letter-spacing: -2px; }
  .lead { font-size: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .toast--1 { transform: rotate(-2deg); }
  .toast--2 { transform: rotate(1.5deg); }
  .steps-section { gap: 40px; padding-top: 72px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px; }
  .groups-section { padding-bottom: 72px; }
  .download__body { padding-top: 200px; padding-bottom: 72px; }
  .bubble--a { width: 320px; height: 320px; right: -140px; top: -120px; }
}

/* Download band sits on ink: invert its buttons and install chip */
.download .btn--ink { background: var(--pink); color: var(--ink); }
.download .btn--ink:hover { background: #FF6FA2; color: var(--ink); }
.download .btn--outline { border-color: #FFFFFF; color: #FFFFFF; }
.download .btn--outline:hover { background: rgba(255,255,255,.08); color: #FFFFFF; }
.download .install { background: var(--chip-dark); }
