/* Palaner homepage — the globe at the top and the page's new order (2026-11-20).
   Ours, not the design's: README deviation 11. Loaded after lp-landing.css and
   only adds to it, so the design's own file stays as Claude Design wrote it.

   The order, and why (phone first: two in three search visitors are on one):
     1. the globe: what Palaner is, how big, and ONE button for the visitor's
        own phone, all on the first phone screen;
     2. the sources ticker, how it works, what it learns, with your pals: why
        it is worth having;
     3. Get Palaner: the three ways in, the live figures, the first-run flow;
     4. coming up (seasonal hubs) and the city index: for people who came to
        browse, and the crawl path;
     5. the dark sign-off and the footer. */

/* ── the top bar ───────────────────────────────────────────────────────────
   Dark while the globe is on screen, so the bar and the night sky read as one
   surface. Its pink "Try free" stays quiet while the globe's own button is on
   screen, so there is one pink thing to press at a time; lp-globe.js marks
   <html> lp-past-cta once that button has scrolled under the bar (the bar's
   button turns pink) and lp-past-hero once the whole globe has (the bar is the
   design's own light one again). Without the script it stays dark and quiet,
   which is fine. */
.nav{transition:background-color .25s var(--ease),border-color .25s var(--ease)}
html:not(.lp-past-hero) .nav{background:rgba(26,24,21,.94);border-bottom-color:rgba(244,243,241,.09)}
html:not(.lp-past-hero) .nav__links a{color:rgba(244,243,241,.74)}
html:not(.lp-past-hero) .nav__links a:hover{background:rgba(244,243,241,.08);color:#fff}
html:not(.lp-past-hero) .nav .btn--out{background:transparent;border-color:rgba(244,243,241,.3);color:#f4f3f1;box-shadow:none}
html:not(.lp-past-hero) .nav .btn--out:hover{background:rgba(244,243,241,.08);border-color:#f4f3f1}
html:not(.lp-past-cta) .nav .btn--pink{background:transparent;border-color:rgba(255,107,138,.55);color:#ff9db2;box-shadow:none}
html:not(.lp-past-cta) .nav .btn--pink:hover{background:rgba(255,107,138,.12)}
html:not(.lp-past-hero) .nav :focus-visible,.lp-globe :focus-visible,.cta :focus-visible{outline-color:#f4f3f1}

/* Pink buttons carry ink, not white. White on #ff6b8a is 2.7:1, under the
   4.5:1 small text needs; ink on it is 6.5:1 (the CTA's picked choice already
   does this). */
.btn--pink,.btn--pink:hover,.form .btn--go{color:var(--ink)}

/* ── the globe ─────────────────────────────────────────────────────────────
   Phone: the words (the counter is the headline), then the globe; or the
   globe behind the words ("phone: the planet behind the words" below). 980px
   and up: the words on the left, the globe on the right. The words, buttons
   and counter are one server-rendered block (lib/home-globe.ts); the stage is
   the canvas lp-globe.js draws on. */
.lp-globe{position:relative;z-index:1;overflow:hidden;background:#1a1815;color:#f4f3f1}
.lp-globe::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(80% 34% at 50% 66%,rgba(255,107,138,.15),transparent 72%)}
.lp-globe__in{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "stage";max-width:1180px;margin:0 auto;padding:26px 20px 44px}
.lp-globe__copy{grid-area:copy;position:relative;z-index:1;min-width:0;container-type:inline-size}
.lp-globe__live{background:rgba(255,107,138,.14);color:#ff9db2}
.lp-globe__h{margin-top:16px;font:600 clamp(36px,9.8vw,44px)/1.02 var(--disp);letter-spacing:-.037em;color:#fff;text-wrap:balance}
.lp-globe__h>span,.lp-globe__h>b{display:block}
.lp-globe__h>b{font-variant-numeric:tabular-nums}
.lp-globe__rest{color:rgba(244,243,241,.62)}
.lp-globe__sub{margin-top:16px;max-width:31em;font-size:16.5px;line-height:1.55;color:rgba(244,243,241,.8);text-wrap:pretty}

/* One button for your phone. The <head> script marks <html> is-ios or
   is-android before the first paint (lib/home-globe.ts DEVICE_SCRIPT), so the
   right one is there from the first frame and nothing jumps. */
.lp-globe__ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:24px}
.lp-globe__go{min-height:54px;padding:0 24px;font-size:16px;font-weight:700;letter-spacing:-.005em}
.lp-globe__go--iphone,.lp-globe__go--android,.lp-globe__near{display:none}
.is-ios .lp-globe__go--iphone,.is-android .lp-globe__go--android,.is-ios .lp-globe__near,.is-android .lp-globe__near{display:inline-flex}
.is-ios .lp-globe__go--computer,.is-android .lp-globe__go--computer,.is-ios .lp-globe__badges,.is-android .lp-globe__badges{display:none}
.lp-globe__badges{display:inline-flex;align-items:center;gap:12px}
.lp-globe__store{display:inline-flex;flex:none;line-height:0;border-radius:8px}
.lp-globe__store img{display:block;height:40px;width:auto}
/* Google's badge PNG has its clear space built in (lp-landing.css, "Google
   Play"): 60px tall draws the artwork at Apple's 40px. */
.lp-globe__store--play img{height:60px;margin:-10px}
.lp-globe__near{align-items:center;gap:7px;min-height:44px;font:600 15.5px/1.2 var(--sans);color:#f4f3f1}
.lp-globe__near span{text-decoration:underline;text-decoration-color:rgba(244,243,241,.4);text-underline-offset:4px}
.lp-globe__near:hover{color:#fff}
.lp-globe__near:hover span{text-decoration-color:#fff}
.lp-globe__near i{font-style:normal}
@media (max-width:600px){.lp-globe__go{flex:1 1 100%}}

/* The stage is square. The disc behind the canvas is the globe's own colour
   at the place lp-globe.js draws it (radius 44% of the width, centre 47% of
   the way down), so the globe is there at the first paint and the script only
   adds the lights. */
.lp-globe__stage{grid-area:stage;position:relative;width:calc(100% + 40px);margin:6px -20px 0;aspect-ratio:1/1}
.lp-globe__stage::before{content:"";position:absolute;left:6%;top:3%;width:88%;height:88%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#2a2621,#1d1b18 72%);box-shadow:0 0 0 1px rgba(244,243,241,.1),0 0 70px rgba(255,107,138,.14)}
.lp-globe__cv{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;cursor:grab}
.lp-globe__cv:active{cursor:grabbing}
.lp-globe__tip{position:absolute;z-index:3;transform:translate(-50%,-150%);padding:6px 9px;border-radius:8px;background:#f4f3f1;color:#1a1815;font:600 12.5px/1.25 var(--sans);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s}
.lp-globe__tip small{display:block;font:500 11.5px/1.25 var(--sans);color:#615d57}
.lp-globe__bar{position:absolute;left:20px;right:20px;bottom:2px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.lp-globe__bar>*{pointer-events:auto}
.lp-globe__legend{display:flex;align-items:center;gap:7px;font:500 12.5px/1.3 var(--sans);color:rgba(244,243,241,.66)}
.lp-globe__legend i{width:7px;height:7px;flex:none;border-radius:50%;background:#ff6b8a;box-shadow:0 0 8px rgba(255,107,138,.8)}
.lp-globe__pause{min-height:34px;padding:0 13px;border-radius:var(--r-btn);border:1px solid rgba(244,243,241,.26);font:600 12.5px/1 var(--sans);color:#f4f3f1}
.lp-globe__pause:hover{background:rgba(244,243,241,.08)}
.lp-globe__pause[hidden]{display:none}

/* ── the split-flap counter ────────────────────────────────────────────────
   John, 2026-11-20: "each number is a card … as it goes up it flips to the
   next thing", and then "There are (the counter thing) happening": the
   upcoming count, in the headline. Live, every digit is a tile and a pink
   comma sits between the groups (lib/home-globe.ts flapCounter); not live, it
   is the headline's own type ("1.5 million+"). The tiles are the globe's own
   material, its disc colours, lit from above: the top half a shade lighter
   than the bottom, a hinge gap across the middle. When a digit changes,
   lp-globe.js adds three short-lived flaps: the old top half (.a) falls on
   the hinge, darkening as it turns from the light, while a shadow (.h) spreads
   over the old bottom half under it; then the new bottom half (.z) lands over
   that with a small settle. Transforms and opacity only.

   Sizes are in em of the row. The row takes 94% of its column for its digit
   count (--em is its width in em: n tiles of .75em, .07em between tiles,
   .28em per comma; lib/home-globe.test.ts holds the table to that sum),
   capped at 52px a digit on a phone and 82px on a computer (.lp-globe__copy
   is the container): 7 digits are 317px of a 390px phone's 350, and 8 still
   fit (329px).
   The digits are #f4f3f1 on #36322c at the lightest: 11.6:1. */
.lp-globe__h>.lp-flap{--em:6.09;--th:1.12em;--hg:.016em;--r:.1em;display:block;margin:10px 0 9px;font:600 46px/1 var(--disp);font-size:min(52px,calc(94cqi / var(--em)));letter-spacing:0;color:#f4f3f1}
.lp-flap[data-n="8"]{--em:6.91}
.lp-flap[data-n="9"]{--em:7.73}
.lp-flap__v{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lp-flap__t{display:flex}
.lp-flap__t i{position:relative;flex:none;width:.75em;height:var(--th);border-radius:var(--r);background:#0e0d0b;perspective:5em;font-style:normal;box-shadow:0 .07em .16em rgba(0,0,0,.55),0 .015em 0 rgba(0,0,0,.6)}
.lp-flap__t i+i{margin-left:.07em}
.lp-flap__t span{flex:none;width:.28em;line-height:var(--th);text-align:center;color:#ff6b8a}
.lp-flap__t span::before{content:","}
/* The halves are the whole tile, the digit laid out the same in each, and
   clipped to above or below the hinge; the gap between them is the tile's
   own near-black, so the hinge cuts through the digit as on a real board. */
.lp-flap__t i::before,.lp-flap__t i::after,.lp-flap__t b{position:absolute;inset:0;line-height:var(--th);text-align:center;border-radius:inherit;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.lp-flap__t i::before,.lp-flap__t i::after,.lp-flap__t b::before{content:attr(data-d)}
.lp-flap__t i::before,.lp-flap__t .a{-webkit-clip-path:inset(0 0 calc(50% + var(--hg)) 0);clip-path:inset(0 0 calc(50% + var(--hg)) 0);background:linear-gradient(#36322c,#2c2824 50%);box-shadow:inset 0 1px rgba(255,255,255,.07)}
.lp-flap__t i::after,.lp-flap__t .z{-webkit-clip-path:inset(calc(50% + var(--hg)) 0 0 0);clip-path:inset(calc(50% + var(--hg)) 0 0 0);background:linear-gradient(#292522 50%,#201d1a)}
/* Mid-flip, the old digit stays on the bottom half until the new one lands. */
.lp-flap__t i[data-b]::after{content:attr(data-b)}
.lp-flap__t b{z-index:1}
.lp-flap__t .a{animation:lp-fall .26s cubic-bezier(.45,0,.9,.5) both}
.lp-flap__t .z{animation:lp-land .36s .25s both}
.lp-flap__t .h{top:50%;border-radius:0 0 var(--r) var(--r);background:linear-gradient(rgba(8,7,6,.62),rgba(8,7,6,.16));animation:lp-cast .62s both}
/* The falling half turns its face to the floor and darkens; the landing
   half arrives face-up, catching the light (a warm pink sheen, the globe's
   colour), and loses it as it settles. */
.lp-flap__t .a::after,.lp-flap__t .z::after{content:"";position:absolute;inset:0;border-radius:inherit}
.lp-flap__t .a::after{background:#0d0c0a;animation:lp-dim .26s ease-in both}
.lp-flap__t .z::after{background:linear-gradient(rgba(255,157,178,0) 50%,rgba(255,157,178,.2) 62%,rgba(255,157,178,0));animation:lp-lit .34s .25s ease-in both}
@keyframes lp-fall{from{transform:rotateX(0)}to{transform:rotateX(-90deg)}}
@keyframes lp-land{0%{transform:rotateX(90deg);animation-timing-function:cubic-bezier(.5,0,.9,.6)}70%{transform:rotateX(0);animation-timing-function:ease-out}84%{transform:rotateX(9deg);animation-timing-function:ease-in}100%{transform:rotateX(0)}}
@keyframes lp-dim{from{opacity:0}to{opacity:.6}}
@keyframes lp-lit{from{opacity:1}to{opacity:0}}
@keyframes lp-cast{0%{opacity:0}40%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.lp-flap__t b{display:none}}
.lp-globe__note{margin-top:14px;font-size:13px;line-height:1.45;color:rgba(244,243,241,.62);text-wrap:balance}

/* A tablet held upright gets the phone's order with a globe that stops
   growing at 600px. */
@media (min-width:601px) and (max-width:979px){.lp-globe__stage{width:min(100%,600px);margin:14px auto 0}.lp-globe__bar{left:0;right:0}}
@media (min-width:601px){.lp-globe__h>.lp-flap{font-size:60px;font-size:min(70px,calc(94cqi / var(--em)))}}

/* ── phone: the planet behind the words ────────────────────────────────────
   John, 2026-11-20: "the phone design could be cooler maybe the planet in
   the background idk". Three options beside today's, for him to pick from:
   `data-bg` on the section (index.html holds the default; /?globe-bg=0..3
   shows another, lp-globe.js). 0 is today's, the globe under the button;
   1, a planet rising from the bottom of the screen behind the button, with a
   horizon glow; 2, the globe centred behind the headline, dimmed; 3, a big
   globe hanging off the right edge. Phones only: tablets and computers keep
   today's layout.
   In 1-3 the stage stops being a box: the canvas and its disc are laid over
   the hero (--gx, --gy, --gw: left, top and width of the canvas square in the
   hero), and the legend and Pause sit at the foot of the first screen on dark
   pills. Each line of words sits on a soft panel of the hero's own colour
   (a fill plus a blurred spread shadow): 62% under the big white lines, so
   the globe shows through them, 68-88% under the smaller and grey ones; the
   badge gets a solid fill. Measured with a WHITE light painted behind every
   point of the globe, at the pixels touching each letter, the dimmest line
   is 4.6:1 (.design-shots/flip/contrast.py). The words are their own layer,
   so the turning globe never repaints their panels. */
@media (max-width:600px){
  .lp-globe[data-bg="1"]{--gw:190vw;--gx:calc(50% - 95vw);--gy:calc(100% - 360px - 5.7vw)}
  .lp-globe[data-bg="2"]{--gw:118vw;--gx:calc(50% - 59vw);--gy:24px}
  .lp-globe[data-bg="3"]{--gw:160vw;--gx:calc(100% - 84vw);--gy:calc(100% - 190px - 75.2vw)}
  .lp-globe[data-bg="1"]::before{background:radial-gradient(80% 20% at 50% calc(100% - 350px),rgba(255,107,138,.34),transparent 72%)}
  .lp-globe[data-bg="3"]::before{background:radial-gradient(70% 40% at 96% calc(100% - 190px),rgba(255,107,138,.24),transparent 72%)}
  .lp-globe:is([data-bg="1"],[data-bg="3"]) .lp-globe__stage::before{box-shadow:0 0 0 1.5px rgba(255,157,178,.45),0 0 26px 2px rgba(255,107,138,.42),0 0 90px 10px rgba(255,107,138,.22)}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__in{align-content:start;min-height:calc(100vh - 58px);min-height:calc(100svh - 58px);padding-bottom:64px}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__copy{transform:translateZ(0)}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) :where(.lp-globe__h>span,.lp-globe__sub,.lp-globe__near,.lp-globe__note){--pa:.88;width:fit-content;padding:4px 8px;margin:-4px -8px;border-radius:14px;background:rgba(26,24,21,var(--pa));box-shadow:0 0 12px 14px rgba(26,24,21,var(--pa))}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__h>span{padding:0 8px;margin:0 -8px}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__h>span:not(.lp-globe__rest){--pa:.62}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__near{--pa:.68}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__sub{--pa:.75;margin:12px -8px -4px}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__note{margin:18px -8px -4px}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__live{background:#3a2329}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__stage{position:static;width:auto;height:0;margin:0;aspect-ratio:auto}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__cv{inset:auto;left:var(--gx);top:var(--gy);width:var(--gw);height:var(--gw)}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__stage::before{left:calc(var(--gx) + var(--gw) * .06);top:calc(var(--gy) + var(--gw) * .03);width:calc(var(--gw) * .88);height:calc(var(--gw) * .88)}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__bar{z-index:2;bottom:16px}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__legend{padding:7px 10px;border-radius:999px;background:rgba(20,18,16,.86);font-size:12px;white-space:nowrap}
  .lp-globe:is([data-bg="1"],[data-bg="2"],[data-bg="3"]) .lp-globe__pause{background:rgba(20,18,16,.86)}
}

@media (min-width:980px){
  .lp-globe::before{background:radial-gradient(40% 56% at 76% 50%,rgba(255,107,138,.15),transparent 72%)}
  .lp-globe__in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copy stage";column-gap:32px;padding:56px 28px 60px}
  .lp-globe__copy{align-self:center}
  .lp-globe__h{font-size:clamp(48px,4.4vw,62px);margin-top:18px}
  .lp-globe__sub{font-size:18px;margin-top:20px}
  .lp-globe__ctas{margin-top:30px}
  .lp-globe__stage{align-self:center;width:100%;margin:0}
  .lp-globe__bar{left:0;right:0}
  .lp-globe__h>.lp-flap{margin:14px 0 12px;font-size:70px;font-size:min(82px,calc(94cqi / var(--em)))}
}

/* Where the page has a margin to spare (1240px and up), the globe takes some
   of it on the right, so it is the biggest thing on the screen without
   crowding the words. The bar under it stays inside the page's edge. */
@media (min-width:1240px){
  .lp-globe__stage{width:112%;margin-right:-12%}
  .lp-globe__bar{right:10.7%}
}

/* ── Get Palaner ───────────────────────────────────────────────────────────
   The design's three platform rows and its phone playing the first run, moved
   down from the old hero, with the live figures as proof. */
.lp-get{position:relative;z-index:1;padding:100px 0;border-top:1px solid var(--line);background:var(--surface)}
.lp-get__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:52px;align-items:center}
.lp-get__grid>*{min-width:0}
.lp-get .h2{margin-top:12px}
.lp-get .h2 em{font-style:normal;color:var(--accent-deep)}
.lp-get__proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;max-width:470px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.lp-get__proof b{display:block;font:600 28px/1 var(--disp);letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.lp-get__proof span{display:block;margin-top:6px;font-size:14px;line-height:1.35;color:var(--ink-2)}
@media (max-width:1000px){.lp-get__grid{grid-template-columns:1fr;gap:44px}}

/* ── the city index ────────────────────────────────────────────────────────
   For browsing, so it sits under the pitch. (A "Coming up" strip of seasonal
   hubs shared this heading size until 2026-11-20, when it moved to its own
   page, /seasons, linked from the footer.) */
.cities__title{font:600 clamp(30px,3.6vw,44px)/1.04 var(--disp);letter-spacing:-.034em;text-wrap:balance}
.cities{padding:72px 0 48px}
.cities__sub{margin-top:12px}
/* Every published city, one chip each, in a row a thumb swipes sideways. A
   container may scroll sideways; the page never does. */
.cities__row{margin:26px -28px 0;mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent)}
.cities__chips{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:0 28px;padding:2px 28px 14px;scrollbar-width:thin}
/* Chips in one column share its width, so the row reads as tidy columns
   rather than ragged gaps. */
.cities__chips li{display:flex;scroll-snap-align:start}
.cities__chips a{flex:1;display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border-radius:var(--r-btn);border:1px solid var(--line-2);background:var(--surface);font:600 14.5px/1 var(--sans);color:var(--ink);white-space:nowrap;transition:border-color var(--dur) var(--ease)}
.cities__chips a:hover{border-color:var(--ink);color:var(--ink)}
.cities__grid{margin-top:22px}
@media (min-width:980px){.cities__chips{grid-template-rows:repeat(3,auto)}}

/* ── phone rhythm ──────────────────────────────────────────────────────────
   The design's 100px between sections is a laptop's spacing; on a phone it is
   most of a screen of nothing. Gutters go to 20px, which is what the globe
   uses, so every edge on the page lines up. */
@media (max-width:640px){
  .engine,.depth,.friends,.lp-get{padding:64px 0}
  .wrap,.cities__in{padding:0 20px}
  .sources__lab{padding:0 20px}
  .cities{padding:56px 0 36px}
  .cities__row{margin:22px -20px 0;mask-image:none}
  .cities__chips{scroll-padding:0 20px;padding:2px 20px 14px}
}
