:root {
  --ink: #2B2747;
  --ink-soft: #5B5672;
  --cream: #FFF6EA;
  --paper: #FFFDF9;
  --mint: #5FD0A6;
  --mint-deep: #2E9E74;
  --mint-tint: #E7F7EF;
  --lav: #B79BE6;
  --lav-deep: #8A68CC;
  --lav-tint: #F2ECFC;
  --gray: #AEB3BF;
  --blush: #FF9DAA;
  --orange: #FF8A4C;
  --line: rgba(43, 39, 71, .12);
  --shadow: 0 18px 40px -22px rgba(43, 39, 71, .45);
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Top strip + header */
.strip {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font: 800 13px/1 var(--body);
  letter-spacing: .04em;
  padding: 9px 12px;
}
.strip span { color: var(--mint); }
.header { display: flex; justify-content: center; padding: 12px 0 6px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { width: 54px; height: auto; }
.logo b { font: 800 30px/1 var(--display); letter-spacing: -.02em; margin-top: 5px; color: var(--ink); }
.logo b span { color: var(--mint-deep); }

/* Hero buy box */
.hero { padding: 6px 0 34px; }
.hero__grid { display: grid; gap: 18px; }
.hero__grid > * { min-width: 0; }
.gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #F1E7DA;
  aspect-ratio: 1 / 1;
  max-height: 46vh;
  width: 100%;
  box-shadow: var(--shadow);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.gallery__main img.is-fading { opacity: .25; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  cursor: pointer; background: #EADFD1; box-shadow: inset 0 0 0 2px transparent; opacity: .75;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { opacity: 1; box-shadow: 0 0 0 3px var(--ink); }

.buy__eyebrow { font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-deep); }
.buy h1 { font-size: clamp(30px, 8.4vw, 52px); margin-top: 8px; }
.buy__sub { color: var(--ink-soft); margin-top: 8px; font-size: 16px; }
.buy__price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.buy__price b { font: 800 34px/1 var(--display); }
.buy__price span { font: 800 14px/1 var(--body); color: var(--mint-deep); background: var(--mint-tint); padding: 6px 10px; border-radius: 99px; }

.picker { margin-top: 14px; }
.picker__label { font: 800 14px/1 var(--body); margin-bottom: 8px; }
.picker__label span { color: var(--ink-soft); font-weight: 700; }
.picker__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pal-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px 9px; border: 0; border-radius: 18px; background: var(--paper); cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .15s ease, transform .15s ease;
}
.pal-btn img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #F1E7DA; }
.pal-btn b { font: 800 15px/1.1 var(--display); }
.pal-btn small { font: 700 12px/1.1 var(--body); color: var(--ink-soft); }
.pal-btn.is-on { box-shadow: inset 0 0 0 3px var(--ring, var(--ink)); background: #fff; }
.pal-btn:active { transform: scale(.97); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--cream); cursor: pointer; text-decoration: none;
  font: 800 20px/1 var(--display); letter-spacing: .005em; margin-top: 14px;
  box-shadow: 0 14px 26px -14px rgba(43, 39, 71, .8);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #3A3560; }
.btn:active { transform: scale(.98); }
.btn--mint { background: var(--mint-deep); }
.btn--mint:hover { background: #278A65; }
.buy__secure { text-align: center; font: 700 13px/1.3 var(--body); color: var(--ink-soft); margin-top: 9px; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; font: 800 13px/1.2 var(--body); color: var(--ink-soft); }
.perks li { display: flex; align-items: center; gap: 6px; }
.perks svg { width: 18px; height: 18px; flex: none; color: var(--mint-deep); }

/* Sections */
.section { padding: 56px 0; }
.section--paper { background: var(--paper); }
.section--mint { background: var(--mint-tint); }
.section--lav { background: var(--lav-tint); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 26px; }
.section__head h2 { font-size: clamp(30px, 7vw, 46px); }
.section__head p { color: var(--ink-soft); margin-top: 10px; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 10px; }

/* Steps */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.step__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; }
.step__icon svg { width: 38px; height: 38px; }
.step h3 { font-size: 22px; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--mint-deep); }
.step p { color: var(--ink-soft); font-size: 15px; margin-top: 3px; }

/* Uses grid */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.use { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #EADFD1; }
.use img { width: 100%; height: 100%; object-fit: cover; }
.use figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  background: rgba(255, 253, 249, .92); border-radius: 14px; padding: 8px 10px;
  font: 800 15px/1.15 var(--display);
}

/* Features */
.features { display: grid; gap: 12px; }
.feature { background: #fff; border-radius: 20px; padding: 18px 18px 18px 16px; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; }
.feature__dot { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.feature__dot svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }

/* Pals */
.pals { display: grid; gap: 14px; }
.pal { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 42% 1fr; }
.pal__img { background: #F3EADF; }
.pal__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; }
.pal__body { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; }
.pal__body small { font: 800 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.pal__body h3 { font-size: 30px; margin-top: 6px; }
.pal__body p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.pal__body .btn { min-height: 48px; font-size: 17px; margin-top: 14px; }

/* Table photo + specs */
.wide-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; }
.wide-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.specs { background: #fff; border-radius: var(--radius); padding: 6px 18px; }
.specs div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { font-weight: 800; }
.specs dd { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 28px 17px 0; position: relative; font: 800 18px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font: 800 24px/1 var(--display); color: var(--mint-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 15px; padding: 0 0 17px; }

/* Final CTA */
.final { text-align: center; }
.final__card { background: var(--ink); color: var(--cream); border-radius: 32px; padding: 34px 20px 30px; position: relative; overflow: hidden; }
.final__card h2 { font-size: clamp(32px, 8vw, 50px); }
.final__card p { color: #D9D4EA; margin: 10px auto 0; max-width: 460px; }
.final__card .btn { background: var(--mint); color: var(--ink); max-width: 360px; margin: 20px auto 0; }
.final__card .btn:hover { background: #7ADDB8; }
.final__pals { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.final__pals img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid rgba(255, 246, 234, .9); background: #F3EADF; }

/* Footer */
.footer { padding: 34px 0 110px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.footer .logo { margin-bottom: 10px; }
.footer a { font-weight: 800; }
.footer p + p { margin-top: 6px; }

/* Sticky phone bar */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 246, 234, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -18px rgba(43, 39, 71, .5);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.is-on { transform: none; }
.sticky img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #F1E7DA; flex: none; }
.sticky__text { flex: 1; min-width: 0; line-height: 1.15; }
.sticky__text b { display: block; font: 800 16px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky__text span { font: 800 13px/1 var(--body); color: var(--ink-soft); }
.sticky .btn { width: auto; margin: 0; min-height: 50px; font-size: 18px; padding: 0 22px; flex: none; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 30px 0 60px; }
.thanks img.thanks__pals { width: min(520px, 100%); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto 24px; }
.thanks h1 { font-size: clamp(34px, 9vw, 56px); }
.thanks p { color: var(--ink-soft); margin: 12px auto 0; max-width: 460px; }
.thanks .btn { max-width: 300px; margin: 22px auto 0; }

/* Bigger screens */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .uses { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features .feature:last-child { grid-column: 1 / -1; }
  .pals { grid-template-columns: repeat(3, 1fr); }
  .pal { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pal__img img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 30%; }
  .pal__body { padding: 20px 20px 22px; justify-content: flex-start; }
  .pal__body .btn { margin-top: auto; }
  .pal__body p { margin-bottom: 14px; }
  .footer { padding-bottom: 40px; }
}
@media (min-width: 960px) {
  .header { justify-content: flex-start; padding: 18px 0 12px; }
  .hero { padding: 10px 0 56px; }
  .hero__grid { grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: start; }
  .gallery { position: sticky; top: 18px; }
  .gallery__main { aspect-ratio: 4 / 5; max-height: none; }
  .thumb { width: 72px; height: 72px; }
  .buy { padding-top: 22px; }
  .buy__sub { font-size: 18px; }
  .pal-btn img { width: 72px; height: 72px; }
  .section { padding: 80px 0; }
  .specs-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
  .wide-photo { margin-bottom: 0; }
  .sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
