/* Close Beta Pre-Register page (close-beta.html): hero, rewards, Batch 1, FAQ and the sign-up flow.
   Reuses tbf.css tokens (loaded first), the site's capsule / cell / diamond sprites and the Home sky and lane.
   Breakpoints: desktop >= 1024, tablet 761-1023, phone <= 760 (plus a check at 360). */
/* Noto Sans Thai (OFL, see static/fonts/NotoSansThai-OFL.txt): the Thai subset only, one variable file for 400 and 700.
   The unicode-range keeps Latin on the site's own fonts; Thai renders in this font on every OS. */
@font-face { font-family: "Noto Sans Thai"; font-weight: 400 700; font-display: swap; src: url(../fonts/noto-sans-thai-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

:root {
  --black: #07080B; --ink2: #A9A6A0; --ink: #3A3226; --line: #6B6D86; --field: #171A21; --pill2: #3D4051;
  --sans: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Merriweather", "Noto Sans Thai", Georgia, serif;
  --num: "Chakra Petch", "Noto Sans Thai", sans-serif;
}
html { scroll-padding-top: 76px; }
body { background: var(--black); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); }
.cb-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ---------- the site's nav and footer, as on every page (copied from the other pages) */
/* ---------- global nav: thin, translucent once the page moves */
.gnav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.gnav.solid { background: rgba(10, 11, 14, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(255, 255, 255, .08); }
.gnav .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.gnav .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--cream); font: 700 15px/1 "Merriweather", serif; }
.gnav .brand img { height: 26px; width: auto; }
.gnav .brand { flex-shrink: 0; }
.gnav .brand img.wm { height: 58px; }
.gnav nav { display: flex; gap: 26px; }
.gnav nav a { font-size: 14px; color: rgba(240, 235, 216, .78); }
.gnav nav a:hover, .gnav nav a[aria-current] { color: #fff; }
.gnav .pill { font-size: 13px; font-weight: 600; color: var(--parchDark); background: var(--cta); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.gnav .pill-discord { display: inline-flex; align-items: center; gap: 7px; transition: filter .2s; }
.gnav .pill-discord svg { width: 16px; height: 16px; fill: currentColor; }
.gnav .pill-discord:hover { filter: brightness(1.08); }
.cb-hero .sky { position: absolute; inset: 0; z-index: -3; transition: opacity .6s ease; }
.cb-hero .sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 78% -10%, rgba(255, 247, 222, var(--sun, .5)), rgba(255, 247, 222, 0) 55%); }
.cb-hero .haze { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .cb-hero .haze i { position: absolute; display: block; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); filter: blur(6px); animation: drift linear infinite; }
.cb-hero .haze i:nth-child(1) { width: 52vw; height: 9vw; left: -10vw; top: 16%; animation-duration: 140s; opacity: .7; }
.cb-hero .haze i:nth-child(2) { width: 38vw; height: 7vw; left: 40vw; top: 30%; animation-duration: 190s; animation-delay: -60s; opacity: .55; }
.cb-hero .haze i:nth-child(3) { width: 60vw; height: 10vw; left: 10vw; top: 48%; animation-duration: 230s; animation-delay: -120s; opacity: .5; }
.cb-hero .haze i:nth-child(4) { width: 30vw; height: 6vw; left: 70vw; top: 8%; animation-duration: 170s; animation-delay: -30s; opacity: .45; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-40vw); } }
.gnav nav { align-items: center; }
/* Wiki opens in a new tab: an outlined pill with the arrow, the same as the wiki's "Main site" button */
.gnav nav a.nav-ext { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid rgba(240, 235, 216, .28); border-radius: 999px; color: var(--cream); font-weight: 600; transition: border-color .15s, background .15s; }
.gnav nav a.nav-ext:hover { border-color: var(--cta); background: rgba(255, 255, 255, .05); }
.gnav nav a.nav-ext svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-foot { border-top: 1px solid rgba(255, 255, 255, .08); padding: 34px 0 40px; color: var(--ink2); font-size: 13.5px; }
.site-foot .row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-foot .who { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.site-foot .who img { height: 30px; width: auto; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot nav a { color: rgba(240, 235, 216, .78); }
.site-foot nav a:hover { color: #fff; }
.site-foot .who img.wm { height: 52px; }
.site-foot .credits { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 30px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-foot .credits img.nq { height: 50px; width: auto; }
.site-foot .credits img.jr { height: 36px; width: auto; }
.site-foot .credits .x { font: 300 26px/1 var(--sans, system-ui, sans-serif); color: rgba(240, 235, 216, .45); }
.site-foot .fine { margin-top: 0; font-size: 12.5px; color: rgba(169, 166, 160, .7); text-align: center; }
@media (max-width: 760px) {
.gnav .container { gap: 10px; }
.gnav .brand img.wm { height: 34px; }
.gnav nav { gap: 14px; }
.gnav nav a { font-size: 14px; }
.gnav .pill-discord { font-size: 0; gap: 0; padding: 7px 10px; }
.gnav nav a.nav-ext { height: 28px; padding: 0 9px; gap: 4px; }
.gnav nav a[href="close-beta.html"] { display: none; }
}
@media (max-width: 360px) { .gnav nav { gap: 11px; } .gnav nav a { font-size: 13px; } }

/* ---------- hero: sky, the title, the lane at the bottom */
.cb-hero { position: relative; overflow: hidden; isolation: isolate; height: clamp(680px, 90vh, 820px); background: #2C67B0; text-align: center; }
.cb-hero .sky { background: linear-gradient(180deg, #2C67B0 0%, #6DB2EA 55%, #DDF5FE 100%); --sun: .5; }
.cb-hero-in { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; padding-top: 84px; }
/* the crystal game logo, as on the Home title screen */
.cb-mark { width: 320px; height: auto; margin-bottom: 6px; filter: drop-shadow(0 6px 18px rgba(14, 40, 86, .45)); }
.cb-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1.5 var(--sans); letter-spacing: .04em; color: #FFF6DA; text-shadow: 0 1px 2px rgba(20, 50, 100, .6); }
.cb-eyebrow::before, .cb-eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 246, 218, .8)); }
.cb-eyebrow::after { transform: scaleX(-1); }
.cb-hero h1 { margin: 6px 0 20px; font-size: 42px; line-height: 1.25; text-shadow: 0 2px 0 rgba(22, 52, 100, .35), 0 6px 22px rgba(18, 44, 92, .45); }
.cb-lane { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 255px; overflow: hidden; }
.cb-lane canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
/* the two lines under the button: plain text on the sky with a soft shadow, like the Home tagline (no box) */
.cb-plate span { text-wrap: balance; }
.cb-plate { display: grid; gap: 2px; max-width: 560px; margin-top: 16px; color: #FFFBEF; font: 500 15px/1.6 var(--sans); text-align: center; text-shadow: 0 1px 2px rgba(14, 40, 86, .7), 0 0 14px rgba(14, 40, 86, .45); }

/* the gold capsule (the site's cta sprite) */
.cb-cta {
  display: inline-flex; align-items: center; justify-content: center; height: 64px; min-width: 300px; padding: 0 20px;
  border: 0 solid transparent; border-width: 0 30px; border-image: url(../ui/capsule_cta_66x26.png) 0 21 fill / 0 30px stretch;
  color: var(--parchDark); font: 700 22px/1.5 var(--serif); white-space: nowrap; cursor: pointer; transition: transform .12s;
}
.cb-cta:hover { border-image-source: url(../ui/capsule_cta_66x26_hover.png); color: var(--parchDark); transform: translateY(-2px); }
.cb-cta:active { transform: scale(.94); }
.cb-cta[aria-disabled="true"], .cb-cta:disabled { opacity: .55; pointer-events: none; }
.cb-cta .spin { width: 18px; height: 18px; margin-right: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: cbspin .8s linear infinite; }
@keyframes cbspin { to { transform: rotate(360deg); } }
.cb-cta.send { height: 56px; width: 216px; min-width: 0; font-size: 19px; padding: 0 14px; }

/* flow mode: the hero shrinks to a title and the three steps */
.cb-hero.is-flow { height: 330px; }
.cb-hero.is-flow .cb-hero-in { padding-top: 104px; }
.cb-hero.is-flow .cb-lane { height: 128px; }
.cb-hero.is-flow h1 { margin: 0 0 22px; font-size: 34px; }
.cb-steps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.cb-steps li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(7, 8, 11, .72); color: var(--dim); font: 600 14px/1.5 var(--sans); }
.cb-steps i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2A2F3B; color: var(--cream); font: 600 13px/1 var(--num); font-style: normal; }
.cb-steps .on { color: var(--cream); background: rgba(7, 8, 11, .86); }
.cb-steps .on i, .cb-steps .ok i { background: var(--cta); color: var(--ink); }

/* The Pre-Registration Rewards styles are in rewards.css (shared with Home). Here only the head, laid out like every other section head. */
.cb-rewards { position: relative; padding: 80px 0 40px; }
.cb-rewards .cb-rw-top { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 0; text-align: center; }
.cb-rw-eyebrow { margin-bottom: 10px; font: 700 15px/1.5 var(--serif); color: var(--gold); }
.cb-rewards .cb-rw-top h2 { font-size: 44px; line-height: 1.25; }
.cb-rewards .cb-count { order: 3; display: inline-flex; align-items: baseline; margin-top: 18px; padding: 4px 18px; border: 1px solid rgba(216, 204, 152, .3); border-radius: 999px; background: rgba(216, 204, 152, .05); }
.cb-rewards .cb-count b { font-size: 24px; color: var(--goldHi); }
.cb-promise { max-width: 700px; margin: 14px auto 40px; font: 400 18px/1.65 var(--sans); color: var(--body); text-align: center; }

/* ---------- section heads (Batch 1, FAQ) */
.cb-sec { position: relative; padding: 96px 0 24px; }
/* between sections: a gold hairline with a diamond, the site's divider */
.cb-sec::before { content: ""; position: absolute; left: 50%; top: 0; width: min(520px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(193, 180, 123, .5), transparent); }
.cb-sec::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg); background: var(--black); border: 1px solid var(--gold); }
.cb-head { text-align: center; margin-bottom: 34px; }
.cb-head .eyebrow { margin-bottom: 10px; font: 700 15px/1.5 var(--serif); color: var(--gold); }
.cb-head h2 { font-size: 44px; line-height: 1.25; }
.cb-head .lede { max-width: 700px; margin: 14px auto 0; font: 400 18px/1.65 var(--sans); color: var(--body); }

/* ---------- Batch 1 card */
.cb-batch { position: relative; display: grid; gap: 14px; max-width: 680px; margin: 0 auto; padding: 28px 32px; border-radius: 10px; border: 1px solid #3E3520;
  background: radial-gradient(80% 60% at 50% 0, rgba(210, 189, 137, .10), rgba(210, 189, 137, 0) 70%), linear-gradient(180deg, #1C2024 0, #0D1014 100%);
  box-shadow: inset 0 0 0 1px rgba(216, 204, 152, .06), 0 18px 40px rgba(0, 0, 0, .35); }
.cb-batch::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #E6D29A, transparent); }
.cb-batch .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cb-batch h3 { font-size: 26px; line-height: 1.4; }
.chip { display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px; border-radius: 999px; background: var(--pill2); color: var(--cream); font: 600 13px/1.5 var(--sans); white-space: nowrap; }
.cb-seats { font: 400 15px/1.5 var(--sans); color: var(--dim); }
.cb-seats b { margin-right: 8px; font: 600 40px/1.15 var(--num); color: var(--goldHi); }
.cb-list { list-style: none; font-size: 15px; }
.cb-list li { display: flex; gap: 10px; align-items: baseline; line-height: 26px; }
.cb-list li::before { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); position: relative; top: -2px; }
.cb-list li.no { color: var(--dim); }
.cb-list li.no::before { background: transparent; border: 1px solid #7E7A6C; }
.cb-contest { padding: 14px 16px; border-radius: 8px; background: rgba(216, 204, 152, .05); border: 1px solid #3B3220; font: 400 15px/1.7 var(--sans); }
.cb-contest b { color: var(--goldHi); }
.ph { display: inline-block; padding: 0 8px; border: 1.5px dashed #8E8A78; border-radius: 6px; color: var(--dim); font-size: 14px; line-height: 1.5; }
.cb-more { margin-top: 16px; text-align: center; font: 400 15px/1.6 var(--sans); color: var(--dim); }

/* ---------- FAQ: plain web text */
.cb-faq { max-width: 820px; margin: 0 auto; padding: 10px 36px; border-radius: 10px; border: 1px solid #1F242B; background: linear-gradient(180deg, #12161A 0, #0B0E11 100%); }
.cb-faq dt { position: relative; padding: 22px 0 0 22px; border-top: 1px solid #1E222A; font: 700 17px/1.5 var(--sans); color: var(--cream); }
.cb-faq dt::before { content: ""; position: absolute; left: 2px; top: 31px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.cb-faq dt:first-child { border-top: 0; }
.cb-faq dd { margin: 6px 0 0; padding: 0 0 22px 22px; font: 400 16px/1.7 var(--sans); color: var(--body); }
.cb-faq a { color: var(--goldHi); text-decoration: underline; text-underline-offset: 3px; }
.cb-end { height: 56px; }

/* ---------- the flow card */
.cb-flow { padding: 44px 0 72px; }
.cb-card-box { max-width: 694px; margin: 0 auto; padding: 32px; border-radius: 8px; background: linear-gradient(180deg, #1E2327 0, #0C1115 140px); border: 1px solid #1A1F25; }
.cb-card-box.narrow { max-width: 560px; }
.cb-card-box h2 { margin-bottom: 8px; font-size: 28px; line-height: 1.5; }
.cb-card-box h2:focus { outline: none; }
.muted { color: var(--dim); }
.small { font-size: 15px; }
.cb-google { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 12px; border: 1px solid #747775; border-radius: 4px; background: #fff; color: #1F1F1F; font: 500 15px/1.5 var(--sans); cursor: pointer; }
.cb-google:hover { background: #F2F2F2; }
.cb-google svg { width: 20px; height: 20px; flex: none; }
.cb-google:disabled { opacity: .55; cursor: not-allowed; }
.cb-gsi { min-height: 44px; max-width: 100%; }
.cb-signin { display: grid; gap: 16px; margin-top: 18px; justify-items: start; }
.cb-alert { padding: 12px 16px; border: 1px solid #7A3A31; border-radius: 8px; background: #2B1513; color: #FFD3CB; font: 400 15px/1.6 var(--sans); }
.cb-note { padding: 12px 16px; border: 1px dashed #8E8A78; border-radius: 8px; color: var(--body); font: 400 15px/1.6 var(--sans); }

/* questionnaire */
.cb-form { display: grid; gap: 18px; }
.fsec { display: grid; gap: 24px; padding: 22px; border: 1px solid #1F242C; border-radius: 8px; background: rgba(7, 8, 11, .38); }
.fsec-h { display: flex; align-items: center; gap: 10px; font: 700 17px/1.4 var(--sans); color: var(--goldHi); }
.fsec-h i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cta); color: var(--ink); font: 600 13px/1 var(--num); font-style: normal; }
.cb-prog { position: sticky; top: 76px; z-index: 20; display: grid; gap: 7px; padding: 10px 14px; border: 1px solid #262A35; border-radius: 8px; background: rgba(12, 17, 21, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cb-prog .t { font: 600 14px/1.4 var(--sans); color: var(--dim); }
.cb-prog.full .t { color: var(--gain); }
.cb-prog .bar { height: 6px; border-radius: 3px; background: #2A2D38; overflow: hidden; }
.cb-prog .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8E7F4C, var(--cta)); transition: width .25s; }
.cb-prog.full .bar i { background: var(--gain); }
.fld { display: grid; gap: 8px; min-width: 0; border: 0; }
.fld > legend, .fld > label.lbl { padding: 0; font: 700 16px/1.5 var(--sans); color: var(--cream); }
.fld > legend { margin-bottom: 8px; }
.fld .req { color: var(--cta); }
.help { font: 400 15px/1.5 var(--sans); color: var(--dim); }
.help a { color: var(--goldHi); text-decoration: underline; text-underline-offset: 3px; }
.in { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--cream); font: 400 16px/1.5 var(--sans); }
.in::placeholder { color: #8C8A97; }
.in[readonly] { border-color: #3F6B44; background: #12161D; color: var(--gain); }
select.in { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--goldHi) 50%), linear-gradient(135deg, var(--goldHi) 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
/* answer rows: the whole row is the tap target; radio = gold diamond (one answer), checkbox = the game's tick box (many answers) */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts.fit { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.opts.one { grid-template-columns: 1fr; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px solid #2A2F3B; border-radius: 8px; background: var(--field); cursor: pointer; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--line); }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt .tx { font: 400 15px/1.45 var(--sans); color: var(--body); overflow-wrap: anywhere; }
.opt .mk { position: relative; flex: none; width: 28px; height: 28px; }
.checkbox .mk { background: url(../ui/check_box.png) center / 28px no-repeat; image-rendering: pixelated; }
.checkbox input:checked + .mk::after { content: ""; position: absolute; inset: 0; background: url(../ui/check_tick.png) center / 21px no-repeat; image-rendering: pixelated; }
.radio .mk::before { content: ""; position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; box-sizing: border-box; transform: rotate(45deg); border: 2px solid var(--line); background: transparent; transition: background .12s, border-color .12s; }
.radio input:checked + .mk::before { border-color: var(--cta); background: var(--cta); box-shadow: 0 0 0 3px rgba(210, 189, 137, .22); }
.opt:has(input:checked) { border-color: var(--cta); background: #221F14; }
.opt:has(input:checked) .tx { color: var(--cream); }
.opt:has(input:focus-visible) { outline: 2px solid var(--goldHi); outline-offset: 2px; }
.fld.bad .opt { border-color: var(--danger); }
.fld.bad .in { border-color: var(--danger); }
.fe { color: var(--danger); font: 600 15px/1.5 var(--sans); }
.fe:empty { display: none; }
.cb-ts { min-height: 65px; }
.cb-ts-mock { display: flex; align-items: center; gap: 12px; width: 300px; max-width: 100%; height: 65px; padding: 0 14px; border: 1px solid #555; border-radius: 4px; background: #232323; color: #ddd; font: 400 14px/1.5 var(--sans); cursor: pointer; }
.cb-ts-mock .box { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #888; border-radius: 3px; background: #111; color: #6c6; font-weight: 700; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.linkbtn { color: var(--goldHi); text-decoration: underline; text-underline-offset: 3px; font: 400 16px/1.5 var(--sans); }
.cb-form fieldset:disabled { opacity: .6; }

/* done */
.cb-done { text-align: center; }
.cb-done .tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--cta); }
.cb-done .tick svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cb-done p { margin: 0; font: 400 16px/1.6 var(--sans); }
.cb-done p + p { margin-top: 4px; }
.cb-done p.muted { font-size: 15px; }
.cb-done b { color: var(--cream); }
.cb-next { text-align: left; }
.cb-next h3 { margin: 26px 0 0; font: 700 19px/1.5 var(--sans); }
.cb-next ol { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 22px; font: 400 16px/1.65 var(--sans); }
.cb-next li { padding-left: 4px; }
.cb-sum { width: 100%; margin-top: 18px; border-collapse: collapse; font: 400 15px/1.5 var(--sans); text-align: left; }
.cb-sum td { padding: 6px 0; border-bottom: 1px solid #262A35; vertical-align: top; overflow-wrap: anywhere; }
.cb-sum td:first-child { width: 38%; padding-right: 10px; color: var(--dim); }
.cb-follow { display: grid; justify-items: center; gap: 12px; margin-top: 22px; text-align: center; font: 400 16px/1.6 var(--sans); }
.cb-follow p { margin: 0; }
/* the Discord button: the same gold pill as the one in the header, a little bigger */
.cb-discord { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--cta); color: var(--parchDark); font: 700 16px/1 var(--sans); text-decoration: none; transition: filter .2s, transform .12s; }
.cb-discord svg { width: 20px; height: 20px; fill: currentColor; }
.cb-discord:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--parchDark); }
.cb-discord:focus-visible { outline: 2px solid var(--goldHi); outline-offset: 3px; }

/* ---------- back to top */
.cb-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cta); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.cb-top svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cb-top.on { opacity: 1; pointer-events: auto; transform: none; }
.cb-top:hover { background: var(--goldHi); }

/* ---------- phone <= 760 (tablet 761-1023 keeps the desktop layout: 5 cards, never under 128 px each) */
@media (max-width: 760px) {
  .cb-wrap { padding: 0 16px; }
  .cb-hero { height: 580px; }
  .cb-hero-in { padding-top: 76px; }
  .cb-mark { width: 210px; margin-bottom: 2px; }
  .cb-eyebrow { font-size: 13px; }
  .cb-eyebrow::before, .cb-eyebrow::after { width: 16px; }
  .cb-hero h1 { margin: 4px 0 14px; font-size: 28px; }
  .cb-cta { width: min(320px, 100%); min-width: 0; height: 58px; font-size: 20px; }
  .cb-cta.send { width: 100%; height: 56px; font-size: 19px; }
  .cb-plate { max-width: none; margin-top: 12px; font-size: 14px; }
  .cb-lane { height: 128px; }
  .cb-hero.is-flow { height: 320px; }
  .cb-hero.is-flow .cb-hero-in { padding-top: 80px; }
  .cb-hero.is-flow h1 { font-size: 26px; margin-bottom: 14px; }
  .cb-steps li { font-size: 13px; padding-right: 10px; }
  .cb-steps li:not(.on) { padding-right: 6px; }
  .cb-steps li:not(.on) .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cb-sec { padding: 64px 0 16px; }
  .cb-rewards { padding: 56px 0 30px; }
  .cb-rewards .cb-rw-top h2 { font-size: 28px; }
  .cb-promise { margin-bottom: 28px; font-size: 16px; }
  .cb-batch { padding: 22px 18px; }
  .cb-faq { padding: 4px 18px; }
  .cb-head h2 { font-size: 28px; }
  .cb-head .lede { font-size: 16px; }
  .cb-batch { max-width: none; }
  .cb-card-box { max-width: none; padding: 22px 18px; }
  .cb-card-box h2 { font-size: 23px; }
  .fsec { padding: 18px 14px; }
  .opts { grid-template-columns: 1fr; }
  .opts.fit { grid-template-columns: 1fr 1fr; }
  .cb-prog { top: 72px; }
  .cb-top { right: 14px; bottom: 14px; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .linkbtn { text-align: center; }
  .site-foot nav { flex-wrap: wrap; gap: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) { .cb-top, .cb-cta, .opt, .cb-prog .bar i { transition: none; } .cb-cta .spin { animation: none; } }
