/* =========================================================
   $BLUEPILL — styles
   Palette and type taken from the campaign artwork:
   Archivo (condensed + regular widths) and IBM Plex Mono.
   ========================================================= */

:root {
  --blue: #2258ff;        /* poster background blue */
  --blue-ink: #1546e0;    /* blue type on cream */
  --blue-deep: #0d2aa8;
  --navy: #0c1531;        /* dark poster background */
  --navy-2: #16244e;
  --navy-3: #1c2c5e;
  --cream: #f5f3ee;
  --paper: #ffffff;
  --stone: #bab6ac;
  --sky: #8fa9ff;
  --ink: #0c1531;

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.display {
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-weight: 850;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(34, 88, 255, .8); }
.btn--blue:hover { background: #3a6bff; box-shadow: 0 16px 40px -10px rgba(34, 88, 255, .9); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 16px; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 999px; color: var(--navy);
}
.chip--white { background: #fff; }
.chip--sky { background: var(--sky); }

/* ---------- Pill component ---------- */
.pill {
  --w: 300px;
  position: relative; display: flex;
  width: var(--w); height: calc(var(--w) * .4);
  border-radius: 999px; overflow: hidden; flex: none;
  box-shadow:
    0 calc(var(--w) * .1) calc(var(--w) * .16) calc(var(--w) * -.06) rgba(3, 8, 30, .6),
    inset 0 calc(var(--w) * -.03) calc(var(--w) * .06) rgba(5, 15, 70, .35);
}
.pill__l, .pill__r { flex: 1; }
.pill__l { background: linear-gradient(165deg, #4f7bff 0%, #1f4ff0 48%, #0b28a3 100%); }
.pill__r {
  background: linear-gradient(165deg, #86a3ff 0%, #2c64ff 46%, #1437c2 100%);
  box-shadow: inset calc(var(--w) * .008) 0 0 rgba(8, 28, 110, .55);
}
.pill__shine {
  position: absolute; left: 13%; right: 13%; top: 17%; height: 12%;
  border-radius: 999px; background: rgba(255, 255, 255, .34);
}
.pill--flat { box-shadow: none; }
.pill--red .pill__l { background: #e2c7c3; }
.pill--red .pill__r { background: #efd1cc; box-shadow: none; }
.pill--green .pill__l { background: #c2d9c9; }
.pill--green .pill__r { background: #c7e7d2; box-shadow: none; }

.mini-pill {
  display: inline-block; width: 30px; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #1f4ff0 50%, #6f90ff 50%);
  transform: rotate(-28deg); flex: none;
}
.mini-pill--lg { width: 64px; height: 26px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad) 0;
  color: #fff;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 21, 49, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(143, 169, 255, .15);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 850; font-stretch: 62%; font-size: 26px; letter-spacing: .01em;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-family: "IBM Plex Mono", monospace; font-size: 14px; text-decoration: none;
  color: rgba(255,255,255,.72); position: relative; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: #fff; }
.nav > .btn { margin-left: 8px; }
.nav__social { display: flex; gap: 8px; margin-left: 12px; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3); color: #fff;
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.icon-btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) var(--pad) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 50% at 75% 35%, rgba(34, 88, 255, .28), transparent 70%),
    var(--navy);
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero::before { /* faint grain grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image: radial-gradient(rgba(143,169,255,.25) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%);
}
.hero__meta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  font-size: 15px; letter-spacing: .22em; color: var(--sky);
  max-width: var(--maxw); width: 100%; margin: 0 auto;
}
.hero__stage { pointer-events: none; }
.hero__pill {
  position: absolute; right: -4vw; top: clamp(150px, 30vh, 300px);
  transform: translate3d(0, -50%, 0);
  will-change: transform; z-index: 0;
}
.hero__pill .pill { --w: min(52vw, 760px); }
.hero__pill .pill--hero {
  transform: rotate(-28deg);
  animation: pillIn 1.5s var(--ease) both .15s, float 7s ease-in-out infinite 1.7s;
}
@keyframes pillIn {
  from { opacity: 0; transform: translate3d(18%, -30%, 0) rotate(-70deg) scale(.7); filter: blur(10px); }
  to   { opacity: 1; transform: rotate(-28deg); filter: blur(0); }
}
@keyframes float {
  0%, 100% { transform: rotate(-28deg) translateY(0); }
  50%      { transform: rotate(-25deg) translateY(-18px); }
}

.hero__copy { max-width: var(--maxw); width: 100%; margin: 0 auto; position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(4.4rem, 16.5vw, 15.5rem);
  color: #fff; margin-bottom: 28px;
}
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.mask__in { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes rise { to { transform: translateY(0); } }

.intro { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__lede { max-width: 46ch; color: rgba(255,255,255,.8); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Contract box ---------- */
.ca {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 6px 0 18px; max-width: 100%;
  border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(143,169,255,.3);
  color: #fff;
}
.ca__label { font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: .14em; }
.ca__value {
  font-family: "IBM Plex Mono", monospace; font-size: 14px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 34ch;
}
.ca__copy {
  height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: #fff; color: var(--navy);
  font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 13px;
  transition: transform .25s var(--ease), background .2s;
}
.ca__copy:hover { transform: scale(1.04); }
.ca__copy:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.ca--dark { background: var(--navy); border-color: var(--navy); }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--blue); color: #fff; overflow: hidden;
  border-block: 2px solid var(--navy);
  padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marquee 38s linear infinite;
  font-family: "Archivo", sans-serif; font-weight: 850; font-stretch: 62%;
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .01em;
}
.marquee__track i {
  width: 38px; height: 15px; border-radius: 999px; flex: none;
  background: linear-gradient(90deg, #fff 50%, var(--sky) 50%);
  transform: rotate(-25deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s),
    filter 1s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- CHOICE ---------- */
.choice { background: var(--cream); padding: clamp(90px, 13vw, 170px) 0 48px; overflow: hidden; }
.choice__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.choice__title { font-size: clamp(3.6rem, 10vw, 9.6rem); display: flex; flex-direction: column; }
.strike { color: var(--stone); position: relative; width: fit-content; white-space: nowrap; }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -4%; top: 46%; height: .085em;
  background: var(--stone);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) calc(var(--d, 0s) + .45s);
}
.strike.is-in::after { transform: scaleX(1); }
.choice__blue { color: var(--blue-ink); white-space: nowrap; }
.choice__text { margin-top: 36px; max-width: 44ch; font-size: 20px; color: #2a3354; }
.choice__pills { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 40px); }
.choice__pills .pill--flat { --w: min(36vw, 420px); }
.pill--choice { --w: min(46vw, 560px); }
.choice__pills .reveal { transform: translate3d(80px, 0, 0); }
.choice__pills .reveal.is-in { transform: none; }
.choice__foot {
  display: flex; justify-content: space-between; margin-top: 72px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
}

/* ---------- RX ---------- */
.rx { background: var(--blue); padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.rx__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rx__title { color: #fff; font-size: clamp(3.2rem, 6.4vw, 6rem); margin-bottom: 24px; }
.rx__intro p { color: rgba(255,255,255,.88); font-size: 20px; max-width: 30ch; }

.label {
  background: var(--cream); color: var(--navy);
  border: 2px solid var(--navy);
  padding: clamp(24px, 4.4vw, 56px);
  box-shadow: 0 50px 80px -30px rgba(5, 15, 70, .6);
  transform: rotate(-12deg) translate3d(0, 140px, 0) scale(.92);
  opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1s var(--ease);
}
.label.is-in { transform: rotate(-2.5deg); opacity: 1; }
.label__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.label__rx { font-weight: 900; font-stretch: 100%; font-size: clamp(4rem, 9vw, 7rem); line-height: .8; letter-spacing: -.04em; }
.label__pharm { text-align: right; font-size: clamp(12px, 1.4vw, 17px); line-height: 1.6; letter-spacing: .03em; }
.label__rule { height: 2px; background: var(--navy); margin: 22px 0 28px; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .6s; }
.label.is-in .label__rule { transform: scaleX(1); }
.label__k, .label__grid dt { display: block; font-size: 13px; letter-spacing: .2em; color: #3a4466; margin-bottom: 4px; }
.label__med { display: block; color: var(--blue-ink); font-size: clamp(3.2rem, 8.4vw, 6.6rem); margin-bottom: 30px; }
.label__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin: 0 0 30px; }
.label__grid dd { margin: 0; font-weight: 700; font-size: clamp(14px, 1.6vw, 19px); }
.label__wide { grid-column: 1 / -1; }
.label__warn {
  background: var(--navy); color: #fff; font-weight: 600;
  padding: 18px 22px; font-size: clamp(13px, 1.5vw, 17px); line-height: 1.6; letter-spacing: .02em;
}
.label__barcode { display: flex; align-items: flex-end; gap: 2px; height: 64px; margin-top: 26px; overflow: hidden; }
.label__barcode span { background: var(--navy); flex: none; height: 100%; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.label.is-in .label__barcode span { transform: scaleY(1); }

/* ---------- FEES ---------- */
.fees { background: var(--cream); padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.fees__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.fees__title { font-size: clamp(3.2rem, 7.6vw, 7rem); color: var(--navy); }
.fees__lede { font-size: 20px; color: #2a3354; max-width: 44ch; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 1; }
.flow__step {
  background: var(--paper); border: 2px solid var(--navy);
  padding: 28px 24px 30px; position: relative;
}
.flow__step:nth-child(3) { background: var(--blue); color: #fff; }
.flow__step:nth-child(4) { background: var(--navy); color: #fff; }
.flow__n {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid currentColor; font-weight: 700; font-size: 15px; margin-bottom: 40px;
}
.flow__step h3 { font-weight: 800; font-stretch: 80%; font-size: 28px; line-height: 1; text-transform: uppercase; margin-bottom: 12px; }
.flow__step p { font-size: 16px; line-height: 1.5; opacity: .85; }
.flow__line { height: 4px; margin-top: 28px; background: rgba(12,21,49,.12); border-radius: 4px; overflow: hidden; position: relative; }
.flow__line span {
  position: absolute; top: 0; bottom: 0; width: 22%; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: travel 3.2s ease-in-out infinite;
}
@keyframes travel { from { left: -22%; } to { left: 100%; } }

.official {
  margin-top: clamp(64px, 9vw, 110px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper); border: 2px solid var(--navy);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 14px 14px 0 var(--blue);
}
.official__seal { position: relative; width: clamp(150px, 18vw, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.official__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.official__seal text { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; fill: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.official__body h3 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--blue-ink); margin-bottom: 18px; }
.official__body p { max-width: 54ch; color: #2a3354; margin-bottom: 26px; }

/* ---------- PAIR ---------- */
.pair { background: var(--navy); color: #fff; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.pair__title { font-size: clamp(3.6rem, 10vw, 9rem); margin-bottom: 24px; }
.pair__lede { max-width: 50ch; color: rgba(255,255,255,.78); font-size: 20px; margin-bottom: 64px; }

.tiers { display: grid; border-top: 2px solid #060b1d; }
.tier {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px);
  border-bottom: 2px solid #060b1d;
  font-weight: 700; font-stretch: 100%; font-size: clamp(22px, 3.6vw, 44px); line-height: 1.1;
  background: #121b3a; color: rgba(143,169,255,.35);
  transition: background .8s var(--ease), color .8s var(--ease), box-shadow .8s var(--ease);
}
.tier .pill--tier { --w: clamp(110px, 18vw, 230px); box-shadow: none; }
.pill--dim .pill__l { background: #262f4c; } .pill--dim .pill__r { background: #2f3858; box-shadow: none; }
.pill--mid .pill__l { background: #1a3bbf; } .pill--mid .pill__r { background: #3360d8; box-shadow: none; }
.pill--glow .pill__l { background: #0d2c9e; } .pill--glow .pill__r { background: #8aa6ff; box-shadow: none; }
.tier .pill { opacity: .35; transition: opacity .8s var(--ease), transform .8s var(--ease); }

.tier.is-on:nth-child(1) { color: #6f7ba0; }
.tier.is-on:nth-child(2) { background: var(--navy-2); color: #d8e1ff; }
.tier.is-on .pill { opacity: 1; }
.tier--top span.display { font-stretch: 78%; font-size: 1.15em; text-transform: none; }
.tier--top.is-on {
  background: radial-gradient(70% 140% at 20% 50%, #4d7bff, var(--blue) 60%);
  color: #fff;
  box-shadow: 0 0 80px rgba(34, 88, 255, .45);
}
.tier--top.is-on .pill { transform: scale(1.06); filter: drop-shadow(0 0 22px rgba(255,255,255,.55)); }

.volume { margin-top: clamp(80px, 10vw, 130px); display: grid; }
.volume__row { position: relative; padding: 48px 0; display: grid; gap: 10px; }
.volume__row + .volume__row { border-top: 1px solid var(--navy-3); }
.volume__chain { font-size: 15px; letter-spacing: .22em; color: var(--sky); }
.volume__name { font-size: clamp(4rem, 13vw, 11rem); }
.volume__tag { font-weight: 700; font-size: 18px; }
.volume__row--muted .volume__name, .volume__row--muted .volume__tag, .volume__row--muted .volume__chain { color: #6577ad; }
.pill--float { --w: clamp(160px, 26vw, 360px); position: absolute; right: 0; bottom: 20px; rotate: -32deg; }

/* ---------- ASK ---------- */
.ask { background: var(--blue); color: #fff; overflow: hidden; position: relative; }
.ask__wrap { position: relative; padding-top: clamp(90px, 12vw, 160px); padding-bottom: clamp(90px, 12vw, 160px); min-height: 860px; }
.ask__title {
  font-weight: 800; font-stretch: 82%;
  font-size: clamp(3.2rem, 8.4vw, 7.8rem); line-height: .95; letter-spacing: -.02em;
  max-width: 11ch; position: relative; z-index: 2;
}
.ask__pill { position: absolute; right: calc(var(--pad) * -1 - 6vw); top: 46%; z-index: 1; }
.pill--ask { --w: min(80vw, 980px); rotate: -18deg; opacity: .95; }
.safety {
  position: relative; z-index: 2; margin-top: clamp(180px, 22vw, 300px);
  background: var(--navy); padding: 30px 30px 32px; max-width: 640px;
}
.safety h3 { font-size: 16px; font-weight: 700; letter-spacing: .14em; margin-bottom: 14px; }
.safety p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.88); }

/* ---------- BUY ---------- */
.buy { background: var(--navy); color: #fff; padding: clamp(90px, 12vw, 160px) 0; }
.buy__title { font-size: clamp(3.6rem, 10vw, 9rem); margin-bottom: 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--navy-3); }
.step { display: flex; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--navy-3); }
.step:nth-child(odd) { padding-right: 40px; }
.step:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--navy-3); }
.step__n { font-size: 84px; color: var(--blue); line-height: .8; min-width: 48px; }
.step h3 { font-weight: 800; font-stretch: 80%; font-size: 32px; line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 40ch; }
.buy__actions { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.buy__actions .ca { height: 60px; }

.community {
  margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--navy-3);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.community[hidden] { display: none; }
.community__k { font-size: 14px; letter-spacing: .22em; color: var(--sky); margin-bottom: 10px; }
.community__title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.community__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px;
  border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none;
  font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease);
}
.social-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social-btn:hover { background: var(--sky); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(143,169,255,.7); }

/* ---------- FOOTER ---------- */
.footer { background: #070d22; color: #fff; padding: 72px 0 calc(40px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__big {
  font-size: clamp(5rem, 21vw, 20rem); color: var(--blue); line-height: .8;
  white-space: nowrap; margin-bottom: 48px;
}
.footer__row { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; }
.footer__links a { text-decoration: none; color: var(--sky); }
.footer__links a:hover { color: #fff; }
.footer__legal { font-size: 14px; color: rgba(255,255,255,.55); max-width: 66ch; justify-self: end; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transform: translate(-50%, calc(100% + 80px)); transition: transform .5s var(--ease);
  pointer-events: none; visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__social { margin-left: auto; }
  .choice__grid, .rx__grid, .fees__head { grid-template-columns: minmax(0, 1fr); }
  .choice__pills { margin-top: 24px; }
  .choice__pills .pill--flat { --w: min(66vw, 420px); }
  .pill--choice { --w: min(82vw, 560px); }
  .flow { grid-template-columns: 1fr 1fr; }
  .rx__intro p { max-width: none; }
}
@media (max-width: 480px) {
  .nav__social { display: none; }
  .nav > .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { grid-template-rows: auto minmax(220px, 1fr) auto; }
  .hero__pill { right: -22vw; top: 30%; }
  .hero__pill .pill { --w: 100vw; }
  .hero__lede { font-size: 17px; }
  .hero__actions .btn, .buy__actions .btn { flex: 1 1 auto; }
  .ca { width: 100%; }
  .ca__value { flex: 1; }
  .flow { grid-template-columns: 1fr; }
  .flow__n { margin-bottom: 20px; }
  .official { grid-template-columns: minmax(0, 1fr); box-shadow: 8px 8px 0 var(--blue); }
  .official__seal { width: 130px; }
  .label__grid { grid-template-columns: 1fr; gap: 16px; }
  .label.is-in { transform: rotate(-1.5deg); }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd), .step:nth-child(even) { padding: 30px 0; border-left: 0; }
  .step__n { font-size: 64px; }
  .ask__wrap { min-height: 760px; }
  .pill--ask { --w: 120vw; }
  .ask__pill { right: -50vw; top: 48%; }
  .footer__row { grid-template-columns: 1fr; }
  .community__btns { width: 100%; }
  .social-btn { flex: 1 1 100%; justify-content: center; }
  .footer__legal { justify-self: start; }
  .choice__foot { flex-direction: column; gap: 6px; }
  .pill--float { position: relative; right: auto; bottom: auto; margin: 20px 0 0 auto; }
  .tier { gap: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .intro, .label { opacity: 1; transform: none; filter: none; }
  .mask__in { transform: none; }
  .marquee__track { animation: none; }
}
