/* Futuristic layer for the dark look (2026-10-18). Light touch: aurora light, a faint grid,
   glass panels, glow borders and motion. Pure restyle; every effect is off under reduced motion. */
.theme-dark { --glow: rgba(255, 154, 77, .22); --glow-red: rgba(213, 7, 27, .28); --glow-blue: rgba(70, 90, 255, .22); }

/* Aurora + grid, fixed behind everything (injected by dark-fx.js) */
.fx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-bg i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; will-change: transform; }
.fx-bg i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: var(--glow-blue); animation: fx-drift 26s ease-in-out infinite alternate; }
.fx-bg i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: 18vh; background: var(--glow-red); animation: fx-drift 32s ease-in-out infinite alternate-reverse; }
.fx-bg i:nth-child(3) { width: 38vw; height: 38vw; left: 28vw; bottom: -20vw; background: var(--glow); animation: fx-drift 38s ease-in-out infinite alternate; }
@keyframes fx-drift { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
.theme-dark .dk-block { background: transparent; }
.theme-dark .dk-alt { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); }


/* Scroll progress */
.fx-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--ember), #8fa0ff); z-index: 200; pointer-events: none; }

/* Header: glass that tightens on scroll */
.theme-dark .site-head { transition: background .3s, box-shadow .3s; }
.theme-dark .site-head.scrolled { background-color: rgba(7,7,13,.88); }
.theme-dark .nav > a { position: relative; }
.theme-dark .nav > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--ember), transparent); transform: scaleX(0); transition: transform .35s; }
.theme-dark .nav > a:hover::after { transform: scaleX(1); }

/* Hero: slow cinematic zoom, breathing glow, scroll cue */
.theme-dark .dk-hero .bg img, .theme-dark .dk-phero .bg img { animation: fx-zoom 22s ease-out both; will-change: transform; }
@keyframes fx-zoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.theme-dark .dk-glow { animation: fx-breathe 7s ease-in-out infinite alternate; }
@keyframes fx-breathe { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.theme-dark .dk-mono { animation: fx-float 6s ease-in-out infinite; }
@keyframes fx-float { 50% { transform: translateY(-8px); } }
.theme-dark .dk-scroll span { animation: fx-cue 1.8s ease-in-out infinite; }
@keyframes fx-cue { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.theme-dark h1 .fx-w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: fx-word .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes fx-word { to { opacity: 1; transform: none; filter: none; } }
.theme-dark h1 .fx-grad { background: linear-gradient(100deg, var(--ink) 20%, var(--ember) 50%, var(--ink) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-word .9s cubic-bezier(.2,.7,.2,1) forwards, fx-shine 7s linear 1.2s 2; animation-delay: calc(.15s + var(--i) * .07s), 0s; }
@keyframes fx-shine { to { background-position: -220% 0; } }

/* Reveals: soft focus pull */


/* Glass cards with a glow rim that follows the cursor.
   Edges (2026-10-18): one radius everywhere, a hairline border drawn as a gradient (bright at the top,
   fading down) through a transparent border, a faint inner top highlight and a soft drop. Painted once;
   nothing here animates except transform/opacity. */
.theme-dark {
  --card-fill: rgba(16, 15, 30, .74);
  --card-edge: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.06) 38%, rgba(255,255,255,.035));
  --card-edge-hi: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.09) 40%, rgba(255,255,255,.05));
  --card-edge-ember: linear-gradient(160deg, rgba(255,154,77,.6), rgba(255,255,255,.08) 34%, rgba(255,255,255,.035));
  --card-depth: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.35), 0 22px 44px -28px rgba(0,0,0,.85);
}
.theme-dark .pcard, .theme-dark .feature, .theme-dark .card, .theme-dark .form-card, .theme-dark .dk-gift, .theme-dark .tier, .theme-dark .product, .theme-dark .person, .theme-dark .dk-prog, .theme-dark .cal, .theme-dark .aside-card, .theme-dark .dk-mission {
  position: relative; border: 1px solid transparent; border-radius: var(--r-card);
  background: linear-gradient(var(--card-fill), var(--card-fill)) padding-box, var(--card-edge) border-box;
  box-shadow: var(--card-depth);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, opacity .8s;
}
.theme-dark .form-card, .theme-dark .dk-gift, .theme-dark .aside-card, .theme-dark .dk-mission { --card-edge: var(--card-edge-ember); }
.theme-dark .aside-card::before, .theme-dark .dk-mission::before { content: none; }
.theme-dark .pcard:hover, .theme-dark .card:hover, .theme-dark .product:hover, .theme-dark .person:hover, .theme-dark .tier:hover, .theme-dark .feature:hover, .theme-dark .dk-gift:hover, .theme-dark .dk-prog:hover { border-color: transparent; --card-edge: var(--card-edge-hi); }
.theme-dark .form-card:hover { border-color: transparent; }
.theme-dark .pcard::before, .theme-dark .feature::before, .theme-dark .card::before, .theme-dark .form-card::before, .theme-dark .dk-gift::before, .theme-dark .tier::before, .theme-dark .product::before, .theme-dark .person::before, .theme-dark .dk-prog::before {
  content: ""; position: absolute; inset: -1px; width: auto; height: auto; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,154,77,.85), rgba(213,7,27,.35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.theme-dark .pcard:hover::before, .theme-dark .feature:hover::before, .theme-dark .card:hover::before, .theme-dark .form-card:hover::before, .theme-dark .dk-gift:hover::before, .theme-dark .tier:hover::before, .theme-dark .product:hover::before, .theme-dark .person:hover::before, .theme-dark .dk-prog:hover::before { opacity: 1; }
.theme-dark .pcard:hover, .theme-dark .dk-gift:hover, .theme-dark .tier:hover, .theme-dark .product:hover, .theme-dark .person:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(255,154,77,.08); }
.theme-dark .card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.5); }.theme-dark .pcard .img img, .theme-dark .product img, .theme-dark .g-item img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.theme-dark .pcard:hover .img img, .theme-dark .g-item:hover img { transform: scale(1.07); }
.theme-dark .feature .ic { text-shadow: 0 0 18px var(--glow); }

/* Buttons: sheen sweep + magnetic lift + soft pulse on the main call to action */
.theme-dark .btn { position: relative; overflow: hidden; transition: transform .25s, box-shadow .3s, background .25s, color .25s, scale .12s; will-change: transform; }
.theme-dark .btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); pointer-events: none; }
.theme-dark .btn:hover::after { left: 140%; transition: left .7s; }

.theme-dark .btn .arrow { display: inline-block; transition: transform .25s; }
.theme-dark .btn:hover .arrow { transform: translateX(5px); }

/* Forms: glowing focus on glass inputs */
.theme-dark input, .theme-dark select, .theme-dark textarea { background: rgba(255,255,255,.045); border: 1px solid var(--line-2); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.theme-dark input:focus, .theme-dark select:focus, .theme-dark textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255,154,77,.14), 0 0 28px rgba(255,154,77,.12); background: rgba(255,255,255,.07); }
.theme-dark .form-card { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 80px -20px rgba(0,0,0,.55); }

.fx-count { font-variant-numeric: tabular-nums; }

/* Twinkling particles in heroes */
.fx-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.fx-stars b { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; animation: fx-twinkle var(--t, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s); box-shadow: 0 0 8px rgba(255,255,255,.8); }
@keyframes fx-twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 50% { opacity: .9; transform: translateY(-26px) scale(1.2); } }

/* Page enter */
.theme-dark main { animation: fx-enter .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fx-enter { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 760px) { .fx-spot, .fx-bg i:nth-child(3) { display: none; } .theme-dark .pcard, .theme-dark .feature, .theme-dark .card { backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .theme-dark *, .theme-dark *::before, .theme-dark *::after, .fx-bg i, .fx-stars b { animation: none !important; }
  .theme-dark h1 .fx-w { opacity: 1; transform: none; filter: none; }
  .theme-dark .rv:not(.in) { filter: none; }
  .fx-spot, .fx-progress { display: none; }
}

/* ---------- Phone: shorter, swipeable pages instead of one endless scroll ---------- */
.fx-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: rgba(12, 11, 23, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); z-index: 150; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.fx-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-top circle { fill: none; stroke-width: 3; }
.fx-top .trk { stroke: rgba(255, 255, 255, .12); }
.fx-top .bar { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: calc(144.5 - 144.5 * var(--sp, 0)); filter: drop-shadow(0 0 5px rgba(255, 154, 77, .7)); }
.fx-top span { font-size: 18px; line-height: 1; }
.fx-more-btn { display: none; }
@media (min-width: 761px) { .fx-top { display: none; } }

@media (max-width: 760px) {
  /* Swipe rows: one card at a time with the next one peeking in */
  .theme-dark .dk-programs, .theme-dark .dk-gifts, .theme-dark .grid.c4, .theme-dark .dk-block .team {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px;
  }
  .theme-dark .dk-programs::-webkit-scrollbar, .theme-dark .dk-gifts::-webkit-scrollbar, .theme-dark .grid.c4::-webkit-scrollbar, .theme-dark .dk-block .team::-webkit-scrollbar { display: none; }
  .theme-dark .dk-programs > *, .theme-dark .dk-gifts > *, .theme-dark .grid.c4 > *, .theme-dark .dk-block .team > * { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
  .theme-dark .dk-gifts > * { flex-basis: 62%; }
  .theme-dark .dk-programs > .rv:not(.in), .theme-dark .grid.c4 > .rv:not(.in) { filter: none; }

  /* Programs page: compact rows instead of 31 tall cards */
  .theme-dark .pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .theme-dark .pgrid .pcard { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; min-height: 0; }
  .theme-dark .pgrid .pcard .img { aspect-ratio: 1; height: auto; border-radius: 10px; overflow: hidden; }
  .theme-dark .pgrid .pcard .img img { width: 100%; height: 100%; object-fit: cover; }
  .theme-dark .pgrid .pcard .txt { padding: 0; }
  .theme-dark .pgrid .pcard h3 { font-size: 19px; line-height: 1.15; margin: 2px 0 0; }
  .theme-dark .pgrid .pcard p, .theme-dark .pgrid .pcard .more { display: none; }
  .theme-dark .pgrid .pcard .tag { font-size: 10px; }

  /* Long lists fold up: first few rows, then a tap to open the rest */
  .fx-fold > .fx-extra { display: none; }
  .fx-fold.open > .fx-extra { display: grid; animation: fx-unfold .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k, 0) * 60ms); }
  @keyframes fx-unfold { from { opacity: 0; transform: translateY(-10px); } }
  .fx-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 12px 0 4px; padding: 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); font: 600 14px/1 var(--body); }
  .fx-more-btn i { display: inline-block; font-style: normal; transition: transform .3s; }
  .fx-fold.open + .fx-more-btn i { transform: rotate(180deg); }

  /* Tighter sections */
  .theme-dark .dk-block { padding-block: 56px; }
  .theme-dark .dk-hero { min-height: 0; }
}

/* Starfield canvas (dark-fx.js) */
.fx-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: no-repeat center / cover; }
/* the hero photo covers the sky at the top; let the stars show through a little */
.theme-dark .dk-hero, .theme-dark .dk-phero { isolation: isolate; }

/* 60fps pass: only transform/opacity animate; layers are isolated so they never trigger page layout */
.theme-dark .head-cta .btn:not(.outline-light), .theme-dark .dk-hero .btn:not(.outline-light) { box-shadow: 0 6px 26px rgba(213,7,27,.35); }
.fx-gal { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fx-bg, .fx-sky, .fx-gal { contain: strict; }

/* Decorative glows and parallax layers must never widen the page (seen on /dark/store at desktop width). */
.theme-dark main { overflow-x: clip; }

/* Top of the page: the two notice strips and the header read as one clean glass bar with a
   single crisp edge, no fading lines or shadow bands (owner, 2026-10-18). */
.theme-dark .demo-bar, .dk-preview { background: rgba(7, 7, 13, .94); border: 0; border-image: none; }
.dk-preview { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .05); }
.theme-dark .site-head { background-color: rgba(7, 7, 13, .9); border-bottom: 1px solid rgba(255, 255, 255, .08); border-image: none; }
.theme-dark .site-head.scrolled { background-color: rgba(7, 7, 13, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 12px 32px rgba(0, 0, 0, .35); }
.theme-dark .site-head::after { display: none; }

/* Hero photos dissolve into the sky on an eased curve (a straight linear fade shows a visible
   band where it starts). Stops follow a smoothstep from 45% to 100%. */
.dk-hero .bg, .dk-phero .bg, .dk-hero::before, .dk-phero::before {
  -webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0,0,0,.97) 52%, rgba(0,0,0,.9) 59%, rgba(0,0,0,.77) 66%, rgba(0,0,0,.6) 73%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.23) 87%, rgba(0,0,0,.1) 93%, rgba(0,0,0,.03) 97%, transparent);
  mask-image: linear-gradient(180deg, #000 45%, rgba(0,0,0,.97) 52%, rgba(0,0,0,.9) 59%, rgba(0,0,0,.77) 66%, rgba(0,0,0,.6) 73%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.23) 87%, rgba(0,0,0,.1) 93%, rgba(0,0,0,.03) 97%, transparent);
}

/* Start-up, in order (owner, 2026-10-18): black → the star sky appears → the top bar settles
   in → the page content rises. Pure CSS so nothing flashes before scripts run; the stars' own
   fade-in and forward glide are in dark-fx.js. html.seen (set by the inline head script on later
   pages of a visit) plays a short version. The page behind is always dark, never white. */
html:has(body.theme-dark) { background: #07070d; }
body.theme-dark { background: transparent; } /* the colour lives on <html>, so the fixed star layers (z-index -1) stay visible */
.theme-dark::before { content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; background: #040408; animation: fx-dawn 1.2s cubic-bezier(.45, 0, .2, 1) .1s both; }
@keyframes fx-dawn { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.theme-dark .site-head, .theme-dark .demo-bar, .dk-preview { animation: fx-settle 1.2s cubic-bezier(.25, .6, .25, 1) 1s both; }
@keyframes fx-settle { from { opacity: 0; transform: translateY(-10px); } }
.theme-dark main { animation: fx-enter 1.7s cubic-bezier(.25, .6, .25, 1) 1.25s both; }
.theme-dark h1 .fx-w { animation-duration: 1.3s; animation-delay: calc(1.6s + var(--i) * .08s); }
.theme-dark h1 .fx-grad { animation-duration: 1.3s, 7s; animation-delay: calc(1.6s + var(--i) * .08s), 3.2s; }
html.seen .theme-dark::before { animation-duration: .45s; animation-delay: 0s; }
html.seen .theme-dark .site-head, html.seen .theme-dark .demo-bar, html.seen .dk-preview { animation: none; }
html.seen .theme-dark main { animation-delay: .1s; animation-duration: .6s; }
html.seen .theme-dark h1 .fx-w { animation-delay: calc(.25s + var(--i) * .05s); }
html.seen .theme-dark h1 .fx-grad { animation-delay: calc(.25s + var(--i) * .05s), 1.4s; }
@media (prefers-reduced-motion: reduce) { .theme-dark::before { display: none; } .theme-dark .site-head, .theme-dark .demo-bar, .dk-preview, .theme-dark main { animation: none !important; } }

/* No divider lines between sections at all: the fading hairlines showed as broken white lines
   on large or zoomed screens (owner, 2026-10-18). Sections now flow on spacing and the sky alone. */
.theme-dark section.block, .theme-dark .dk-block, .dk-block, .dk-stay, .theme-dark .dk-final, .theme-dark .site-foot { border-top: 0 !important; border-image: none !important; }

/* GPU seam fix (owner saw dashed white lines building up over time near the bottom of the hero on
   his work screen): the hero photo no longer zooms or parallaxes under its fade mask, and the
   aurora uses soft radial gradients instead of huge blur filters. Both were re-rasterised every
   frame and can leave tile seams on some GPUs / display scales. */
.theme-dark .dk-hero .bg img, .theme-dark .dk-phero .bg img { animation: none !important; transform: none !important; translate: none !important; will-change: auto !important; }
.fx-bg i { filter: none !important; opacity: .8; }
.fx-bg i:nth-child(1) { background: radial-gradient(circle, rgba(70, 90, 255, .2), transparent 68%); }
.fx-bg i:nth-child(2) { background: radial-gradient(circle, rgba(213, 7, 27, .24), transparent 68%); }
.fx-bg i:nth-child(3) { background: radial-gradient(circle, rgba(255, 154, 77, .18), transparent 68%); }

/* Light level: no live blur over the moving sky. */
body.fx-lite *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.fx-lite .site-head{background-color:rgba(7,7,13,.96)!important}

/* Counting numbers keep their width, so the line does not jiggle while they count up. */
.fx-count { font-variant-numeric: tabular-nums; }

/* ---- 2026-11-08 polish: legal pages and notes, tap targets, spacing ---- */
/* Same section rhythm for .block as .dk-block (was 120 vs 130 at full width). */
.theme-dark section.block:not(.tight) { padding: clamp(80px, 10vw, 130px) 0; }
/* The total row is first in the membership/sponsor summaries: no rule above it there. */
.summary > .row.total:first-child { border-top: 0 !important; margin-top: 0; padding-top: 4px; }
/* Store cart badge: white on red (dark text on red was 3.7:1). */
.cart-fab .count { color: #fff; }

/* Legal notes beside forms, the auto-renew disclosure, newsletter fine print */
.legal-note, .news-fine { font-size: 13.5px; line-height: 1.55; color: var(--soft); margin-top: 10px; }
.news-fine { font-size: 13px; margin-top: 8px; }
.legal-note a, .news-fine a, .legal a:not(.btn), .renew-box a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--ink); }
.renew-box { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(255, 154, 77, .35); border-radius: var(--r-card, 14px); background: rgba(255, 154, 77, .06); font-size: 14.5px; line-height: 1.6; color: var(--text); }
.renew-box b { color: var(--ink); }

/* Legal and credits pages: a readable column */
.wrap.legal { width: min(820px, 100% - 40px); }
.legal > section { margin-top: clamp(36px, 5vw, 52px); scroll-margin-top: 110px; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.legal p + p, .legal ul + p, .legal ol + p, .legal p + ul, .legal p + ol { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 1.3em; display: grid; gap: 10px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: var(--ember); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 22px; padding: 16px 0; font-size: 14.5px; }
.legal-toc a { color: var(--soft) !important; text-decoration: none !important; padding: 11px 0; }
.legal-toc a:hover { color: var(--ink) !important; }
mark.tbc { background: rgba(255, 154, 77, .16); color: var(--ember); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal .credits { list-style: none; padding: 0; gap: 0; margin-top: 26px; }
.legal .credits li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.legal .credits .muted { font-size: 14px; }

/* Footer legal links */
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 48px; font-size: 14px; }
.foot-legal a { color: var(--soft); padding: 6px 0; }
.foot-legal a:hover { color: var(--ink); }
.foot-legal + .foot-base { margin-top: 18px; }

/* Team page: two photos per row on tablets instead of one huge (low-resolution) photo; capped width on phones. */
@media (min-width: 521px) and (max-width: 820px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .block .team { max-width: 420px; margin-inline: auto; } }

/* Tap targets of at least 44px on touch-size screens */
@media (max-width: 1024px) {
  .chip, .fx-more-btn, .cal-head .btn { min-height: 44px; }
  .offer-nav a { padding: 9px 0; }
  .cal-head .btn { min-width: 44px; }
  .socials a { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .foot-base a, .foot-legal a { padding: 12px 0; }
  .checkline { padding-block: 10px; }
  .person summary { display: inline-block; padding: 10px 0; }
  .sw { padding: 5px; margin: -5px; }
  .qty button { width: 44px; height: 44px; }
  .qty input { height: 44px; }
  .dk-scroll::after { content: ""; position: absolute; inset: -10px -14px; }
}

/* =====================================================================================
   2026-11-12 polish pass (Fable). Type and spacing, form fields, calmer motion, quicker
   start-up. Everything animated here is transform/opacity on plain layers (no masks, no
   blur filters); the side glows (.fx-bg) are untouched. Off or reduced under reduced motion.
   ===================================================================================== */
.theme-dark { --ease-out: cubic-bezier(.23, 1, .32, 1); --r-field: 10px; }
body.theme-dark { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---- Type: big serif headings sit a touch tighter; the home headline fits the first screen ---- */
.theme-dark h1 { letter-spacing: -.012em; }
.theme-dark h2 { letter-spacing: -.008em; }
.theme-dark main p, .theme-dark main li { text-wrap: pretty; }
.dk-hero h1 { font-size: clamp(42px, 5.5vw, 80px); max-width: 21ch; }
.dk-hero .wrap { padding: clamp(52px, 6.5vw, 92px) 0 clamp(72px, 9vw, 118px); }
.dk-hero .dk-mono { width: clamp(84px, 8vw, 112px); margin-bottom: 20px; }
.dk-hero .lead { max-width: 58ch; margin: 22px auto 34px; }
.dk-phero .lead { max-width: 60ch; }

/* ---- Feature rows are cards here: give the text room on both sides, and air between rows ---- */
.theme-dark .feature { padding: 18px 22px 18px 18px; gap: 16px; }
.theme-dark :not(.features) > .feature + .feature { margin-top: 10px; }
.theme-dark .feature b { font-size: 17px; line-height: 1.35; margin-bottom: 4px; }
.theme-dark .feature p { font-size: 15.5px; line-height: 1.6; }
.dk-cols h3 { margin-bottom: 18px; }

/* ---- Cards: one hover curve, a shorter lift ---- */
.theme-dark .pcard, .theme-dark .feature, .theme-dark .card, .theme-dark .form-card, .theme-dark .dk-gift, .theme-dark .tier, .theme-dark .product, .theme-dark .person, .theme-dark .dk-prog, .theme-dark .cal, .theme-dark .aside-card, .theme-dark .dk-mission {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .theme-dark .pcard:hover, .theme-dark .dk-gift:hover, .theme-dark .tier:hover, .theme-dark .product:hover, .theme-dark .person:hover { transform: translateY(-4px); }
}

/* ---- Scroll reveals: a short rise that settles (strong ease-out), staggered inside a group.
        Keyframes, so a card's own hover transition is never borrowed for the entrance. ---- */
:where(.theme-dark) .rv { transform: none; transition: none; }
.theme-dark .rv.in { animation: fx-rise .75s var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes fx-rise { from { opacity: 0; transform: translateY(18px); } }

/* ---- Buttons: the sheen moves by transform (it used to animate `left`), no standing GPU layer per button ---- */
.theme-dark .btn { will-change: auto; transition: transform .25s var(--ease-out), box-shadow .3s, background-color .25s, color .25s, border-color .25s, scale .12s var(--ease-out); }
.theme-dark .btn::after { left: 0; transform: translateX(-160%) skewX(-20deg); }
.theme-dark .btn:hover::after { left: 0; transform: translateX(280%) skewX(-20deg); transition: transform .7s var(--ease-out); }
.theme-dark .btn.block[type="submit"] { min-height: 54px; font-size: 16px; }

/* ---- Keyboard focus: a white ring reads on the dark page and on the red buttons ---- */
.theme-dark :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Form cards are a little more solid, so a bright part of the galaxy never sits behind small print */
.theme-dark .form-card { --card-fill: rgba(14, 13, 27, .88); }

/* ---- Form fields: the cards' rounded language, a clear hover and focus, dark autofill ---- */
.theme-dark input.i, .theme-dark select.i, .theme-dark textarea.i { border-radius: var(--r-field); border-width: 1px; min-height: 50px; padding: 13px 16px; }
.theme-dark textarea.i { min-height: 104px; }
.theme-dark label.f > .i { margin-top: 8px; }
.theme-dark label.f { line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .theme-dark input.i:hover:not(:focus), .theme-dark select.i:hover:not(:focus), .theme-dark textarea.i:hover:not(:focus) { border-color: rgba(255, 255, 255, .32); }
}
.theme-dark input.i:-webkit-autofill, .theme-dark input.i:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 100px #17162a inset; box-shadow: 0 0 0 100px #17162a inset;
}
.theme-dark main select:not([multiple]), .theme-dark main select:not([multiple]):focus {
  -webkit-appearance: none; appearance: none; color-scheme: dark; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23dcd9e8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.theme-dark main input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; padding: 0; min-height: 0; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 6px; background: rgba(255, 255, 255, .05) center / 14px no-repeat;
  transition: background-color .15s, border-color .15s, box-shadow .2s;
}
.theme-dark main input[type="checkbox"]:checked {
  background-color: var(--red); border-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.theme-dark main input[type="checkbox"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.theme-dark .checkline { align-items: flex-start; line-height: 1.5; }

/* Choices: plan boxes, gift amounts, the impact note */
.theme-dark .plan .box { transition: border-color .2s, background-color .2s, transform .3s var(--ease-out); }
.theme-dark .plan input:checked + .box { background: rgba(255, 255, 255, .045); }
.theme-dark .amt span, .theme-dark .impact { border-radius: var(--r-field); }
@media (hover: hover) and (pointer: fine) {
  .theme-dark .plan:hover input:not(:checked) + .box, .theme-dark .amt:hover input:not(:checked) + span { border-color: rgba(255, 255, 255, .34); }
}
/* Enrollment steps: the bar fills by scale, not by width */
.theme-dark .steps .bar i { width: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.theme-dark .steps li.done .bar i, .theme-dark .steps li.on .bar i { transform: none; }

/* ---- Beside a long form, the short column travels with the page instead of leaving a void ---- */
@media (min-width: 821px) and (min-height: 760px) {
  .theme-dark .split:has(> .form-card) > :not(.form-card) { position: sticky; top: 112px; }
}

/* ---- Headline words: a lighter focus pull, and the highlight now sweeps across once and
        leaves the words plain (it used to come to rest half way through a letter) ---- */
.theme-dark h1 .fx-w { filter: blur(5px); }
.theme-dark h1 .fx-grad {
  background-image: linear-gradient(100deg, var(--ink) 0 38%, var(--ember) 50%, var(--ink) 62% 100%); background-size: 300% 100%; background-position: 0 0;
  animation: fx-word 1s var(--ease-out) forwards, fx-sweep 2.4s ease-in-out both;
}
@keyframes fx-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
body.fx-lite h1 .fx-w { filter: none; }

/* ---- Start-up: the same order (sky, top bar, page), about a second sooner on a first visit ---- */
.theme-dark::before { animation-duration: .9s; animation-delay: .05s; }
.theme-dark .site-head, .theme-dark .demo-bar, .dk-preview { animation-duration: .8s; animation-delay: .5s; animation-timing-function: var(--ease-out); }
.theme-dark main { animation-duration: 1.1s; animation-delay: .7s; animation-timing-function: var(--ease-out); }
.theme-dark h1 .fx-w { animation-duration: 1s; animation-delay: calc(.95s + var(--i) * .06s); animation-timing-function: var(--ease-out); }
.theme-dark h1 .fx-grad { animation-duration: 1s, 2.4s; animation-timing-function: var(--ease-out), ease-in-out; animation-delay: calc(.95s + var(--i) * .06s), 2.2s; }
html.seen .theme-dark::before { animation-duration: .4s; animation-delay: 0s; }
html.seen .theme-dark main { animation-delay: .05s; animation-duration: .55s; }
html.seen .theme-dark h1 .fx-w { animation-delay: calc(.2s + var(--i) * .045s); }
html.seen .theme-dark h1 .fx-grad { animation-delay: calc(.2s + var(--i) * .045s), 1.2s; }

/* ---- Accessibility: the home tabs now say "selected" (they said "pressed", which a tab cannot be),
        and the phone menu's program links are full-height tap targets ---- */
.theme-dark .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #07070d; }
@media (max-width: 1080px) { .theme-dark .drawer .sub a { padding-block: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .theme-dark .rv, .theme-dark .rv.in { opacity: 1; animation: none !important; }
  .theme-dark h1 .fx-w { filter: none; }
  .theme-dark h1 .fx-grad { background-position: 0 0; }
  .theme-dark .btn::after { display: none; }
}
