:root {
  --navy: #10174f;
  --blue: #175ee8;
  --cyan: #1bcdf0;
  --purple: #7245e8;
  --pink: #ee3d87;
  --yellow: #ffd347;
  --ink: #11183a;
  --muted: #66708c;
  --paper: #f7f9ff;
  --white: #ffffff;
  --line: #dfe5f2;
  --shadow: 0 24px 70px rgba(16, 23, 79, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

.announcement {
  padding: 9px 20px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(223, 229, 242, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple) 48%, var(--blue));
  box-shadow: 0 8px 20px rgba(114, 69, 232, 0.25);
}
nav { display: flex; gap: 34px; font-weight: 600; font-size: 0.9rem; }
nav a { transition: color 0.2s ease; }
nav a:hover { color: var(--blue); }
.cart-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 0;
  border-radius: 99px;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.78rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  align-items: center;
  min-height: 720px;
  padding: 74px 6vw 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(27, 205, 240, 0.28), transparent 34%),
    linear-gradient(135deg, #f4f8ff 0%, #eef2ff 46%, #f8f5ff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -220px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.75;
}
.hero-copy { max-width: 590px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Fredoka", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h1 { margin-bottom: 25px; font-size: clamp(3.3rem, 6.2vw, 6rem); }
h1 span { color: var(--purple); }
.hero-description { max-width: 520px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 26px; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}
.primary-button {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 13px 28px rgba(67, 79, 210, 0.28);
}
.secondary-button { border: 1px solid var(--line); background: rgba(255,255,255,0.85); }
.primary-button:hover { transform: translateY(-2px); }
.price-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  padding: 14px 20px;
  border: 2px solid rgba(23, 94, 232, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(23, 94, 232, 0.12);
}
.price-label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.price-row strong {
  color: var(--blue);
  font-family: "Fredoka", sans-serif;
  font-size: 2.45rem;
  line-height: 1;
}

.product-stage {
  position: relative;
  justify-self: end;
  width: min(100%, 680px);
  padding: 36px;
}
.product-stage::before {
  content: "";
  position: absolute;
  inset: 9% 7% 4%;
  z-index: -1;
  border-radius: 46% 54% 55% 45% / 48% 46% 54% 52%;
  background: linear-gradient(145deg, #fff 12%, #dce8ff 100%);
  box-shadow: var(--shadow);
}
.product-stage img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: saturate(1.03); }
.stage-badge {
  position: absolute;
  top: 9%; right: 3%;
  z-index: 2;
  padding: 13px 17px;
  border-radius: 14px;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 12px 25px rgba(16,23,79,0.15);
  font-weight: 800;
  transform: rotate(4deg);
}
.stage-note {
  position: absolute;
  bottom: 9%; left: 2%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 35px rgba(16,23,79,.12);
}
.stage-note strong { color: var(--pink); font: 700 1.6rem/1 "Fredoka", sans-serif; }
.stage-note span { max-width: 80px; color: var(--muted); font-size: .74rem; line-height: 1.15; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip div { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; padding: 27px 5vw; background: white; }
.trust-strip span { grid-row: span 2; color: var(--purple); font: 700 1.5rem "Fredoka", sans-serif; }
.trust-strip strong { font-size: .96rem; }
.trust-strip small { color: var(--muted); font-size: .78rem; }

.why { padding: 110px 6vw; background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 55px; }
.section-heading h2, .details h2, .closing h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-grid article {
  min-height: 285px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}
.why-grid article:nth-child(2) { background: #f3f0ff; }
.why-grid article:nth-child(3) { background: #fff8d9; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 48px; border-radius: 16px; color: white; background: var(--blue); font-size: 1.4rem; }
.why-grid article:nth-child(2) .feature-icon { background: var(--purple); }
.why-grid article:nth-child(3) .feature-icon { color: var(--ink); background: var(--yellow); }
.why-grid h3 { margin-bottom: 10px; font: 700 1.35rem "Fredoka", sans-serif; }
.why-grid p { margin-bottom: 0; color: var(--muted); }

.details { display: grid; grid-template-columns: 1fr 1fr; }
.details > div { padding: 95px 7vw; }
.details-card { color: white; background: var(--navy); }
.details-card .eyebrow { color: var(--cyan); }
.piece-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 48px 0 0; list-style: none; }
.piece-list li { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.piece-list span { color: var(--cyan); font-size: .74rem; }
.care-card { background: linear-gradient(145deg, #eef5ff, #f7f4ff); }
.care-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid #d6deee; }
.care-row:first-of-type { margin-top: 42px; }
.care-row span { color: var(--muted); }

.closing { padding: 120px 20px; color: white; text-align: center; background: linear-gradient(135deg, var(--blue), var(--purple) 55%, var(--pink)); }
.closing .eyebrow { color: #d9f8ff; }
.closing h2 { margin-bottom: 35px; }
.closing .primary-button { color: var(--navy); background: var(--yellow); box-shadow: 0 14px 30px rgba(16,23,79,.28); }

footer {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 46px;
  padding: 70px 6vw 35px;
  color: #e8ecff;
  background: #0b1039;
}
.footer-brand p { max-width: 310px; margin-top: 20px; color: #aeb7d9; }
footer h3 { margin-bottom: 18px; color: white; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
footer a, .footer-link { display: block; width: fit-content; margin: 9px 0; color: #aeb7d9; }
.footer-link { padding: 0; border: 0; background: none; cursor: pointer; }
footer a:hover, .footer-link:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 25px 0 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: #7f89ad; font-size: .78rem; }

.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(11,16,57,.48); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 50;
  width: min(440px, 92vw);
  padding: 27px;
  background: white;
  box-shadow: -25px 0 60px rgba(16,23,79,.18);
  transform: translateX(104%);
  transition: transform .28s ease;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-size: 2rem; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.empty-cart { padding: 90px 20px; text-align: center; }
.empty-cart > span { color: var(--purple); font-size: 3.5rem; }
.empty-cart h3 { margin: 12px 0 7px; }
.empty-cart p, .checkout-note { color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 104px; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: var(--paper); }
.cart-item strong, .cart-item span { display: block; }
.cart-item span { margin-top: 4px; color: var(--muted); font-size: .85rem; }
.quantity-control { display: inline-flex; align-items: center; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.quantity-control button { width: 35px; height: 34px; border: 0; background: white; cursor: pointer; }
.quantity-control span { width: 30px; margin: 0; color: var(--ink); text-align: center; }
.subtotal { display: flex; justify-content: space-between; padding: 22px 0; }
.checkout-button { width: 100%; min-height: 52px; border: 0; border-radius: 14px; color: #69718a; background: #e9edf5; font-weight: 700; cursor: not-allowed; }
.amazon-link { display: block; margin-top: 12px; padding: 14px; border: 1px solid var(--ink); border-radius: 14px; text-align: center; font-weight: 700; }
.checkout-note { margin-top: 14px; font-size: .78rem; text-align: center; }

.info-modal { width: min(650px, calc(100vw - 32px)); padding: 38px; border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.info-modal::backdrop { background: rgba(11,16,57,.55); backdrop-filter: blur(3px); }
.modal-close { position: absolute; top: 18px; right: 18px; }
.info-modal h2 { padding-right: 45px; font-size: 2.5rem; }
.info-modal p { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; padding: 12px 18px; border-radius: 99px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { max-width: 680px; }
  .product-stage { justify-self: center; margin-top: 28px; }
  .trust-strip { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article { min-height: auto; }
  .feature-icon { margin-bottom: 25px; }
  .details { grid-template-columns: 1fr; }
  footer { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .announcement { font-size: .7rem; }
  .site-header { min-height: 66px; padding: 0 18px; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { min-height: 0; padding: 48px 20px 55px; }
  h1 { font-size: 3.15rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .price-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .price-row strong { font-size: 2.15rem; }
  .product-stage { padding: 20px 8px 24px; }
  .stage-badge { top: 4%; right: 0; font-size: .72rem; }
  .stage-note { left: 0; bottom: 4%; }
  .trust-strip div { padding: 23px 20px; }
  .why { padding: 78px 20px; }
  .section-heading { display: block; }
  .why-grid article { padding: 27px; }
  .details > div { padding: 70px 20px; }
  .piece-list { grid-template-columns: 1fr; }
  .care-row { grid-template-columns: 1fr; gap: 3px; }
  .closing { padding: 85px 20px; }
  footer { grid-template-columns: 1fr 1fr; padding: 55px 20px 30px; }
  .footer-brand, .copyright { grid-column: 1 / -1; }
  .info-modal { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
