/* =============================================================================
   CL-241 (Frank 2026-11-26): the Night look, every page. Shared by site/index.html (inlined by the home build) and every page
   built from site/_build/template.html (linked). Day mode is not touched: every rule here is Night only.

   1. Base color: the deep teal-blue Frank picked from mid-home (around the Instant Quote Builder, sampled at #072B43),
      only slightly darker at the top of each page. Down the page it shifts through cooler and warmer tones, a little
      emerald and the visitor's own brand colors (--mx-*), so Random Aura and the color mix still recolor it.
      The golden glows stay (top right, then down the page). All of it is one painted background that scrolls with the
      page: no scroll handler, no fixed layer (fixed backgrounds stutter on phones).
   2. Textures that change as you scroll: a fine grain everywhere, a dot grid in some bands and fine gold hatching in
      others (main::before / main::after, faded in and out with a mask).
   3. Hero: the raised panel keeps its color; its flat brushed lines become a richer finish (grain, an engraved
      guilloche ring pattern from the corner, a soft satin sheen). Random Texture still swaps the finish as before.
   Text contrast: the lightest tone (#053051) still gives muted text (#94A3B8) about 5:1, main text far more (AA).
   ============================================================================= */

html:not([data-theme="day"]) body {
  --nb-top: #052131;
  --nb-base: #072B43;
  --nb-cool: color-mix(in srgb, var(--mx-sec, #0284C7) 16%, #06203A);
  --nb-warm: color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, #082636);
  --nb-green: color-mix(in srgb, #10B981 10%, #062638);
  --nb-deep: color-mix(in srgb, var(--mx-sec-deep, #0369A1) 22%, #061C30);
  --nb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .11 0 0 0 -.035'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-color: var(--nb-base) !important;
  background-image:
    var(--nb-grain),
    radial-gradient(1100px 760px at 84% 1.5%, color-mix(in srgb, var(--mx-pri, #F59E0B) 21%, transparent) 0%, transparent 70%),
    radial-gradient(900px 900px at 6% 29%, color-mix(in srgb, var(--mx-pri, #F59E0B) 10%, transparent) 0%, transparent 70%),
    radial-gradient(1000px 900px at 14% 47%, color-mix(in srgb, var(--mx-sec, #0284C7) 17%, transparent) 0%, transparent 68%),
    radial-gradient(900px 820px at 88% 62%, rgba(16, 185, 129, 0.10) 0%, transparent 70%),
    radial-gradient(1000px 820px at 18% 82%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--nb-top) 0%, #062639 6%, var(--nb-base) 14%, var(--nb-cool) 26%, var(--nb-warm) 38%, var(--nb-base) 50%, var(--nb-green) 62%, var(--nb-deep) 74%, var(--nb-warm) 86%, var(--nb-base) 94%, var(--nb-top) 100%) !important;
  background-size: 180px 180px, auto, auto, auto, auto, auto, auto !important;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-attachment: scroll !important;
}

/* textures that come and go as you scroll (behind every section's own content; sections with their own panel cover them) */
html:not([data-theme="day"]) main { position: relative; }
html:not([data-theme="day"]) main::before,
html:not([data-theme="day"]) main::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
html:not([data-theme="day"]) main::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 24%, #000 33%, transparent 42%, transparent 63%, #000 71%, #000 79%, transparent 88%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 24%, #000 33%, transparent 42%, transparent 63%, #000 71%, #000 79%, transparent 88%);
}
html:not([data-theme="day"]) main::after {
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--mx-hi, #FDE047) 5%, transparent) 0 1px, transparent 1px 15px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 3%, transparent 12%, transparent 40%, #000 48%, #000 57%, transparent 65%, transparent 86%, #000 94%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 3%, transparent 12%, transparent 40%, #000 48%, #000 57%, transparent 65%, transparent 86%, #000 94%, #000 100%);
}

/* the hero's raised panel (home): same color, richer finish */
html:not([data-theme="day"]) #heroStageSurface.tex-brushed-obsidian {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .13 0 0 0 -.04'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.035) 44%, rgba(255, 255, 255, 0.012) 52%, transparent 64%),
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 55% at 6% 100%, color-mix(in srgb, var(--mx-pri, #F59E0B) 9%, transparent), transparent 70%),
    linear-gradient(135deg, var(--p-navy, #0B1324) 0%, #050811 65%, #090E1A 100%);
  background-size: 160px 160px, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}
html:not([data-theme="day"]) #heroStageSurface.tex-brushed-obsidian::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0 1px, transparent 1px 9px),
    repeating-radial-gradient(circle at 0% 100%, rgba(125, 211, 252, 0.07) 0 1px, transparent 1px 11px);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), radial-gradient(ellipse 55% 60% at 0% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 75% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%), radial-gradient(ellipse 55% 60% at 0% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
}

/* =============================================================================
   CL-335 (Frank 2026-11-29: the Night background "is not premium looking ... i want it back now ... the deep space obsidean
   with the stars it was beautiful"). The teal page with warm and green bands (CL-241) made muddy olive patches under the
   amber glows. Night is deep-space Obsidian again, as in Gemini's first version (Obsidian to navy and back, one blue glow and
   one amber glow near the top), with a quiet field of stars over the whole page. No green, no teal, no hatching, no weave.
   One painted background that scrolls with the page; no motion. Every page (home + the pages built from the template).
   ============================================================================= */
html:not([data-theme="day"]) body {
  --nb-top: #04070D;
  --nb-base: #060A12;
  --nb-cool: color-mix(in srgb, var(--mx-sec, #0284C7) 9%, #070C18);
  --nb-warm: #080D1A;
  --nb-green: #060B15;
  --nb-deep: color-mix(in srgb, var(--mx-sec-deep, #0369A1) 12%, #050914);
  background-color: #060A12 !important;
  background-image:
    radial-gradient(1100px 760px at 86% 1.5%, color-mix(in srgb, var(--mx-pri, #F59E0B) 13%, transparent) 0%, transparent 68%),
    radial-gradient(1000px 820px at 8% 3%, color-mix(in srgb, var(--mx-sec, #0284C7) 17%, transparent) 0%, transparent 68%),
    radial-gradient(1200px 900px at 12% 46%, color-mix(in srgb, var(--mx-sec, #0284C7) 11%, transparent) 0%, transparent 70%),
    radial-gradient(1200px 900px at 90% 72%, color-mix(in srgb, var(--mx-sec-deep, #0369A1) 12%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--nb-top) 0%, var(--nb-base) 8%, #0A1220 26%, var(--nb-base) 44%, var(--nb-cool) 60%, var(--nb-base) 76%, #0A1220 90%, var(--nb-top) 100%) !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}
/* the stars: two tiled fields of different sizes so the repeat never shows; small faint ones, a few brighter ones in white, sky and citron */
html:not([data-theme="day"]) main::before {
  background-image:
    radial-gradient(1.2px 1.2px at 169px 81px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 28px 41px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 302px 33px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 48px 226px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 127px 50px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 293px 67px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 325px 302px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 303px 207px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 27px 289px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 218px 77px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 161px 290px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 301px 296px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 53px 284px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 34px 320px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 352px 276px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 242px 303px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 157px 131px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 403px 128px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 157px 272px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1.2px 1.2px at 377px 233px, rgba(255,255,255,0.32), transparent),
    radial-gradient(1px 1px at 41px 64px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 391px 179px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 219px 24px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 297px 408px, rgba(255,255,255,0.32), transparent),
    radial-gradient(1.2px 1.2px at 359px 183px, rgba(186,230,253,0.6), transparent),
    radial-gradient(1px 1px at 412px 237px, rgba(255,255,255,0.75), transparent);
  background-size: 420px 420px;
  background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}
html:not([data-theme="day"]) main::after {
  background-image:
    radial-gradient(2.2px 2.2px at 280px 489px, rgba(253,224,71,0.7), transparent),
    radial-gradient(2.2px 2.2px at 70px 66px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.8px 1.8px at 321px 595px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.8px 1.8px at 295px 399px, rgba(253,224,71,0.7), transparent),
    radial-gradient(1.5px 1.5px at 27px 476px, rgba(186,230,253,0.85), transparent),
    radial-gradient(1.5px 1.5px at 629px 123px, rgba(186,230,253,0.85), transparent),
    radial-gradient(2.2px 2.2px at 227px 298px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 257px 411px, rgba(186,230,253,0.85), transparent),
    radial-gradient(1.8px 1.8px at 86px 174px, rgba(186,230,253,0.85), transparent);
  background-size: 640px 640px;
  background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}

/* =============================================================================
   CL-339 (Frank 2026-11-30: "i like the color but i dont like the stars at all. i wanted realistic looking stars and space. not icons").
   The Night sky, every page. The colors are CL-336's (deep black, Obsidian blue, purple and deep blue). The stars are real-looking
   points of light now, never shapes:
     1. the page: the color and nebula light;
     2. the depths: hundreds of very faint stars, denser along a soft band, FIXED behind the page (the page slides over them);
     3. nearer stars: fewer and brighter, scrolling with the page;
     4. the brightest few, each with a soft halo, in two fields that twinkle gently and out of step, as stars do;
     5. now and then, one faint shooting star high on the right.
   Each field is one small picture (SVG), so it is light to draw. Only opacity moves, on screen-sized layers. A phone gets one twinkling
   field. Reduced motion: everything holds still.
   ============================================================================= */
html:not([data-theme="day"]) body {
  /* Frank, same day: "deep black to deep obsidean blue to our deep space blacks and purple and deep blue gradients" */
  background-color: #03040A !important;
  background-image:
    radial-gradient(1100px 820px at 4% 3%, color-mix(in srgb, var(--mx-sec, #0284C7) 20%, transparent) 0%, transparent 68%),
    radial-gradient(900px 640px at 90% 1%, color-mix(in srgb, var(--mx-pri, #F59E0B) 11%, transparent) 0%, transparent 64%),
    radial-gradient(1200px 900px at 96% 18%, rgba(109, 40, 217, 0.22) 0%, transparent 68%),
    radial-gradient(1300px 950px at 2% 33%, rgba(30, 64, 175, 0.30) 0%, transparent 70%),
    radial-gradient(1000px 760px at 70% 44%, rgba(76, 29, 149, 0.20) 0%, transparent 68%),
    radial-gradient(700px 520px at 96% 50%, rgba(16, 185, 129, 0.07) 0%, transparent 66%),
    radial-gradient(1300px 950px at 98% 63%, rgba(29, 78, 216, 0.26) 0%, transparent 70%),
    radial-gradient(1100px 820px at 6% 74%, rgba(124, 58, 237, 0.20) 0%, transparent 68%),
    radial-gradient(1200px 900px at 60% 88%, rgba(30, 58, 138, 0.30) 0%, transparent 70%),
    radial-gradient(700px 520px at 8% 97%, color-mix(in srgb, var(--mx-pri, #F59E0B) 7%, transparent) 0%, transparent 66%),
    linear-gradient(180deg, #020308 0%, #060A12 7%, #0A1128 20%, #05060E 34%, #0E0A26 48%, #04050C 60%, #0A1436 74%, #0C0822 87%, #020308 100%) !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}
/* 2. the depths */
html:not([data-theme="day"]) body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='832' cy='803' r='.3' opacity='.4'/%3E%3Ccircle cx='185' cy='283' r='.3' opacity='.4'/%3E%3Ccircle cx='331' cy='594' r='.3' opacity='.3'/%3E%3Ccircle cx='434' cy='608' r='.3' opacity='.4'/%3E%3Ccircle cx='443' cy='530' r='.3' opacity='.3'/%3E%3Ccircle cx='214' cy='414' r='.3' opacity='.4'/%3E%3Ccircle cx='46' cy='291' r='.7' opacity='.7'/%3E%3Ccircle cx='127' cy='183' r='.5' opacity='.4'/%3E%3Ccircle cx='268' cy='77' r='.6' opacity='.6'/%3E%3Ccircle cx='767' cy='99' r='.3' opacity='.4'/%3E%3Ccircle cx='6' cy='236' r='.5' opacity='.5'/%3E%3Ccircle cx='162' cy='549' r='.3' opacity='.4'/%3E%3Ccircle cx='589' cy='696' r='.3' opacity='.3'/%3E%3Ccircle cx='192' cy='892' r='.5' opacity='.5'/%3E%3Ccircle cx='355' cy='682' r='.4' opacity='.4'/%3E%3Ccircle cx='283' cy='400' r='.3' opacity='.4'/%3E%3Ccircle cx='14' cy='568' r='.6' opacity='.5'/%3E%3Ccircle cx='594' cy='413' r='.3' opacity='.4'/%3E%3Ccircle cx='601' cy='579' r='.3' opacity='.4'/%3E%3Ccircle cx='280' cy='387' r='.7' opacity='.7'/%3E%3Ccircle cx='439' cy='807' r='.3' opacity='.4'/%3E%3Ccircle cx='552' cy='353' r='.4' opacity='.4'/%3E%3Ccircle cx='559' cy='360' r='.5' opacity='.5'/%3E%3Ccircle cx='333' cy='271' r='.5' opacity='.5'/%3E%3Ccircle cx='104' cy='337' r='.3' opacity='.3'/%3E%3Ccircle cx='33' cy='519' r='.3' opacity='.4'/%3E%3Ccircle cx='2' cy='134' r='.6' opacity='.6'/%3E%3Ccircle cx='104' cy='285' r='.3' opacity='.3'/%3E%3Ccircle cx='41' cy='328' r='.4' opacity='.4'/%3E%3Ccircle cx='466' cy='183' r='.3' opacity='.3'/%3E%3Ccircle cx='104' cy='258' r='.3' opacity='.3'/%3E%3Ccircle cx='368' cy='826' r='.3' opacity='.4'/%3E%3Ccircle cx='855' cy='15' r='.5' opacity='.5'/%3E%3Ccircle cx='401' cy='588' r='.4' opacity='.5'/%3E%3Ccircle cx='844' cy='370' r='.6' opacity='.5'/%3E%3Ccircle cx='371' cy='438' r='.3' opacity='.4'/%3E%3Ccircle cx='819' cy='407' r='.5' opacity='.5'/%3E%3Ccircle cx='784' cy='605' r='.4' opacity='.4'/%3E%3Ccircle cx='586' cy='361' r='.4' opacity='.4'/%3E%3Ccircle cx='530' cy='72' r='.3' opacity='.4'/%3E%3Ccircle cx='131' cy='335' r='.3' opacity='.4'/%3E%3Ccircle cx='446' cy='424' r='.3' opacity='.4'/%3E%3Ccircle cx='838' cy='639' r='.7' opacity='.7'/%3E%3Ccircle cx='225' cy='62' r='.5' opacity='.5'/%3E%3Ccircle cx='270' cy='491' r='.5' opacity='.5'/%3E%3Ccircle cx='382' cy='465' r='.3' opacity='.3'/%3E%3Ccircle cx='889' cy='736' r='.3' opacity='.4'/%3E%3Ccircle cx='290' cy='44' r='.3' opacity='.4'/%3E%3Ccircle cx='270' cy='2' r='.7' opacity='.7'/%3E%3Ccircle cx='809' cy='518' r='.4' opacity='.4'/%3E%3Ccircle cx='191' cy='407' r='.3' opacity='.3'/%3E%3Ccircle cx='24' cy='271' r='.4' opacity='.4'/%3E%3Ccircle cx='832' cy='689' r='.7' opacity='.6'/%3E%3Ccircle cx='576' cy='551' r='.3' opacity='.4'/%3E%3Ccircle cx='543' cy='424' r='.3' opacity='.3'/%3E%3Ccircle cx='516' cy='470' r='.3' opacity='.4'/%3E%3Ccircle cx='437' cy='427' r='.3' opacity='.4'/%3E%3Ccircle cx='218' cy='77' r='.4' opacity='.5'/%3E%3Ccircle cx='723' cy='654' r='.4' opacity='.5'/%3E%3Ccircle cx='51' cy='170' r='.6' opacity='.5'/%3E%3Ccircle cx='809' cy='663' r='.3' opacity='.3'/%3E%3Ccircle cx='157' cy='830' r='.4' opacity='.4'/%3E%3Ccircle cx='289' cy='421' r='.5' opacity='.5'/%3E%3Ccircle cx='396' cy='784' r='.7' opacity='.7'/%3E%3Ccircle cx='286' cy='555' r='.3' opacity='.4'/%3E%3Ccircle cx='71' cy='154' r='.3' opacity='.4'/%3E%3Ccircle cx='399' cy='449' r='.5' opacity='.5'/%3E%3Ccircle cx='131' cy='833' r='.4' opacity='.4'/%3E%3Ccircle cx='605' cy='575' r='.3' opacity='.4'/%3E%3Ccircle cx='277' cy='281' r='.3' opacity='.4'/%3E%3Ccircle cx='741' cy='538' r='.4' opacity='.4'/%3E%3Ccircle cx='83' cy='417' r='.3' opacity='.3'/%3E%3Ccircle cx='362' cy='777' r='.3' opacity='.4'/%3E%3Ccircle cx='194' cy='153' r='.3' opacity='.4'/%3E%3Ccircle cx='814' cy='218' r='.3' opacity='.4'/%3E%3Ccircle cx='597' cy='458' r='.4' opacity='.4'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='322' cy='240' r='.5' opacity='.8'/%3E%3Ccircle cx='50' cy='354' r='.5' opacity='.8'/%3E%3Ccircle cx='710' cy='336' r='.5' opacity='.8'/%3E%3Ccircle cx='104' cy='230' r='.5' opacity='.8'/%3E%3Ccircle cx='542' cy='336' r='.7' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='77' cy='379' r='.4' opacity='.4'/%3E%3Ccircle cx='734' cy='628' r='.3' opacity='.3'/%3E%3Ccircle cx='199' cy='51' r='.7' opacity='.6'/%3E%3Ccircle cx='856' cy='660' r='.4' opacity='.4'/%3E%3Ccircle cx='861' cy='889' r='.3' opacity='.3'/%3E%3Ccircle cx='859' cy='635' r='.7' opacity='.7'/%3E%3Ccircle cx='739' cy='532' r='.3' opacity='.3'/%3E%3Ccircle cx='36' cy='425' r='.3' opacity='.4'/%3E%3Ccircle cx='558' cy='545' r='.4' opacity='.4'/%3E%3Ccircle cx='56' cy='125' r='.7' opacity='.6'/%3E%3Ccircle cx='842' cy='637' r='.3' opacity='.4'/%3E%3Ccircle cx='177' cy='658' r='.3' opacity='.4'/%3E%3Ccircle cx='683' cy='514' r='.5' opacity='.5'/%3E%3Ccircle cx='12' cy='846' r='.4' opacity='.5'/%3E%3Ccircle cx='802' cy='620' r='.3' opacity='.4'/%3E%3Ccircle cx='646' cy='823' r='.3' opacity='.4'/%3E%3Ccircle cx='413' cy='559' r='.4' opacity='.4'/%3E%3Ccircle cx='875' cy='773' r='.3' opacity='.3'/%3E%3Ccircle cx='563' cy='852' r='.4' opacity='.5'/%3E%3Ccircle cx='315' cy='702' r='.4' opacity='.5'/%3E%3Ccircle cx='84' cy='623' r='.3' opacity='.4'/%3E%3Ccircle cx='724' cy='64' r='.3' opacity='.3'/%3E%3Ccircle cx='54' cy='3' r='.3' opacity='.3'/%3E%3Ccircle cx='560' cy='569' r='.5' opacity='.5'/%3E%3Ccircle cx='83' cy='201' r='.3' opacity='.4'/%3E%3Ccircle cx='40' cy='385' r='.4' opacity='.5'/%3E%3Ccircle cx='491' cy='687' r='.3' opacity='.4'/%3E%3Ccircle cx='854' cy='305' r='.5' opacity='.5'/%3E%3Ccircle cx='218' cy='435' r='.4' opacity='.5'/%3E%3Ccircle cx='336' cy='343' r='.4' opacity='.4'/%3E%3Ccircle cx='361' cy='536' r='.3' opacity='.4'/%3E%3Ccircle cx='426' cy='722' r='.4' opacity='.5'/%3E%3Ccircle cx='676' cy='693' r='.3' opacity='.3'/%3E%3Ccircle cx='135' cy='419' r='.3' opacity='.3'/%3E%3Ccircle cx='855' cy='675' r='.5' opacity='.6'/%3E%3Ccircle cx='73' cy='133' r='.4' opacity='.4'/%3E%3Ccircle cx='323' cy='334' r='.3' opacity='.4'/%3E%3Ccircle cx='239' cy='722' r='.3' opacity='.4'/%3E%3Ccircle cx='510' cy='639' r='.3' opacity='.4'/%3E%3Ccircle cx='39' cy='312' r='.3' opacity='.3'/%3E%3Ccircle cx='806' cy='64' r='.5' opacity='.4'/%3E%3Ccircle cx='593' cy='223' r='.4' opacity='.4'/%3E%3Ccircle cx='414' cy='467' r='.3' opacity='.4'/%3E%3Ccircle cx='551' cy='523' r='.7' opacity='.6'/%3E%3Ccircle cx='450' cy='356' r='.5' opacity='.5'/%3E%3Ccircle cx='729' cy='580' r='.7' opacity='.7'/%3E%3Ccircle cx='230' cy='239' r='.3' opacity='.3'/%3E%3Ccircle cx='287' cy='230' r='.3' opacity='.4'/%3E%3Ccircle cx='29' cy='655' r='.3' opacity='.4'/%3E%3Ccircle cx='197' cy='60' r='.6' opacity='.5'/%3E%3Ccircle cx='714' cy='777' r='.3' opacity='.3'/%3E%3Ccircle cx='444' cy='425' r='.4' opacity='.4'/%3E%3Ccircle cx='484' cy='376' r='.3' opacity='.3'/%3E%3Ccircle cx='263' cy='450' r='.3' opacity='.4'/%3E%3Ccircle cx='143' cy='277' r='.6' opacity='.6'/%3E%3Ccircle cx='245' cy='202' r='.5' opacity='.5'/%3E%3Ccircle cx='404' cy='308' r='.7' opacity='.6'/%3E%3Ccircle cx='405' cy='416' r='.3' opacity='.4'/%3E%3Ccircle cx='59' cy='113' r='.3' opacity='.3'/%3E%3Ccircle cx='533' cy='567' r='.3' opacity='.4'/%3E%3Ccircle cx='200' cy='257' r='.4' opacity='.4'/%3E%3Ccircle cx='139' cy='354' r='.3' opacity='.4'/%3E%3Ccircle cx='503' cy='839' r='.4' opacity='.4'/%3E%3Ccircle cx='276' cy='304' r='.5' opacity='.4'/%3E%3Ccircle cx='104' cy='167' r='.5' opacity='.5'/%3E%3Ccircle cx='852' cy='374' r='.6' opacity='.5'/%3E%3Ccircle cx='719' cy='608' r='.3' opacity='.4'/%3E%3Ccircle cx='260' cy='453' r='.5' opacity='.5'/%3E%3Ccircle cx='516' cy='229' r='.3' opacity='.4'/%3E%3Ccircle cx='527' cy='452' r='.3' opacity='.4'/%3E%3Ccircle cx='540' cy='159' r='.3' opacity='.4'/%3E%3Ccircle cx='332' cy='318' r='.4' opacity='.4'/%3E%3Ccircle cx='165' cy='137' r='.5' opacity='.4'/%3E%3Ccircle cx='575' cy='118' r='.4' opacity='.4'/%3E%3Ccircle cx='744' cy='707' r='.3' opacity='.4'/%3E%3Ccircle cx='767' cy='15' r='.3' opacity='.4'/%3E%3Ccircle cx='23' cy='222' r='.7' opacity='.6'/%3E%3Ccircle cx='366' cy='373' r='.6' opacity='.6'/%3E%3Ccircle cx='164' cy='686' r='.3' opacity='.4'/%3E%3Ccircle cx='251' cy='507' r='.3' opacity='.3'/%3E%3Ccircle cx='850' cy='644' r='.7' opacity='.7'/%3E%3Ccircle cx='370' cy='523' r='.4' opacity='.4'/%3E%3Ccircle cx='621' cy='223' r='.3' opacity='.4'/%3E%3Ccircle cx='469' cy='21' r='.3' opacity='.3'/%3E%3Ccircle cx='736' cy='589' r='.5' opacity='.5'/%3E%3Ccircle cx='636' cy='313' r='.4' opacity='.4'/%3E%3Ccircle cx='355' cy='334' r='.3' opacity='.4'/%3E%3Ccircle cx='654' cy='521' r='.4' opacity='.4'/%3E%3Ccircle cx='813' cy='509' r='.6' opacity='.6'/%3E%3Ccircle cx='0' cy='211' r='.4' opacity='.5'/%3E%3Ccircle cx='70' cy='284' r='.3' opacity='.3'/%3E%3Ccircle cx='817' cy='235' r='.3' opacity='.4'/%3E%3Ccircle cx='4' cy='338' r='.3' opacity='.3'/%3E%3Ccircle cx='357' cy='311' r='.4' opacity='.5'/%3E%3Ccircle cx='634' cy='497' r='.5' opacity='.5'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='846' cy='615' r='.6' opacity='.6'/%3E%3Ccircle cx='876' cy='674' r='.3' opacity='.4'/%3E%3Ccircle cx='731' cy='437' r='.3' opacity='.4'/%3E%3Ccircle cx='148' cy='729' r='.3' opacity='.4'/%3E%3Ccircle cx='680' cy='484' r='.5' opacity='.5'/%3E%3Ccircle cx='392' cy='343' r='.7' opacity='.6'/%3E%3Ccircle cx='860' cy='320' r='.7' opacity='.6'/%3E%3Ccircle cx='866' cy='754' r='.5' opacity='.5'/%3E%3Ccircle cx='363' cy='338' r='.5' opacity='.5'/%3E%3Ccircle cx='654' cy='802' r='.5' opacity='.5'/%3E%3Ccircle cx='181' cy='463' r='.3' opacity='.3'/%3E%3Ccircle cx='30' cy='187' r='.3' opacity='.4'/%3E%3Ccircle cx='296' cy='14' r='.4' opacity='.4'/%3E%3Ccircle cx='560' cy='222' r='.5' opacity='.5'/%3E%3Ccircle cx='188' cy='176' r='.4' opacity='.4'/%3E%3Ccircle cx='155' cy='324' r='.3' opacity='.4'/%3E%3Ccircle cx='493' cy='562' r='.3' opacity='.4'/%3E%3Ccircle cx='742' cy='809' r='.5' opacity='.5'/%3E%3Ccircle cx='107' cy='447' r='.3' opacity='.4'/%3E%3Ccircle cx='265' cy='701' r='.3' opacity='.4'/%3E%3Ccircle cx='356' cy='426' r='.3' opacity='.3'/%3E%3Ccircle cx='461' cy='373' r='.4' opacity='.5'/%3E%3Ccircle cx='123' cy='7' r='.3' opacity='.4'/%3E%3Ccircle cx='891' cy='325' r='.3' opacity='.3'/%3E%3Ccircle cx='505' cy='151' r='.3' opacity='.4'/%3E%3Ccircle cx='334' cy='410' r='.3' opacity='.3'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='494' cy='451' r='.3' opacity='.4'/%3E%3Ccircle cx='266' cy='388' r='.4' opacity='.4'/%3E%3Ccircle cx='229' cy='379' r='.3' opacity='.4'/%3E%3Ccircle cx='99' cy='71' r='.3' opacity='.4'/%3E%3Ccircle cx='276' cy='103' r='.3' opacity='.4'/%3E%3Ccircle cx='609' cy='454' r='.5' opacity='.4'/%3E%3Ccircle cx='402' cy='544' r='.7' opacity='.6'/%3E%3Ccircle cx='61' cy='320' r='.3' opacity='.4'/%3E%3Ccircle cx='883' cy='133' r='.5' opacity='.5'/%3E%3Ccircle cx='659' cy='766' r='.5' opacity='.6'/%3E%3Ccircle cx='891' cy='628' r='.4' opacity='.4'/%3E%3Ccircle cx='742' cy='576' r='.3' opacity='.3'/%3E%3Ccircle cx='703' cy='701' r='.4' opacity='.4'/%3E%3Ccircle cx='662' cy='541' r='.3' opacity='.3'/%3E%3Ccircle cx='764' cy='396' r='.3' opacity='.4'/%3E%3Ccircle cx='427' cy='513' r='.3' opacity='.4'/%3E%3Ccircle cx='160' cy='324' r='.7' opacity='.7'/%3E%3Ccircle cx='28' cy='158' r='.5' opacity='.4'/%3E%3Ccircle cx='811' cy='861' r='.7' opacity='.6'/%3E%3Ccircle cx='275' cy='325' r='.6' opacity='.5'/%3E%3Ccircle cx='481' cy='551' r='.3' opacity='.4'/%3E%3Ccircle cx='171' cy='449' r='.3' opacity='.3'/%3E%3Ccircle cx='613' cy='571' r='.6' opacity='.6'/%3E%3Ccircle cx='265' cy='746' r='.3' opacity='.4'/%3E%3Ccircle cx='865' cy='682' r='.4' opacity='.4'/%3E%3Ccircle cx='833' cy='795' r='.6' opacity='.5'/%3E%3Ccircle cx='52' cy='320' r='.3' opacity='.4'/%3E%3Ccircle cx='404' cy='526' r='.4' opacity='.4'/%3E%3Ccircle cx='575' cy='519' r='.6' opacity='.5'/%3E%3Ccircle cx='379' cy='412' r='.3' opacity='.3'/%3E%3Ccircle cx='218' cy='69' r='.3' opacity='.4'/%3E%3Ccircle cx='731' cy='558' r='.4' opacity='.5'/%3E%3Ccircle cx='427' cy='288' r='.3' opacity='.3'/%3E%3Ccircle cx='266' cy='410' r='.5' opacity='.5'/%3E%3Ccircle cx='517' cy='349' r='.7' opacity='.5'/%3E%3Ccircle cx='641' cy='816' r='.5' opacity='.6'/%3E%3Ccircle cx='845' cy='658' r='.5' opacity='.4'/%3E%3Ccircle cx='131' cy='625' r='.3' opacity='.4'/%3E%3Ccircle cx='863' cy='115' r='.3' opacity='.4'/%3E%3Ccircle cx='647' cy='351' r='.3' opacity='.4'/%3E%3Ccircle cx='360' cy='363' r='.3' opacity='.3'/%3E%3Ccircle cx='103' cy='804' r='.4' opacity='.4'/%3E%3Ccircle cx='542' cy='478' r='.4' opacity='.4'/%3E%3Ccircle cx='736' cy='273' r='.3' opacity='.3'/%3E%3Ccircle cx='799' cy='575' r='.4' opacity='.4'/%3E%3Ccircle cx='695' cy='607' r='.3' opacity='.4'/%3E%3Ccircle cx='556' cy='135' r='.4' opacity='.4'/%3E%3Ccircle cx='571' cy='388' r='.4' opacity='.4'/%3E%3Ccircle cx='151' cy='251' r='.7' opacity='.6'/%3E%3Ccircle cx='766' cy='767' r='.3' opacity='.3'/%3E%3Ccircle cx='41' cy='678' r='.3' opacity='.3'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='16' cy='370' r='.5' opacity='.5'/%3E%3Ccircle cx='863' cy='764' r='.3' opacity='.4'/%3E%3Ccircle cx='726' cy='549' r='.3' opacity='.3'/%3E%3Ccircle cx='838' cy='617' r='.6' opacity='.6'/%3E%3Ccircle cx='675' cy='381' r='.5' opacity='.5'/%3E%3Ccircle cx='73' cy='362' r='.4' opacity='.5'/%3E%3Ccircle cx='635' cy='270' r='.5' opacity='.6'/%3E%3Ccircle cx='114' cy='250' r='.4' opacity='.4'/%3E%3Ccircle cx='17' cy='812' r='.3' opacity='.4'/%3E%3Ccircle cx='113' cy='345' r='.3' opacity='.4'/%3E%3Ccircle cx='23' cy='193' r='.4' opacity='.4'/%3E%3Ccircle cx='678' cy='493' r='.4' opacity='.5'/%3E%3Ccircle cx='597' cy='68' r='.6' opacity='.5'/%3E%3Ccircle cx='826' cy='500' r='.5' opacity='.4'/%3E%3Ccircle cx='864' cy='200' r='.3' opacity='.3'/%3E%3Ccircle cx='568' cy='524' r='.7' opacity='.7'/%3E%3Ccircle cx='766' cy='593' r='.6' opacity='.6'/%3E%3Ccircle cx='795' cy='647' r='.4' opacity='.4'/%3E%3Ccircle cx='17' cy='257' r='.4' opacity='.4'/%3E%3Ccircle cx='536' cy='622' r='.5' opacity='.5'/%3E%3Ccircle cx='441' cy='75' r='.5' opacity='.5'/%3E%3Ccircle cx='341' cy='542' r='.4' opacity='.4'/%3E%3Ccircle cx='88' cy='260' r='.4' opacity='.4'/%3E%3Ccircle cx='297' cy='291' r='.3' opacity='.3'/%3E%3Ccircle cx='853' cy='628' r='.3' opacity='.4'/%3E%3Ccircle cx='518' cy='385' r='.6' opacity='.6'/%3E%3Ccircle cx='821' cy='837' r='.4' opacity='.5'/%3E%3Ccircle cx='606' cy='693' r='.3' opacity='.3'/%3E%3Ccircle cx='299' cy='685' r='.3' opacity='.4'/%3E%3Ccircle cx='596' cy='50' r='.3' opacity='.4'/%3E%3Ccircle cx='183' cy='549' r='.3' opacity='.3'/%3E%3Ccircle cx='405' cy='598' r='.4' opacity='.4'/%3E%3Ccircle cx='506' cy='423' r='.3' opacity='.4'/%3E%3Ccircle cx='570' cy='470' r='.5' opacity='.5'/%3E%3Ccircle cx='108' cy='580' r='.5' opacity='.5'/%3E%3Ccircle cx='835' cy='607' r='.5' opacity='.5'/%3E%3Ccircle cx='657' cy='872' r='.4' opacity='.5'/%3E%3Ccircle cx='64' cy='571' r='.5' opacity='.6'/%3E%3Ccircle cx='293' cy='466' r='.7' opacity='.6'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='210' cy='374' r='.6' opacity='.8'/%3E%3Ccircle cx='774' cy='706' r='.5' opacity='.8'/%3E%3C/g%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='148' cy='809' r='.5' opacity='.8'/%3E%3Ccircle cx='348' cy='480' r='.5' opacity='.8'/%3E%3Ccircle cx='472' cy='355' r='.5' opacity='.8'/%3E%3Ccircle cx='195' cy='530' r='.5' opacity='.8'/%3E%3Ccircle cx='708' cy='514' r='.5' opacity='.8'/%3E%3Ccircle cx='874' cy='550' r='.5' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px; background-repeat: repeat;
}
/* 3. nearer stars: they scroll with the page */
html:not([data-theme="day"]) main::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='1100'%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='398' cy='745' r='1.1' opacity='.8'/%3E%3Ccircle cx='11' cy='465' r='.5' opacity='.6'/%3E%3Ccircle cx='738' cy='1096' r='.6' opacity='.7'/%3E%3Ccircle cx='449' cy='959' r='.5' opacity='.6'/%3E%3Ccircle cx='533' cy='697' r='.5' opacity='.6'/%3E%3Ccircle cx='57' cy='157' r='.5' opacity='.6'/%3E%3Ccircle cx='1085' cy='852' r='.8' opacity='.7'/%3E%3Ccircle cx='349' cy='566' r='.5' opacity='.6'/%3E%3Ccircle cx='234' cy='642' r='.5' opacity='.6'/%3E%3Ccircle cx='129' cy='493' r='.5' opacity='.6'/%3E%3Ccircle cx='908' cy='475' r='.7' opacity='.7'/%3E%3Ccircle cx='984' cy='759' r='1.1' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='96' cy='802' r='.5' opacity='.6'/%3E%3Ccircle cx='622' cy='529' r='.5' opacity='.6'/%3E%3Ccircle cx='887' cy='814' r='.9' opacity='.8'/%3E%3Ccircle cx='952' cy='748' r='.6' opacity='.7'/%3E%3Ccircle cx='826' cy='689' r='.7' opacity='.8'/%3E%3Ccircle cx='523' cy='481' r='.5' opacity='.6'/%3E%3Ccircle cx='303' cy='340' r='.5' opacity='.7'/%3E%3Ccircle cx='381' cy='21' r='.7' opacity='.7'/%3E%3Ccircle cx='671' cy='509' r='.5' opacity='.6'/%3E%3Ccircle cx='544' cy='902' r='1' opacity='.8'/%3E%3Ccircle cx='465' cy='216' r='.8' opacity='.8'/%3E%3Ccircle cx='914' cy='571' r='.6' opacity='.7'/%3E%3Ccircle cx='320' cy='442' r='.6' opacity='.7'/%3E%3Ccircle cx='984' cy='699' r='.5' opacity='.6'/%3E%3Ccircle cx='454' cy='1060' r='1' opacity='.9'/%3E%3Ccircle cx='164' cy='560' r='.5' opacity='.6'/%3E%3Ccircle cx='771' cy='445' r='.5' opacity='.6'/%3E%3Ccircle cx='313' cy='463' r='.7' opacity='.7'/%3E%3Ccircle cx='823' cy='559' r='.6' opacity='.7'/%3E%3Ccircle cx='636' cy='102' r='.8' opacity='.8'/%3E%3Ccircle cx='432' cy='914' r='1' opacity='.9'/%3E%3Ccircle cx='615' cy='806' r='.5' opacity='.6'/%3E%3Ccircle cx='874' cy='315' r='.5' opacity='.6'/%3E%3Ccircle cx='296' cy='342' r='.5' opacity='.7'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='654' cy='692' r='.5' opacity='.7'/%3E%3Ccircle cx='218' cy='349' r='.7' opacity='.7'/%3E%3Ccircle cx='4' cy='382' r='.6' opacity='.7'/%3E%3Ccircle cx='196' cy='198' r='.8' opacity='.7'/%3E%3Ccircle cx='662' cy='788' r='.6' opacity='.7'/%3E%3Ccircle cx='203' cy='676' r='.5' opacity='.6'/%3E%3Ccircle cx='968' cy='434' r='.6' opacity='.6'/%3E%3Ccircle cx='822' cy='8' r='.7' opacity='.7'/%3E%3Ccircle cx='18' cy='749' r='.5' opacity='.6'/%3E%3Ccircle cx='1080' cy='939' r='.5' opacity='.6'/%3E%3Ccircle cx='94' cy='187' r='.5' opacity='.6'/%3E%3Ccircle cx='759' cy='612' r='.5' opacity='.6'/%3E%3Ccircle cx='1047' cy='822' r='.5' opacity='.6'/%3E%3Ccircle cx='643' cy='1049' r='.9' opacity='.8'/%3E%3Ccircle cx='1040' cy='623' r='.5' opacity='.6'/%3E%3Ccircle cx='594' cy='602' r='.5' opacity='.6'/%3E%3Ccircle cx='925' cy='32' r='.5' opacity='.6'/%3E%3Ccircle cx='198' cy='554' r='.8' opacity='.7'/%3E%3Ccircle cx='921' cy='767' r='1.1' opacity='.8'/%3E%3Ccircle cx='742' cy='715' r='1' opacity='.8'/%3E%3Ccircle cx='1045' cy='772' r='.5' opacity='.6'/%3E%3Ccircle cx='281' cy='1044' r='.5' opacity='.6'/%3E%3Ccircle cx='214' cy='17' r='.5' opacity='.6'/%3E%3Ccircle cx='574' cy='436' r='.5' opacity='.6'/%3E%3Ccircle cx='566' cy='138' r='.5' opacity='.7'/%3E%3Ccircle cx='224' cy='447' r='.6' opacity='.7'/%3E%3Ccircle cx='895' cy='672' r='.7' opacity='.7'/%3E%3Ccircle cx='608' cy='649' r='.5' opacity='.6'/%3E%3Ccircle cx='418' cy='707' r='1' opacity='.8'/%3E%3Ccircle cx='449' cy='592' r='1' opacity='.8'/%3E%3Ccircle cx='715' cy='1061' r='.7' opacity='.7'/%3E%3Ccircle cx='979' cy='87' r='.5' opacity='.6'/%3E%3Ccircle cx='27' cy='756' r='.6' opacity='.7'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='548' cy='961' r='.8' opacity='.8'/%3E%3Ccircle cx='298' cy='729' r='.8' opacity='.8'/%3E%3Ccircle cx='88' cy='333' r='1.1' opacity='.9'/%3E%3Ccircle cx='968' cy='512' r='1.1' opacity='.8'/%3E%3C/g%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='656' cy='487' r='.8' opacity='.8'/%3E%3Ccircle cx='898' cy='600' r='.8' opacity='.8'/%3E%3Ccircle cx='985' cy='1045' r='.8' opacity='.8'/%3E%3Ccircle cx='692' cy='929' r='.9' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='908' cy='739' r='.8' opacity='.7'/%3E%3Ccircle cx='646' cy='779' r='.6' opacity='.7'/%3E%3Ccircle cx='515' cy='1076' r='.6' opacity='.7'/%3E%3Ccircle cx='412' cy='126' r='.6' opacity='.7'/%3E%3Ccircle cx='1092' cy='792' r='.5' opacity='.6'/%3E%3Ccircle cx='966' cy='985' r='.5' opacity='.6'/%3E%3Ccircle cx='818' cy='916' r='.6' opacity='.7'/%3E%3Ccircle cx='95' cy='500' r='.5' opacity='.6'/%3E%3Ccircle cx='539' cy='409' r='.5' opacity='.6'/%3E%3Ccircle cx='612' cy='446' r='.8' opacity='.8'/%3E%3Ccircle cx='1071' cy='855' r='.5' opacity='.6'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='1023' cy='539' r='.8' opacity='.8'/%3E%3Ccircle cx='829' cy='1061' r='.8' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='530' cy='1040' r='.5' opacity='.6'/%3E%3Ccircle cx='804' cy='731' r='.5' opacity='.7'/%3E%3Ccircle cx='292' cy='269' r='1' opacity='.8'/%3E%3Ccircle cx='342' cy='1085' r='.7' opacity='.8'/%3E%3Ccircle cx='274' cy='223' r='.9' opacity='.8'/%3E%3Ccircle cx='708' cy='408' r='.5' opacity='.6'/%3E%3Ccircle cx='299' cy='742' r='.8' opacity='.8'/%3E%3Ccircle cx='1087' cy='703' r='.6' opacity='.6'/%3E%3Ccircle cx='729' cy='640' r='.5' opacity='.7'/%3E%3Ccircle cx='86' cy='244' r='.8' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1100px 1100px; background-repeat: repeat;
  -webkit-mask-image: none; mask-image: none;
}
html:not([data-theme="day"]) main::after { background-image: none; -webkit-mask-image: none; mask-image: none; }
/* 4. the brightest few: a slow, uneven twinkle */
html:not([data-theme="day"]) body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000'%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='794' cy='209' r='4.1' opacity='.05'/%3E%3Ccircle cx='794' cy='209' r='2.3' opacity='.14'/%3E%3Ccircle cx='794' cy='209' r='1.4' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='599' cy='981' r='4.7' opacity='.05'/%3E%3Ccircle cx='599' cy='981' r='2.6' opacity='.14'/%3E%3Ccircle cx='599' cy='981' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='871' cy='56' r='5.4' opacity='.05'/%3E%3Ccircle cx='871' cy='56' r='3.1' opacity='.14'/%3E%3Ccircle cx='871' cy='56' r='1.8' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='910' cy='106' r='5.4' opacity='.05'/%3E%3Ccircle cx='910' cy='106' r='3.1' opacity='.14'/%3E%3Ccircle cx='910' cy='106' r='1.8' opacity='1'/%3E%3Ccircle cx='425' cy='876' r='1' opacity='.9'/%3E%3Ccircle cx='457' cy='472' r='1' opacity='.9'/%3E%3Ccircle cx='161' cy='827' r='1.2' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='119' cy='819' r='5' opacity='.05'/%3E%3Ccircle cx='119' cy='819' r='2.8' opacity='.14'/%3E%3Ccircle cx='119' cy='819' r='1.7' opacity='1'/%3E%3Ccircle cx='580' cy='476' r='5.3' opacity='.05'/%3E%3Ccircle cx='580' cy='476' r='3' opacity='.14'/%3E%3Ccircle cx='580' cy='476' r='1.8' opacity='1'/%3E%3Ccircle cx='8' cy='136' r='4.9' opacity='.05'/%3E%3Ccircle cx='8' cy='136' r='2.8' opacity='.14'/%3E%3Ccircle cx='8' cy='136' r='1.6' opacity='1'/%3E%3Ccircle cx='684' cy='593' r='.7' opacity='.9'/%3E%3Ccircle cx='578' cy='1' r='.7' opacity='.9'/%3E%3Ccircle cx='290' cy='90' r='.8' opacity='.9'/%3E%3Ccircle cx='89' cy='705' r='1' opacity='.9'/%3E%3Ccircle cx='508' cy='626' r='1.3' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='145' cy='634' r='.8' opacity='.9'/%3E%3Ccircle cx='352' cy='202' r='.7' opacity='.9'/%3E%3Ccircle cx='389' cy='779' r='.8' opacity='.9'/%3E%3Ccircle cx='946' cy='668' r='.7' opacity='.9'/%3E%3Ccircle cx='798' cy='76' r='1.1' opacity='.9'/%3E%3Ccircle cx='141' cy='969' r='1.3' opacity='1'/%3E%3Ccircle cx='894' cy='371' r='.7' opacity='.9'/%3E%3Ccircle cx='219' cy='597' r='1.2' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='316' cy='146' r='.8' opacity='.9'/%3E%3Ccircle cx='375' cy='391' r='.8' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='100' cy='811' r='.7' opacity='.9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1000px 1000px; background-repeat: repeat;
  animation: akSkyTwinkleA 7s ease-in-out infinite;
}
html:not([data-theme="day"])::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1300' height='1300'%3E%3Cg fill='%2334D399'%3E%3Ccircle cx='984' cy='613' r='4.7' opacity='.05'/%3E%3Ccircle cx='984' cy='613' r='2.7' opacity='.14'/%3E%3Ccircle cx='984' cy='613' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%23FBBF24'%3E%3Ccircle cx='299' cy='980' r='5.8' opacity='.05'/%3E%3Ccircle cx='299' cy='980' r='3.3' opacity='.14'/%3E%3Ccircle cx='299' cy='980' r='1.9' opacity='1'/%3E%3C/g%3E%3Cg fill='%2338BDF8'%3E%3Ccircle cx='573' cy='459' r='4.8' opacity='.05'/%3E%3Ccircle cx='573' cy='459' r='2.7' opacity='.14'/%3E%3Ccircle cx='573' cy='459' r='1.6' opacity='1'/%3E%3C/g%3E%3Cg fill='%23DCE9FF'%3E%3Ccircle cx='48' cy='1236' r='4.7' opacity='.05'/%3E%3Ccircle cx='48' cy='1236' r='2.7' opacity='.14'/%3E%3Ccircle cx='48' cy='1236' r='1.6' opacity='1'/%3E%3Ccircle cx='846' cy='493' r='.8' opacity='.9'/%3E%3Ccircle cx='668' cy='409' r='.7' opacity='.9'/%3E%3Ccircle cx='695' cy='150' r='.7' opacity='.9'/%3E%3Ccircle cx='1052' cy='531' r='.8' opacity='.9'/%3E%3Ccircle cx='548' cy='473' r='.7' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='341' cy='41' r='4.6' opacity='.05'/%3E%3Ccircle cx='341' cy='41' r='2.6' opacity='.14'/%3E%3Ccircle cx='341' cy='41' r='1.5' opacity='1'/%3E%3Ccircle cx='391' cy='1135' r='5.7' opacity='.05'/%3E%3Ccircle cx='391' cy='1135' r='3.3' opacity='.14'/%3E%3Ccircle cx='391' cy='1135' r='1.9' opacity='1'/%3E%3Ccircle cx='769' cy='998' r='.9' opacity='.9'/%3E%3Ccircle cx='12' cy='373' r='.7' opacity='.9'/%3E%3Ccircle cx='137' cy='832' r='.7' opacity='.9'/%3E%3Ccircle cx='450' cy='219' r='.7' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23BFD6FF'%3E%3Ccircle cx='1005' cy='357' r='.8' opacity='.9'/%3E%3Ccircle cx='263' cy='1036' r='.7' opacity='.9'/%3E%3Ccircle cx='1205' cy='251' r='1.3' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFF1DC'%3E%3Ccircle cx='896' cy='1217' r='.8' opacity='.9'/%3E%3Ccircle cx='610' cy='265' r='.9' opacity='.9'/%3E%3Ccircle cx='864' cy='526' r='.9' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23FFD9B0'%3E%3Ccircle cx='123' cy='535' r='1.3' opacity='1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1300px 1300px; background-position: 340px 180px; background-repeat: repeat;
  animation: akSkyTwinkleB 11s ease-in-out infinite;
}
/* 5. a shooting star, now and then: thin and faint */
html:not([data-theme="day"])::after {
  content: ""; position: fixed; top: 14vh; right: 8vw; width: 120px; height: 1px; z-index: -1; pointer-events: none; border-radius: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(200, 220, 255, 0.35) 35%, transparent);
  opacity: 0; transform: rotate(-22deg) translate3d(240px, 0, 0);
  animation: akSkyShoot 27s ease-in 6s infinite;
}
@keyframes akSkyTwinkleA { 0%, 100% { opacity: 0.55; } 30% { opacity: 1; } 55% { opacity: 0.7; } 80% { opacity: 0.95; } }
@keyframes akSkyTwinkleB { 0%, 100% { opacity: 1; } 25% { opacity: 0.6; } 50% { opacity: 0.9; } 75% { opacity: 0.5; } }
@keyframes akSkyShoot { 0% { opacity: 0; transform: rotate(-22deg) translate3d(240px, 0, 0); } 1.2% { opacity: 0.9; } 4.5% { opacity: 0; transform: rotate(-22deg) translate3d(-480px, 0, 0); } 100% { opacity: 0; transform: rotate(-22deg) translate3d(-480px, 0, 0); } }
/* the sections lose their faint vertical hatch at Night (it read as worn carpet over the sky); the fine amber line on top of each stays */
html:not([data-theme="day"]) main > :is(#sec-services, #sec-websites, #sec-cocreation, #sec-grade, #sec-automation, #sec-industries, #sec-finder, #sec-faq) {
  background-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mx-pri, #F59E0B) 38%, transparent) 50%, transparent) !important;
  background-size: 100% 1px !important; background-position: 50% 0 !important; background-repeat: no-repeat !important;
}
@media (max-width: 767px) {
  /* a phone: one twinkling field, a shorter shooting star */
  html:not([data-theme="day"])::before { display: none; }
  html:not([data-theme="day"])::after { width: 80px; top: 11vh; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-theme="day"]) body::after, html:not([data-theme="day"])::before { animation: none; }
  html:not([data-theme="day"])::after { display: none; }
}
