/* =========================================================
   Northdock — ShowerDock landing page
   Mobile-first. Brand tokens live in :root.
   ========================================================= */

:root {
  /* Brand */
  --navy: #223142;
  --teal: #3bb6a6;
  --offwhite: #f5f3ef;

  /* Neutrals + accessible teal variants */
  --white: #ffffff;
  --sand: #ebe7df;
  --line: #e2ddd4;
  --muted: #5b6672;
  --teal-ink: #1d7a6e;      /* teal for small text on light bg (AA contrast) */
  --teal-hover: #33a696;
  --teal-soft: #e2f3f0;

  /* Shape + depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(34, 49, 66, .05), 0 2px 8px rgba(34, 49, 66, .05);
  --shadow: 0 2px 6px rgba(34, 49, 66, .04), 0 14px 36px rgba(34, 49, 66, .08);

  /* Type + layout */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::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;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }

.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: 12px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary {
  background: var(--teal); color: var(--navy);
  box-shadow: 0 6px 18px rgba(59, 182, 166, .32);
}
.btn--primary:hover { background: var(--teal-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(59, 182, 166, .38); }
.btn--primary:active { transform: translateY(0); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #2d4058; }
.btn--lg { min-height: 58px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: transparent;
  color: var(--navy); cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Image slots (placeholders until real photos are added) ---------- */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #efebe4, #e3ded5);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img { visibility: hidden; }
.media.is-missing::after {
  content: attr(data-label);
  position: absolute; inset: 10px;
  display: grid; place-items: center; padding: 8px;
  border: 1.5px dashed #c8c0b3; border-radius: calc(var(--radius) - 6px);
  color: var(--muted); font-size: .8125rem; font-weight: 500; text-align: center; word-break: break-word;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: var(--white);
  text-align: center; font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
}
.announce p { margin: 0; padding: 9px var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 239, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__lockup { width: 146px; height: 30px; flex: none; } /* official lockup, 1170:240 */
.logo__word { font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; text-transform: lowercase; color: var(--navy); }

.site-header__tagline {
  display: none;
  margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}

.nav { margin-left: auto; }
.nav__list {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column;
  padding: 8px var(--gutter) 16px;
  background: var(--offwhite); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav__list.is-open { display: flex; }
.nav__list a {
  display: block; padding: 12px 4px;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__list li:last-child a { border-bottom: 0; }

.cart-link__count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--teal); color: var(--navy);
  font-size: .6875rem; font-weight: 600; line-height: 1;
}
.cart-link.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }

@media (min-width: 860px) {
  :root { --header-h: 76px; }
  .site-header__tagline { display: inline; }
  .nav__toggle { display: none; }
  .nav__list {
    position: static; display: flex; flex-direction: row; gap: 4px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav__list a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: .9375rem; }
  .nav__list a:hover { background: var(--sand); }
  .cart-link { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding: 20px 0 56px; }
.hero__grid { display: grid; gap: 28px; }

.gallery { min-width: 0; }
.gallery__main { aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); touch-action: pan-y; background: var(--white); }
.gallery__main img { object-fit: contain; } /* photos vary in shape: show them whole */
.gallery__main img { transition: opacity .25s var(--ease); }
.gallery__main.is-swapping img { opacity: .35; }

.gallery__nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-top: -20px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s var(--ease);
}
.gallery__nav:hover { transform: scale(1.06); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }

.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumb {
  display: block; width: 100%; padding: 0;
  border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer;
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
  opacity: .72;
}
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--navy); opacity: 1; }
.thumb .media { display: block; aspect-ratio: 1 / 1; border-radius: 9px; }
.thumb .media.is-missing::after { inset: 3px; padding: 2px; font-size: .625rem; border-width: 1px; border-radius: 6px; }

.buybox__title { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.4rem); margin-bottom: 10px; }

.rating {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .875rem; color: var(--muted); text-decoration: none;
}
.rating:hover .rating__text { text-decoration: underline; }

/* Stars: --rating (0–5) controls the fill */
.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.5.8-4.8 4.5 1.2 6.5L12 17.2l-5.8 3.2 1.2-6.5L2.6 9.4l6.5-.8z'/%3E%3C/svg%3E");
  display: inline-block; flex: none;
  width: 5.5em; height: 1.1em; font-size: 16px;
  background: linear-gradient(90deg, var(--teal) calc(var(--rating, 0) / 5 * 100%), #d9d3c8 0);
  -webkit-mask: var(--star) 0 0 / 1.1em 1.1em repeat-x;
  mask: var(--star) 0 0 / 1.1em 1.1em repeat-x;
}
.stars--lg { font-size: 22px; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 4px 0 16px; }
.price__now { font-size: 1.85rem; font-weight: 600; letter-spacing: -.02em; }
.price__was { color: var(--muted); font-size: 1.0625rem; }
.price__badge {
  align-self: center;
  padding: 4px 10px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-ink);
  font-size: .8125rem; font-weight: 600;
}

.buybox__hook { font-size: 1.0625rem; color: #3a4a5c; margin-bottom: 24px; }

.buy-form { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.field-label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: 10px; padding: 0; }
.variants__name { color: var(--muted); font-weight: 400; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch__dot {
  display: block; width: 38px; height: 38px; border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(34, 49, 66, .14), 0 0 0 3px var(--offwhite), 0 0 0 4px transparent;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.swatch:hover .swatch__dot { transform: scale(1.06); }
.swatch input:checked + .swatch__dot {
  box-shadow: inset 0 0 0 1px rgba(34, 49, 66, .14), 0 0 0 3px var(--offwhite), 0 0 0 5px var(--navy);
}
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--teal-ink); outline-offset: 7px; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qty-row .field-label { margin: 0; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.qty__btn {
  width: 44px; height: 44px; border: 0; background: none; border-radius: 50%;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.qty__btn:hover { background: var(--offwhite); }
.qty__input {
  width: 44px; height: 44px; border: 0; background: none; text-align: center; font-weight: 500;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn[data-add-to-cart].is-added { background: var(--navy); color: var(--white); box-shadow: none; }

.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  margin-top: 16px; font-size: .8125rem; color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--teal-ink); }

@media (min-width: 900px) {
  .hero { padding: 40px 0 88px; }
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
  .gallery__thumbs { gap: 12px; margin-top: 12px; }
  .buybox { padding-top: 12px; }
  .trust { justify-content: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .section__head { margin-bottom: 56px; }
}

/* ---------- Benefits ---------- */
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.benefit {
  flex: 1 1 100%;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--offwhite);
}
.benefit__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 14px; background: var(--teal-soft); color: var(--teal-ink);
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); }
.benefit p::first-letter { text-transform: uppercase; }

@media (min-width: 600px) { .benefit { flex-basis: calc(50% - 8px); flex-grow: 0; } }
@media (min-width: 960px) {
  .benefits { gap: 20px; }
  .benefit { flex-basis: calc((100% - 40px) / 3); padding: 32px 28px; }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.step__media { aspect-ratio: 2 / 1; max-width: 100%; border-radius: 0; }
.step__body { display: flex; align-items: center; gap: 14px; padding: 20px 22px 24px; }
.step__body h3 { margin: 0; }
.step__num {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--teal);
  font-weight: 600; font-size: .9375rem;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 24px; }
.reviews__summary {
  align-self: start;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--offwhite); text-align: center;
}
.reviews__score { margin: 0 0 6px; font-size: 2.75rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.reviews__outof { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.reviews__count { margin: 10px 0 18px; font-size: .875rem; color: var(--muted); }
.reviews__bars { display: grid; gap: 6px; font-size: .8125rem; color: var(--muted); }
.reviews__bars li { display: grid; grid-template-columns: 14px 1fr 28px; align-items: center; gap: 10px; }
.reviews__bars li > span:last-child { text-align: right; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }

.reviews__list { display: grid; gap: 16px; align-content: start; }
.reviews__empty {
  display: grid; place-content: center; min-height: 200px; padding: 32px 24px;
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  text-align: center; color: var(--muted);
}
.reviews__empty p { margin: 0; }
.reviews__empty-title { color: var(--navy); font-weight: 600; margin-bottom: 4px !important; }

.review-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review-card__date { font-size: .8125rem; color: var(--muted); }
.review-card__title { margin-bottom: 6px; }
.review-card__body { color: #3a4a5c; }
.review-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: .8125rem; color: var(--muted); }
.review-card__name { color: var(--navy); font-weight: 500; }
.review-card__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--teal-ink); }
.review-card__verified svg { width: 14px; height: 14px; }

@media (min-width: 900px) {
  .reviews { grid-template-columns: 300px 1fr; gap: 40px; }
  .reviews__summary { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Shipping ---------- */
.ship { display: grid; gap: 12px; max-width: 960px; margin-inline: auto; }
.ship li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
}
.ship p { margin: 0; font-weight: 500; }
.ship__icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink);
}
.ship__icon svg { width: 22px; height: 22px; }
@media (min-width: 760px) {
  .ship { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ship li { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: none; width: 20px; height: 20px; color: var(--teal-ink); transition: transform .25s var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq__item[open] .faq__answer { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Guarantee band ---------- */
.guarantee { background: var(--navy); color: var(--white); }
.guarantee__inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding-block: 56px; text-align: center;
}
.guarantee h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); }
.guarantee p { margin: 0; color: rgba(255, 255, 255, .78); }
.guarantee p::first-letter { text-transform: uppercase; }
.guarantee__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px;
  background: rgba(59, 182, 166, .14); color: var(--teal);
}
.guarantee__icon svg { width: 34px; height: 34px; }
@media (min-width: 760px) {
  .guarantee__inner { flex-direction: row; justify-content: center; gap: 24px; text-align: left; padding-block: 64px; }
}

/* ---------- Final CTA ---------- */
.cta {
  display: grid; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow);
}
.cta__media { aspect-ratio: 4 / 3; border-radius: 0; }
.cta__body { padding: 28px 24px 32px; }
.cta__hook { font-size: 1.0625rem; color: #3a4a5c; }
.cta__selection { font-size: .875rem; color: var(--muted); }
.cta__selection a { color: var(--teal-ink); }
@media (min-width: 860px) {
  .cta { grid-template-columns: 1fr 1fr; align-items: center; }
  .cta__media { aspect-ratio: 1 / 1; height: 100%; }
  .cta__body { padding: 48px 56px; }
  .cta .trust { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 56px; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.site-footer__tagline { margin: 12px 0 8px; color: var(--muted); }
.site-footer__contact { margin: 0; font-size: .875rem; color: var(--muted); }
.site-footer__contact a { color: var(--teal-ink); }
.site-footer__heading { font-size: .9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.site-footer__links ul { display: grid; gap: 8px; }
.site-footer__links a { color: var(--muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--navy); text-decoration: underline; }

.signup { display: flex; gap: 8px; }
.signup__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--offwhite);
}
.signup__input:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px var(--teal-soft); }
.signup__msg { min-height: 1.5em; margin: 8px 0 0; font-size: .8125rem; color: var(--muted); }

.site-footer__bottom {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}
.site-footer__bottom p { margin: 0; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.payments li {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px;
  font-size: .6875rem; font-weight: 600; color: var(--navy); letter-spacing: .02em;
}

@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.3fr .7fr 1.4fr; gap: 48px; }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Sticky add-to-cart (mobile) ---------- */
.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(34, 49, 66, .08);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky-atc.is-visible { transform: translateY(0); }
.sticky-atc__info { display: grid; min-width: 0; line-height: 1.3; }
.sticky-atc__name { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__meta { font-size: .8125rem; color: var(--muted); }
.sticky-atc .btn { flex: none; }

/* Keep the footer clear of the bar on mobile */
@media (max-width: 899px) { .site-footer { padding-bottom: 76px; } }
@media (min-width: 900px) { .sticky-atc { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 70;
  max-width: calc(100% - 32px); padding: 12px 20px;
  border-radius: 999px; background: var(--navy); color: var(--white);
  font-size: .875rem; font-weight: 500; text-align: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast:empty { display: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- On-scroll fade-ins (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Policy pages ---------- */
.policy { padding: 56px 0 88px; }
.policy h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.policy .note {
  padding: 16px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--muted);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
