/* footer-planet, variant b: "Night side".
   The footer is the app's dark set (data-site-theme="dark": --ol900 ground,
   --ink900 / --ink500 / --ink400 ink, --l100 hairline) laid over the white CTA
   as the site's rounded sheet (--sheet-r: 28 on a phone, 36 from 1024).
   The game's planet rises out of the bottom edge as a huge arc; its rim is
   the one lit thing (lime --ol600 / --art-body, citrine --cit500 at the very
   edge). Type: the brand line, 15 for links, 12 for labels and the base row. */

.pf{position:relative;z-index:3;margin-top:calc(-1 * var(--sheet-r));border-radius:var(--sheet-r) var(--sheet-r) 0 0;overflow:clip;
  background:var(--ol900);color:var(--ink900);isolation:isolate;
  padding-top:clamp(56px,7vw,112px)}

/* ---------- top: brand left, three short columns right ---------- */
.pf-top{position:relative;z-index:2;display:grid;gap:48px}
.pf-brand{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.pf .logo{font-size:17px;color:var(--ink900)}
.pf .logo svg{width:15px;height:19px;color:var(--ol700)}
.pf .logo-tld{color:var(--ink500)}
.pf-line{margin:0;font-weight:500;font-size:30px;line-height:34px;letter-spacing:-.035em;max-width:11em;text-wrap:balance}
.pf-line > span{display:block}
.pf-soft{color:var(--ink400)}
.pf-x{display:grid;place-items:center;width:36px;height:36px;margin-left:-9px;border-radius:999px;color:var(--ink500);transition:color var(--dur),background-color var(--dur)}
.pf-x svg{width:17px;height:17px}

.pf-cols{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"tour prod" "tour legal";gap:32px 24px}
.pf-col--tour{grid-area:tour}.pf-col--prod{grid-area:prod}.pf-col--legal{grid-area:legal}
.pf-h{margin:0 0 14px;font-family:var(--doto);font-variation-settings:'ROND' 0;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink400)}
.pf-col ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.pf-col a{display:inline-block;font-size:15px;line-height:22px;color:var(--ink500);text-decoration:none;border-radius:4px;transition:color var(--dur)}
@media (hover:hover) and (pointer:fine){
  .pf-col a:hover,.pf-x:hover{color:var(--ink900)}
  .pf-x:hover{background:var(--tint-6)}
}
.pf a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

/* ---------- base row: hairline, © left, the risk line right ---------- */
.pf-base{position:relative;z-index:2;display:flex;flex-direction:column;gap:8px;margin-top:48px;padding-top:20px;
  font-family:var(--mono);font-size:12px;line-height:18px;color:var(--ink400)}
/* the hairline spans the text's measure, not the container's gutters */
.pf-base::before{content:'';position:absolute;top:0;left:var(--gutter);right:var(--gutter);border-top:1px solid var(--l100)}
.pf-base p{margin:0}
.pf-copy{white-space:nowrap}

/* ---------- the planet ----------
   --d    the planet's diameter (wider than the screen at every width)
   --gap  from the base row down to the sea's rim: room for the lands and
          woods that stand up past the sea (up to about .09 of --d), so
          nothing of the planet ever passes behind the words
   --cap  how much of the round shows under the rim
   The canvas host (.pf-gl) is the whole stage; footer.js frames the
   camera on the disc's box, so the glow and the drawn sea are one circle
   and only the stage is drawn. The glow rises past the stage's top. */
.pf-stage{--d:164vw;--gap:calc(var(--d) * .1);--cap:50vw;position:relative;z-index:1;height:calc(var(--gap) + var(--cap));pointer-events:none;user-select:none}
.pf-disc,.pf-rim{position:absolute;left:calc(50% - var(--d) / 2);top:var(--gap);width:var(--d);height:var(--d);border-radius:50%}
/* the body before it is drawn, and the air round it */
.pf-disc{z-index:1;overflow:hidden;background:#12140C;
  box-shadow:
    0 0 0 1px rgb(212 230 78/.42),
    0 -2px 14px 1px rgb(225 205 6/.40),
    0 -6px 48px 6px rgb(184 204 94/.26),
    0 -10px 140px 34px rgb(143 164 65/.15),
    0 -20px 320px 90px rgb(83 93 10/.16)}
.pf-gl{position:absolute;z-index:2;inset:0}
.pf-gl canvas{display:block}
/* the lit rim of the live planet: the canvas's own outline, so it follows
   the hills and the woods as they come over the horizon */
.pf.is-live .pf-gl canvas{filter:drop-shadow(0 -1px 2px rgb(240 228 110/.85)) drop-shadow(0 -3px 16px rgb(212 230 78/.5))}
/* the lit edge laid over the body, air seen edge-on: on the still only
   (the live planet's lands rise past the sea's round, and a ring drawn
   over them would cut through them) */
.pf-rim{z-index:3;mix-blend-mode:screen;opacity:0;
  box-shadow:
    inset 0 3px 6px -1px rgb(240 232 140/.55),
    inset 0 10px 28px -4px rgb(212 230 78/.32),
    inset 0 30px 90px -20px rgb(163 184 74/.22)}
/* night comes up from the bottom edge: only the cap is lit */
.pf-stage::after{content:'';position:absolute;z-index:4;left:0;right:0;bottom:0;height:42%;
  background:linear-gradient(180deg,rgb(11 11 6/0) 0%,rgb(11 11 6/.55) 55%,rgb(11 11 6/.9) 100%)}

/* the still: season-pop-planet.jpg, its sphere (centre 365,337, radius ~212
   of 720) scaled onto the disc; hidden unless the live planet cannot run */
.pf-still{position:absolute;max-width:none;width:169.8%;height:auto;left:-36.08%;top:-29.48%;opacity:0;filter:brightness(.85) saturate(.9);transition:opacity .6s var(--ease)}
.pf.is-still .pf-still,.pf.is-still .pf-rim{opacity:1}

/* ---------- from 640 ---------- */
@media (min-width:640px){
  .pf-line{font-size:40px;line-height:44px}
  .pf-cols{grid-template-columns:repeat(3,auto);grid-template-areas:"prod tour legal";justify-content:start;gap:32px 56px}
  .pf-base{flex-direction:row;justify-content:space-between;align-items:baseline;gap:32px}
  .pf-risk{text-align:right;max-width:44em}
  .pf-stage{--d:140vw;--cap:30vw}
}
/* ---------- from 1024: one row, the brand line beside the links ---------- */
@media (min-width:1024px){
  .pf-top{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:64px}
  .pf-line{font-size:clamp(40px,3.4vw,52px);line-height:1.04}
  .pf-cols{gap:32px clamp(48px,5vw,88px);padding-top:4px}
  .pf-base{margin-top:clamp(56px,5vw,80px)}
  .pf-risk{max-width:none}
  .pf-stage{--d:100vw;--cap:clamp(240px,20vw,340px)}
}

/* owner, 24.11.2026: the brandbook's lockup (assets/botany-logo.svg), all white */
.pf-logo{display:inline-flex;color:#fff;border-radius:6px;text-decoration:none}
.pf-logo-svg{display:block;width:auto;height:26px}
@media (min-width:1024px){.pf-logo-svg{height:28px}}
/* more air between the words and the planet: most on a phone, less on desktop */
.pf-stage{margin-top:72px}
@media (min-width:640px){.pf-stage{margin-top:48px}}
@media (min-width:1024px){.pf-stage{margin-top:24px}}
/* owner, 25.11.2026: the logo a step smaller; the risk line in Satoshi, on the right */
.pf-logo-svg{height:22px}
@media (min-width:1024px){.pf-logo-svg{height:24px}}
.pf-risk{font-family:var(--sans);font-size:13px;line-height:18px;letter-spacing:0}
@media (min-width:640px){.pf-risk{margin-left:auto;text-align:right}}
/* four columns now (launch, owner 25.11.2026): Product, Season 1, Explore, Legal */
.pf-col--season{grid-area:season}
.pf-cols{grid-template-areas:"prod season" "tour legal"}
@media (min-width:640px){.pf-cols{grid-template-columns:repeat(4,auto);grid-template-areas:"prod season tour legal";gap:32px 48px}}
@media (min-width:1024px){.pf-cols{gap:32px clamp(40px,4vw,72px)}}
/* column headings (owner, 25.11.2026): Roboto Mono, lighter on the dark */
.pf-h{font-family:var(--mono);font-variation-settings:normal;font-weight:500;font-size:12px;line-height:16px;letter-spacing:.08em;color:rgb(247 247 242/.72)}
/* headings heavier and lighter still (owner, 25.11.2026) */
.pf-h{font-weight:700;color:rgb(247 247 242/.9)}
/* headings a size up (owner, 25.11.2026) */
.pf-h{font-size:14px;line-height:18px;margin-bottom:16px}

/* the way in and the planet's rise (footer-planet.js, owner 25.11.2026) */
.pf-anim :is(.pf-logo,.pf-line,.pf-x,.pf-col,.pf-base){opacity:0;transform:translate3d(0,24px,0)}
.pf-anim.pf-in :is(.pf-logo,.pf-line,.pf-x,.pf-col,.pf-base){opacity:1;transform:none;
  transition:opacity 700ms cubic-bezier(.2,.7,.2,1) calc(var(--pi,0) * 90ms),transform 1000ms cubic-bezier(.16,1,.3,1) calc(var(--pi,0) * 90ms)}
.pf-anim .pf-col li{opacity:0;transform:translate3d(0,8px,0)}
.pf-anim.pf-in .pf-col li{opacity:1;transform:none;
  transition:opacity 450ms ease calc(var(--pi,0) * 90ms + 160ms + var(--pj,0) * 60ms),transform 600ms cubic-bezier(.16,1,.3,1) calc(var(--pi,0) * 90ms + 160ms + var(--pj,0) * 60ms)}
.pf-stage{transform:translate3d(0,var(--pf-rise,0px),0);will-change:transform}
@media (prefers-reduced-motion:reduce){.pf-stage{transform:none}}
