:root {
  /* Anchored in the actual logo pixels: hot pink / lavender / teal / gold,
     with soft peach + sky blue added as supporting tints, and deep navy
     (not black) as ink — matches the logo's outline colour. */
  --pink: #FF4E93;
  --pink-tint: #FFE3EE;
  --purple: #8C6FE0;
  --purple-tint: #EFE7FD;
  --teal: #22B6A0;
  --teal-tint: #DFF5F0;
  --gold: #F5B935;
  --gold-tint: #FFF3D6;
  --sky: #3FB6D9;
  --sky-tint: #DEF4FA;
  --peach: #FF9868;
  --peach-tint: #FFE9DC;

  --ink: #22214B;
  --ink-soft: #6A6390;
  --cream: #FFFDF8;
  --white: #FFFFFF;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;

  --radius: 24px;
  --shadow-pink: 0 10px 24px rgba(255, 78, 147, 0.22);
  --shadow-purple: 0 10px 24px rgba(140, 111, 224, 0.20);
  --shadow-soft: 0 8px 20px rgba(34, 33, 75, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* Lucide icons — inlined server-side (see src/lib/icon.js), sized and
   coloured entirely by context; this base rule only fixes their baseline
   alignment against the text/emoji they sit next to. */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; stroke-width: 2; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section--narrow { max-width: 640px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 14px;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 16px; max-width: 60ch; }
.section--narrow p { max-width: none; }
/* Centred error lines (picker discount-code error, contact/giveaway form errors): the base p rule
   caps a paragraph at 60ch and, with no auto side margins, pins that box to the left edge — so
   text-align:center alone leaves the text left of centre in a wide container. Public pages only
   (admin pages load admin.css, not this file). */
p.error { margin-left: auto; margin-right: auto; }

/* Buttons — bubbly pills with a colour-matched lift, not a flat grey shadow */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary { background: var(--pink); color: var(--white); box-shadow: var(--shadow-pink); }
.btn--primary:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 14px 28px rgba(255, 78, 147, 0.32); }
.btn--secondary { background: var(--white); color: var(--purple); border-color: var(--purple); }
.btn--secondary:hover { transform: translateY(-2px) rotate(1deg); background: var(--purple-tint); }
.btn--small { padding: 10px 22px; font-size: 0.9rem; }

/* Header — the logo gets its own dedicated row so it can go big without ever
   crowding the CTA; a slim tinted utility strip holds the button instead. */
.site-header { background: var(--white); border-bottom: 4px solid var(--pink-tint); }
.site-header__utility { background: var(--pink-tint); padding: 8px 0; position: relative; }
.site-header__utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--purple); text-decoration: none; padding: 6px 4px; white-space: nowrap;
}
.nav-link:hover { text-decoration: underline; }
.site-header__shop-btn { flex-shrink: 0; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-header__basket {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--purple);
  background: var(--white); flex-shrink: 0; transition: background 0.15s ease;
}
.site-header__basket:hover { background: var(--white); box-shadow: 0 0 0 2px var(--purple); }
.site-header__basket-icon { width: 21px; height: 21px; }
.site-header__basket-badge {
  position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--pink); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.68rem;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  border: 2px solid var(--pink-tint);
}
@media (max-width: 560px) {
  .site-header__actions { gap: 6px; }
  .site-header__basket { width: 34px; height: 34px; }
  .site-header__basket-icon { width: 18px; height: 18px; }
  .site-header__basket-badge { min-width: 16px; height: 16px; font-size: 0.62rem; top: -2px; right: -4px; }
}

/* Hamburger — hidden on wide screens where the full nav row fits inline */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 36px; border: none; background: transparent; cursor: pointer; padding: 6px;
}
.nav-hamburger span { display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--purple); }

.site-header__mobile-menu { display: none; flex-direction: column; }
.site-header__mobile-menu.is-open { display: flex; }
.site-header__mobile-menu a {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  text-decoration: none; padding: 12px 20px; border-top: 1px solid rgba(140, 111, 224, 0.15);
}
.site-header__mobile-menu a:hover { color: var(--purple); }

@media (max-width: 900px) {
  .site-header__nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 901px) {
  .site-header__mobile-menu { display: none !important; }
}
.site-header__brand { position: relative; display: flex; align-items: center; justify-content: center; padding: 14px 0 18px; }
.site-header__logo img { height: 336px; width: auto; } /* 2x the previous 168px, per explicit request */
.site-header__deco { position: absolute; font-size: 3.2rem; animation: floaty 5s ease-in-out infinite; }
.site-header__deco--left { left: 10%; top: 20%; }
.site-header__deco--right { right: 10%; bottom: 20%; animation-delay: 1.2s; }

/* Hero — the boldness budget: bold gradient, floating confetti shapes, a wave out */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 110px;
  text-align: center;
  background: radial-gradient(circle at 18% 20%, #FFE9F5 0%, transparent 45%),
              radial-gradient(circle at 85% 15%, #E9E1FC 0%, transparent 50%),
              radial-gradient(circle at 75% 85%, #FFF3D6 0%, transparent 45%),
              linear-gradient(155deg, #FFE3EE 0%, #EFE7FD 55%, #FFF3D6 100%);
}
/* Static hero — a single pre-composed banner image (headline, badge and CTA
   are baked into the artwork) instead of HTML copy over a photo. The image
   is a plain responsive <img> (width:100%, height:auto, never cropped via
   object-fit), so it keeps its own intrinsic aspect ratio at every screen
   width — which is exactly what lets the percentage-positioned invisible
   link stay aligned with the baked-in button with no per-breakpoint
   adjustment needed. */
.hero--static { padding: 32px 20px; background: var(--cream); }
@media (max-width: 560px) {
  .hero--static { padding: 0; }
  .hero--static .hero-static { max-width: none; border-radius: 0; box-shadow: none; }
}
.hero-static {
  /* Same content width as every other section's .wrap (1120px, e.g. How It
     Works) rather than a small floating card — full-bleed-feeling but still
     contained, matching the rest of the page's rhythm. */
  position: relative; width: 100%; max-width: 1120px;
  margin: 0 auto; line-height: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.hero-static__img { width: 100%; height: auto; display: block; }
.hero-static__cta {
  position: absolute; left: 10.6%; top: 61.2%; width: 29.7%; height: 7.7%;
  cursor: pointer;
}

/* Hero carousel (homepage): the banners stack in one 16:9 frame and cross-fade. Only the active
   slide is visible/focusable (visibility:hidden also removes the others from the tab order and
   from screen readers); with no JS the first slide is simply the static hero it replaced. */
.hero-carousel { max-width: 1120px; margin: 0 auto; }
.hero-carousel__viewport { aspect-ratio: 16 / 9; }
/* The Girlie Box slide is 16:9 like every other slide (its artwork is cropped to 16:9, see scripts/optimize-girlie-banner.js), so the
   carousel never changes height when it rotates. Its link covers the whole slide (the baked-in "Build Your Girlie Box" button included), so its focus ring is drawn inside. */
.hero-slide[data-slide="girlie-box"] .hero-slide__cta { border-radius: 0; }
.hero-slide[data-slide="girlie-box"] .hero-slide__cta:focus-visible { outline-offset: -6px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  /* pointer-events flips instantly (unlike the fade), so a fading-out slide can never catch a click
     meant for the slide that's on its way in; the active slide also stacks on top. */
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; transition: opacity 0.6s ease; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide__img { height: 100%; object-fit: fill; }
/* Each slide's link is positioned by its own measured button box (--cta-* set inline from
   routes/index.js). On narrow screens the drawn button is only ~16px tall, so the tap target is
   grown to 44px tall around the same centre (a no-op once the banner is big enough). */
.hero-slide__cta {
  left: var(--cta-l); width: var(--cta-w);
  height: max(var(--cta-h), 44px);
  top: calc(var(--cta-t) + var(--cta-h) / 2 - max(var(--cta-h), 44px) / 2);
  border-radius: 999px;
}
.hero-slide__cta:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.hero-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.hero-carousel__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid var(--purple-tint); background: var(--white); color: var(--purple);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero-carousel__btn:hover { background: var(--purple-tint); border-color: var(--purple); }
.hero-carousel__btn .icon { width: 20px; height: 20px; }
.hero-carousel__dots { display: flex; align-items: center; gap: 4px; }
.hero-carousel__dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-carousel__dot::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--purple-tint); border: 2px solid var(--purple);
  transition: background 0.15s ease, width 0.15s ease;
}
.hero-carousel__dot.is-active::before { background: var(--purple); width: 26px; border-radius: 999px; }
.hero-carousel__btn:focus-visible, .hero-carousel__dot:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.badge--christmas { background: var(--teal); color: var(--white); }

/* Lifestyle photo + content split, used in "why wraps" and gifting sections */
.photo-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; margin-top: 8px; }
.photo-split--reverse { grid-template-columns: 1.15fr 0.85fr; }
.photo-split--reverse .photo-split__image { order: 2; }
.photo-split__image { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.photo-split__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-split__deco { font-size: 2.4rem; }
@media (max-width: 900px) {
  .photo-split, .photo-split--reverse { grid-template-columns: 1fr; }
  .photo-split--reverse .photo-split__image { order: 0; }
  .photo-split__image { max-width: 420px; margin: 0 auto; aspect-ratio: 16/10; }
}

/* Benefit bar — organic blob cards, colour carried per-card, icon in a badge */
.benefit-bar { padding: 56px 0 60px; background: var(--cream); }
.benefit-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit {
  text-align: center;
  padding: 30px 18px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transition: transform 0.2s ease;
}
.benefit:hover { transform: translateY(-4px) scale(1.02); }
.benefit--pink { background: var(--pink-tint); }
.benefit--purple { background: var(--purple-tint); }
.benefit--gold { background: var(--gold-tint); }
.benefit--teal { background: var(--teal-tint); }
.benefit__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}
.benefit__icon .icon { width: 24px; height: 24px; }
.benefit--pink .icon { color: var(--pink); }
.benefit--purple .icon { color: var(--purple); }
.benefit--gold .icon { color: var(--gold); }
.benefit--teal .icon { color: var(--teal); }
.benefit h3 { font-size: 1rem; margin-bottom: 6px; }
.benefit p { font-size: 0.88rem; margin: 0 auto; max-width: 22ch; }

/* Calm section tints — the page breathes through a rotation of pastel washes
   instead of one flat cream field, without any single section shouting. */
.section { position: relative; padding: 68px 0; text-align: center; overflow: hidden; }
.floaty-deco { position: absolute; font-size: 1.8rem; opacity: 0.55; animation: floaty 6s ease-in-out infinite; pointer-events: none; }
.section--lavender { background: var(--purple-tint); }
.section--peach { background: var(--peach-tint); }
.section--sky { background: var(--sky-tint); }
.section__heading--center { text-align: center; }
.section__intro { max-width: 620px; margin: 0 auto 36px; }

.quote-mark {
  display: block; font-family: var(--font-display); font-size: 6rem;
  color: var(--purple); opacity: 0.25; line-height: 1; margin-bottom: -24px;
}

/* How It Works — a trail of colour badges, not a corporate 01/02/03 stepper */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.steps::before {
  content: ''; position: absolute; top: 30px; left: 12%; right: 12%;
  border-top: 3px dashed var(--purple-tint); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  color: var(--white); margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}
.step__badge--pink { background: var(--pink); }
.step__badge--purple { background: var(--purple); }
.step__badge--gold { background: var(--gold); }
.step__badge--teal { background: var(--teal); }
.step h3 { margin-bottom: 4px; }
.step p { font-size: 0.9rem; margin: 0 auto; max-width: 20ch; }

/* Tiles — tinted cards with one soft "peeled corner", carrying colour the way
   the benefit blobs and product stickers do, instead of white-card-plus-shadow */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; text-align: left; }
.tiles--2x2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.tiles--center { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Three-tile groups (no empty cell in a 2x2): beside the homepage photo they stack in one column; on
   /how-it-works they sit in one row, then stack on phones. Two classes, so they beat the generic
   .tiles / .tiles--2x2 column counts at every breakpoint. */
.tiles.tiles--stack { grid-template-columns: 1fr; }
.tiles.tiles--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  .tiles.tiles--three { grid-template-columns: 1fr; }
}
.tile {
  border-radius: 14px 32px 14px 14px; padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tile:nth-child(4n+1) { background: var(--pink-tint); }
.tile:nth-child(4n+2) { background: var(--purple-tint); }
.tile:nth-child(4n+3) { background: var(--gold-tint); }
.tile:nth-child(4n+4) { background: var(--teal-tint); }
.tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  margin-bottom: 12px; box-shadow: var(--shadow-soft);
}
.tile__icon .icon { width: 22px; height: 22px; }
.tile:nth-child(4n+1) .tile__icon .icon { color: var(--pink); }
.tile:nth-child(4n+2) .tile__icon .icon { color: var(--purple); }
.tile:nth-child(4n+3) .tile__icon .icon { color: var(--gold); }
.tile:nth-child(4n+4) .tile__icon .icon { color: var(--teal); }
.tile h3 { margin-bottom: 6px; }
.tile p { font-size: 0.9rem; margin: 0; }
.tile--soft { text-align: center; border-radius: 32px 14px 14px 14px; }
.tile--soft .tile__icon { background: var(--white); margin-left: auto; margin-right: auto; }
.tile--soft:nth-child(4n+1) { background: var(--pink-tint); }
.tile--soft:nth-child(4n+2) { background: var(--gold-tint); }
.tile--soft:nth-child(4n+3) { background: var(--teal-tint); }
.tile--soft:nth-child(4n+4) { background: var(--purple-tint); }
.tile--soft:nth-child(4n+1) .tile__icon .icon { color: var(--pink); }
.tile--soft:nth-child(4n+2) .tile__icon .icon { color: var(--gold); }
.tile--soft:nth-child(4n+3) .tile__icon .icon { color: var(--teal); }
.tile--soft:nth-child(4n+4) .tile__icon .icon { color: var(--purple); }

/* Collection grid — a scattered sticker sheet, two alternating card styles */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-top: 36px; text-align: left; }
.product-card {
  position: relative;
  padding-bottom: 18px;
  transition: transform 0.2s ease;
}
.product-card:hover { transform: translateY(-6px) rotate(0deg) !important; }
.product-card--a {
  background: var(--card-tint, var(--pink-tint));
  border: 3px dashed var(--card-accent, var(--pink));
  border-radius: 26px;
  transform: rotate(-2deg);
}
.product-card--b {
  background: var(--white);
  border-radius: 10px 10px 26px 26px;
  box-shadow: var(--shadow-soft);
  transform: rotate(2deg);
  overflow: hidden;
}
.product-card--b .product-card__image { border-radius: 0; }
.product-card--b .product-card__category { margin-top: 14px; }
.product-card__image { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 10px; border-radius: 18px; }
.product-card--a .product-card__image { margin: 12px; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__image--placeholder { background: var(--card-tint, var(--pink-tint)); }
.product-card--b .product-card__image--placeholder { background: var(--card-accent, var(--pink)); opacity: 0.15; }
.product-card__image--placeholder span { text-align: center; font-family: var(--font-display); font-size: 0.85rem; color: var(--card-accent, var(--pink)); font-weight: 700; }
.product-card__category {
  display: inline-block; margin: 0 0 6px 16px;
  background: var(--card-accent, var(--pink)); color: var(--white);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px;
}
.product-card__name { margin: 0 16px 10px; font-size: 1.05rem; }
.product-card__price {
  margin: 0 16px 6px; font-weight: 700; font-family: var(--font-display);
  font-size: 1.1rem; color: var(--card-accent, var(--pink));
}
.product-card__delivery {
  display: flex; align-items: center; gap: 4px;
  margin: 0 16px 10px; font-size: 0.78rem; font-weight: 700;
  font-family: var(--font-display); color: var(--teal);
}
.product-card__delivery-icon { width: 13px; height: 13px; stroke-width: 2.5; }
.product-card__desc { margin: 0 16px 18px; font-size: 0.85rem; }
.product-card__cta { margin: 0 16px; display: inline-block; }
.badge { display: inline-block; margin: 0 16px 12px; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-family: var(--font-display); }
.badge--halloween { background: var(--peach); color: var(--white); }

/* A plain <div>, not a <p> — the global `p { max-width: 60ch; margin: 0 0
   16px; }` rule pins paragraphs flush-left at a capped width, which quietly
   breaks text-align:center for anything short enough to fit inside it. */
.collection-cta { text-align: center; margin-top: 8px; }

/* Eyebrow — small confident kicker label above a section heading, used
   wherever a section needs to read as a credibility/authority moment
   rather than a playful one. */
.section__eyebrow {
  display: inline-block; margin: 0 0 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
}

/* Safety — the one place to stay calm and credible, not playful. White
   cards on a quiet ground, icon-led like the benefit/tile sections, but
   deliberately less saturated so it reads as documentation, not marketing. */
.safety-section { background: var(--white); }
.safety-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin: 40px 0 28px; text-align: left;
}
.safety-tile {
  background: var(--cream); border: 1px solid rgba(34, 33, 75, 0.07);
  border-radius: 20px; padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.safety-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.safety-tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-tint);
  margin-bottom: 14px;
}
.safety-tile__icon .icon { width: 22px; height: 22px; color: var(--teal); }
.safety-tile h3 { font-size: 1rem; margin-bottom: 6px; }
.safety-tile p { font-size: 0.88rem; margin: 0; }
.safety-note { max-width: 640px; margin: 0 auto; font-size: 0.82rem; color: var(--ink-soft); opacity: 0.85; }
.link-cta { color: var(--pink); font-weight: 700; text-decoration: none; font-family: var(--font-display); white-space: nowrap; }
.link-cta:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .safety-grid { grid-template-columns: 1fr; margin: 28px 0 20px; }
}
/* Five tiles: a row of three, then two wider tiles filling the second row (no orphan). At two columns the
   last tile spans the full width; on phones everything stacks. */
.safety-grid.safety-grid--five { grid-template-columns: repeat(6, 1fr); }
.safety-grid--five > .safety-tile:nth-child(-n+3) { grid-column: span 2; }
.safety-grid--five > .safety-tile:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  .safety-grid.safety-grid--five { grid-template-columns: repeat(2, 1fr); }
  .safety-grid--five > .safety-tile:nth-child(n) { grid-column: auto; }
  .safety-grid--five > .safety-tile:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .safety-grid.safety-grid--five { grid-template-columns: 1fr; }
  .safety-grid--five > .safety-tile:nth-child(n) { grid-column: auto; }
}

/* Guarantee — one confident badge, not a paragraph buried in a policy page */
.guarantee-section { padding-top: 0; }
.guarantee-badge {
  display: flex; align-items: center; gap: 20px; text-align: left;
  max-width: 720px; margin: 0 auto; background: var(--white);
  border: 2px solid var(--teal-tint); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow-soft);
}
.guarantee-badge__icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal-tint);
}
.guarantee-badge__icon .icon { width: 26px; height: 26px; color: var(--teal); }
.guarantee-badge__copy { flex: 1; }
.guarantee-badge__copy h3 { margin-bottom: 4px; }
.guarantee-badge__copy p { margin: 0; font-size: 0.9rem; }
@media (max-width: 560px) {
  .guarantee-badge { flex-direction: column; text-align: center; padding: 26px 22px; }
  .guarantee-badge .link-cta { margin-top: 4px; }
}

/* FAQ — a simple divided list, not a stack of identical shadow cards */
.faq { text-align: left; margin-top: 28px; }
.faq__item { padding: 18px 0; border-bottom: 2px dashed var(--purple-tint); }
.faq__item:last-child { border-bottom: none; }
.faq__item h3 { color: var(--purple); margin-bottom: 6px; }
.faq__item p { margin: 0; }

/* Email capture */
.email-capture { background: linear-gradient(135deg, var(--gold-tint), var(--pink-tint)); }
.email-capture__form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.email-capture__form input {
  padding: 15px 20px; border-radius: 999px; border: 2px solid var(--purple);
  min-width: 280px; font-size: 1rem; font-family: var(--font-body); font-weight: 600;
}

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 44px 0; text-align: center; }
.site-footer__logo { height: 44px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.site-footer__nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 0.9rem; font-family: var(--font-display); font-weight: 600; }
.site-footer__nav a { color: var(--white); text-decoration: none; opacity: 0.85; }
.site-footer__nav a:hover { opacity: 1; text-decoration: underline; }
.site-footer__legal-nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; font-size: 0.78rem; opacity: 0.7; }
.site-footer__legal-nav a { color: var(--white); text-decoration: none; }
.site-footer__legal-nav a:hover { text-decoration: underline; }
.site-footer__legal { font-size: 0.8rem; opacity: 0.6; margin: 0 auto; }
.site-footer__legal a { color: inherit; }

@media (max-width: 900px) {
  .benefit-bar__grid, .steps, .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .site-header__logo img { height: 260px; } /* 2x the previous 130px */
}
@media (max-width: 560px) {
  .benefit-bar__grid, .steps, .tiles, .tiles--2x2 { grid-template-columns: 1fr; }
  .site-header__logo img { height: 84px; }
  .site-header__brand { padding: 6px 0 8px; }
  .site-header__deco { font-size: 2.2rem; }
  .hero:not(.hero--static) { padding: 56px 0 90px; }
  .floaty-deco { font-size: 1.3rem; opacity: 0.4; }
}

/* Anyone with motion sensitivity gets these frozen in place, not removed —
   still decorative, just not moving. */
@media (prefers-reduced-motion: reduce) {
  .floaty-deco, .site-header__deco { animation: none !important; }
}

/* Legal / informational pages — calm and readable, deliberately undecorated.
   Long-form text, generous line length limit, quiet colour, no gradients. */
.legal-header { background: var(--cream); padding: 48px 0 8px; text-align: center; }
.legal-header h1 { margin-bottom: 6px; }
.legal-updated { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.75; margin: 0 0 8px; }
.legal {
  background: var(--white);
  padding: 40px 0 80px;
}
.legal .wrap { max-width: 720px; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 22px; margin-bottom: 8px; color: var(--purple); }
.legal p, .legal li { font-size: 1rem; color: var(--ink-soft); max-width: 68ch; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--pink); }
.legal blockquote {
  margin: 20px 0; padding: 14px 18px; border-left: 4px solid var(--purple-tint);
  background: var(--cream); font-size: 0.92rem; color: var(--ink-soft);
}
.legal .placeholder { color: var(--peach); font-weight: 700; }
.legal-back { display: inline-block; margin-bottom: 24px; color: var(--purple); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }

/* FAQ page — reuse the homepage FAQ look but on a plain background */
.legal .faq__item h3 { margin-top: 0; color: var(--purple); }

/* About/founder page — a calm, editorial "photo + story" layout, quieter
   than the homepage's playful sections but still on the same type scale
   and spacing rhythm. */
.about-founder-section { background: var(--white); padding: 56px 0 80px; }
.about-founder {
  display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 48px; align-items: start;
  max-width: 980px; margin: 0 auto; text-align: left;
}
.about-founder__photo {
  aspect-ratio: 1 / 1; border-radius: 28px; background: var(--cream);
  box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--purple); font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; position: sticky; top: 24px; overflow: hidden;
}
.about-founder__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-founder__copy p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 20px; max-width: 62ch; }
.about-founder__copy p:last-child { margin-bottom: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) {
  .about-founder { grid-template-columns: 1fr; text-align: center; }
  .about-founder__photo { max-width: 220px; margin: 0 auto; position: static; }
  .about-founder__copy p { text-align: left; }
}

/* Site-wide top banner — one line, above the header, on every public page */
.site-banner { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.site-banner__inner {
  max-width: 1120px; margin: 0 auto; padding: 9px 44px 9px 20px; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center;
}
.site-banner__text {
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-banner__link {
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  white-space: nowrap; flex-shrink: 0; text-decoration: underline; text-underline-offset: 2px;
  opacity: 0.95;
}
.site-banner__link:hover { opacity: 1; }
.site-banner__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--white); font-size: 1.2rem;
  line-height: 1; cursor: pointer; opacity: 0.85; padding: 4px 6px;
}
.site-banner__close:hover { opacity: 1; }

/* Trust bar — slim, persistent (not dismissible, unlike the promo banner
   above it), evergreen credibility signals on every page. Calm and
   confident rather than playful: quiet ink-on-cream, small caps rhythm,
   not competing with the pink/purple banner or the hero below it. */
.trust-bar { background: var(--cream); border-bottom: 1px solid rgba(34, 33, 75, 0.08); }
.trust-bar__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px 28px; padding: 9px 20px; text-align: center;
}
.trust-bar__item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft);
  white-space: nowrap;
}
.trust-bar__icon { width: 14px; height: 14px; color: var(--teal); stroke-width: 2.5; }
@media (max-width: 700px) {
  .trust-bar__inner { gap: 5px 16px; padding: 8px 16px; }
  .trust-bar__item { font-size: 0.66rem; }
}
@media (max-width: 420px) {
  .trust-bar__item:nth-child(3), .trust-bar__item:nth-child(4) { display: none; }
}

@media (max-width: 560px) {
  .site-banner__text { font-size: 0.72rem; white-space: normal; }
  .site-banner__link { font-size: 0.72rem; }
  .site-banner__inner { padding: 8px 36px 8px 12px; gap: 6px 10px; }
}

/* Cookie consent banner — plain, trustworthy, not part of the playful system */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 18px 20px; box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
}
.cookie-banner__inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner__text { margin: 0; font-size: 0.88rem; max-width: 640px; color: var(--white); opacity: 0.92; }
.cookie-banner__text a { color: var(--gold); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
}
.btn-cookie--solid { background: var(--pink); color: var(--white); }
.btn-cookie--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-cookie--ghost:hover { border-color: var(--white); }

@media (max-width: 560px) {
  .legal .wrap { padding: 0 20px; }
  /* Compact banner on phones: on a first visit it overlays the bottom of every page, and the
     stacked layout took 26-35% of the screen. Same copy and same two choices, side-by-side
     buttons on one line each (nowrap — a wrapped label makes the buttons taller, not shorter). */
  .cookie-banner { padding: 10px 14px; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; }
  .cookie-banner__text { font-size: 0.78rem; line-height: 1.35; }
  .cookie-banner__actions { flex-wrap: nowrap; gap: 8px; }
  .cookie-banner__actions .btn-cookie { flex: 1; padding: 10px 6px; font-size: 0.78rem; line-height: 1.2; white-space: nowrap; }
}

/* Design picker */
.picker-header { background: var(--purple-tint); padding: 32px 0 28px; text-align: center; }
.picker-header__sub { margin: 0; color: var(--ink-soft); }
.picker-seasonal-banner {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #B5540E; background: var(--peach-tint); display: inline-block; padding: 8px 16px; border-radius: 999px;
}
.picker-seasonal-banner a { color: var(--purple); text-decoration: underline; }

.picker-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 24px 20px 0; max-width: 1120px; margin: 0 auto;
}
.picker-filter-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  padding: 8px 16px; min-height: 38px; border-radius: 999px;
  border: 2px solid var(--purple-tint); background: var(--white); color: var(--ink);
  cursor: pointer;
}
.picker-filter-btn.is-active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.picker-filter-btn:hover { border-color: var(--purple); }

.picker-filter-bar--themes { padding-top: 12px; }
.picker-filter-bar__label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  color: var(--ink-soft); align-self: center; margin-right: 2px;
}
.picker-filter-btn--theme { border-color: #FFD9C2; }
.picker-filter-btn--theme.is-active { background: #FF9868; border-color: #FF9868; }
.picker-filter-btn--theme:hover { border-color: #FF9868; }

.picker-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px; padding: 32px 20px 140px; max-width: 1120px; margin: 0 auto;
}
.picker-empty {
  grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--ink-soft);
  font-family: var(--font-display); font-weight: 700;
  margin-left: auto; margin-right: auto;
}

.size-badge {
  display: flex; align-items: center; gap: 4px; margin: 0 14px 10px; font-size: 0.72rem; font-weight: 700;
  font-family: var(--font-display); padding: 4px 10px; border-radius: 999px;
  width: fit-content;
}
.size-badge__icon { width: 12px; height: 12px; stroke-width: 2.5; }
.size-badge--c { background: var(--cream); color: var(--ink-soft); border: 1px solid rgba(34,33,75,0.08); }
.size-badge--yc { background: var(--gold-tint); color: #A87A0E; }
.picker-card {
  background: var(--card-tint, var(--pink-tint));
  border: 3px solid transparent;
  border-radius: 20px;
  padding-bottom: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.picker-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.picker-card--selected { border-color: var(--card-accent, var(--pink)); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.picker-card__image { aspect-ratio: 1/1; margin: 10px; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--white); }
.picker-card__image img { width: 100%; height: 100%; object-fit: cover; }
.picker-card__image--placeholder span { text-align: center; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--card-accent, var(--pink)); }
.picker-card__category {
  display: inline-block; margin: 0 0 4px 14px; background: var(--card-accent, var(--pink)); color: var(--white);
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.picker-card__name { margin: 0 14px 10px; font-size: 0.98rem; }
.picker-card__stepper { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 14px; }
.stepper-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--card-accent, var(--pink));
  background: var(--white); color: var(--card-accent, var(--pink)); font-size: 1.2rem; font-weight: 700;
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.stepper-btn:hover { background: var(--card-accent, var(--pink)); color: var(--white); transform: scale(1.08); }
.stepper-btn:active { transform: scale(0.95); }
.stepper-count { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; min-width: 24px; text-align: center; }

.picker-summary {
  position: sticky; bottom: 0; z-index: 90;
  background: var(--white); border-top: 3px solid var(--purple-tint);
  box-shadow: 0 -6px 20px rgba(34,33,75,0.1); padding: 14px 20px;
  transition: border-color 0.2s ease;
}
.picker-summary--ready { border-top-color: var(--teal-tint); }
.picker-summary__inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.picker-summary__text { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.picker-summary__hint { font-weight: 500; color: var(--ink-soft); font-size: 0.9rem; }
.picker-summary--ready .picker-summary__hint { color: var(--teal); }
#picker-continue:disabled { background: #E0DCEE; color: #A79FC2; box-shadow: none; cursor: not-allowed; transform: none !important; }

/* Tap-to-enlarge (public/js/image-lightbox.js) */
.is-zoomable { position: relative; cursor: zoom-in; }
.is-zoomable::after {
  content: ''; position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(34,33,75,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  pointer-events: none;
}
.is-zoomable:focus-visible { outline: 3px solid var(--purple, #7B5EA7); outline-offset: 2px; }
.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20,18,45,0.88);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px;
}
.lightbox__img { max-width: min(92vw, 640px); max-height: 66vh; width: auto; height: auto; border-radius: 16px; background: var(--white); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox__name { margin: 0; max-width: 92vw; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-align: center; }
.lightbox__desc { margin: 0; max-width: min(92vw, 46ch); color: rgba(255,255,255,0.85); font-size: 0.9rem; text-align: center; }
.lightbox__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lightbox__btn { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer; }
.lightbox__btn--add { background: var(--pink); color: #fff; }
.lightbox__btn--close { background: #fff; color: var(--ink); }
.lightbox__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 560px) {
  /* Design thumbnails: 3 across; tap one to enlarge it. */
  .picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 10px 150px; }
  .picker-card { padding-bottom: 8px; border-radius: 14px; border-width: 2px; }
  .picker-card { display: flex; flex-direction: column; }
  .picker-card__image { margin: 6px; border-radius: 10px; }
  .picker-card__category, .size-badge--c { display: none; }
  .size-badge--yc { margin: 0 6px 6px; font-size: 0.6rem; padding: 2px 6px; }
  .picker-card__name { margin: 0 6px 6px; font-size: 0.74rem; line-height: 1.2; text-align: center; }
  .picker-card__stepper { margin: auto 4px 0; gap: 4px; }
  .stepper-btn { width: 30px; height: 30px; font-size: 1rem; }
  .stepper-count { min-width: 16px; font-size: 0.95rem; }
  .design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .design-grid .product-card { border-radius: 14px; }
  .design-grid .product-card__image, .design-grid .product-card--a .product-card__image { margin: 6px; border-radius: 10px; }
  .design-grid .product-card__category, .design-grid .product-card__desc, .design-grid .size-badge, .design-grid .badge { display: none; }
  .design-grid .product-card__name { margin: 0 6px 8px; font-size: 0.74rem; line-height: 1.2; text-align: center; }
  .is-zoomable::after { width: 18px; height: 18px; right: 4px; bottom: 4px; background-size: 10px; }
  .picker-summary__inner { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 360px) {
  .stepper-btn { width: 28px; height: 28px; }
  .picker-card__stepper { gap: 2px; margin: auto 2px 0; }
}

/* Wholesale enquiry page (src/views/wholesale.ejs) */
.wholesale-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; text-align: left; }
.wholesale-package {
  background: var(--white); border-radius: var(--radius); border: 3px solid var(--card-accent, var(--purple-tint));
  box-shadow: var(--shadow-soft); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.wholesale-package__name { margin: 0; font-size: 1.3rem; color: var(--card-accent, var(--purple)); }
.wholesale-package__size { margin: 0; font-family: var(--font-display); font-weight: 700; }
.wholesale-package__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.wholesale-package__shipping { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.wholesale-package__list { margin: 4px 0 0; padding-left: 20px; font-size: 0.95rem; }
.wholesale-package__list li { margin-bottom: 6px; }
.wholesale-package__cta { margin-top: auto; align-self: flex-start; }
.wholesale-resale-note {
  max-width: 720px; margin: 32px auto 0; padding: 18px 22px; border-radius: 16px;
  background: var(--gold-tint); font-size: 0.95rem; line-height: 1.5; text-align: left;
}
.wholesale-browse-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
@media (max-width: 560px) {
  .wholesale-packages { grid-template-columns: 1fr; }
}

/* Teens & Mums two-panel intro (src/views/mums-shop.ejs) — a teen-facing and a
   mum-facing line side by side, rather than one paragraph trying to speak to both. */
.dual-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0; text-align: left; }
.dual-panel__item { background: var(--white); border-radius: 18px; border: 3px solid var(--card-accent, var(--purple-tint)); box-shadow: var(--shadow-soft); padding: 20px 22px; }
.dual-panel__label { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--card-accent, var(--purple)); }
.dual-panel__text { margin: 0; font-size: 1rem; }
@media (max-width: 560px) {
  .dual-panel { grid-template-columns: 1fr; gap: 14px; }
}


/* /how-it-works: the vertical (9:16) how-to video in a phone frame, beside the four steps
   (public/js/how-to-video.js). On phones the video comes first and the steps stack below it. */
.how-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 960px; margin: 0 auto; }
.how-video { margin: 0; }
.phone-frame { position: relative; width: 100%; max-width: 320px; margin: 0 auto; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, var(--pink), var(--purple)); box-shadow: var(--shadow-purple); }
.phone-frame__screen { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 9 / 16; background: #1B1840; }
.phone-frame__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-frame__controls { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
.phone-frame__btn, .phone-frame__play {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(34, 33, 75, 0.62); color: #fff; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.phone-frame__btn:hover, .phone-frame__play:hover { background: rgba(34, 33, 75, 0.85); transform: scale(1.06); }
.phone-frame__btn:focus-visible, .phone-frame__play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.phone-frame__icon { display: inline-flex; width: 22px; height: 22px; }
.phone-frame__icon svg { width: 100%; height: 100%; }
.phone-frame__icon--on { display: none; }
.phone-frame__btn.is-on .phone-frame__icon--on { display: inline-flex; }
.phone-frame__btn.is-on .phone-frame__icon--off { display: none; }
.phone-frame__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.phone-frame__play[hidden] { display: none; }
.phone-frame__play .phone-frame__icon { width: 34px; height: 34px; }
.how-video__caption { margin: 14px auto 0; max-width: 300px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); }
.steps.steps--stacked { display: flex; flex-direction: column; gap: 26px; margin-top: 0; }
.steps.steps--stacked::before { display: none; }
.steps--stacked .step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; text-align: left; align-items: start; }
.steps--stacked .step__badge { grid-row: 1 / span 2; margin-bottom: 0; }
.steps--stacked .step h3 { margin: 4px 0 2px; }
.steps--stacked .step p { margin: 0; max-width: none; font-size: 1rem; }
@media (max-width: 860px) {
  .how-layout { grid-template-columns: 1fr; gap: 36px; }
  .phone-frame { max-width: 300px; }
}
@media (max-width: 560px) {
  .steps--stacked .step { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
  .steps--stacked .step__badge { width: 52px; height: 52px; font-size: 1.2rem; }
}
