/* Site fixes (Matt 8:55 PM CT Nov 20). Loaded last on every page. */

/* One shipping bar above the header. Static (scrolls away); the sticky
   header still pins at top:0, so nothing overlaps the header or 3D hero. */
.announce-bar{
  position:relative;
  z-index:51;
  background:#1b2436;
  border-bottom:1px solid rgba(148,163,184,.18);
  color:#e2e8f0;
  text-align:center;
}
.announce-bar__text{
  margin:0 auto;
  max-width:72rem;
  padding:.42rem 1rem;
  font-size:.86rem;
  line-height:1.35;
  font-weight:600;
  letter-spacing:.01em;
}
.announce-bar__text a,
.announce-bar__text a:link,
.announce-bar__text a:visited{
  color:#e2e8f0;
  text-decoration:underline;
  text-decoration-color:rgba(226,232,240,.45);
  text-underline-offset:2px;
}
.announce-bar__text a:hover,
.announce-bar__text a:focus-visible{color:#fff;text-decoration-color:#fff}
@media (max-width:420px){
  .announce-bar__text{font-size:.8rem;padding:.38rem .75rem}
}

/* Footer "Also by us" Hey SI card (Matt 11:09 PM CT Nov 20). Hey SI's own
   colors: navy #050a1f, cyan #22d3ee/#38bdf8, violet #8b5cf6. Quieter than
   the Club/Crew/Instagram buttons: no fill gradient, no glow at rest. */
.foot-also{display:block;width:100%;margin:.85rem auto 0;padding:0 1rem;box-sizing:border-box;text-align:center}
.heysi-card,
.heysi-card:link,
.heysi-card:visited{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.9rem;
  width:min(340px,100%);
  max-width:340px;
  margin:0 auto;
  min-height:64px;
  box-sizing:border-box;
  padding:.5rem .55rem .5rem 1rem;
  border-radius:14px;
  background:#0a1230;
  border:1px solid rgba(34,211,238,.35);
  color:#e0f2fe;
  text-decoration:none;
  text-align:left;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.heysi-card:hover{
  border-color:rgba(34,211,238,.75);
  box-shadow:0 0 0 1px rgba(139,92,246,.35),0 6px 18px rgba(34,211,238,.18);
  transform:translateY(-1px);
}
.heysi-card:focus-visible{
  outline:2px solid #22d3ee;
  outline-offset:3px;
  border-color:rgba(34,211,238,.75);
}
.heysi-card__text{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.heysi-card__label{
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#94a3b8;
}
.heysi-card__name{
  margin-top:.15rem;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  font-size:1.3rem;
  font-weight:800;
  color:#e0f2fe;
}
.heysi-card__name b{
  font-weight:800;
  background:linear-gradient(90deg,#22d3ee,#38bdf8);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.heysi-card__url{margin-top:.1rem;font-size:.84rem;color:#a5b4fc}
.heysi-card__img{
  flex:0 0 auto;
  width:56px;
  height:56px;
  border-radius:12px;
  box-shadow:0 0 12px rgba(34,211,238,.35);
}
@media (prefers-reduced-motion:reduce){
  .heysi-card{transition:none}
  .heysi-card:hover{transform:none}
}

/* /about Materials & Care */
.materials-care .materials-list{
  max-width:46rem;
  margin:1rem auto 0;
  padding-left:1.2rem;
  text-align:left;
  line-height:1.55;
}
.materials-care .materials-list li{margin:.3rem 0}
.materials-care .materials-more{max-width:46rem;margin:1rem auto 0;text-align:left}


/* ===== Polish pass (Matt 3:17 PM CT Nov 24, GWED-5 review) ===== */

/* 1. /capz + /combos: "More to explore" / "Coming soon" cards now sit in
   their own .catalog-grid inside .wrap. Lone cards (Classic CapZ,
   Valentine's) are centered at normal card width instead of hugging
   the left of a 3-column grid. */
.catalog-grid.catalog-grid--solo,
#capz .catalog-grid.catalog-grid--solo{
  grid-template-columns:minmax(0,22rem);
  justify-content:center;
}
@media (min-width:768px) and (max-width:1023px){
  #capz .catalog-grid--more{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1024px){
  #capz .catalog-grid--more{grid-template-columns:repeat(4,minmax(0,1fr))}
}
#combos .catalog-grid--more{margin-bottom:.5rem}
@media (min-width:768px){
  /* 5 cards: rows of 3, last row centered, same card size as the main grid. */
  #combos .catalog-grid--more{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem}
  #combos .catalog-grid--more > .card{flex:0 1 calc((100% - 2.5rem) / 3);min-width:0}
}

/* 2. Card copy on the dark cards was #5a5a63 (2.7:1). Now #b8bcc8
   (8:1+ on #0b1220). Tags that had their own color keep it (the
   :not(.meta) rule used to override them). */
.card > .card-body > p:not(.meta){color:#b8bcc8}
.card > .card-body > p.soon-tag{color:#FF8A3D}
.card > .card-body > p.badge-best{color:#ffd0b0}

/* 3. Orange buttons: keep the brand orange fill, switch the label to
   deep navy. #0b1220 on #FF6A13 = 6.5:1 (was white, 2.87:1); on the
   hover orange #ff7a2d it is 7.1:1. */
:root{--btn-primary-fg:#0b1220}
.shop-chip[aria-pressed="true"],
.skip:focus,
.mz-pick:hover,.mz-pick[aria-pressed="true"],
.car-btn:hover,
.custom-steps li::before{color:#0b1220}
.club-crew-btn[href="/club"] .club-crew-btn__name,
.club-crew-btn[href="/club"] .club-crew-btn__line{text-shadow:0 1px 0 rgba(255,255,255,.25)}
.btn-primary,.buy-btn,.nav-cta{text-shadow:none}

/* Links: the base link color was dark brown #8a3100 (made for the old
   cream pages), 2.2:1 on navy. Light peach reads on every dark surface. */
a{color:#ffb183}
.skip{color:#0b1220}

/* 4. /how-it-works + /faq closing CTA (same buttons as the home hero). */
.page-end-cta{
  display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;
  margin:2rem auto 0;
}

/* 5. /about origin line moved under the H1. */
.why .about-origin{
  text-align:center;
  color:#d5d8e2;
  margin:.1rem auto 1rem;
  max-width:40rem;
  text-wrap:balance;
}
.why .about-origin .flag-us{vertical-align:-1px}

/* 6. Legal pages, /404 and /thanks: dark site theme (CSS only; wording
   in <main> unchanged). Text sits on a navy glass panel. */
.legal-page,
.thanks-page{
  background:transparent;
  color:#e8eef8;
  box-shadow:none;
}
.legal-page > .wrap,
.thanks-page > .wrap{
  background:rgba(8,14,32,.78);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(180,205,255,.18);
  border-radius:16px;
  box-shadow:0 10px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  padding:clamp(1.25rem,4vw,2.25rem) clamp(1.1rem,4vw,2.25rem);
  width:calc(100% - 2*var(--pad, 1rem));
}
.legal-page h1,
.legal-page h2,
.thanks-page h1{color:#fff}
.legal-page .updated,
.thanks-page .thanks-helper{color:#b8bcc8}
.legal-page .kicker,
.thanks-page .kicker{color:#ffc59a}
.legal-page .callout{
  background:rgba(255,106,19,.10);
  border-color:rgba(255,138,61,.6);
  color:#fff;
}
.legal-page a:not(.btn),
.thanks-page a:not(.btn){color:#ffb183}
.angle + .angle + .legal-page{box-shadow:none}

/* 7. /notify: room under the header, reason line above the form, one
   set of 3D instructions (the status line already explains drag/keys),
   and the controls' space is held while the 3D can loads. */
.notify.notify--space{padding-top:clamp(1.6rem,5vw,2.4rem)}
.notify.notify--space .notify-why{
  margin:-.3rem auto .9rem;
  max-width:30rem;
  color:#d5d8e2;
  font-size:1rem;
  line-height:1.45;
  text-wrap:balance;
}
.notify-hero .hero-3d-hint{display:none}
.notify-hero .hero-media:not(.hero-3d--fallback):not([data-hero-3d="fallback"]) .hero-3d-controls[hidden]{
  display:flex;
  visibility:hidden;
}
.notify-hero .hero-3d-status{min-height:2.9em}

/* 8. Desktop background: 1920px WebP on 1x screens, a recompressed
   2560px WebP on 2x and very wide screens (was one 577 KB 2560px file).
   Phones keep deep-space-1280.webp from style.css. */
@media (min-width:701px){
  html::before{
    background-image:url("../img/deep-space-2560.webp");
    background-image:-webkit-image-set(url("../img/deep-space-1920.webp") 1x, url("../img/deep-space-2560.webp") 2x);
    background-image:image-set(url("../img/deep-space-1920.webp") 1x, url("../img/deep-space-2560.webp") 2x);
  }
}
@media (min-width:1921px){
  html::before{background-image:url("../img/deep-space-2560.webp")}
}
.hero-actions > .btn.btn-primary,
.hero-actions > a.btn-primary,
.hero--space .hero-actions > .btn.btn-primary{color:var(--btn-primary-fg)}
/* Home "Keyring tab" kicker was #8a3100 on navy (2.4:1). */
section.keyring-band .kicker{color:#ffc59a}
a.mobile-bottom-bar__btn--join,
a.mobile-bottom-bar__btn--join:link,
a.mobile-bottom-bar__btn--join:visited,
a.mobile-bottom-bar__btn--join:hover,
a.mobile-bottom-bar__btn--join:active,
a.mobile-bottom-bar__btn--join:focus{color:#0b1220 !important}
/* /notify phone: stage height set here (hero-boot.js no longer resizes it
   after paint), close to the old fitted size so the can stays big. */
@media (max-width:1023px){
  .notify-hero .hero-3d-stage{height:min(55vh,29rem);max-height:29rem;min-height:16rem}
}

/* 2026-12-01 layout-fix: two-line launch dates + tighter PDP accordion gap (t570u, t571u) */
.launch-dates{
  white-space:normal;
  display:inline-block;
  max-width:100%;
  line-height:1.3;
}
.eyebrow{
  max-width:100%;
  box-sizing:border-box;
  white-space:normal;
  height:auto;
  line-height:1.3;
  text-align:center;
  border-radius:1.15rem;
}
.eyebrow .launch-dates,
.launch-card .kicker .launch-dates,
.notify-headline .launch-dates{
  display:inline-block;
  text-align:center;
}
html body .launch-card .kicker{
  line-height:1.35;
  max-width:100%;
  white-space:normal;
}
.notify.notify--space .notify-headline{
  max-width:100%;
  white-space:normal;
}
/* Long launch phrases must never nowrap as a pair */
.shop-nowrap.launch-dates,
.pdp-trust .launch-dates,
.pdp-soon,
.soon-tag{
  white-space:normal;
}
/* Tighten space above Shipping / Materials & Care accordion stack */
.pdp-accordions{
  margin-top:1.25rem;
}
@media (min-width:900px){
  .pdp-accordions{
    margin-top:1.75rem;
  }
}
/* Keep overflowing nowrap dates from stretching the PDP grid */
.pdp-grid,
.pdp-grid > *,
.pdp-info,
.hero-inner,
.launch-card,
.shop-lead,
.lead-sent{
  min-width:0;
  max-width:100%;
}


/* 2026-12-01 t571u: balanced gap above details.safety-care (shop, home, products).
   The shop grid has no padding-bottom; this gap is the accordion's margin-top.
   style.css set 1.75rem (28px); fixpass.css forced 1.25rem (20px) under 600px,
   below the 24–32px mobile / 32–40px desktop target. Override both. */
html body details.safety-care{
  margin-top:1.75rem !important; /* 28px mobile */
}
@media (min-width:601px){
  html body details.safety-care{
    margin-top:2.25rem !important; /* 36px desktop */
  }
}
