/* SwassX coming-soon page. Colors sampled from brand/swassx-logo-wordmark-face.jpg */
@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/rubik-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --coral: #FD6A63;   /* "SWASS" wordmark + sweat drops */
  --lime:  #B1DD3E;   /* the laughing "X" */
  --navy:  #091F44;   /* tagline + face */
  --cream: #FFF8F1;
  --white: #FFFFFF;
  --ink:   var(--navy);
  --radius: 22px;
  --border: 3px solid var(--navy);
  --shadow: 6px 6px 0 var(--navy);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 7vw, 3.25rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden {
  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 { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- shared bits ---------- */
.pill {
  display: inline-block; margin: 0 0 1.6rem; padding: .35rem .9rem;
  border: var(--border); border-radius: 999px; font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; background: var(--white);
}
.pill--lime { background: var(--lime); }
.eyebrow {
  display: inline-block; margin-bottom: .75rem; font-weight: 800; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  background: var(--coral); color: var(--navy); padding: .25rem .7rem; border-radius: 6px;
  transform: rotate(-2deg);
}
.eyebrow--lime { background: var(--lime); color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1;
  padding: 1rem 1.4rem; border: var(--border); border-radius: 14px;
  text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--navy);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn:focus-visible, .waitlist__input:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.products a:focus-visible, .footer a:focus-visible, .btn--navy:focus-visible { outline-color: var(--lime); }
.btn--coral { background: var(--coral); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 4px 4px 0 var(--coral); }
.btn--navy:hover { box-shadow: 6px 6px 0 var(--coral); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(circle at 0% 6%, rgba(177,221,62,.22) 0 70px, transparent 71px),
    radial-gradient(circle at 100% 92%, rgba(177,221,62,.30) 0 90px, transparent 91px),
    var(--white);
  border-bottom: var(--border);
  padding: 2.25rem 0 3rem;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: min(680px, 100%); margin: 0 auto 1.75rem; }
.hero__headline {
  font-weight: 900; font-size: clamp(2.1rem, 8.5vw, 4rem); line-height: 1.02;
  margin: 0 0 .9rem; max-width: 14ch; letter-spacing: -.02em;
}
.hero__sub { font-size: clamp(1.05rem, 3.6vw, 1.3rem); max-width: 34ch; margin: 0 auto 1.75rem; }

.waitlist {
  width: 100%; max-width: 560px; text-align: left;
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem;
}
.waitlist__label { display: block; font-weight: 900; font-size: 1.25rem; margin-bottom: .6rem; }
.waitlist__row { display: flex; flex-direction: column; gap: .7rem; }
.waitlist__input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--navy);
  padding: .95rem 1rem; border: var(--border); border-radius: 14px; background: var(--white);
}
.waitlist__input::placeholder { color: #6b7894; }
.waitlist__fine { font-size: .85rem; margin: .8rem 0 0; color: #33476e; }
.waitlist__status {
  margin: .9rem 0 0; padding: .75rem 1rem; border-radius: 12px; font-weight: 700;
  background: var(--lime); border: 2px solid var(--navy);
}
.waitlist__status.is-error { background: #ffe1d8; }
.waitlist.is-done .waitlist__row, .waitlist.is-done .waitlist__fine { display: none; }

/* ---------- problem ---------- */
.problem { padding: 4rem 0; }
.define {
  font-size: 1.15rem; background: var(--white); border-left: 8px solid var(--coral);
  padding: 1rem 1.2rem; border-radius: 0 14px 14px 0; max-width: 46rem;
}
.define em { color: #4b5d80; }
.lead { font-size: 1.2rem; font-weight: 600; max-width: 40rem; }
.cards { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.card {
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.card:nth-child(2) { box-shadow: 6px 6px 0 var(--coral); }
.card:nth-child(3) { box-shadow: 6px 6px 0 var(--lime); }
.card__emoji { font-size: 2rem; display: block; margin-bottom: .4rem; }
.card p { margin: 0; }
.punch { font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 900; margin: 2.5rem 0 0; }
.hl { background: linear-gradient(transparent 55%, var(--lime) 55%); padding: 0 .15em; }

/* ---------- products ---------- */
.products { background: var(--navy); color: var(--white); padding: 4rem 0; border-block: var(--border); }
.products h2 { color: var(--white); }
.product-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; max-width: 760px; }
.product {
  background: var(--white); color: var(--navy); border: var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 8px 8px 0 var(--lime);
}
.product__tag { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #4b5d80; margin-bottom: .3rem; }
.product h3 { font-size: 1.65rem; }
.product__for { font-weight: 700; font-size: 1.1rem; }
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  font-weight: 800; font-size: .9rem; padding: .4rem .8rem; border-radius: 999px;
  background: var(--lime); border: 2px solid var(--navy);
}
.products__note { margin: 2rem 0 0; font-size: .9rem; opacity: .85; }

/* ---------- social ---------- */
.social { padding: 4rem 0; background: var(--lime); border-bottom: var(--border); }
.social__inner { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.social p { font-size: 1.15rem; font-weight: 600; max-width: 34ch; margin-inline: auto; }
.social__links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.handle { font-weight: 600; opacity: .8; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #dfe6f3; padding: 3rem 0 1.5rem; font-size: .98rem; }
.footer a { color: var(--lime); }
.footer__inner { display: grid; gap: 2rem; }
.footer__tagline { font-weight: 900; font-size: 1.6rem; color: var(--white); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.footer__privacy h2 { font-size: 1.1rem; color: var(--white); margin-bottom: .4rem; }
.footer__privacy p { margin: 0; }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.18); margin-top: 2rem; padding-top: 1.25rem; font-size: .88rem;
}
.footer__legal p { margin: 0; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .waitlist { padding: 1.5rem; }
  .waitlist__row { flex-direction: row; }
  .waitlist__row .btn { flex: 0 0 auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .social__links { flex-direction: row; justify-content: center; }
}
@media (min-width: 900px) {
  .hero { padding: 3rem 0 4.5rem; }
  .hero {
    background:
      radial-gradient(circle at 10% 22%, rgba(177,221,62,.22) 0 90px, transparent 91px),
      radial-gradient(circle at 16% 78%, rgba(253,106,99,.14) 0 46px, transparent 47px),
      radial-gradient(circle at 88% 30%, rgba(253,106,99,.12) 0 60px, transparent 61px),
      radial-gradient(circle at 92% 80%, rgba(177,221,62,.30) 0 120px, transparent 121px),
      var(--white);
  }
  .footer__inner { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.social__links .btn { width: 320px; max-width: 100%; }

/* ---------- product price line ---------- */
.product__price { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 2px dashed rgba(9,31,68,.25); font-size: 1.05rem; }
.product__price strong { font-weight: 900; font-size: 1.2rem; }
.product__price a { font-weight: 800; color: var(--navy); text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.product__price-tag {
  display: inline-block; margin-right: .35rem; padding: .15rem .55rem; border-radius: 6px;
  background: var(--coral); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- shop / pre-launch pricing ---------- */
.shop { background: var(--cream); border-bottom: var(--border); }
.ship-banner { background: var(--coral); border-bottom: var(--border); padding: .8rem 0; text-align: center; }
.ship-banner__inner { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.ship-banner__main { margin: 0; font-weight: 900; font-size: clamp(1.05rem, 3.8vw, 1.3rem); text-transform: uppercase; letter-spacing: .03em; }
.ship-banner__small { margin: 0; font-size: .85rem; font-weight: 600; }
.shop__inner { padding: 3.5rem 0 4rem; }
.shop__badge {
  display: inline-block; margin: 0 0 2rem; padding: .45rem .9rem; border: 2px dashed var(--navy);
  border-radius: 999px; background: var(--white); font-size: .92rem;
}
.plans { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.6rem; max-width: 860px; }
.plan { display: block; cursor: pointer; position: relative; }
.plan__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan__box {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.plan:hover .plan__box { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--navy); }
.plan__radio:focus-visible + .plan__box { outline: 3px solid var(--coral); outline-offset: 4px; }
.plan__radio:checked + .plan__box { background: #f6fbe6; box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 3px var(--navy); }
.plan--best .plan__box { border-width: 4px; }
.plan__check {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 28px; height: 28px; border-radius: 50%;
  border: var(--border); background: var(--white);
}
.plan__radio:checked + .plan__box .plan__check { background: var(--lime); }
.plan__radio:checked + .plan__box .plan__check::after {
  content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px;
  border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.plan__ribbon {
  position: absolute; top: -1.05rem; left: 1.2rem; padding: .3rem .85rem; border: var(--border); border-radius: 999px;
  background: var(--coral); font-weight: 900; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-3deg);
}
.plan__tag { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #4b5d80; margin: .2rem 0 .25rem; padding-right: 2.5rem; }
.plan__name { font-weight: 900; font-size: 1.75rem; line-height: 1.05; margin-bottom: .5rem; }
.plan__what { margin-bottom: 1rem; }
.plan__price { margin-top: auto; font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.plan__soon {
  align-self: flex-start; margin-top: .6rem; padding: .2rem .6rem; border-radius: 6px;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.plan__sub {
  display: flex; flex-direction: column; margin-top: 1.1rem; padding: .8rem 1rem;
  border: 2px dashed var(--navy); border-radius: 14px; background: var(--white);
}
.plan__sub-title { font-weight: 800; }
.plan__sub-price { margin: .2rem 0 .1rem; }
.plan__sub-price strong { font-weight: 900; font-size: 1.2rem; }
.plan__sub-fine { font-size: .9rem; color: #33476e; }
.shop__cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.shop__cta .btn { white-space: nowrap; }
.shop__fine { margin: 0; font-size: .88rem; color: #33476e; max-width: 46rem; }
.shop__fine a { font-weight: 700; }

@media (min-width: 640px) {
  .ship-banner__inner { flex-direction: row; justify-content: center; gap: 1rem; }
  .plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .shop__cta { flex-direction: row; align-items: center; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .plan__box { transition: none; } }
/* mobile: show the best-deal pick first */
@media (max-width: 639px) { .plan--best { order: -1; } }
/* 6-pack card */
.plan__ribbon--value { background: var(--lime); transform: rotate(2deg); }
@media (min-width: 900px) {
  .plans:has(.plan--six) { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
