/* Self-hosted fonts (tools/fonts/fetch.mjs): Google Fonts' standard latin files, as the approved homepage sets them.
   Plus Jakarta Sans for headings and the brand name (weights 700 to 800; the home page's reviews at 600 and the
   month on Portugal's stamp at 500, as the app draws it), Outfit for everything else (400 to 700),
   and Noto Serif Black Italic for the home page's place names (the app's own face for them; a browser fetches it
   only on a page that shows one).
   The "Fallback" faces stand in while a font loads: local fonts resized to the same widths (measured by
   tools/fonts/fallbacks.mjs), so the swap moves nothing. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500 800;font-display:swap;src:url("/_astro/plus-jakarta-sans-latin.B2KjpZfh.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Outfit";font-style:normal;font-weight:400 700;font-display:swap;src:url("/_astro/outfit-latin.D6ftewdU.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Noto Serif";font-style:italic;font-weight:900;font-display:swap;src:url("/_astro/noto-serif-latin-900-italic.CqI1I868.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* FALLBACKS */
@font-face{font-family:"Outfit Fallback";src:local("Arial");font-style:normal;font-weight:100 500;font-stretch:100%;size-adjust:98.86%;ascent-override:101.16%;descent-override:26.30%;line-gap-override:0%} /* 37776 characters */
@font-face{font-family:"Outfit Fallback";src:local("Arial");font-style:italic;font-weight:100 500;font-stretch:100%;size-adjust:102.65%;ascent-override:97.42%;descent-override:25.33%;line-gap-override:0%} /* 208 characters */
@font-face{font-family:"Outfit Fallback";src:local("Arial Bold");font-style:normal;font-weight:600 900;font-stretch:100%;size-adjust:93.65%;ascent-override:106.78%;descent-override:27.76%;line-gap-override:0%} /* 2153 characters */
@font-face{font-family:"Plus Jakarta Sans Fallback";src:local("Arial Bold");font-style:normal;font-weight:600 900;font-stretch:100%;size-adjust:100.80%;ascent-override:102.98%;descent-override:22.02%;line-gap-override:0%} /* 1452 characters */
/* thimbletravel.com: one stylesheet for every page. The header, the store badges, the buttons, the footer, the cookie
   bar and the contact, privacy, terms and 404 pages are the first mockup's (design handoff website-home-chart, mockup
   version 1790723716-30b8), with changes from it marked "Not in the mockup". The home page and the Get the app page are
   round two's design, which Caleb approved on Nov 17, 2026 (further down). Colour tokens first. */
:root{
  color-scheme:dark;
  --bg:#191C1D; --bg-2:#202425; --bg-3:#2A2F31; --line:#33393B; --line-2:#41484B;
  --fg:#F5F3EF; --fg-2:#B7BCC0; --fg-3:#8D9397;
  --orange:#C2410C; --orange-hi:#FF7A45;
  /* Not in the mockup: Ember (Caleb's picks, Nov 4, 2026) in place of the mockup's oranges. The page is dark, so
     orange words, links, icons and lines use night Ember, --orange-hi (6.63:1 on --bg, where Ember is 3.31:1). White
     text on Ember is 5.18:1, so the fills that carry white text are Ember itself */
  --orange-fill:var(--orange);
  --good:#7fdca0; --bad:#ff9a8f;
  --f-head:"Plus Jakarta Sans","Plus Jakarta Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:"Outfit","Outfit Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr:72px; --gut:clamp(16px,4vw,40px);
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
/* One offset for every in-page link: just under the pinned header, 12 px below it. The glide itself is script
   (glide() in src/scripts/site.ts): smooth for a link click only, so every other scroll stays instant */
html{background:var(--bg);scroll-padding-top:calc(env(safe-area-inset-top,0px) + var(--hdr) + 12px)}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--f-body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--gut)}
h1,h2,h3{font-family:var(--f-head);letter-spacing:-.025em;margin:0;text-wrap:balance}
/* Not in the mockup: text-wrap balance. The hero's line is longer now ("Intelligent trip planner and hotel booking")
   and wraps on phones; balanced, it breaks into two even lines instead of leaving one word on the second */
.eyebrow{margin:0;font-size:12.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--orange-hi);text-wrap:balance}
:focus-visible{outline:2px solid var(--orange-hi);outline-offset:3px}
/* Not in the mockup: read by screen readers, not shown */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Not in the mockup: the first thing Tab reaches, shown only then */
.skip-main{position:fixed;left:12px;top:calc(env(safe-area-inset-top,0px) + 12px);z-index:70;padding:10px 16px;border-radius:999px;background:var(--fg);color:var(--bg);font-weight:600;text-decoration:none;transform:translateY(-200%)}
.skip-main:focus-visible{transform:none}

/* Header */
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;height:var(--hdr);display:flex;align-items:center;background:rgba(25,28,29,.86);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}
.hdr .wrap{display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
/* Not in the mockup: the logo drawn in November 2026 is taller for its width (110 x 90, where the mockup's was
   128 x 90). It keeps the mockup's height to the nearest whole pixel of width: 40 px wide (the mockup's was 46), and
   33 on a phone (38) */
.brand img{width:40px;height:auto}
.brand span{font-family:var(--f-head);font-weight:800;font-size:22px;letter-spacing:-.02em}
.nav{margin-left:auto;display:flex;align-items:center;gap:24px;font-size:15px;font-weight:500}
.nav a{text-decoration:none}
.nav a:not(.pill):hover{color:var(--orange-hi)}
.pill{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;background:var(--orange-fill);color:#fff;font-weight:600;text-decoration:none}
.menu-btn{display:none;appearance:none;width:44px;height:44px;margin-right:-8px;border:0;border-radius:12px;background:none;color:var(--fg);cursor:pointer;place-items:center}
.menu-btn svg{width:24px;height:24px}
.menu{display:none}
.menu:popover-open{display:block;position:fixed;inset:calc(var(--hdr) + 8px) 12px auto auto;margin:0;width:min(260px,calc(100vw - 24px));padding:8px;border-radius:18px;background:var(--bg-2);border:1px solid var(--line-2);color:var(--fg);box-shadow:0 24px 60px -24px rgba(0,0,0,.8)}
.menu a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;text-decoration:none;font-weight:500}
.menu a:hover{background:var(--bg-3)}
.brand span,.pill{white-space:nowrap}
@media (max-width:760px){.nav .hide-sm{display:none}.menu-btn{display:grid}.hdr .wrap{gap:12px}.nav{gap:4px}.brand{gap:8px}.brand span{font-size:18px}.brand img{width:33px}.pill{height:38px;padding:0 14px;font-size:14.5px}}
@media (max-width:359px){.brand span{display:none}}

/* Store badges (src/components/StoreBadges.astro) */
.stores{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.store{display:inline-block;border-radius:10px;line-height:0}
.store img{height:52px;width:auto}
/* One store badge on a phone, for the visitor's own store (src/scripts/stores.js); both when it can't be told */
@media (max-width:899px){html.store-ios .store-google,html.store-android .store-apple{display:none}}
@media (max-width:899px){:root{--hdr:64px}}

/* Buttons: the contact form, the 404 page and the cookie bar (the home page's web card has its own look, below) */
.btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border-radius:999px;background:var(--orange-fill);color:#fff;font-weight:600;text-decoration:none;flex:1 1 auto}
.btn.light{background:var(--fg);color:var(--bg)}
/* Not in the mockup, which drew no look for a button under the mouse (Caleb asked for one on Nov 11, 2026): a button
   lights up in night Ember, with the page's dark for its words (6.63:1, where white would be 2.6:1), and a store
   badge gets the ring the keyboard gets, because the stores' own artwork stays as they drew it. Only where there is
   a mouse, since a button tapped on a phone would stay lit. The contact form's button stays as it is while it sends */
@media (hover:hover){
  .pill:hover,.btn:not(:disabled):hover{background:var(--orange-hi);color:var(--bg)}
  .store:hover{outline:2px solid var(--orange-hi);outline-offset:3px}
}

/* The home page and the Get the app page: round two's design as Caleb approved it on Nov 17, 2026 (the website home
   page build plan, artifact Version 6: build/parts b.css, base.css and g.css). Sizes are the design's; where this
   differs from it, a note says why. The two pages carry page-home and page-app on <html> (Base.astro): the app's night
   look, Ink for the ground and night Ember for everything you tap with Ink words on it (7.2:1), and a header that lies
   clear over their first screen (site.ts, header()) */
html.page-home,html.page-app{
  --bg:#0c0d0f; --bg-2:#1a1b1f; --bg-3:#1f2024; --line:#2a2b30; --line-2:#3b3c42; --on-ember:#111214;
  /* how far down the header reaches */
  --top:calc(env(safe-area-inset-top,0px) + var(--hdr));
  /* the left edge of the header's own column, which the words line up with (the design's column was 1180 wide with
     20 px sides and its header ran the full width; the site's header is unchanged, so the words line up with its
     logo), and the right edge the cards keep, the design's own: they sit in the map's corner at every width */
  --wl:max(var(--gut),calc((100% - 1200px) / 2 + var(--gut)));
  --wr:max(36px,env(safe-area-inset-right,0px));
}
/* --lift: what the cookie bar covers at the foot of the screen while it shows, so the parts there can rise above it:
   site.ts measures it (--bar, room()) once it runs, and until then this guess holds, so nothing moves when the measure
   arrives. (Set on main, which can see whether the bar, just before it, is showing. The guesses are the bar's room as
   measured on Nov 17, 2026: its words take one, two or three lines as the screen narrows.) */
.page-home main,.page-app main{--lift:var(--bar,var(--bar-est,0px))}
.cookie:not([hidden]) ~ main{--bar-est:89px}
@media (max-width:585px){.cookie:not([hidden]) ~ main{--bar-est:112px}}
@media (max-width:523px){.cookie:not([hidden]) ~ main{--bar-est:141px}}
@media (max-width:399px){.cookie:not([hidden]) ~ main{--bar-est:164px}}
/* the design's resets, with no weight of their own, so every rule below wins over them */
:where(.page-home main,.page-app main) :where(p,ul,figure,blockquote){margin:0}
:where(.page-home main,.page-app main) :where(ul){padding:0;list-style:none}
.page-home .eyebrow,.page-app .eyebrow{font-size:13px;line-height:1.2;letter-spacing:.14em;color:var(--fg-3)}
.page-home .eyebrow.ember{color:var(--orange-hi)}
.page-home .stores,.page-app .stores{justify-content:flex-start}
.page-home .store img{height:48px}
.free{font-size:14px;font-weight:500;line-height:1.3;color:var(--fg-3)}
/* The header: clear over the picture at the top of the page, the design's Ink glass once the page scrolls */
.page-home .hdr,.page-app .hdr{position:fixed;left:0;right:0;top:env(safe-area-inset-top,0px);background:rgba(12,13,15,.72);-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);transition:background-color .3s,border-color .3s,-webkit-backdrop-filter .3s,backdrop-filter .3s}
html.js.page-home .hdr:not(.solid),html.js.page-app .hdr:not(.solid){background-color:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}

/* ---------- The trip map (src/components/home/TripMap.astro; src/scripts/trip.ts moves it) ----------
   A real street map of Lisbon stays pinned while the page scrolls past --steps screens; the camera moves and the
   routes draw themselves */
.b-story{position:relative;height:calc(var(--steps) * 100vh);height:calc(var(--steps) * 100svh)}
.b-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:#11242f}
.b-map{position:absolute;inset:0;z-index:0}
.b-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.b-still{width:100%;height:100%;object-fit:cover}
.b-dim{position:absolute;inset:0;background:rgba(10,11,13,.6);opacity:0;transition:opacity .8s var(--ease)}
.b-stage[data-step="3"] .b-dim{opacity:.72}
.b-stage[data-step="6"] .b-dim{opacity:.62}
.b-pins{position:absolute;inset:0;pointer-events:none;transition:opacity .6s var(--ease)}
.b-stage[data-step="3"] .b-pins,.b-stage[data-step="6"] .b-pins{opacity:.35}
.b-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(90deg,rgba(12,13,15,.97) 0%,rgba(12,13,15,.92) 20%,rgba(12,13,15,.68) 34%,rgba(12,13,15,.2) 48%,rgba(12,13,15,0) 58%),
  linear-gradient(180deg,rgba(12,13,15,.8) 0,rgba(12,13,15,0) 15%),
  linear-gradient(0deg,rgba(12,13,15,.92) 0,rgba(12,13,15,0) 13%)}
/* at the top of the page the headline runs across the map, so the top is darker there; it fades out to the right of
   the headline, so the day's own labels stay bright wherever the day sits */
.b-shade::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .7s var(--ease);
  background:linear-gradient(180deg,rgba(12,13,15,.9) 0,rgba(12,13,15,.66) 24%,rgba(12,13,15,0) 46%);
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 80%);mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 80%)}
.b-stage[data-step="0"] .b-shade::before{opacity:1}

/* things pinned to the map: a zero size point moved by the script, with the visible part inside */
.b-mark{position:absolute;left:0;top:0;width:0;height:0;will-change:transform}
.b-mark.d1{--c:#ff7a45}.b-mark.d2{--c:#ffc266}.b-mark.d3{--c:#ff9db8}
.b-pin .in{position:absolute;left:-13px;top:-13px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font:800 13px/1 var(--f-head);color:#111214;background:var(--c);
  box-shadow:0 0 0 3px rgba(12,13,15,.9),0 0 0 4.5px rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.6);
  transform:scale(0);transition:transform .5s cubic-bezier(.3,1.7,.5,1),color .3s}
.b-pin.on .in{transform:scale(1)}
.b-stage[data-zoom="far"] .b-pin.on .in{transform:scale(.44);color:transparent}
.b-label .in{position:absolute;left:21px;top:0;transform:translateY(-50%) translateX(-8px);opacity:0;white-space:nowrap;
  display:flex;gap:7px;align-items:baseline;padding:6px 12px 6px 10px;border-radius:999px;font:500 13.5px/1.1 var(--f-body);color:var(--fg);
  background:rgba(17,18,20,.86);border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 8px 20px rgba(0,0,0,.45);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.b-label .in b{font-weight:700;color:var(--orange-hi)}
.b-label.on .in{opacity:1;transform:translateY(-50%)}
.b-day .in{position:absolute;white-space:nowrap;display:flex;gap:8px;align-items:baseline;padding:7px 13px 7px 11px;border-radius:999px;
  font:500 13.5px/1.1 var(--f-body);color:var(--fg-2);background:rgba(17,18,20,.9);border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(0,0,0,.45);opacity:0;transition:opacity .45s var(--ease)}
.b-day .in b{font:800 13px/1 var(--f-head);color:var(--c);letter-spacing:.02em}
.b-day.on .in{opacity:1;transition-delay:.25s}
.b-day.below .in{left:0;top:12px;transform:translateX(-50%)}
.b-day.above .in{left:0;bottom:12px;transform:translateX(-50%)}
.b-bed .in{position:absolute;left:-17px;top:-17px;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--orange-hi);color:#111214;
  box-shadow:0 0 0 3px rgba(12,13,15,.9),0 10px 22px rgba(0,0,0,.6);transform:scale(0);transition:transform .5s cubic-bezier(.3,1.7,.5,1)}
.b-bed .in svg{width:19px;height:19px}
.b-bed.on .in{transform:scale(1)}
.b-you .in{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px var(--orange-hi),0 6px 16px rgba(0,0,0,.6);transform:scale(0);transition:transform .4s var(--ease)}
.b-you.on .in{transform:scale(1)}
.b-you .in::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--orange-hi);animation:b-pulse 1.9s var(--ease) infinite}
@keyframes b-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.2);opacity:0}}

/* the first day's name, on a phone's first screen */
.b-tag{position:absolute;z-index:2;right:var(--wr);bottom:40px;display:flex;gap:9px;align-items:baseline;padding:8px 14px 8px 12px;border-radius:999px;
  font:500 14px/1.1 var(--f-body);color:var(--fg-2);background:rgba(17,18,20,.86);border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transform:translateY(-6px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.b-tag b{font:800 13px/1 var(--f-head);color:var(--orange-hi);letter-spacing:.02em}
.b-stage[data-step="0"].drawn .b-tag{opacity:1;transform:none}
@media (min-width:761px){.b-tag{display:none}}

/* the headline block and the parts' words */
.b-hero,.b-copy{position:absolute;z-index:3;left:var(--wl)}
.b-hero{top:max(calc(var(--top) + 36px),12.5vh);width:min(940px,68vw);transition:opacity .5s var(--ease),transform .7s var(--ease)}
.b-hero h1{font-size:clamp(40px,min(5.6vw,11.5vh),88px);font-weight:800;line-height:.98;letter-spacing:-.045em;margin-top:18px;text-wrap:wrap}
.b-hero .lead{margin-top:22px;font-size:clamp(17px,1.45vw,21px);color:var(--fg-2);max-width:30ch}
.b-cta{margin-top:28px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.b-stage:not([data-step="0"]) .b-hero{opacity:0;transform:translateY(-34px);pointer-events:none}
.b-copy{top:50%;width:min(440px,36vw)}
.b-step{position:absolute;left:0;right:0;top:0;transform:translateY(calc(-50% + 28px));opacity:0;pointer-events:none;
  transition:opacity .45s var(--ease),transform .7s var(--ease);display:grid;gap:16px;justify-items:start}
.b-step.on{opacity:1;transform:translateY(-50%);pointer-events:auto;transition-delay:.12s}
.b-step.was{transform:translateY(calc(-50% - 28px))}
.b-step h2{font-size:clamp(30px,3.3vw,52px);font-weight:800;line-height:1.04;letter-spacing:-.035em}
.b-step p:not(.eyebrow){color:var(--fg-2);font-size:clamp(16px,1.25vw,18.5px);max-width:38ch}
.b-step .b-small{color:var(--fg-3);font-size:15.5px;padding-left:14px;border-left:2px solid var(--orange-hi)}
.b-chip{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1;color:var(--good);background:rgba(127,220,160,.09);border:1px solid rgba(127,220,160,.22);padding:9px 14px;border-radius:999px}
.b-chip svg{width:15px;height:15px;flex:none}
.b-ticks{display:grid;gap:10px}
.b-ticks li{display:flex;gap:10px;align-items:flex-start;color:var(--fg-2);font-size:16px;line-height:1.4}
.b-ticks svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--orange-hi)}

/* real pieces of the app, floating over the map. The ones for later parts stay out of the layout until the first
   touch or scroll (trip.ts adds "later"), so their pictures load then and not with the first screen */
.b-card{position:absolute;z-index:3;opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;
  transition:opacity .45s var(--ease),transform .7s var(--ease);filter:drop-shadow(0 30px 44px rgba(0,0,0,.75)) drop-shadow(0 0 1px rgba(255,255,255,.3))}
.b-stage:not(.later) :is(.b-hotel,.b-phone,.b-next,.b-widget,.b-share){display:none}
.b-card.on{opacity:1;transform:none;transition-delay:.5s}
.b-card img{width:100%;height:auto}
.b-glance,.b-share{right:var(--wr);bottom:76px;width:min(330px,26vw)}
.b-glance img{border-radius:22px;border:1px solid var(--line)}
/* on the first screen this card peeks over the bottom edge (its top 43%: day one, and day two cut off), so the page
   plainly goes on */
.b-stage[data-step="0"] .b-glance{opacity:1;transform:translateY(calc(100% + 96px));transition-delay:0s}
.b-stage[data-step="0"].drawn .b-glance{transform:translateY(calc(56.7% + 76px));pointer-events:auto;cursor:pointer;transition:transform .9s var(--ease)}
.b-stage[data-step="0"].drawn .b-glance:hover{transform:translateY(calc(56.7% + 66px))}
.b-share{width:min(340px,27vw)}
.b-hotel{left:calc(56% + 30px);top:52%;width:min(280px,23vw);margin-top:calc(min(280px,23vw) * -.57)}
.b-next{left:calc(66% + 30px);top:58%;width:min(320px,calc(34% - 62px));margin-top:-112px}
.b-widget{left:calc(66% + 30px);top:calc(58% + 118px);width:124px}
.b-phone{left:calc(50% + 15vw);top:50%;transform:translateY(calc(-50% + 18px)) scale(.96)}
.b-phone.on{transform:translateY(-50%)}
/* the tour page in a drawn phone */
.b-device{--pw:min(290px,32vh);position:relative;width:var(--pw);padding:calc(var(--pw) * .032);border-radius:calc(var(--pw) * .172);
  background:linear-gradient(145deg,#4a4c53 0%,#1c1d21 22%,#0a0a0c 60%,#33353b 100%);
  box-shadow:0 0 0 1px rgba(0,0,0,.9),inset 0 0 0 1.5px rgba(255,255,255,.14),0 50px 120px -30px rgba(0,0,0,.9),0 30px 60px -30px rgba(0,0,0,.8)}
.b-device::before,.b-device::after{content:"";position:absolute;width:3px;border-radius:2px;background:linear-gradient(#3a3c42,#1b1c20)}
.b-device::before{left:-2px;top:24%;height:9%}
.b-device::after{right:-2px;top:29%;height:14%}
.b-screen{position:relative;width:100%;aspect-ratio:660/1434;border-radius:calc(var(--pw) * .142);overflow:hidden;background:#111214}
.b-screen > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Portugal's stamp, drawn as the app draws it (TripMap.astro), pressed on as the app presses it: 0.85 s, down large,
   squeezed, a little over, home */
.b-stamp{--sw:min(340px,26vw,46vh);left:calc(50% + 19vw);top:50%;width:0;height:0;transform:none;filter:none}
.b-stamp.on{transition-duration:.01s;transition-delay:0s}
.b-stamp-in{position:absolute;left:calc(var(--sw) * -.5);top:calc(var(--sw) * -.38);width:var(--sw);transform:rotate(-4deg);filter:drop-shadow(0 28px 40px rgba(0,0,0,.62))}
.b-stamp-in svg{display:block;width:100%;height:auto;overflow:visible}
.b-stamp.on .b-stamp-in{animation:b-press .85s linear .6s both}
@keyframes b-press{
  0%{opacity:0;transform:rotate(-12deg) scale(1.6);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  52.94%{opacity:1;transform:rotate(-4deg) scale(.93);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  76.47%{opacity:1;transform:rotate(-4deg) scale(1.03);animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  100%{opacity:1;transform:rotate(-4deg) scale(1)}
}

/* the part buttons, and over them on the first screen a small moving cue */
.b-rail{position:absolute;z-index:4;left:var(--wl);bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--lift));display:flex;gap:2px;padding:5px;border-radius:999px;margin-left:-5px;
  background:rgba(22,23,26,.78);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08)}
.b-cue{position:absolute;z-index:4;left:var(--wl);bottom:calc(84px + env(safe-area-inset-bottom,0px) + var(--lift));display:flex;align-items:center;gap:8px;margin:0;
  font-size:14.5px;font-weight:500;line-height:1;letter-spacing:.01em;color:var(--fg-2);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .5s var(--ease),transform .6s var(--ease)}
.b-stage[data-step="0"] .b-cue{opacity:1;transform:none}
.b-cue svg{width:17px;height:17px;flex:none;color:var(--orange-hi);animation:b-nudge 1.8s var(--ease) infinite}
@keyframes b-nudge{0%{transform:translateY(-4px);opacity:0}35%{opacity:1}65%{opacity:1}100%{transform:translateY(5px);opacity:0}}
.b-rail button{appearance:none;margin:0;font:600 13.5px/1 var(--f-body);color:var(--fg-3);background:none;border:0;padding:9px 14px;border-radius:999px;cursor:pointer;transition:color .2s,background-color .3s;white-space:nowrap}
.b-rail button:hover{color:var(--fg)}
.b-rail button.on{color:var(--on-ember);background:var(--orange-hi)}
.b-stage[data-step="0"] .b-rail button{color:var(--fg-2)}
.b-stage[data-step="0"] .b-rail button:hover{color:var(--fg)}
/* the map's credit: white at half strength, where the design had 42%, so its small words measure 5.2:1 over the map
   behind them, not 4.1 (tests/a11y.spec.ts) */
.b-credit{position:absolute;z-index:2;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px) + var(--lift));margin:0;font-size:11px;font-weight:400;line-height:1;color:rgba(255,255,255,.5);letter-spacing:.01em}
@media (min-width:761px){.b-stage[data-step="0"] .b-credit{right:calc(var(--wr) + min(330px,26vw) + 18px)}}
/* the script measures the first screen (trip.ts, firstScreen) and sets these where a line has to step aside */
.b-stage.nocue .b-cue{display:none}
.b-stage.tight .b-hero .lead,.b-stage.tighter .b-hero .lead,.b-stage.tighter .b-hero .free{display:none}
.b-stage.times .b-label .in span{display:none}

@media (max-width:1000px){.b-widget{display:none}}
@media (max-width:760px){
  .b-shade{background:
    linear-gradient(180deg,rgba(12,13,15,.78) 0,rgba(12,13,15,0) 13%),
    linear-gradient(0deg,rgba(12,13,15,1) 0%,rgba(12,13,15,.97) 27%,rgba(12,13,15,.74) 37%,rgba(12,13,15,0) 52%)}
  /* --hb is how far the headline block's top is above the bottom of the screen; the script measures it */
  .b-stage[data-step="0"] .b-shade{background:
    linear-gradient(180deg,rgba(12,13,15,.78) 0,rgba(12,13,15,0) 13%),
    linear-gradient(0deg,rgba(12,13,15,1) 0%,rgba(12,13,15,.97) calc(var(--hb,46%) - 10px),rgba(12,13,15,.62) calc(var(--hb,46%) + 40px),rgba(12,13,15,0) calc(var(--hb,46%) + 118px))}
  .b-stage.short .b-hero .lead,.b-stage.tiny .b-hero .lead,.b-stage.tiny .b-hero .free,.b-stage.tiny .b-tag{display:none}
  /* the cookie bar on a short phone: the cue steps aside and the headline block takes its place, 14 px over the part
     buttons (trip.ts, firstScreen) */
  .b-stage.nocue .b-hero{bottom:calc(66px + env(safe-area-inset-bottom,0px) + var(--lift))}
  /* day two's chip sits above its stop and runs to the right, clear of the screen's left edge and of the share card */
  .b-day.d2.below .in{top:auto;bottom:12px;left:-14px;transform:none}
  .b-tag{left:var(--gut);right:auto;bottom:auto;top:calc(var(--top) + 10px);font-size:12.5px;padding:7px 12px 7px 10px}
  .b-tag span{max-width:62vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .b-label .in{font-size:12px;padding:5px 9px 5px 8px;left:17px}
  .b-label .in span{display:none}
  .b-shade::before{display:none}
  .b-hero{top:auto;bottom:calc(92px + env(safe-area-inset-bottom,0px) + var(--lift));left:var(--gut);right:var(--gut);width:auto;transform:none}
  .b-stage:not([data-step="0"]) .b-hero{transform:translateY(-24px)}
  .b-hero .eyebrow{font-size:11px;letter-spacing:.1em}
  .b-hero h1{font-size:clamp(33px,10vw,48px);margin-top:12px}
  .b-hero .lead{font-size:16px;margin-top:12px;max-width:none}
  .b-cta{margin-top:16px;gap:8px}
  .page-home .store img{height:42px}
  .b-copy{top:auto;left:var(--gut);right:var(--gut);width:auto;bottom:calc(64px + env(safe-area-inset-bottom,0px) + var(--lift));height:0}
  .b-step{top:auto;bottom:0;transform:translateY(20px);gap:9px}
  .b-step.on{transform:none}
  .b-step.was{transform:translateY(-20px)}
  .b-step h2{font-size:clamp(23px,6.6vw,28px)}
  .b-step p:not(.eyebrow){font-size:15px;line-height:1.45;max-width:none}
  .b-step .b-ticks,.b-step .b-small{display:none}
  .b-step .b-chip{font-size:12.5px;padding:7px 11px}
  .b-glance{display:none}
  .b-hotel{left:calc(26% + 24px);top:29%;width:min(190px,48vw);margin-top:-54px}
  .b-next{left:var(--gut);top:39%;width:min(236px,62vw);margin-top:0}
  .b-share{left:50%;right:auto;bottom:auto;top:37%;width:min(244px,64vw);margin-left:calc(min(244px,64vw) / -2)}
  .b-phone{left:50%;top:calc(var(--top) + 8px);transform:translateX(-50%) translateY(14px) scale(.96)}
  .b-phone.on{transform:translateX(-50%)}
  .b-phone .b-device{--pw:min(196px,23.5svh)}
  .b-stamp{--sw:min(264px,68vw,33svh);left:50%;top:calc(var(--top) + 27svh)}
  .b-rail{left:50%;margin-left:0;transform:translateX(-50%);bottom:calc(12px + env(safe-area-inset-bottom,0px) + var(--lift));max-width:calc(100vw - 24px)}
  .b-cue{left:0;right:0;justify-content:center;bottom:calc(58px + env(safe-area-inset-bottom,0px) + var(--lift));font-size:13.5px}
  .b-rail button{padding:8px 9px;font-size:12px}
  .b-credit{right:auto;left:var(--gut);font-size:9.5px;display:none}
  .b-stage[data-step="0"] .b-credit{display:block;bottom:calc(var(--hb,46%) + 20px);white-space:nowrap}
}
/* With scripts off: the map stands still behind the first screen (the first day's streets), and every part's words
   follow it in order, on the page's own ground */
html:not(.js) .b-story{height:auto}
html:not(.js) .b-stage{position:relative;height:auto;overflow:visible;background:var(--bg);padding-bottom:40px}
html:not(.js) .b-map,html:not(.js) .b-shade{bottom:auto;height:100vh;height:100svh}
html:not(.js) .b-canvas,html:not(.js) .b-pins,html:not(.js) .b-dim,html:not(.js) .b-float,html:not(.js) .b-cue,html:not(.js) .b-rail,html:not(.js) .b-tag{display:none}
html:not(.js) .b-hero{position:relative;inset:auto;margin-left:var(--wl);min-height:100vh;min-height:100svh;padding:max(calc(var(--top) + 36px),12.5vh) 0 64px;opacity:1;transform:none}
html:not(.js) .b-copy{position:relative;inset:auto;height:auto;margin-left:var(--wl);width:min(700px,calc(100% - var(--wl) - var(--gut)));display:grid;gap:64px;padding-top:24px}
html:not(.js) .b-step{position:static;transform:none;opacity:1;pointer-events:auto}
html:not(.js) .b-credit{bottom:auto;top:calc(100svh - 24px)}
@media (max-width:760px){
  html:not(.js) .b-hero{display:flex;flex-direction:column;justify-content:flex-end;inset:auto;width:auto;margin-left:0;padding:calc(var(--top) + 24px) var(--gut) 48px}
  html:not(.js) .b-copy{inset:auto;height:auto;margin-left:var(--gut);width:calc(100% - 2 * var(--gut));gap:48px}
  html:not(.js) .b-step .b-ticks,html:not(.js) .b-step .b-small{display:revert}
  html:not(.js) .b-stage .b-credit{display:block;top:calc(100svh - 20px);bottom:auto}
}

/* ---------- Under the story ---------- */
.sec{position:relative;padding-block:24px 112px}
.sec-head{max-width:720px;margin-bottom:48px}
.sec-head h2{font-size:clamp(34px,4.2vw,56px);font-weight:800;line-height:1.04;letter-spacing:-.035em;margin-top:14px}
.sec-head .sub{margin-top:14px;color:var(--fg-2);font-size:19px}
@media (max-width:760px){.sec{padding-block:24px 72px}.sec-head{margin-bottom:32px}}

/* What people say: two App Store reviews, then the four short facts */
.proof{padding-block:96px;border-top:1px solid rgba(255,255,255,.06)}
.quotes{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.quote .stars{display:flex;gap:3px;color:var(--orange-hi);margin-bottom:16px}
.quote .stars svg{width:18px;height:18px;fill:currentColor}
.quote blockquote{font-family:var(--f-head);font-weight:600;font-size:clamp(19px,1.72vw,24px);line-height:1.36;letter-spacing:-.02em;text-wrap:pretty}
.quote figcaption{margin-top:14px;color:var(--fg-3);font-size:15px}
.quote figcaption b{color:var(--fg-2);font-weight:600}
.facts{display:grid;grid-template-columns:repeat(4,1fr);margin-top:72px;border-top:1px solid var(--line)}
.fact{padding:28px 24px 0;border-right:1px solid var(--line)}
.fact:first-child{padding-left:0}
.fact:last-child{border-right:0}
.fact .fact-t{font-family:var(--f-head);font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:var(--fg)}
.fact p:not(.fact-t){margin-top:8px;color:var(--fg-3);font-size:15.5px;line-height:1.45}
@media (max-width:900px){.quotes{grid-template-columns:1fr;gap:40px}.facts{grid-template-columns:1fr 1fr;margin-top:48px}.fact{padding:22px 16px 22px 0;border-bottom:1px solid var(--line)}.fact:nth-child(2n){border-right:0;padding-left:16px}.fact:nth-child(2n+1){padding-left:0}.fact:nth-last-child(-n+2){border-bottom:0}}

/* Booking on the web */
.webbook{padding-block:0 96px}
.web{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;padding:30px 34px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01))}
.web h3{font-size:24px;font-weight:800;line-height:1.15;letter-spacing:-.025em;text-wrap:wrap}
.web p{margin-top:8px;color:var(--fg-2);font-size:16px;max-width:60ch}
.web .acts{display:flex;gap:10px;flex-wrap:wrap}
.web .btn{flex:none;height:auto;padding:15px 24px;font:700 16px/1 var(--f-head);letter-spacing:-.01em;background:var(--orange-hi);color:var(--on-ember);transition:transform .2s var(--ease),background-color .2s}
.web .btn.ghost{background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1px var(--line-2)}
@media (hover:hover){
  .web .btn:not(:disabled):hover{background:#ff8d5e;color:var(--on-ember);transform:translateY(-1px)}
  .web .btn.ghost:not(:disabled):hover{background:rgba(255,255,255,.06);color:var(--fg)}
}
@media (max-width:900px){.web{grid-template-columns:1fr;padding:26px 22px}}

/* Pricing: the Free account, and the Premium card that leads with the money. The ticks are the design's own shapes,
   files of the site's own (src/assets/img/icons) */
.plans{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;align-items:start}
.plan{position:relative;padding:34px;border-radius:28px;background:var(--bg-2);border:1px solid var(--line)}
.plan.best{background:linear-gradient(180deg,#221a16,#1a1b1f 55%);border-color:rgba(255,122,69,.45);box-shadow:0 30px 80px -40px rgba(255,122,69,.35)}
.plan .tier{display:block;font-size:14px;font-weight:600;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:var(--fg-3)}
.plan .price{display:block;font:800 56px/1 var(--f-head);letter-spacing:-.04em;margin-top:14px}
.plan .per{display:block;margin-top:10px;color:var(--fg-3);font-size:15px;max-width:38ch}
.plan .flag{position:absolute;top:26px;right:26px;font-size:12px;font-weight:700;line-height:1;letter-spacing:.1em;text-transform:uppercase;color:var(--on-ember);background:var(--orange-hi);padding:8px 12px;border-radius:999px}
.plan ul{margin-top:26px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:12px}
.plan li{position:relative;padding-left:28px;color:var(--fg-2);font-size:16px;line-height:1.4}
.plan li::before{content:"";position:absolute;left:0;top:3px;width:17px;height:17px;background:var(--orange-hi);
  -webkit-mask:url("/_astro/tick.9JvtbmiK.svg") center / contain no-repeat;mask:url("/_astro/tick.9JvtbmiK.svg") center / contain no-repeat}
.plan li.more::before{-webkit-mask-image:url("/_astro/plus.csbzu4bI.svg");mask-image:url("/_astro/plus.csbzu4bI.svg")}
.plan.best .price{display:flex;align-items:baseline;gap:12px}
.plan.best .price small{font:500 17px/1 var(--f-body);letter-spacing:0;color:var(--fg-2)}
.plan.best .month{display:block;margin-top:12px;font-size:17.5px;font-weight:600;line-height:1.2;color:var(--fg)}
.plan.best .trial{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:18px}
.plan.best .trial b{font-size:15px;font-weight:700;line-height:1;letter-spacing:.01em;color:var(--on-ember);background:var(--orange-hi);padding:10px 15px;border-radius:999px}
.plan.best .trial span{color:var(--fg-3);font-size:14.5px}
.plan.best .plus{margin-top:26px;padding-top:24px;border-top:1px solid var(--line);font-size:15.5px;font-weight:600;line-height:1.2;color:var(--fg-2)}
.plan.best ul{margin-top:0;padding-top:0;border-top:0;grid-template-columns:1fr;gap:11px}
.plan.best h3{display:flex;align-items:center;gap:9px;margin-bottom:14px;font:700 13px/1.2 var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--orange-hi);text-wrap:wrap}
.plan.best h3 svg{width:17px;height:17px;flex:none}
.plan.best .money{margin-top:16px;padding:22px 24px 24px;border-radius:20px;background:rgba(255,122,69,.09);border:1px solid rgba(255,122,69,.32)}
.plan.best .money ul{grid-template-columns:1fr 1fr;column-gap:24px}
.plan.best .money li{color:var(--fg);font:700 18.5px/1.28 var(--f-head);letter-spacing:-.015em;padding-left:30px}
.plan.best .money li::before{top:4px;width:19px;height:19px}
/* the two headings share a row and the lists start level, however the headings wrap */
.plan.best .groups{display:grid;grid-template-columns:1.12fr 1fr;column-gap:30px;align-items:start;margin-top:26px;padding-inline:24px}
.plan.best .group{display:contents}
.plan.best .group:nth-child(1) h3{grid-area:1/1}
.plan.best .group:nth-child(1) ul{grid-area:2/1/span 2}
.plan.best .group:nth-child(2) h3{grid-area:1/2}
.plan.best .group:nth-child(2) ul{grid-area:2/2}
.plan.best .group:nth-child(2) .extras{grid-area:3/2;margin-top:11px}
.fine{margin-top:22px;color:var(--fg-3);font-size:14.5px}
@media (max-width:900px){
  .plans{grid-template-columns:1fr}
  .plan{padding:26px}
  .plan .price{font-size:46px}
  .plan.best .money{padding:18px 18px 20px}
  .plan.best .money ul{grid-template-columns:1fr}
  .plan.best .groups{display:block;padding-inline:18px}
  .plan.best .group{display:block}
  .plan.best .group + .group{margin-top:24px}
  .plan.best .money li{font-size:17.5px}
}

/* Questions: two columns on a computer, one on a phone; each opens its answer (src/scripts/home.ts) */
.qa-list{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa .q{padding:22px 0;font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.015em;text-wrap:wrap}
.qa .a{padding:0 30px 24px 0;color:var(--fg-2);font-size:16.5px}
.qa-list.acc .q{padding:0}
.qa-list.acc .qa:not(.open) .a{display:none}
.qa-btn{appearance:none;width:100%;margin:0;padding:22px 0;border:0;background:none;color:var(--fg);font:inherit;letter-spacing:inherit;text-align:left;display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer}
.qa-ic{flex:none;width:12px;height:12px;border-right:2px solid var(--orange-hi);border-bottom:2px solid var(--orange-hi);transform:rotate(45deg) translate(-3px,-3px);transition:transform .25s var(--ease)}
.qa.open .qa-ic{transform:rotate(225deg) translate(-3px,-3px)}
@media (max-width:900px){.qa-list{grid-template-columns:1fr}.qa .q{font-size:17px;padding:18px 0}.qa-btn{padding:18px 0}}

/* Get the app, over the Whistler photo. The line on a photo names its place, in the serif the app uses for place
   names (src/styles/fonts.css), at the sizes the site's photos have used since Nov 10, 2026 */
:root{--f-place:"Noto Serif",Georgia,"Times New Roman",serif}
.place-name{font-family:var(--f-place);font-style:italic;font-weight:900;font-size:26px;line-height:1.1;letter-spacing:0}
.credit{margin:0;color:#fff}
.credit .place-name{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.7)}
.get{position:relative;min-height:min(86vh,760px);display:grid;align-items:end;overflow:hidden;isolation:isolate}
.get-bg{position:absolute;inset:0;z-index:-2}
.get-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.get::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(12,13,15,.9) 0%,rgba(12,13,15,.8) 32%,rgba(12,13,15,.48) 56%,rgba(12,13,15,0) 80%),
  linear-gradient(180deg,var(--bg) 0%,rgba(12,13,15,.35) 26%,rgba(12,13,15,.15) 50%,rgba(12,13,15,.82) 100%)}
.get-in{width:100%;padding-block:120px 88px}
.get .eyebrow,.g-copy .eyebrow{color:rgba(255,255,255,.8)}
.get h2{font-size:clamp(40px,6vw,88px);font-weight:800;line-height:1;letter-spacing:-.04em;max-width:13ch;margin-top:16px;text-shadow:0 2px 34px rgba(0,0,0,.5)}
.get .sub{margin-top:18px;font-size:19px;color:var(--fg);max-width:46ch;opacity:.88}
.get .stores{margin-top:30px}
.get-where,.g-where{position:absolute;right:max(20px,env(safe-area-inset-right,0px));bottom:26px}
@media (max-width:760px){
  .get-in{padding-block:96px 76px}
  .get-where{bottom:18px}
  /* the photo is snow: the dark under the words belongs to the words' own block, so white words never sit on bright
     snow, however tall the phone */
  .get::before{background:linear-gradient(180deg,var(--bg) 0%,rgba(12,13,15,.2) 16%,rgba(12,13,15,.2) 100%)}
  .get-in{background:linear-gradient(180deg,rgba(12,13,15,0) 0,rgba(12,13,15,.62) 96px,rgba(12,13,15,.8) 190px,rgba(12,13,15,.94) 100%)}
  .place-name{font-size:22px}
  .get-where,.g-where{right:var(--gut)}
}

/* Travel essentials: each card is one link to its partner (its words name the link, and the card around it takes the
   click too) */
.kit{padding-block:88px 72px}
.kit-head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.kit-head h2{font-size:28px;font-weight:800;line-height:1.1;letter-spacing:-.03em}
.kit-head p{color:var(--fg-3);font-size:15px;margin-top:6px}
.kit-head .earn{font-size:13.5px;max-width:36ch;text-align:right}
.kit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kit-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:22px;border:1px solid var(--line);background:var(--bg-2);transition:border-color .2s,transform .2s var(--ease)}
.kit-card:focus-within{border-color:rgba(255,122,69,.6)}
.kit-card img{height:22px;width:auto;align-self:flex-start;opacity:.95}
.kit-card p{color:var(--fg-2);font-size:14.5px;line-height:1.45;flex:1}
.kit-card .code{color:var(--good);font-weight:600;font-size:14px}
.kit-card a{font:700 14.5px/1 var(--f-head);color:var(--orange-hi);text-decoration:none}
.kit-card a::after{content:"";position:absolute;inset:0;border-radius:inherit}
@media (hover:hover){.kit-card:hover{border-color:rgba(255,122,69,.6);transform:translateY(-2px)}}
@media (max-width:900px){.kit-grid{grid-template-columns:1fr 1fr}.kit-head .earn{text-align:left}}
@media (max-width:520px){.kit-grid{grid-template-columns:1fr}}

/* ---------- The Get the app page (src/pages/app.astro) ----------
   On a computer, both store buttons and a code to scan. A phone goes straight to its own store, so it sees this page
   only with scripts off. The page stops above the cookie bar while it shows (--lift) */
.page-app .store img{height:54px}
.g-main{position:relative;min-height:calc(100vh - var(--lift));min-height:calc(100svh - var(--lift));display:grid;align-items:center;overflow:hidden;isolation:isolate}
.g-bg{position:absolute;inset:0;z-index:-2}
/* the photo is a ski run at Whistler in fresh snow: the snowy trees fill its middle and right, so a window wider than
   the photo loses the run along the bottom first */
.g-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
/* dark where the words are, on the left, and nearly clear on the right, where the lit peaks and the lake show */
.g-main::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(90deg,rgba(12,13,15,.88) 0%,rgba(12,13,15,.76) 30%,rgba(12,13,15,.36) 56%,rgba(12,13,15,.12) 100%),
  linear-gradient(180deg,rgba(12,13,15,.72) 0%,rgba(12,13,15,0) 20%,rgba(12,13,15,0) 64%,rgba(12,13,15,.8) 100%)}
.g-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,6vw,96px);align-items:center;padding-block:128px 96px}
.g-copy h1{font-size:clamp(42px,6vw,88px);font-weight:800;line-height:1;letter-spacing:-.04em;max-width:12ch;margin-top:16px;text-shadow:0 2px 34px rgba(0,0,0,.5)}
.g-copy .sub{margin-top:20px;font-size:19px;color:var(--fg);opacity:.88;max-width:44ch}
.g-copy .stores{margin-top:30px}
.g-scan{width:min(300px,100%);padding:22px 22px 20px;border-radius:30px;background:rgba(22,23,26,.74);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 40px 90px -30px rgba(0,0,0,.9);text-align:center}
.g-qr{padding:20px;border-radius:18px;background:#fff}
.g-qr img{width:100%;height:auto}
.g-scan p{margin-top:16px;font:600 17px/1.3 var(--f-head);letter-spacing:-.01em;color:var(--fg);text-wrap:balance}
@media (max-width:860px){
  /* a phone can't scan its own screen, so the code is for computers only */
  .g-main{align-items:end}
  .g-in{grid-template-columns:minmax(0,1fr);align-items:end;padding-block:110px 84px}
  .g-scan{display:none}
  /* the tall photo keeps its top, where the lit peaks are; the dark under the words belongs to the words' own block,
     so it starts just above them on a short phone and a tall one alike */
  .g-bg img{object-position:50% 0%}
  .g-main::before{background:linear-gradient(180deg,rgba(12,13,15,.7) 0%,rgba(12,13,15,.14) 18%,rgba(12,13,15,.2) 100%)}
  .g-in{background:linear-gradient(180deg,rgba(12,13,15,0) 0,rgba(12,13,15,.62) 96px,rgba(12,13,15,.8) 190px,rgba(12,13,15,.94) 100%)}
  .page-app .store img{height:48px}
  .g-where{bottom:18px}
}

/* With reduce motion on, nothing moves by itself and nothing glides: the map's pulse, the scroll cue and the stamp's
   press stop, and every change is immediate (trip.ts does the same for the map) */
@media (prefers-reduced-motion:reduce){
  .b-step,.b-card,.b-hero,.b-pin .in,.b-label .in,.b-day .in,.b-dim,.b-pins,.b-shade::before,.b-tag,.b-cue,.b-bed .in,.b-you .in,.b-stage[data-step="0"].drawn .b-glance,.qa-ic,.web .btn,.kit-card,.page-home .hdr,.page-app .hdr{transition-duration:.01s;transition-delay:0s}
  .b-you .in::after,.b-cue svg,.b-stamp.on .b-stamp-in{animation:none}
}


/* Footer, every page */
.ftr{border-top:1px solid rgba(255,255,255,.06);padding-block:40px 120px;color:var(--fg-3);font-size:14px}
.ftr .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;justify-content:space-between;align-items:flex-start}
.ftr .legal p{margin:0}
.ftr .legal a{color:var(--fg-2)}
.ftr nav{display:flex;flex-wrap:wrap;gap:10px 22px}
.ftr nav a{text-decoration:none;color:var(--fg-2)}
.ftr nav a:hover,.ftr nav button:hover{color:var(--fg)}
/* Not in the mockup: Cookie settings, a button that reads as one of the links */
.ftr nav button{appearance:none;margin:0;padding:0;border:0;background:none;color:var(--fg-2);font:inherit;cursor:pointer}

/* Quiet fade for sections below the fold, once */
.rv.pre{opacity:0;transform:translateY(16px)}
.rv{transition:opacity .45s var(--ease),transform .45s var(--ease)}

/* Cookie choice before Analytics. It starts hidden; the script after it shows it before the first paint when the
   visitor still has to choose */
.cookie{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;width:min(760px,calc(100vw - 24px));display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 16px;border-radius:18px;background:rgba(32,36,37,.97);border:1px solid var(--line-2);box-shadow:0 20px 50px -20px rgba(0,0,0,.8);font-size:14.5px}
.cookie p{margin:0;flex:1 1 280px;color:var(--fg-2)}
.cookie .btns{margin:0;flex:0 0 auto}
.cookie button{appearance:none;border:1px solid var(--line-2);background:transparent;color:var(--fg);font:600 14px var(--f-body);height:40px;padding:0 18px;border-radius:999px;cursor:pointer}
.cookie button.yes{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.cookie a{color:var(--fg-2)}
.cookie[hidden]{display:none}
/* Out of the way while the visitor is typing in the contact form or its send button would sit under it */
.cookie.away{transform:translate(-50%,calc(100% + 40px));visibility:hidden}


@media (prefers-reduced-motion:reduce){
  .rv{transition:none}
  .rv.pre{opacity:1;transform:none}
}

/* Not in the mockup: the contact, privacy, terms and 404 pages, in the homepage's type and colours */
.page{padding-block:clamp(40px,7vw,72px) clamp(64px,9vw,112px)}
.page .wrap{max-width:760px}
.back{display:inline-flex;align-items:center;gap:8px;color:var(--fg-2);font-size:15px;text-decoration:none}
.back:hover{color:var(--fg)}
.back svg{width:16px;height:16px}
.page h1{margin:22px 0 10px;font-size:clamp(32px,5vw,48px);line-height:1.05;font-weight:800}
.page .lead{margin:0;color:var(--fg-2);font-size:clamp(17px,1.6vw,19px)}
.doc{margin-top:28px;color:var(--fg-2);font-size:16px;line-height:1.65}
.doc section{margin-top:34px}
.doc h2{margin:0 0 12px;color:var(--fg);font-size:22px;line-height:1.25}
.doc h3{margin:18px 0 8px;color:var(--fg);font-size:18px}
.doc p{margin:0 0 12px}
.doc ul,.doc ol{margin:0 0 14px;padding-left:22px;display:grid;gap:8px}
.doc strong{color:var(--fg);font-weight:600}
.doc a{color:var(--fg);text-underline-offset:3px}
.doc a:hover{color:var(--orange-hi)}
.doc .dates{color:var(--fg-3);font-size:15px}
/* Contact form */
.form{margin-top:32px;display:grid;gap:20px}
.field{display:grid;gap:8px}
.field label{color:var(--fg-2);font-size:14.5px;font-weight:500}
.field input,.field textarea{width:100%;padding:13px 16px;border-radius:14px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--fg);font:inherit;font-size:16px}
.field textarea{resize:none;min-height:150px}
.field input::placeholder,.field textarea::placeholder{color:var(--fg-3)}
.field input:focus-visible,.field textarea:focus-visible{outline:2px solid var(--orange-hi);outline-offset:1px;border-color:transparent}
.form .btn{width:100%;height:50px;border:0;font:600 16px var(--f-body);cursor:pointer}
.form .btn:disabled{cursor:progress;opacity:.8}
.form-error{margin:0;color:var(--bad);font-size:15px;text-align:center}
.sent{margin-top:32px;padding:clamp(28px,5vw,40px);border-radius:22px;background:var(--bg-2);border:1px solid var(--line);text-align:center;display:grid;justify-items:center;gap:10px}
.sent .tick{color:var(--orange-hi);font-size:40px;line-height:1}
.sent h2{font-size:24px}
.sent p{margin:0;color:var(--fg-2)}
.sent button{appearance:none;margin-top:12px;padding:6px 4px;border:0;background:none;color:var(--orange-hi);font:600 15px var(--f-body);cursor:pointer}
.sent button:hover{text-decoration:underline}
.nf .btns{margin-top:26px;max-width:420px}
