/* Join pages: membership, invite, the registration flow, and the account
   screens (login, email states, passwords). Built on the shared system;
   only what the system doesn't have lives here (listed in NOTES.md).

   The one idea that runs through every join screen is the member card: it
   builds as the person fills page 1 (name, sponsor, placement), takes the
   package and the PV fill line on page 2, and turns from "not saved" to
   "verify your email" to "active" across the last screens. Burgundy leads,
   because burgundy means Member. */

/* ================================================================ page frame */
.jx { padding-top: var(--inset); }
.jx .sheets { padding-top: 0; }
.jx-top { padding-top: calc(var(--nav-h) + 40px); }   /* content that sits under the floating nav */
.jx .wrap--narrow { max-width: 760px; }
.jx .eyebrow { color: var(--fg-muted); }

/* a giant that fits a phone: the system giant is 64px minimum */
.jx-giant { font-size: min(var(--fs-giant), 15.6vw); }
.jx-display { font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 104px); line-height: 0.88; letter-spacing: -0.062em; font-weight: var(--w-bold); font-variation-settings: "wdth" var(--wdth-tight); margin: 0; text-wrap: balance; }

/* ================================================================ membership hero
   Giant word locked to the two registration bottles on a burgundy sheet. */
.mhero { min-height: min(100svh, 980px); display: grid; }
.mhero > .wrap { display: grid; grid-template-rows: 1fr auto; padding-block: calc(var(--nav-h) + 56px) 22px; }
.mhero__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr); align-items: end; gap: var(--s-8); }
.mhero__word { position: relative; z-index: 2; align-self: end; }
.mhero__word .giant { color: var(--fg); margin-left: -0.04em; }
.mhero__copy { display: grid; gap: var(--s-6); max-width: 560px; margin-top: var(--s-8); }
.mhero__copy .lead { color: var(--fg-muted); max-width: 44ch; }
.mhero__act { display: grid; gap: var(--s-4); justify-items: start; }
.mhero__act .row { gap: var(--s-5); }
.mhero__act .disclaimer { max-width: 52ch; }
.mhero__shelf { position: relative; align-self: stretch; min-height: 420px; }
.mhero__shelf::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 3%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.42), transparent); }
.mhero__shelf img { position: absolute; bottom: 0; height: min(78vh, 680px); width: auto; max-width: none; z-index: 1; filter: drop-shadow(0 30px 40px rgba(20, 0, 6, 0.28)); }
.mhero__shelf .b1 { right: 30%; transform: rotate(-4deg); transform-origin: bottom center; }
.mhero__shelf .b2 { right: -6%; height: min(70vh, 610px); z-index: 0; transform: rotate(5deg); transform-origin: bottom center; }
.mhero__shelf .tag { position: absolute; z-index: 2; }
.mhero__shelf .t1 { left: 2%; top: 64%; }
.mhero__shelf .t2 { right: 2%; top: 22%; }
.mhero .rule-labels { margin-top: var(--s-8); }
.mhero .honest { border-left-color: var(--yellow); color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  .mhero__shelf img { animation: stand 1200ms var(--ease-out) both; }
  .mhero__shelf .b2 { animation-delay: 140ms; }
}
@keyframes stand { from { opacity: 0; translate: 0 40px; } }
@media (max-width: 960px) {
  .mhero > .wrap { padding-top: calc(var(--nav-h) + 40px); }
  .mhero__stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mhero__shelf { order: -1; min-height: 0; height: 300px; margin-bottom: -12px; }
  .mhero__shelf img { height: 300px; }
  .mhero__shelf .b1 { right: auto; left: 18%; }
  .mhero__shelf .b2 { right: 14%; height: 262px; }
  .mhero__shelf .t1 { left: 0; top: 18%; }
  .mhero__shelf .t2 { right: 0; top: 8%; }
  .mhero__copy { margin-top: var(--s-6); }
}
@media (max-width: 420px) {
  .mhero__shelf { height: 250px; }
  .mhero__shelf img { height: 250px; }
  .mhero__shelf .b1 { left: 10%; }
  .mhero__shelf .b2 { right: 8%; height: 220px; }
  .mhero__act .row { width: 100%; }
  .mhero__act .btn--lg { width: 100%; }
}

/* ================================================================ packages compared */
.pkgs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; margin-top: var(--s-9); }
.pkg-detail { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: var(--s-6); padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-card); background: var(--burgundy-tint); color: var(--ink); }
.pkg-detail .mono { color: var(--member-ink); }
.pkg-detail__name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg-detail__price { font-family: var(--font-display); font-size: clamp(54px, 6vw, 92px); font-weight: var(--w-bold); letter-spacing: -0.06em; line-height: 0.9; font-variation-settings: "wdth" var(--wdth-tight); font-variant-numeric: tabular-nums; }
.pkg-detail__split { color: var(--member-ink); font-size: 15px; }
.pkg-detail__split b { color: var(--ink); font-weight: var(--w-semi); }
.pkg-detail .facts { --rule: color-mix(in srgb, var(--burgundy) 20%, transparent); --cols: 3; }
.pkg-detail .facts b { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.045em; line-height: 1; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.pkg-detail .facts .mono { color: var(--member-ink); }
.pkg-detail__act { display: grid; gap: var(--s-3); justify-items: start; }
.pkg-detail .rail { display: none; }

/* the shelf: one small bottle per bottle in the package */
.shelf { display: flex; flex-wrap: wrap; gap: 4px; min-height: 44px; align-content: end; }
.shelf i { width: 10px; height: 20px; border-radius: 3px 3px 2px 2px; background: linear-gradient(var(--yellow-tint) 0 26%, var(--green) 26% 100%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); animation: shelf-in var(--t-slow) var(--ease-out) both; animation-delay: calc(var(--n, 0) * 12ms); }
.shelf i:nth-child(2n) { background: linear-gradient(var(--yellow-tint) 0 26%, var(--green-deep) 26% 100%); }
.shelf--lg i { width: 14px; height: 30px; border-radius: 4px 4px 3px 3px; }
@keyframes shelf-in { from { opacity: 0; transform: translateY(8px); } }

.pkg-list { border-top: 1px solid var(--rule); }
.pkg-list__head, .pkg-row { display: grid; grid-template-columns: 64px minmax(0, 1.3fr) 80px minmax(0, 1fr) 72px 28px; align-items: center; gap: 12px; }
.pkg-list__head { padding: 12px 14px; color: var(--fg-muted); border-bottom: 1px solid var(--rule); }
.pkg-list__head .num, .pkg-row .num { text-align: right; }
.pkg-row { position: relative; width: 100%; min-height: 76px; padding: 14px; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--fg); text-align: left; cursor: pointer; transition: background var(--t-base); border-radius: 0; }
.pkg-row:hover { background: var(--surface); }
.pkg-row[aria-pressed="true"] { background: var(--burgundy-tint); }
.pkg-row[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--burgundy); }
.pkg-row__lvl { font-family: var(--font-display); font-size: 30px; font-weight: var(--w-bold); letter-spacing: -0.05em; line-height: 1; }
.pkg-row__lvl small { font-size: 0.5em; letter-spacing: -0.02em; color: var(--fg-muted); margin-right: 1px; }
.pkg-row .price { font-size: 19px; letter-spacing: -0.03em; }
.pkg-row__bottles { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pkg-row__bottles .bar { flex: 1; height: 14px; border-radius: 4px; max-width: calc(var(--b) / var(--bmax) * 100%); min-width: 6px; background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 6px); opacity: 0.85; }
.pkg-row[aria-pressed="true"] .pkg-row__bottles .bar { background: repeating-linear-gradient(90deg, var(--burgundy) 0 4px, transparent 4px 6px); }
.pkg-row__bottles span { flex: none; font-variant-numeric: tabular-nums; color: var(--fg-muted); font-size: 14px; }
.pkg-row__rate { font-weight: var(--w-semi); font-variant-numeric: tabular-nums; }
.pkg-row .chev { width: 18px; height: 18px; color: var(--fg-muted); transition: transform var(--t-base) var(--ease-out); }
.pkg-row:hover .chev { transform: translateX(3px); }
.pkg-list__foot { padding-top: var(--s-4); color: var(--fg-muted); font-size: 13.5px; display: grid; gap: 6px; }
@media (max-width: 960px) {
  .pkgs { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); margin-top: var(--s-7); }
  .pkg-detail { position: relative; top: 0; }
  .pkg-detail .rail { display: flex; }
}
@media (max-width: 640px) {
  .pkg-list__head { display: none; }
  .pkg-row { grid-template-columns: 50px minmax(0, 1fr) auto; grid-template-areas: "lvl price rate" "lvl bottles pv"; row-gap: 4px; min-height: 72px; padding: 12px 10px; }
  .pkg-row__lvl { grid-area: lvl; font-size: 26px; }
  .pkg-row .price { grid-area: price; font-size: 17px; }
  .pkg-row__bottles { grid-area: bottles; }
  .pkg-row .pv { grid-area: pv; justify-self: end; }
  .pkg-row__rate { grid-area: rate; text-align: right; }
  .pkg-row .chev { display: none; }
  .pkg-detail .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pkg-detail .facts > * { padding: var(--s-3) var(--s-2) var(--s-2) 0; border-top: 0; }
  .pkg-detail .facts > * + * { border-left: 1px solid var(--rule); padding-left: var(--s-3); }
  .pkg-detail .facts b { font-size: 22px; }
}

/* the level rail: numbered circles, The Bloom's membership picker */
.rail { display: flex; flex-wrap: wrap; gap: 8px; }
.rail button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--burgundy) 12%, transparent); color: var(--ink); font-weight: var(--w-semi); font-size: 16px; font-variant-numeric: tabular-nums; transition: background var(--t-base), color var(--t-base), transform var(--t-fast); }
.rail button:hover { background: color-mix(in srgb, var(--burgundy) 22%, transparent); }
.rail button:active { transform: scale(0.94); }
.rail button[aria-pressed="true"] { background: var(--yellow); color: var(--on-spark); }
.sheet--burgundy .rail button, .jaside .rail button { background: rgba(255, 255, 255, 0.12); color: var(--fg); }
.sheet--burgundy .rail button:hover, .jaside .rail button:hover { background: rgba(255, 255, 255, 0.2); }
.sheet--burgundy .rail button[aria-pressed="true"], .jaside .rail button[aria-pressed="true"] { background: var(--yellow); color: var(--on-spark); }

/* ================================================================ what members get (deep sheet) */
.gets { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-9); align-items: start; }
.gets__intro { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: var(--s-6); }
.gets__intro .copy-field { max-width: 440px; background: rgba(255, 255, 255, 0.06); border-color: var(--rule); }
.gets__intro .copy-field__value { color: var(--fg); }
.gets__intro .copy-field__value b { color: var(--lime); }
.gets__intro .copy-field .tag { flex: none; background: var(--lime); color: var(--on-spark); }
@media (max-width: 480px) { .gets__intro .copy-field { flex-wrap: nowrap; border-radius: var(--r-pill); padding: 6px 6px 6px 16px; } .gets__intro .copy-field__value { flex-basis: auto; white-space: nowrap; word-break: normal; font-size: 13px; } }
.gets-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: g; }
.gets-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); counter-increment: g; }
.gets-list li::before { content: counter(g, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--tracking-mono); color: var(--fg-muted); padding-top: 9px; }
.gets-list b { font-size: clamp(21px, 2vw, 28px); font-weight: var(--w-bold); letter-spacing: -0.04em; line-height: 1.1; }
.gets-list p { color: var(--fg-muted); max-width: 52ch; }
.gets-list .spark { display: inline-block; width: 8px; height: 8px; margin: 0 0 0.18em 10px; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
@media (max-width: 960px) {
  .gets { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .gets__intro { position: relative; top: 0; }
  .gets-list li { grid-template-columns: 40px minmax(0, 1fr); }
}

/* ================================================================ how joining works (lime) */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: var(--s-9); }
.how > li { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-3); padding: var(--s-6) var(--s-6) var(--s-2) 0; }
.how > li + li { border-left: 1px solid var(--rule); padding-left: var(--s-6); }
.how__n { font-family: var(--font-display); font-size: clamp(56px, 6vw, 96px); font-weight: var(--w-bold); line-height: 0.85; letter-spacing: -0.07em; font-variation-settings: "wdth" var(--wdth-tight); }
.how b { font-size: 20px; font-weight: var(--w-bold); letter-spacing: -0.035em; line-height: 1.15; }
.how p { color: var(--fg-muted); font-size: 15px; }
.how__bit { margin-top: var(--s-4); }
/* tiny real pieces of each step, drawn with the real components */
.bit { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.72); color: var(--on-spark); font-size: 13.5px; font-weight: var(--w-semi); box-shadow: 0 10px 24px -18px rgba(17, 20, 17, 0.6); }
.bit .avatar { width: 32px; height: 32px; font-size: 11px; }
.bit .ok { width: 18px; height: 18px; color: var(--green-deep); }
.bit--fill { padding: 10px 14px; display: grid; gap: 6px; border-radius: 16px; min-width: 170px; }
.bit--fill .bar { position: relative; height: 8px; border-radius: 4px; background: rgba(17, 20, 17, 0.12); overflow: hidden; }
.bit--fill .bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--green-deep); border-radius: inherit; transform-origin: left; animation: fill-x 2.8s var(--ease-out) infinite; }
@keyframes fill-x { 0% { transform: scaleX(0.1); } 60%, 100% { transform: scaleX(1); } }
.bit--fill .mono { color: #2c3a1c; display: flex; justify-content: space-between; }
.bit--pay { background: var(--yellow); padding: 6px 18px; font-size: 18px; font-weight: var(--w-bold); letter-spacing: -0.03em; }
.bit--mail { padding-left: 14px; }
.bit--mail .i { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .bit--fill .bar::before { animation: none; } }
@media (max-width: 960px) {
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how > li:nth-child(3) { border-left: 0; padding-left: 0; }
  .how > li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .how { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-7); }
  .how > li { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: none; padding: var(--s-5) 0; column-gap: var(--s-3); }
  .how > li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .how__n { grid-row: span 3; font-size: 52px; }
  .how__bit { margin-top: var(--s-2); }
}
.how-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.how-note p { font-weight: var(--w-semi); letter-spacing: -0.02em; }

/* ================================================================ closing band (cream) */
.close-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-8); align-items: end; }
.close-band__act { display: grid; gap: var(--s-4); justify-items: start; max-width: 420px; }
@media (max-width: 860px) { .close-band { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }

/* ================================================================ the member card */
.mcard {
  --tilt-x: 0deg; --tilt-y: 0deg;
  --card-muted: #d5ddd0; /* solid, 5:1 on the card's lightest corner (lime glow + leaf), both themes */
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-4);
  width: 100%; max-width: 440px; aspect-ratio: 1.586; padding: clamp(18px, 2vw, 24px);
  border-radius: 22px; color: var(--white);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--lime) 16%, transparent), transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--green-deep) 34%, var(--deep)) 0%, var(--deep) 48%, color-mix(in srgb, var(--deep) 78%, var(--black)) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 40px 70px -36px rgba(10, 0, 4, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 600ms var(--ease-out);
}
.mcard::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: url("../assets/light/moringa.webp") center / cover; mix-blend-mode: screen; opacity: 0.16; transform: rotate(-12deg); }
.mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 46%, transparent 60%); background-size: 260% 100%; background-position: var(--shine, 100%) 0; transition: background-position 900ms var(--ease-out); }
.mcard__top { display: flex; align-items: center; gap: 10px; }
.mcard__top .brand__dots i:first-child { background: var(--lime); }
.mcard__top .mono { color: var(--card-muted); }
.mcard__status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); color: var(--white); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.mcard__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(238, 242, 234, 0.5); }
.mcard[data-status="pending"] .mcard__status::before, .mcard[data-status="verify"] .mcard__status::before { background: var(--yellow); animation: pulse 1.8s var(--ease-out) infinite; }
.mcard[data-status="verify"] .mcard__status { background: var(--yellow); color: var(--on-spark); }
.mcard[data-status="verify"] .mcard__status::before { background: var(--on-spark); animation: none; }
.mcard[data-status="active"] .mcard__status { background: var(--lime); color: var(--on-spark); }
.mcard[data-status="active"] .mcard__status::before { background: var(--on-spark); }
.mcard__name { align-self: end; font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 36px); font-weight: var(--w-bold); letter-spacing: -0.05em; line-height: 0.98; overflow-wrap: anywhere; }
.mcard__name.is-empty { color: var(--card-muted); font-weight: var(--w-regular); }
.mcard__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(238, 242, 234, 0.16); }
.mcard__grid dt { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--card-muted); }
.mcard__grid dd { margin: 3px 0 0; font-size: 14px; font-weight: var(--w-semi); letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard__grid dd.is-empty { color: var(--card-muted); font-weight: var(--w-regular); font-style: italic; }
.mcard__grid dd.is-found { color: var(--lime); }
.mcard__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.08); }
.mcard__fill::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--fill, 0) * 100%); background: var(--lime); transition: width var(--t-slow) var(--ease-out); }
.mcard.is-flash { animation: card-flash 700ms var(--ease-out); }
@keyframes card-flash { 40% { box-shadow: 0 0 0 3px var(--yellow), 0 40px 70px -36px rgba(10, 0, 4, 0.7); } }
@media (max-width: 380px) { .mcard__grid dd { font-size: 13px; } .mcard { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .mcard { transform: none !important; } }

/* ================================================================ flow layout: aside + main
   Desktop: a sticky coloured aside on the left (the step, the card, the
   honest line), the form on the right. Phone: the aside becomes a short
   coloured head, the card tucks under it, and the main action docks at the
   bottom of the screen where the thumb is. */
.jflow { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr); gap: var(--inset); padding: 0 var(--inset) var(--inset); align-items: start; }
.jaside {
  --sheet-bg: var(--paint-burgundy); --fg: var(--white); --fg-muted: #f3dfe2; --fg-faint: #f3dfe2; --rule: rgba(255, 255, 255, 0.18); --chip-bg: rgba(255, 255, 255, 0.12); --field-bg: rgba(255, 255, 255, 0.1); --accent: var(--yellow); --on-fg: var(--on-spark);
  position: sticky; top: var(--inset);
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-7);
  min-height: calc(100svh - 2 * var(--inset)); padding: calc(var(--nav-h) + 44px) clamp(24px, 3.6vw, 56px) clamp(24px, 3vw, 40px);
  border-radius: var(--r-sheet); background: var(--sheet-bg); color: var(--fg); overflow: hidden auto; scrollbar-width: none; max-height: calc(100svh - 2 * var(--inset)); isolation: isolate; color-scheme: dark;
}
.jaside::-webkit-scrollbar { display: none; }
.jaside :focus-visible { outline-color: var(--yellow); }
.jaside--deep { --sheet-bg: var(--paint-deep); --fg: var(--white); --fg-muted: #c3ccbe; --fg-faint: #b9c4b4; --rule: rgba(238, 242, 234, 0.14); --accent: var(--lime); }
.jaside--green { --sheet-bg: var(--paint-green); --fg-muted: #f4faf1; --fg-faint: #f4faf1; --rule: rgba(255, 255, 255, 0.2); --accent: var(--white); }
.jaside--lime { --sheet-bg: var(--lime); --fg: var(--on-spark); --fg-muted: #2c3a1c; --fg-faint: #2c3a1c; --rule: rgba(17, 20, 17, 0.16); --chip-bg: rgba(255, 255, 255, 0.6); --on-fg: var(--white); color-scheme: light; }
.jaside--lime :focus-visible { outline-color: var(--on-spark); }
.jaside--cream { --sheet-bg: var(--yellow-tint); --fg: var(--ink); --fg-muted: color-mix(in srgb, var(--warning-ink) 60%, var(--ink) 40%); --fg-faint: var(--fg-muted); --rule: color-mix(in srgb, var(--warning-ink) 18%, transparent); --chip-bg: var(--bg); --on-fg: var(--bg); color-scheme: normal; }
.jaside--blush { --sheet-bg: var(--burgundy-tint); --fg: var(--ink); --fg-muted: var(--member-ink); --fg-faint: var(--member-ink); --rule: color-mix(in srgb, var(--burgundy) 18%, transparent); --chip-bg: var(--bg); --on-fg: var(--bg); color-scheme: normal; }
.jaside--cream :focus-visible, .jaside--blush :focus-visible { outline-color: var(--accent); }
.jaside--leaf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--leaf, url("../assets/light/moringa.webp")) center / cover; mix-blend-mode: screen; opacity: 0.1; pointer-events: none; }
.jaside--cream.jaside--leaf::before, .jaside--blush.jaside--leaf::before, .jaside--lime.jaside--leaf::before { mix-blend-mode: multiply; opacity: 0.16; }
[data-theme="dark"] .jaside--cream.jaside--leaf::before, [data-theme="dark"] .jaside--blush.jaside--leaf::before { mix-blend-mode: screen; opacity: 0.05; }
.jaside__head { display: grid; gap: var(--s-5); align-content: start; }
.jaside__head .eyebrow { color: var(--fg-muted); }
.jaside__head .lead { color: var(--fg-muted); max-width: 40ch; }
.jaside__body { display: grid; align-content: center; justify-items: start; gap: var(--s-6); }
.jaside__foot { display: grid; gap: var(--s-4); }
.jaside .honest { color: var(--fg); font-size: clamp(19px, 1.7vw, 24px); }

.jmain { min-width: 0; padding: calc(var(--nav-h) + 44px) clamp(4px, 3.4vw, 64px) var(--s-10); }
.jmain__inner { max-width: 600px; margin-inline: auto; display: grid; gap: var(--s-8); }
.jmain__inner--wide { max-width: 720px; }
.jmain__head { display: grid; gap: var(--s-3); }
.jmain__head h1, .jmain__head h2 { font-size: var(--fs-h2); letter-spacing: -0.05em; line-height: 1; }
.jmain__head p { color: var(--fg-muted); max-width: 52ch; }

/* steps on the aside: four thin bars */
.jsteps.steps li::before { background: var(--rule); }
.jsteps.steps li[data-state="done"]::before { background: var(--fg); }
.jsteps.steps li[aria-current]::before { background: var(--yellow); }
.jaside--lime .jsteps.steps li[aria-current]::before, .jaside--cream .jsteps.steps li[aria-current]::before, .jaside--blush .jsteps.steps li[aria-current]::before { background: var(--burgundy); }
.jsteps .mono { color: var(--fg-muted); }
.jsteps b { color: var(--fg-muted); font-weight: var(--w-medium); }
.jsteps li[aria-current] b, .jsteps li[data-state="done"] b { color: var(--fg); }

.jsteps__now { display: none; }
@media (max-width: 560px) {
  .jsteps.steps b, .jsteps.steps li[aria-current] b, .jsteps.steps .mono { display: none; }
  .jsteps__now { display: block; margin-top: 10px; color: var(--fg-muted); }
}
@media (max-width: 960px) {
  .jflow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jaside { position: relative; top: 0; min-height: 0; max-height: none; overflow: hidden; padding: calc(var(--nav-h) + 34px) var(--gutter) var(--s-7); gap: var(--s-6); grid-template-rows: none; }
  .jaside__body { justify-items: stretch; }
  .jaside .mcard { max-width: 420px; justify-self: center; }
  .jaside__foot.is-desktop { display: none; }
  .jmain { padding: var(--s-7) calc(var(--gutter) - var(--inset)) var(--s-9); }
  .jmain__inner { gap: var(--s-7); }
}

/* ================================================================ forms (join) */
.jform { display: grid; gap: var(--s-8); }
.jgroup { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-5); min-width: 0; }
.jgroup > legend { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 0 0 var(--s-3); margin-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.jgroup > legend .mono { color: var(--fg-faint); }
.jgroup > legend b { font-size: var(--fs-h4); font-weight: var(--w-bold); letter-spacing: -0.03em; }
.jgroup > legend .aside { margin-left: auto; font-size: 13px; color: var(--fg-muted); font-weight: var(--w-regular); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.field__msg--error { color: var(--danger); }
.pw-toggle { min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: var(--w-semi); }
.pw-toggle:hover { background: var(--line); }
.has-action .input { padding-right: 76px; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--fg-muted); }
.pw-rules li { display: inline-flex; align-items: center; gap: 6px; transition: color var(--t-base); }
.pw-rules li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background var(--t-base), border-color var(--t-base); }
.pw-rules li.is-met { color: var(--success); }
.pw-rules li.is-met::before { border-color: var(--success); background: var(--success) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
.terms { padding: var(--s-4) var(--s-5) var(--s-2); border-radius: var(--r-panel); background: var(--surface); }
.terms .field__msg { padding-bottom: var(--s-3); }
.form-error { display: none; }
.form-error.is-on { display: flex; }
.jsubmit { display: grid; gap: var(--s-4); }
.jsubmit .btn { justify-self: start; }
.jsubmit .disclaimer { color: var(--fg-muted); }

/* the system's .spinner rule comes after .sponsor__state > * and shows the
   spinner in every state; keep only the icon for the current state */
.jsponsor .sponsor__state > * { display: none; }
.jsponsor[data-state="checking"] .sponsor__state .spinner,
.jsponsor[data-state="found"] .sponsor__state .ok,
.jsponsor[data-state="missing"] .sponsor__state .no,
.jsponsor[data-state="empty"] .sponsor__state .no { display: block; }

/* sponsor, larger: the found card reads as a person, not a tick */
.jsponsor .sponsor__who { padding: 12px 16px 12px 12px; border-radius: 16px; }
.jsponsor .sponsor__who .avatar { width: 40px; height: 40px; font-size: 13px; }
.jsponsor .sponsor__who b { font-size: 16px; }
.jsponsor .sponsor__who .mono { display: block; margin-top: 2px; }
.jsponsor .sponsor__who .avatar { background: var(--success); color: var(--bg); }

/* ================================================================ basket bar (desktop): the dock, sticky at the foot of the main column */
@media (min-width: 961px) {
  .dock.dock--bar { position: sticky; z-index: 5; bottom: var(--inset); display: grid; gap: 12px; padding: 16px 16px 14px 22px; border-radius: 24px; background: var(--glass); color: var(--ink); box-shadow: var(--shadow-pop); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
  .dock--bar .dock__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .dock--bar .dock__sum { display: grid; gap: 2px; }
  .dock--bar .dock__sum b { font-size: 26px; letter-spacing: -0.04em; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
  .dock--bar .dock__sum .mono { color: var(--fg-muted); }
}
/* pay button before the package PV is reached: a dashed outline with solid words, not a faded button (README rule 10) */
.btn[data-pay][aria-disabled="true"] { opacity: 1; --b-bg: transparent; --b-fg: var(--fg); border: 1.5px dashed var(--fg-muted); }
.dock__fine { font-size: 11.5px; line-height: 1.4; color: var(--fg-muted); }
.dock__fine .is-short, .btn .is-short { display: none; }
@media (max-width: 960px) {
  .dock__fine .is-long, .btn .is-long { display: none; }
  .dock__fine .is-short, .btn .is-short { display: inline; }
}

/* ================================================================ docked action (phones)
   The main action sits at the bottom of the screen on phones; on desktop it
   stays in the flow. */
.dock { display: none; }
@media (max-width: 960px) {
  .dock {
    position: fixed; z-index: 45; left: var(--inset); right: var(--inset); bottom: calc(var(--inset) + env(safe-area-inset-bottom, 0px));
    display: grid; gap: 10px; padding: 12px 12px 12px 18px; border-radius: 24px;
    background: var(--glass); color: var(--ink); box-shadow: var(--shadow-pop);
    backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    transform: translateY(0); transition: transform var(--t-slow) var(--ease-out);
  }
  .dock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .dock__sum { display: grid; gap: 2px; min-width: 0; }
  .dock__sum b { font-size: 19px; letter-spacing: -0.035em; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .dock__sum .mono { color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock .btn { min-height: 52px; padding: 0 22px; font-size: 15.5px; }
  .dock .btn--block { width: 100%; }
  .dock.is-away { transform: translateY(calc(100% + 30px)); }
  .has-dock .site-footer { margin-bottom: 110px; }
  .has-dock .is-in-flow { display: none; }
}

/* ================================================================ fill line: basket PV toward the package PV */
.fill { --pct: 0; --tick: 1; display: grid; gap: 10px; }
.fill__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fill__pv { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 48px); font-weight: var(--w-bold); letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.fill__pv small { font-size: 0.42em; letter-spacing: -0.01em; color: var(--fg-muted); font-weight: var(--w-semi); margin-left: 4px; }
.fill__bar { position: relative; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.fill__val { position: absolute; inset: 0 auto 0 0; width: calc(var(--pct) * 100%); border-radius: inherit; background: repeating-linear-gradient(90deg, var(--fill-c, rgba(255, 255, 255, 0.92)) 0 calc(var(--cell, 100%) - 3px), transparent calc(var(--cell, 100%) - 3px) var(--cell, 100%)) 0 0 / calc(100% / max(var(--pct), 0.001)) 100% no-repeat; transition: width var(--t-slow) var(--ease-out), background-size var(--t-slow) var(--ease-out); }
.fill__bar::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: calc(var(--tick) * 100% - 1px); width: 2px; border-radius: 1px; background: var(--yellow); }
.fill__legend { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); }
.fill__legend i { width: 2px; height: 14px; border-radius: 1px; background: var(--yellow); }
.fill--light .fill__legend i { background: var(--ink); }
.fill__tick { position: absolute; top: -24px; left: calc(var(--tick) * 100%); transform: translateX(-50%); color: var(--yellow); white-space: nowrap; }
.fill__tick.is-end { transform: translateX(-100%); }
.fill__msg { display: flex; align-items: center; gap: 8px; color: var(--fg-muted); font-size: 14px; min-height: 22px; }
.fill__msg .i { width: 16px; height: 16px; }
.fill.is-ready { --fill-c: var(--lime); }
.fill.is-ready .fill__msg { color: var(--fg); }
.fill.is-ready .fill__msg .i { color: var(--lime); }
.fill.is-pop .fill__pv { animation: pop 520ms var(--ease-out); }
@keyframes pop { 35% { transform: scale(1.06); } }
.fill--light .fill__bar { background: var(--surface); }
.fill--light { --fill-c: var(--burgundy); }
.fill--light .fill__bar::after { background: var(--ink); }
.fill--light .fill__tick { color: var(--fg-muted); }
.fill--light.is-ready { --fill-c: var(--green); }
.fill--light.is-ready .fill__msg .i { color: var(--success); }
.fill--mini { gap: 6px; }
.fill--mini .fill__bar { height: 6px; }
.fill--mini .fill__bar::after { top: -3px; bottom: -3px; }

/* totals on a dark aside */
.jaside .totals > div { color: var(--fg-muted); }
.jaside .totals > div > :last-child { color: var(--fg); }
.jaside .totals .grand { color: var(--fg); }
.jaside .ph { background: rgba(242, 194, 48, 0.18); color: var(--yellow); }
.jaside--cream .ph, .jaside--blush .ph, .jaside--lime .ph { background: var(--spark-tint); color: var(--warning-ink); }
.split-note { display: block; font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; font-weight: var(--w-regular); }

/* ================================================================ package page: picker and product rows */
.pkpick { display: grid; gap: var(--s-4); }
.pkpick__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pkopt { position: relative; display: grid; gap: 2px; padding: 14px 14px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--raised); cursor: pointer; transition: border-color var(--t-base), background var(--t-base), transform var(--t-fast); min-height: 92px; }
.pkopt:hover { border-color: var(--ink-muted); }
.pkopt:active { transform: scale(0.98); }
.pkopt input { position: absolute; opacity: 0; pointer-events: none; }
.pkopt__lvl { font-family: var(--font-display); font-size: 28px; font-weight: var(--w-bold); letter-spacing: -0.05em; line-height: 1; }
.pkopt__lvl small { font-size: 0.5em; color: var(--fg-muted); letter-spacing: 0; margin-right: 1px; }
.pkopt .price { font-size: 14px; }
.pkopt .mono { color: var(--fg-muted); }
.pkopt:has(input:checked) { border-color: var(--burgundy); background: var(--burgundy-tint); box-shadow: 0 0 0 1px var(--burgundy); }
.pkopt:has(input:checked) .pkopt__lvl small, .pkopt:has(input:checked) .mono { color: var(--member-ink); }
.pkopt:has(input:focus-visible) { box-shadow: var(--shadow-focus); }
@media (max-width: 640px) {
  .pkpick__list { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter) + var(--inset)); padding: 2px calc(var(--gutter) - var(--inset)) 4px; scroll-snap-type: x mandatory; scroll-padding-inline: calc(var(--gutter) - var(--inset)); }
  .pkpick__list::-webkit-scrollbar { display: none; }
  .pkopt { flex: none; width: 112px; scroll-snap-align: start; }
}

.prows { display: grid; gap: 10px; }
.prow { --studio: var(--pc-studio); display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: 10px 18px 10px 10px; border-radius: var(--r-card); background: var(--surface); transition: background var(--t-base), box-shadow var(--t-base); }
.prow[data-tint="green"] { --studio: var(--pc-studio-green); }
.prow[data-tint="gold"] { --studio: var(--pc-studio-gold); }
.prow[data-tint="red"] { --studio: var(--pc-studio-red); }
.prow.is-in { box-shadow: inset 0 0 0 1.5px var(--burgundy); background: var(--raised); }
.prow .pshot { --studio: inherit; width: 112px; border-radius: 18px; background: radial-gradient(90% 70% at 50% 38%, color-mix(in srgb, var(--studio) var(--pc-glow-mix), var(--pc-glow)), var(--studio) 72%); }
.prow .pshot img { transition: transform 700ms var(--ease-out); }
.prow.is-bump .pshot img { animation: bottle-hop 520ms var(--ease-out); }
@keyframes bottle-hop { 35% { transform: translateX(-50%) translateY(-6%) rotate(-3deg); } }
.prow__name { font-size: 22px; font-weight: var(--w-bold); letter-spacing: -0.04em; line-height: 1.1; }
.prow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.prow__line { color: var(--fg-muted); font-size: 14px; margin-top: 6px; max-width: 42ch; }
.prow__end { display: grid; justify-items: end; gap: 8px; }
.prow__sub { font-size: 13px; color: var(--fg-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prow .stepper { background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
.prow.is-in .stepper { background: var(--surface); }
@media (max-width: 560px) {
  .prow { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "shot info" "shot end"; gap: 10px 14px; padding: 10px 12px 12px 10px; }
  .prow .pshot { grid-area: shot; width: 84px; align-self: start; }
  .prow > div:nth-child(2) { grid-area: info; }
  .prow__end { grid-area: end; display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .prow__name { font-size: 19px; }
  .prow__line { display: none; }
}
.kept { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--fg-muted); font-size: 14px; }
.kept b { color: var(--ink); font-weight: var(--w-semi); }
.kept .link { min-height: 36px; border: 0; background: none; padding: 0; font-size: 14px; }

/* ================================================================ review: lines with price and PV first */
.rlines { display: grid; }
.rline { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rline .pshot { width: 64px; border-radius: 12px; }
.rline__name { font-weight: var(--w-semi); letter-spacing: -0.02em; }
.rline__meta { color: var(--fg-muted); margin-top: 3px; }
.rline__end { display: grid; justify-items: end; gap: 4px; }
.rsum { display: grid; gap: 10px; }
.rsum .totals > div { font-size: 15.5px; }
.rgroup { display: grid; gap: var(--s-4); }
.rgroup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.rgroup__head h2 { font-size: var(--fs-h4); letter-spacing: -0.03em; }
.rgroup__head a { font-size: 14px; }
.rgroup .kv > div { font-size: 15px; }
.rgroup .kv dd { overflow-wrap: anywhere; }

/* ================================================================ Paystack handoff (prototype stand-in for Paystack's own window) */
.payhand { width: min(440px, calc(100vw - 32px)); }
.payhand .modal__body { color: var(--ink); gap: var(--s-4); }
.payhand__amt { font-family: var(--font-display); font-size: 44px; font-weight: var(--w-bold); letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.payhand__who { color: var(--fg-muted); font-size: 14px; }
.payhand__secure { display: flex; align-items: center; gap: 8px; color: var(--fg-muted); }
.payhand__secure .i { width: 16px; height: 16px; }
.payhand__proto { padding: 12px 14px; border-radius: 14px; background: var(--surface); color: var(--fg-muted); font-size: 13px; }
.payhand__busy { display: grid; justify-items: center; gap: 14px; padding: var(--s-7) 0; text-align: center; }
.payhand__busy .spinner { width: 32px; height: 32px; }

/* ================================================================ invite */
.invite { min-height: min(100svh, 980px); display: grid; }
.invite > .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); align-items: center; padding-block: calc(var(--nav-h) + 56px) var(--s-8); }
.invite__who { display: grid; gap: var(--s-6); align-content: center; }
.invite__face { display: flex; align-items: center; gap: 14px; }
.invite__face .avatar { width: 64px; height: 64px; font-size: 22px; background: var(--yellow); color: var(--on-spark); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
.invite__face .mono { color: var(--fg-muted); }
.invite__name { font-family: var(--font-display); font-size: clamp(56px, 8.6vw, 148px); line-height: 0.86; letter-spacing: -0.065em; font-weight: var(--w-bold); font-variation-settings: "wdth" var(--wdth-tight); margin: 0; text-wrap: balance; }
.invite__act { display: grid; gap: var(--s-4); justify-items: start; max-width: 520px; }
.invite__act .row { gap: var(--s-5); }
.invite__art { position: relative; height: min(70vh, 640px); }
.invite__art img { position: absolute; bottom: 4%; height: 86%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(20, 0, 6, 0.3)); }
.invite__art .b1 { left: 8%; transform: rotate(-5deg); }
.invite__art .b2 { right: 4%; height: 76%; transform: rotate(6deg); }
.invite__art .herb { left: 50%; top: -4%; height: 70%; transform: translateX(-50%) rotate(14deg); opacity: 0.95; filter: none; bottom: auto; }
.invite__art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 2%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.4), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .invite__art .herb { animation: herb-in 1400ms var(--ease-out) both 200ms; }
  .invite__art .b1, .invite__art .b2 { animation: stand 1100ms var(--ease-out) both; }
}
@keyframes herb-in { from { opacity: 0; transform: translateX(-50%) rotate(-6deg) scale(0.86); } }
@media (max-width: 860px) {
  .invite > .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-top: calc(var(--nav-h) + 30px); }
  .invite__art { order: -1; height: 280px; }
  .invite__name { font-size: min(15vw, 84px); }
  .invite__act .btn--lg { width: 100%; }
  .invite__act .row { width: 100%; }
}

/* ================================================================ auth screens */
.auth-form { display: grid; gap: var(--s-5); }
.auth-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--fg-muted); font-size: 15px; }
.auth-alt .link { min-height: 40px; }
.auth-head { display: grid; gap: var(--s-3); }
.auth-head h1 { font-size: var(--fs-h2); letter-spacing: -0.05em; line-height: 1; }
.auth-head p { color: var(--fg-muted); }
.jmain--center { display: grid; align-items: center; min-height: calc(100svh - 2 * var(--inset)); }
@media (max-width: 960px) { .jmain--center { min-height: 0; } }
.sent { display: grid; gap: var(--s-5); }
.sent__mail { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-panel); background: var(--surface); }
.sent__mail .i { width: 22px; height: 22px; color: var(--member-ink); flex: none; }
.sent__mail b { display: block; font-weight: var(--w-semi); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.sent__mail .mono { color: var(--fg-muted); }
.next { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: n; }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: n; }
.next li::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--tracking-mono); color: var(--fg-faint); padding-top: 4px; }
.next b { font-weight: var(--w-semi); letter-spacing: -0.02em; }
.next p { color: var(--fg-muted); font-size: 14.5px; }
.next li.is-done::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--success) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; margin-top: 1px; }
.next li.is-done b { color: var(--fg-muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.countdown { font-variant-numeric: tabular-nums; }
.by-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-panel); background: rgba(255, 255, 255, 0.1); }
.by-line .avatar { background: var(--yellow); color: var(--on-spark); }
.by-line b { display: block; font-weight: var(--w-semi); }
.by-line .mono { color: var(--fg-muted); }

/* skeletons inside the join pages */
.jskel { display: grid; gap: 12px; }
.jskel .skel--row { height: 104px; border-radius: var(--r-card); }

/* states index */
.states-list { display: grid; gap: var(--s-7); }
.states-list section { display: grid; gap: var(--s-3); }
.states-list h2 { font-size: var(--fs-h3); letter-spacing: -0.04em; }
.states-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.states-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.states-list li span { color: var(--fg-muted); font-size: 14px; }
.states-list li .row { gap: 6px; }

/* rows rise in as they scroll into view (scroll-driven, no script; browsers
   without it simply show them) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .gets-list li, .how > li, .prow, .rline { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes rise-in { from { opacity: 0; translate: 0 26px; } }

/* phone-only and desktop-only pieces of a composition */
.is-phone-only { display: none; }
@media (max-width: 960px) {
  .is-phone-only { display: flex; }
  .is-desk-only { display: none; }
}

/* a single packshot standing at the foot of an account-screen aside */
.jaside__body--art { position: relative; align-content: end; justify-items: center; min-height: 280px; }
.jaside__bottle { height: min(40vh, 420px); width: auto; max-width: none; margin-bottom: -6px; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.28)); transform: rotate(-4deg); }
@media (prefers-reduced-motion: no-preference) { .jaside__bottle { animation: stand 1100ms var(--ease-out) both; } }
.jaside__body .by-line { width: 100%; max-width: 440px; }
@media (max-width: 960px) {
  .jaside__body--art { display: none; }
  .jaside__head .lead { font-size: 16px; }
}
