/* ==========================================================================
   Slips storefront
   Colors, type and logo rules follow the Slips Brand Guidelines (v1, Nov 2026)
   ========================================================================== */

:root {
  /* Brand colors */
  --pink: #EC297B;        /* logo, icon backgrounds, big type, big moments */
  --pink-deep: #C2185B;   /* small pink text and links */
  --tint: #FDE8F1;        /* soft backgrounds */
  --ink: #000000;         /* text, primary buttons */
  --gray: #5C5C5C;        /* secondary text */
  --panel: #F7F7F7;       /* quiet panels, product photo backdrops */
  --line: #E6E6E6;        /* hairlines */
  --paper: #FFFFFF;

  /* Type */
  /* Archivo across the site: Expanded (wide) for headlines, normal width for reading text */
  --font-head: "Archivo", system-ui, sans-serif;
  --head-weight: 800;        /* headline weight */
  --head-tracking: -0.02em;  /* headline letter-spacing */
  --head-stretch: 118%;      /* headline width: 100% normal, 125% widest */
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace; /* small retro labels */

  /* Shape */
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
body.is-locked { overflow: hidden; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .statement :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type ---------- */
.display, .h2, .h3, .product-title, .statement-title {
  font-family: var(--font-head);
  font-weight: var(--head-weight); font-stretch: var(--head-stretch);
  letter-spacing: var(--head-tracking);
}
.display { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; }
.h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; }
.h3 { font-size: 24px; line-height: 28px; }
.lead { font-size: 18px; line-height: 28px; color: var(--gray); }
.muted { color: var(--gray); }
.small { font-size: 13px; line-height: 20px; }
.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pink-deep);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--paper); opacity: .9; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--lg { height: 56px; padding: 0 32px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--pink); }
.btn--white { background: var(--paper); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--paper); }

.text-btn {
  font-size: 14px; font-weight: 600; color: var(--pink-deep);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.text-btn:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px; transition: background-color .2s;
}
.icon-btn:hover { background: var(--panel); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Announcement bar ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 40px; padding: 0 12px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.announce-track { position: relative; flex: 0 1 420px; height: 20px; overflow: hidden; text-align: center; }
.announce-msg {
  position: absolute; inset: 0; line-height: 20px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce-msg.is-active { opacity: 1; transform: none; }
.announce-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; opacity: .75; }
.announce-arrow:hover { opacity: 1; background: rgb(255 255 255 / .12); }
.announce-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
}
.header-left { display: flex; align-items: center; gap: 8px; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.menu-btn { display: none; margin-left: -10px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a, .header-shop {
  font-size: 14px; font-weight: 600; text-decoration: none;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--pink); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-shop {
  padding: 10px 18px; border-radius: 999px; background: var(--tint); color: var(--pink-deep);
  transition: background-color .2s, color .2s;
}
.header-shop:hover { background: var(--pink); color: var(--paper); }
.brand { display: block; padding: 8px 15px; } /* clear space ≈ ¼ logo height */
.brand img { width: 120px; height: auto; }
.bag-btn { margin-right: -10px; }
.bag-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--pink); color: var(--paper);
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.bag-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .main-nav, .header-shop { display: none; }
  .brand { padding: 6px 12px; }
  .brand img { width: 96px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--pink); color: var(--paper); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px);
}
.hero .display { max-width: 11ch; }
.hero-lead { margin-top: 24px; max-width: 30em; font-size: 18px; line-height: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 14px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC297B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-media { position: relative; }
.hero-card {
  background: var(--paper); border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 1 / 1; display: grid; place-items: center;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.price-sticker {
  position: absolute; top: -18px; right: -14px;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-content: center; text-align: center;
}
.price-sticker__amt { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 38px; line-height: 1; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .display { max-width: 12ch; }
  .hero-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .price-sticker { width: 84px; height: 84px; top: -12px; right: -6px; }
  .price-sticker__amt { font-size: 30px; }
}
@media (max-width: 600px) {
  .hero-inner { padding-top: 36px; gap: 36px; }
  .hero-lead { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .hero-actions { margin-top: 24px; gap: 14px 24px; }
  .hero-points { margin-top: 22px; font-size: 13px; gap: 8px 16px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee span { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 22px; line-height: 28px; white-space: nowrap; }
.spark {
  flex: none; width: 16px; height: 16px; background: var(--pink);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Product ---------- */
.product { padding: clamp(48px, 7vw, 96px) 0; }
.product-inner {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-stage { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: var(--r-lg); background: var(--panel);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: 4px; }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: start; background: var(--panel); }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  opacity: 0; transition: opacity .2s, background-color .2s, color .2s;
}
.gallery-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-stage:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.gallery-dots { display: none; position: absolute; left: 0; right: 0; bottom: 16px; justify-content: center; gap: 6px; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgb(0 0 0 / .2); transition: width .25s var(--ease), background-color .25s; }
.gallery-dots span.is-active { width: 22px; background: var(--ink); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb {
  aspect-ratio: 1 / 1; border-radius: var(--r-md); background: var(--panel);
  border: 2px solid transparent; overflow: hidden; transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover { border-color: var(--line); }
.thumb.is-active { border-color: var(--ink); }

/* Buy box */
.buybox { min-width: 0; padding-top: 8px; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.product-title { font-size: clamp(44px, 5vw, 56px); line-height: 1; }
.product-price { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 32px; line-height: 1; }
.product-desc { margin-top: 18px; color: var(--gray); font-size: 17px; line-height: 27px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--pink-deep);
  font-size: 13px; font-weight: 600; line-height: 18px;
}

.option { margin-top: 28px; border: 0; padding: 0; min-width: 0; }
.option-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.option-label { font-size: 14px; line-height: 20px; color: var(--gray); padding: 0; }
.option-label strong { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 10px; margin-top: 12px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%;
  background: #FBFBFA; border: 1px solid var(--line);
}
.swatch.is-selected { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }

.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.size { position: relative; display: block; }
.size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.size-box {
  display: grid; justify-items: center; gap: 4px;
  padding: 12px 4px 13px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .15s, background-color .15s, color .15s;
  pointer-events: none;
}
.size-letter { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 22px; line-height: 26px; }
.size-range { font-size: 11.5px; line-height: 15px; color: var(--gray); text-align: center; transition: color .15s; }
.size:hover .size-box { border-color: var(--ink); }
.size input:checked + .size-box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size input:checked + .size-box .size-range { color: rgb(255 255 255 / .72); }
.size input:focus-visible + .size-box { outline: 3px solid var(--pink); outline-offset: 2px; }
.sizes.is-invalid .size-box { border-color: var(--pink); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.size-error { margin-top: 10px; color: var(--pink-deep); font-size: 14px; font-weight: 600; }

.buy-row { display: flex; gap: 12px; margin-top: 24px; }
.stepper {
  flex: none; display: inline-flex; align-items: center;
  height: 56px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 4px;
}
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.stepper button:hover { background: var(--panel); }
.stepper button[disabled] { opacity: .3; pointer-events: none; }
.stepper svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.stepper output { min-width: 26px; text-align: center; font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 18px; }

.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.perks li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--panel); font-size: 13px; line-height: 18px; color: var(--gray); }
.perks strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.perks svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Accordions */
.accordions { margin-top: 28px; border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px; line-height: 22px;
}
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary:hover { color: var(--pink-deep); }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); transition: background-color .2s; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); translate: -50% -50%; transition: transform .25s var(--ease);
}
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus { background: var(--ink); }
details[open] > summary .plus::before, details[open] > summary .plus::after { background: var(--paper); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.acc-body { padding: 0 44px 20px 0; color: var(--gray); }
.acc-body p + .text-btn { margin-top: 10px; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

@media (max-width: 960px) {
  .product-inner { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .gallery-arrow { display: none; }
  .gallery-track { border-radius: var(--r-lg); }
}
@media (max-width: 480px) {
  .perks { grid-template-columns: 1fr; }
  .size-grid { gap: 8px; }
  .size-range { font-size: 10.5px; line-height: 14px; }
  .buy-row .btn { padding: 0 18px; }
}

/* ---------- Why ---------- */
.why { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; }
.why-media { aspect-ratio: 1 / 1; }
.why-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.why-text { padding: 4px 24px 28px; }
@media (max-width: 1100px) and (min-width: 861px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-media { aspect-ratio: 4 / 3; }
}
.why-num { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 14px; color: var(--pink-deep); margin-bottom: 8px; }
.why-text p { margin-top: 10px; color: var(--gray); }

@media (max-width: 860px) {
  .why-grid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
    scroll-padding: 0 var(--gutter);
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-card { scroll-snap-align: start; }
  .section-head { text-align: left; }
}

/* ---------- Statement ---------- */
.statement { padding: 0 var(--gutter); }
.statement-inner {
  max-width: var(--wrap); margin: 0 auto;
  background: var(--pink); color: var(--paper); border-radius: var(--r-xl);
  padding: clamp(56px, 9vw, 120px) 24px; text-align: center;
  display: grid; justify-items: center;
}
.statement-icon { width: 84px; height: auto; margin-bottom: 28px; }
.statement-title { font-size: clamp(40px, 7.2vw, 92px); line-height: 1; max-width: 13ch; text-wrap: balance; }
.statement-sub { margin: 20px 0 36px; max-width: 30em; font-size: 18px; line-height: 28px; text-wrap: balance; }

/* ---------- Compare ---------- */
.compare { padding: clamp(56px, 8vw, 112px) 0; }
.compare-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.compare-copy .lead { margin: 20px 0 32px; max-width: 30em; }
.compare-card { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 8px 28px; }
.compare-row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row--head { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); text-align: center; padding: 18px 0 14px; }
.compare-row--head > :first-child { text-align: left; }
.compare-brand img { width: 72px; margin: 0 auto; }
.compare-row .yes::before, .compare-row .no::before {
  content: ""; display: block; width: 30px; height: 30px; margin: 0 auto; border-radius: 50%;
}
.compare-row .yes::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.compare-row .yes--pink::before { background-color: var(--pink); }
.compare-row .no::before {
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 860px) {
  .compare-inner { grid-template-columns: 1fr; }
  .compare-card { padding: 4px 18px; }
  .compare-row { font-size: 15px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--panel); padding: clamp(56px, 8vw, 112px) 0; }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .muted { margin-top: 16px; max-width: 24em; font-size: 17px; line-height: 27px; }
.faq-list { margin: 0; border-top: 0; background: var(--paper); border-radius: var(--r-lg); padding: 8px 28px; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { padding: 22px 0; font-size: 17px; }
.faq-list .text-btn { font-size: inherit; }

@media (max-width: 860px) {
  .faq-inner { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-list { padding: 4px 20px; }
}

/* ---------- Signup ---------- */
.signup { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.signup-inner {
  max-width: var(--wrap); margin: 0 auto;
  background: var(--tint); border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center;
}
.signup-inner .muted { margin-top: 12px; font-size: 17px; line-height: 27px; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input {
  flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--paper);
  font-size: 16px; outline: none; transition: border-color .2s;
}
.signup-form input:focus { border-color: var(--ink); }
.signup-form input[aria-invalid="true"] { border-color: var(--pink); }
.signup-form .btn { height: 56px; }
.form-note { flex-basis: 100%; min-height: 20px; font-size: 14px; font-weight: 600; color: var(--pink-deep); padding-left: 24px; }

@media (max-width: 860px) {
  .signup-inner { grid-template-columns: 1fr; }
  .signup-form .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr); gap: 48px; }
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 20px; color: rgb(255 255 255 / .7); max-width: 22em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h3 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .55); margin-bottom: 16px; }
.footer-cols a, .footer-link { display: block; width: fit-content; padding: 5px 0; font-size: 15px; text-decoration: none; text-align: left; }
.footer-cols a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15);
  font-size: 13px; color: rgb(255 255 255 / .6);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand img { width: 160px; }
}
@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Sticky add-to-bag bar ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 14px; }
.sticky-inner img { width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--panel); mix-blend-mode: multiply; object-fit: contain; }
.sticky-text { flex: 1; min-width: 0; display: grid; line-height: 20px; }
.sticky-text strong { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 18px; }
.sticky-text > span { font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 22px; }
.sticky-inline-price { display: none; color: var(--ink); font-weight: 600; }
@media (max-width: 480px) {
  .sticky-price, .sticky-color { display: none; }
  .sticky-inline-price { display: inline; }
  .sticky-inner .btn { padding: 0 20px; }
}

/* ---------- Dialogs: drawers & modal ---------- */
dialog { color: var(--ink); }
dialog::backdrop {
  background: rgb(0 0 0 / 0);
  transition: background-color .35s, overlay .35s allow-discrete, display .35s allow-discrete;
}
dialog[open]::backdrop { background: rgb(0 0 0 / .45); }
@starting-style { dialog[open]::backdrop { background: rgb(0 0 0 / 0); } }

.drawer {
  position: fixed; margin: 0; padding: 0; border: 0;
  height: 100%; max-height: 100dvh; height: 100dvh;
  width: min(440px, 100vw); max-width: 100vw;
  background: var(--paper);
  display: none; flex-direction: column;
  transition: transform .4s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete;
}
.drawer[open] { display: flex; }
.drawer--right { inset: 0 0 0 auto; transform: translateX(100%); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.drawer--left { inset: 0 auto 0 0; transform: translateX(-100%); width: min(380px, 88vw); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.drawer[open] { transform: none; }
@starting-style {
  .drawer--right[open] { transform: translateX(100%); }
  .drawer--left[open] { transform: translateX(-100%); }
}
@media (max-width: 480px) { .drawer--right { border-radius: 0; } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 24px; line-height: 28px; }
.drawer-head img { width: 96px; }
.drawer-count { color: var(--gray); font-weight: 500; }
.drawer-perk { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--tint); font-size: 14px; font-weight: 600; }
.drawer-perk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer-foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer-foot .btn { margin-top: 8px; }
.drawer-foot[hidden] { display: none; }
.subtotal { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.subtotal strong { font-family: var(--font-head); font-size: 24px; }

.line {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.line-img { width: 88px; height: 88px; border-radius: var(--r-md); background: var(--panel); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-name { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 18px; line-height: 22px; }
.line-meta { font-size: 13px; color: var(--gray); margin-top: 2px; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.line .stepper { height: 38px; padding: 0 2px; }
.line .stepper button { width: 32px; height: 32px; }
.line .stepper svg { width: 14px; height: 14px; }
.line .stepper output { font-size: 15px; min-width: 20px; }
.line-remove { font-size: 13px; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--ink); }
.line-price { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 18px; }

.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 64px 12px; }
.empty img { width: 64px; margin-bottom: 8px; }
.empty h3 { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 24px; line-height: 28px; }
.empty p { color: var(--gray); margin-bottom: 14px; }

.menu-links { display: grid; padding: 12px 24px; }
.menu-links a, .menu-links button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 26px; line-height: 30px;
  text-decoration: none; text-align: left;
}
.menu-links span { font-size: 16px; color: var(--pink-deep); }
.menu-tag { margin-top: auto; padding: 24px; color: var(--gray); font-size: 14px; }

.modal {
  border: 0; padding: 28px; border-radius: var(--r-lg);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .3s, transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin: -8px -8px 8px 0; }
.modal-head h2 { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 32px; line-height: 36px; }
.policy { margin-top: 4px; }
.policy h3 { margin-top: 22px; font-size: 15px; line-height: 22px; font-weight: 600; }
.policy p { margin-top: 4px; font-size: 15px; line-height: 23px; }
.policy p.muted { margin-top: 0; }
.policy a { color: var(--pink-deep); font-weight: 600; text-underline-offset: 3px; }
.perk-link { font-size: inherit; }
.size-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.size-table th, .size-table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); padding-top: 0; }
.size-table tbody th { font-family: var(--font-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); font-size: 20px; }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table th, .size-table td { white-space: nowrap; }
@media (max-width: 480px) {
  .modal { padding: 22px; }
  .modal-head h2 { font-size: 28px; line-height: 32px; }
  .size-table { font-size: 14px; }
  .size-table th, .size-table td { padding: 12px 6px; }
  .size-table thead th { letter-spacing: .04em; font-size: 11px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  translate: -50% 12px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap; max-width: calc(100vw - 32px);
  transition: opacity .25s, translate .25s var(--ease);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ---------- Intro: S icon load-in (plays on every page load) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: #fff;
  animation: intro-out .45s cubic-bezier(.7, 0, .3, 1) 1.55s forwards;
}
.intro-mark {
  width: clamp(104px, 13vw, 150px); height: auto; overflow: visible;
  animation: intro-zoom .55s cubic-bezier(.6, 0, .35, 1) 1.45s forwards;
}
.intro-spin path { fill: var(--pink); }
.intro-spin, .intro-spark, .intro-s-top, .intro-s-bottom { transform-box: fill-box; transform-origin: 50% 50%; }
/* 1. The whole mark spins in, like a coin tossed onto the page. The S is solid, no slit yet. */
.intro-spin { animation: intro-spin 1s cubic-bezier(.2, .9, .25, 1.1) both; }
/* 2. While it's still turning, the swoosh shoots in head-first like a shooting star... */
.intro-draw { animation: intro-draw .5s linear .45s both; }
/* 3. ...and the S is cut open right behind its head as it passes through.
      The cut timing is matched to where the head is along the swoosh. */
.intro-cut-front { animation: intro-cut .5s linear .45s both; }
.intro-s-whole { animation: intro-off 1ms steps(1) .8s forwards; }
/* 4. Once it's through, the two halves kick apart and settle */
.intro-s-top { animation: intro-kick-top .45s cubic-bezier(.2, .9, .3, 1) .78s both; }
.intro-s-bottom { animation: intro-kick-bottom .45s cubic-bezier(.2, .9, .3, 1) .78s both; }
/* 5. The sparkle pops */
.intro-spark { animation: intro-spark .5s cubic-bezier(.25, .9, .3, 1.5) .9s both; }
@keyframes intro-spin { 0% { opacity: 0; transform: scale(.35) rotate(-200deg); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes intro-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes intro-cut {
  0% { transform: translateX(-246px); }
  55% { transform: translateX(-48px); }
  65% { transform: translateX(-19px); }
  100% { transform: translateX(40px); }
}
@keyframes intro-off { to { opacity: 0; } }
@keyframes intro-kick-top { 0% { transform: none; } 30% { transform: translate(-6px, -7px) rotate(-3deg); } 100% { transform: none; } }
@keyframes intro-kick-bottom { 0% { transform: none; } 30% { transform: translate(6px, 7px) rotate(3deg); } 100% { transform: none; } }
@keyframes intro-spark { 0% { opacity: 0; transform: scale(0) rotate(-150deg); } 100% { opacity: 1; transform: none; } }
@keyframes intro-zoom { 0% { transform: none; } 30% { transform: scale(.9); } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* After the intro, the hero content rises into place */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-media { animation: rise-in .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: 1.65s; }
  .hero-copy > :nth-child(2) { animation-delay: 1.71s; }
  .hero-copy > :nth-child(3) { animation-delay: 1.77s; }
  .hero-copy > :nth-child(4) { animation-delay: 1.83s; }
  .hero-copy > :nth-child(5) { animation-delay: 1.89s; }
  .hero-media { animation-name: pop-in; animation-delay: 1.7s; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) rotate(-2deg); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .intro { display: none; }
}
