/* Moond, round 3, "Moonrise" (2026-11-28): a printed space poster, loaded after moond.css. Sky = deep cobalt night;
   the page under the hero is the planet's cream surface; navy ink; orange for the one action and for buys; bright
   cobalt for the bands. Cards are printed: a navy edge and a hard offset, no blur. Motion: the moon's arc, the buy
   sparks, the headline's swoosh, the steps' orbits, sections rising in, the closing moonrise. All of it stops with
   the site's motion switch. */

/* ---------- print: buttons and cards ---------- */
.btn { transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast); }
.btn.primary { background: var(--sun); color: #FFFFFF; border: 1.5px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); }
.btn.primary:hover { background: var(--sun-2); border-color: var(--navy); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--navy); }
.btn.primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.night .btn.primary, #top .btn.primary { color: #FFFFFF; border-color: var(--cream); box-shadow: 3px 3px 0 var(--cream); }
.night .btn.primary:hover, #top .btn.primary:hover { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.night .btn.primary:active, #top .btn.primary:active { box-shadow: 1px 1px 0 var(--cream); }
#top .btn.primary { box-shadow: 2px 2px 0 var(--cream); }
.btn.ghost { background: transparent; }
.night .btn.ghost { border-color: rgba(245, 243, 255, 0.35); color: var(--cream); }
.night .btn.ghost:hover { border-color: var(--cream); background: rgba(245, 243, 255, 0.06); }

.step3, .tile, .vamp-card, .ledger, .launch-steps .card {
  border: 1.5px solid var(--navy); box-shadow: var(--print); background: var(--paper-2);
}
.tile { transition: transform var(--t) var(--spring), box-shadow var(--t) var(--ease); }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--navy); }
.tile-nums div { background: var(--paper); border: 1px solid var(--line); }
.vs-card.copy { background: var(--paper-3); border: 1.5px dashed var(--line-2); box-shadow: none; }
.vs-card.shadow { background: var(--night); border: 1.5px solid var(--navy); box-shadow: 5px 5px 0 var(--sun); }
.b-free { border: 1.5px solid var(--navy); }
.seg { border: 1.5px solid var(--navy); background: var(--paper-2); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.night .seg { background: var(--night-3); border-color: rgba(245, 243, 255, 0.18); }
.night .seg button { color: var(--cream-muted); }
.night .seg button:hover { color: var(--cream); }
.night .seg button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.board-bar .input { border-color: var(--navy); }
.eyebrow { background: var(--navy); color: var(--cream); }
.night .eyebrow { background: rgba(245, 243, 255, 0.08); color: var(--cream); border: 1px solid rgba(245, 243, 255, 0.18); }

/* ---------- the header, on the sky ---------- */
#top { background: var(--night); border-bottom: 1px solid rgba(182, 172, 239, 0.14); }
#top .nav a[aria-current] { color: var(--navy); background: var(--cream); }
#top .nav a:hover:not([aria-current]) { background: rgba(245, 243, 255, 0.1); }
.demo-strip { background: var(--cobalt); color: var(--cream); }
.demo-strip b { color: #fff; }

/* ---------- the hero: the sky, the planet rising, its moon going over ---------- */
.sky {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 62% at 50% 112%, rgba(106, 76, 255, 0.7), rgba(106, 76, 255, 0) 62%), var(--night);
}
/* printed dots in the sky, thinning toward the horizon */
.sky::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(182, 172, 239, 0.2) 1.1px, transparent 1.7px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%); }
.sky-copy { position: relative; z-index: 6; display: grid; justify-items: center; text-align: center; padding-top: clamp(28px, 3.6vw, 60px); }
.sky-copy .eyebrow { margin-bottom: 10px; }
.sky h1 { font-size: clamp(52px, min(8.6vw, 15vh), 136px); line-height: 0.88; letter-spacing: -0.05em; color: var(--cream); max-width: 12em; }
.sky h1 .w { display: inline-block; }
.sky h1 .hl { position: relative; display: inline-block; color: #A08CFF; }
.night .hl { color: #A08CFF; }
.live-dot { background: #8C75FF !important; }
.swoosh { position: absolute; left: -3%; right: -3%; bottom: -0.16em; height: 0.26em; color: var(--sun); pointer-events: none; }
.swoosh svg { display: block; width: 100%; height: 100%; overflow: visible; }
.swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s 0.55s var(--ease) forwards; }
[data-motion="off"] .swoosh path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sky .sub { margin-top: clamp(18px, 2vw, 26px); font: 800 clamp(21px, 2.4vw, 32px)/1.15 var(--font-display); letter-spacing: -0.025em; color: var(--cream); }
.sky .lede { margin: 12px auto 0; color: var(--cream-muted); max-width: 35em; font-size: clamp(16px, 1.35vw, 18.5px); }
.sky .ctas { margin-top: clamp(22px, 2.6vw, 32px); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
[data-motion="on"] .sky-copy > * { animation: up 0.9s var(--ease) both; }
[data-motion="on"] .sky-copy > :nth-child(2) { animation-delay: 0.07s; }
[data-motion="on"] .sky-copy > :nth-child(3) { animation-delay: 0.16s; }
[data-motion="on"] .sky-copy > :nth-child(4) { animation-delay: 0.22s; }
[data-motion="on"] .sky-copy > :nth-child(5) { animation-delay: 0.28s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

/* the scene fills what the copy leaves of the first screen, so the planet and the live pair show without scrolling */
.sky-scene { position: relative; z-index: 2; height: clamp(380px, calc(100svh - 500px), 560px); }
.sky-draw { position: absolute; inset: 0; }
.sky-back, .sky-planet { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.sky-back { z-index: 1; }
.sky-planet { z-index: 3; }
.sky-moon { --mr: 40px; position: absolute; left: 0; top: 0; z-index: 2; width: calc(var(--mr) * 2); will-change: transform; transform: translate3d(-200px, 0, 0); }
.moon-disc { position: relative; display: block; width: calc(var(--mr) * 2); height: calc(var(--mr) * 2); border-radius: 50%; background: var(--cream);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 9px rgba(245, 243, 255, 0.08), 0 0 60px 10px rgba(245, 243, 255, 0.22); }
.moon-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #E4DEFA; }
.moon-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moon-face b { font: 800 calc(var(--mr) * 0.8) / 1 var(--font-display); color: var(--navy); }
.moon-shade { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.moon-shade svg { display: block; width: 100%; height: 100%; }
.moon-ring { position: absolute; inset: -7px; border-radius: 50%; border: 3px solid var(--sun); opacity: 0; pointer-events: none; }
.moon-ring.hit { animation: ring 1s var(--ease); }
@keyframes ring { 0% { opacity: 1; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.8); } }
.moon-tag { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; white-space: nowrap; color: var(--cream); }
.moon-tag b { font: 800 19px/1 var(--font-display); letter-spacing: -0.02em; }
.moon-tag span { font: 700 10.5px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-muted); }
.sky-moon.ghost .moon-disc { background: transparent; box-shadow: 0 0 40px 4px rgba(245, 243, 255, 0.12); }
.sky-moon.ghost .moon-face { background: rgba(245, 243, 255, 0.06); border: 2.5px dashed var(--cream); }
.sky-moon.ghost .moon-face b { color: var(--cream); }

.sky-sparks { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spark { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.28), 0 0 22px 6px rgba(106, 76, 255, 0.75); }
.spark.up { background: #E9E2FF; box-shadow: 0 0 0 3px rgba(233, 226, 255, 0.3), 0 0 22px 6px rgba(140, 110, 255, 0.7); }
.ripple { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 3px solid var(--sun); animation: ripple 0.95s var(--ease) forwards; }
@keyframes ripple { from { opacity: 1; scale: 0.45; } to { opacity: 0; scale: 2.3; } }

/* the plate: the live pair, printed on the planet */
.sky-plate { --ink: var(--navy); --ink-2: #3B2C7C; --muted: #6A6296; --line: rgba(23, 12, 71, 0.12); --line-2: rgba(23, 12, 71, 0.3);
  position: absolute; z-index: 5; left: 50%; bottom: clamp(16px, 2.6vw, 30px); transform: translateX(-50%); width: min(640px, calc(100% - 24px));
  display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--navy); }
.sp-pair { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.6vw, 16px); max-width: 100%; }
.sp-coin { display: inline-flex; align-items: center; gap: 10px; text-align: left; color: var(--navy); min-width: 0; }
.sp-coin > span:last-child { display: grid; min-width: 0; }
.sp-coin b { font: 800 clamp(18px, 1.9vw, 24px)/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-coin small { font: 700 10.5px/1.5 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
a.sp-coin:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sp-face { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--paper-3); border: 2px solid var(--navy); box-shadow: 2px 2px 0 var(--navy); }
.sp-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-face b { font: 800 18px/1 var(--font-display); }
.sp-coin.moon .sp-face { box-shadow: 2px 2px 0 var(--sun); }
.sp-coin.ghost .sp-face { border-style: dashed; box-shadow: none; background: transparent; }
.sp-arrow { color: var(--sun); display: inline-flex; flex: none; }
.sp-nav { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--navy); background: var(--paper-2); color: var(--navy); cursor: pointer; box-shadow: 2px 2px 0 var(--navy); }
.sp-nav:hover { background: var(--sun); color: #FFFFFF; }
.sp-nav.prev .icon { transform: rotate(180deg); }
.sp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 16px; font: 500 12.5px/1.4 var(--font-mono); color: var(--muted); }
.sp-stats b { color: var(--navy); font-weight: 700; }
.sp-cap { min-height: 20px; font: 600 13.5px/1.45 var(--font-text); color: var(--ink-2); max-width: 100%; }
.sp-cap .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: 1px; }
.sp-cap b { color: var(--sun-deep); margin-right: 2px; }
.sp-cap .ago { color: var(--muted); }
.sp-cap.flash { animation: capin 0.55s var(--ease); }
@keyframes capin { from { opacity: 0; transform: translateY(6px); } }
.sp-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sky-plate .btn { height: 44px; }
.sky-plate .btn.primary { border-color: var(--navy); box-shadow: 3px 3px 0 var(--navy); }
.sky-plate .btn.primary:hover { box-shadow: 4px 4px 0 var(--navy); }
.sky-plate .btn.ghost { color: var(--navy); border-color: var(--line-2); }
.sky-plate .btn.ghost:hover { border-color: var(--navy); background: rgba(23, 12, 71, 0.04); }

/* ---------- on the planet: the numbers, the trust lines ---------- */
.statbar { background: var(--paper); color: var(--navy); border: 0; }
.statbar > .wrap:first-child { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); }
.statbar .stat { border-right: 1.5px solid var(--navy); padding: 22px 20px; }
.statbar .stat:last-child { border-right: 0; }
.statbar .stat-value { color: var(--navy); }
.statbar .label, .statbar .stat-hint { color: var(--muted); }
.statbar .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 16px 0 22px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.statbar .trust span { display: inline-flex; align-items: center; gap: 7px; }
.statbar .trust .icon { color: var(--sun); }

/* ---------- the band of real moves ---------- */
.ticker { background: var(--cobalt); color: var(--cream); border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); }
.tick { color: #EEE9FF; }
.tick b { color: #fff; }
.tick .dot { background: #FFFFFF; box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.3); }

/* ---------- the steps ---------- */
.step3 .pic { height: 120px; }
.step3 .pic svg { height: 120px; width: 120px; }
.step3 .n { background: var(--navy); color: var(--cream); border-radius: 50%; }
.step3:nth-child(2) .n { background: var(--sun); color: #FFFFFF; border: 1.5px solid var(--navy); }
.step3 .row { justify-content: space-between; align-items: flex-start; }

/* ---------- the moons, ranked, at night ---------- */
.night-block { position: relative; background: radial-gradient(90% 50% at 85% 0%, rgba(106, 76, 255, 0.35), rgba(106, 76, 255, 0) 60%), var(--night); }
.shadow-row { grid-template-columns: 38px 70px minmax(0, 1.1fr) 112px minmax(0, 1.3fr) 0.8fr 0.7fr; background: var(--night-2); border: 1px solid rgba(182, 172, 239, 0.14); }
.shadow-row:hover { border-color: var(--sun); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--sun); }
.s-phase { display: flex; align-items: center; gap: 10px; min-width: 0; }
.s-phase svg { display: block; flex: none; }
.s-ph { display: grid; gap: 3px; }
.s-ph b { font-size: 14px; }
.bar { background: rgba(245, 243, 255, 0.1); }
.bar i { background: linear-gradient(90deg, var(--sun), #B9A8FF); }
.maths > div { background: var(--night-2); border-color: rgba(182, 172, 239, 0.14); }
.night .faq details { background: var(--night-2); border-color: rgba(182, 172, 239, 0.14); transition: border-color var(--t) var(--ease); }
.night .faq details[open] { border-color: var(--sun); }

/* ---------- the closing band: a moon rising on cobalt ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--cobalt); color: var(--cream); border-top: 1.5px solid var(--navy); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.1px, transparent 1.7px); background-size: 18px 18px; }
.cta-band .wrap { position: relative; z-index: 1; padding: clamp(64px, 8vw, 120px) 0; }
.cta-band h2 { color: var(--cream); font-size: clamp(48px, 7.4vw, 120px); line-height: 0.9; }
.cta-band p { color: #E6DFFF; }
.cta-band .btn.primary { background: #FFFFFF; color: var(--navy); border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.cta-band .btn.primary:hover { background: #FFFFFF; box-shadow: 6px 6px 0 var(--navy); }
.rise { position: absolute; z-index: 0; right: clamp(-180px, -9vw, -40px); bottom: -46%; width: clamp(280px, 38vw, 560px); aspect-ratio: 1; pointer-events: none; }
.rise svg { display: block; width: 100%; height: 100%; }
@supports (animation-timeline: view()) {
  [data-motion="on"] .rise { animation: moonrise linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}
@keyframes moonrise { from { transform: translateY(45%) rotate(-8deg); } to { transform: translateY(-6%) rotate(0deg); } }

/* ---------- things rise into place ---------- */
[data-motion="on"] .rv { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-motion="on"] .rv.in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
#foot { border-top: 1px solid rgba(182, 172, 239, 0.14); }

/* ---------- phones (round 3) ---------- */
@media (max-width: 980px) {
  .shadow-row { grid-template-columns: 30px 60px minmax(0, 1fr) 100px minmax(0, 1fr); }
  .statbar > .wrap:first-child { grid-template-columns: 1fr 1fr; }
  .statbar .stat:nth-child(2) { border-right: 0; }
  .statbar .stat:nth-child(-n+2) { border-bottom: 1.5px solid var(--navy); }
}
@media (max-width: 640px) {
  .sky-scene { height: clamp(420px, 56vh, 500px); }
  .sky-plate { gap: 8px; }
  .sp-face { width: 40px; height: 40px; }
  .sp-coin { gap: 7px; }
  .sp-coin b { font-size: 17px; }
  .sp-coin small { font-size: 9.5px; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; }
  .sp-coin b { max-width: 34vw; }
  .sp-pair { gap: 8px; }
  .sp-nav { display: none; }
  .sp-stats { font-size: 11.5px; gap: 2px 10px; }
  .sp-cap { font-size: 12.5px; }
  .sky-plate .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .moon-tag b { font-size: 16px; }
  .rise { bottom: -30%; right: -30%; width: 340px; }
}
@media (max-width: 560px) {
  .shadow-row { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .shadow-row .s-held { grid-column: 1 / -1; }
  .s-phase .s-ph .label { display: none; }
}

/* round 4 colours (violet): words that must read on their ground */
.sky-plate { --sun-deep: #4A2DD9; }
.vs-card.shadow .big, .maths .big { color: #A08CFF; }

/* ---------- the CA, made clear (2026-11-28): a bar across the top of every page, and a solid card ---------- */
.ca-bar { background: var(--sun); color: #FFFFFF; border-bottom: 1px solid rgba(23, 12, 71, 0.35); }
.ca-bar-in { display: flex; align-items: center; justify-content: center; gap: 10px 14px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.ca-bar-label { font: 800 14px/1 var(--font-display); letter-spacing: 0.02em; padding: 6px 10px; border-radius: var(--r-pill); background: var(--navy); color: #FFFFFF; white-space: nowrap; }
.ca-bar-addr { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: #FFFFFF; user-select: all; min-width: 0; }
.ca-bar-addr .short { display: none; }
.ca-bar-copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--navy); background: #FFFFFF; color: var(--navy); font: 800 14px/1 var(--font-text); cursor: pointer; box-shadow: 2px 2px 0 var(--navy); white-space: nowrap; }
.ca-bar-copy:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--navy); }
.ca-bar-copy.done { background: var(--navy); color: #FFFFFF; }
.ca-bar-out { display: inline-flex; align-items: center; gap: 5px; color: #FFFFFF; font: 700 13px/1 var(--font-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 760px) {
  .ca-bar-addr .full { display: none; }
  .ca-bar-addr .short { display: inline; }
  .ca-bar-out { display: none; }
  .ca-bar-in { gap: 8px; }
}

.ca-wrap { padding-bottom: 26px; }
.ca-plate { margin-top: 0; }
.ca-plate.has-ca { display: grid; gap: 12px; padding: 20px 22px; border-radius: var(--r-lg); border: 1.5px solid var(--navy); background: #FFFFFF; color: var(--navy); box-shadow: var(--print); }
.ca-plate .ca-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; flex-basis: 100%; }
.ca-plate .ca-head .label { color: var(--navy); font-size: 12px; }
.ca-official { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-text); color: var(--good); }
.ca-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ca-plate .ca-addr { flex: 1 1 420px; min-width: 0; padding: 14px 16px; border-radius: var(--r); background: var(--paper-3); color: var(--navy); font-size: clamp(15px, 1.6vw, 21px); font-weight: 700; letter-spacing: 0.02em; word-break: break-all; user-select: all; }
.ca-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.ca-plate .ca-copy { height: 52px; padding: 0 22px; font-size: 16px; }
.ca-plate .ca-copy.done { background: var(--navy); border-color: var(--navy); }
.ca-plate .ca-pump { height: 52px; background: #FFFFFF; color: var(--navy); border-color: var(--line-2); }
.night .ca-plate.has-ca { color: var(--navy); }
@media (max-width: 560px) {
  .ca-acts { width: 100%; }
  .ca-plate .ca-copy { flex: 1; }
}
/* the stats strip's four-column grid is for the numbers only */
.statbar .ca-wrap { display: block; }

/* the relaunch (2026-11-29): the closing band's moon is the moon knot rising, as in the trailer's drop */
.rise.knot { right: clamp(-140px, -6vw, -24px); bottom: -14%; width: clamp(300px, 44vw, 640px); }
@supports (animation-timeline: view()) {
  [data-motion="on"] .rise.knot { animation-name: knotrise; }
}
@keyframes knotrise { from { transform: translateY(40%) rotate(-14deg); } to { transform: translateY(0) rotate(-6deg); } }
/* with the knot on the right, the button goes under the words so nothing sits on the mark */
.cta-band:has(.rise.knot) .wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: clamp(22px, 2.4vw, 30px); }
.cta-band:has(.rise.knot) .wrap > div { max-width: min(640px, 58%); }
@media (max-width: 640px) {
  .rise.knot { right: -70px; bottom: -96px; width: 300px; animation-range: entry 0% entry 100%; }
  .cta-band:has(.rise.knot) .wrap { padding-bottom: 150px; }
  .cta-band:has(.rise.knot) .wrap > div { max-width: none; }
}
/* phones: the footer ends above the fixed tab bar, so its last line (the motion switch) can be reached */
@media (max-width: 860px) { .foot { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }
