/* The welcome (js/onboard.js; the owner's pick of mock-start): full screen, a greeting and two questions, with the
   home page's colors lit from beneath. Light in light mode; deep violet in dark (the rules at the end). Its colors are
   the --gw- settings here, so tools/build_dark.py skips this file. */
.gw-locked, .gw-locked body { overflow: hidden; }
.gw-full { --gw-bg: radial-gradient(130% 90% at 50% 0%, #ffffff, #f5f2ff 55%, #e8e1ff); --gw-ink: #1e1a67; --gw-soft: #4e4a7a; --gw-faint: #57537e;
  --gw-hi: #8a2be2; --gw-lamp: .26; --gw-solid: #21167c; --gw-on-solid: #fff; --gw-solid-soft: #d9d4ff;
  --gw-tile: #fff; --gw-tile-hover: #faf9ff; --gw-tile-line: rgba(33, 22, 124, .14); --gw-tile-shadow: 0 4px 14px rgba(38, 27, 143, .07);
  --gw-glass: rgba(33, 22, 124, .06); --gw-glass-hover: rgba(33, 22, 124, .11); --gw-glass-line: rgba(33, 22, 124, .18); --gw-icon: #f1effe;
  --gw-lit-shadow: 0 14px 32px rgba(33, 22, 124, .28);
  position: fixed; inset: 0; z-index: 4300; overflow-y: auto; overscroll-behavior: contain; color: var(--gw-ink); font-family: var(--font-read);
  background: var(--gw-bg); animation: gw-fade .4s ease-out; }
.gw-full.is-leaving { animation: gw-out .35s ease-in forwards; }
@keyframes gw-fade { from { opacity: 0; } }
@keyframes gw-out { to { opacity: 0; scale: 1.02; } }
/* the colors lit from beneath, as the home page's Spotlight: blue, violet and red, slowly swelling */
.gw-sky { position: fixed; inset: auto 0 0 0; height: 60vh; pointer-events: none; overflow: hidden; }
.gw-sky i { position: absolute; bottom: -30vh; width: 70vw; height: 60vh; border-radius: 50%; filter: blur(60px); opacity: var(--gw-lamp); animation: gw-lamp 9s ease-in-out infinite alternate; }
.gw-sky .is-b { left: -20vw; background: #0725f9; }
.gw-sky .is-v { left: 15vw; background: #8a2be2; animation-delay: -3s; }
.gw-sky .is-r { right: -20vw; background: #f70008; opacity: calc(var(--gw-lamp) * .8); animation-delay: -6s; }
@keyframes gw-lamp { to { scale: 1.15; opacity: calc(var(--gw-lamp) * 1.3); } }
.gw-top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 10px; }
.gw-logo { height: 34px; width: auto; }
.gw-logo.is-dark { display: none; }
.gw-dots { display: flex; gap: 6px; }
.gw-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--gw-glass-line); transition: width .3s, background .3s; }
.gw-dots i.is-on { width: 22px; background: var(--gw-solid); }
.gw-x { justify-self: end; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gw-glass); color: var(--gw-ink); font: 600 24px/1 var(--font-read); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--gw-glass-line); }
@media (hover: hover) { .gw-x:hover { background: var(--gw-glass-hover); } }
.gw-screen { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; width: min(100%, 760px);
  min-height: calc(100dvh - 70px); margin: 0 auto; padding: 8px 20px 40px; text-align: center; }
.gw-screen[hidden] { display: none; }
.gw-screen.is-on { animation: gw-step .45s cubic-bezier(.2, .8, .2, 1); }
.gw-screen[data-dir="back"].is-on { animation-name: gw-step-back; }
@keyframes gw-step { from { opacity: 0; translate: 40px 0; } }
@keyframes gw-step-back { from { opacity: 0; translate: -40px 0; } }
/* the greeting: simple, no place named, no faces (the owner's ask) */
@keyframes gw-wave { 0%, 100% { rotate: 0deg; } 15% { rotate: 22deg; } 30% { rotate: -10deg; } 45% { rotate: 18deg; } 60% { rotate: -4deg; } 75% { rotate: 10deg; } }
.gw-full h1, .gw-full h2 { margin: 0; font: 400 clamp(44px, 8vw, 84px)/1.05 'Gasoek One', var(--font-read), sans-serif; letter-spacing: .01em; text-wrap: balance; }
.gw-full h2 { font-size: clamp(32px, 5vw, 50px); }
.gw-lead + .gw-days { margin-top: 22px; }
.gw-wave { display: inline-block; transform-origin: 70% 80%; animation: gw-wave 1.6s ease-in-out 2; animation-delay: .6s; }
.gw-lead { max-width: 560px; margin: 14px auto 0; color: var(--gw-soft); font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.gw-days { margin: 18px 0 0; padding: 8px 16px; border-radius: 999px; background: var(--gw-tile); box-shadow: inset 0 0 0 1px var(--gw-tile-line), var(--gw-tile-shadow); font-size: 15px; font-weight: 700; }
.gw-go { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; margin-top: 28px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--gw-solid); color: var(--gw-on-solid);
  font: 800 18px var(--font-read); cursor: pointer; box-shadow: var(--gw-lit-shadow); transition: translate .2s, box-shadow .2s; }
@media (hover: hover) { .gw-go:hover { translate: 0 -2px; } }
.gw-ghost, .gw-prev { min-height: 48px; margin-top: 12px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--gw-glass); color: var(--gw-ink);
  font: 700 16px var(--font-read); cursor: pointer; box-shadow: inset 0 0 0 1px var(--gw-glass-line); }
@media (hover: hover) { .gw-ghost:hover, .gw-prev:hover { background: var(--gw-glass-hover); } }
.gw-small { margin: 14px 0 0; color: var(--gw-faint); font-size: 14px; }
/* the questions */
.gw-kicker { margin: 0 0 10px; color: var(--gw-hi); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gw-say { margin: 0 0 6px; color: var(--gw-hi); font-size: 20px; font-weight: 800; }
.gw-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 26px; }
.gw-chip { position: relative; display: grid; justify-items: center; gap: 8px; min-height: 110px; padding: 16px 12px; border: 0; border-radius: 22px; background: var(--gw-tile); color: var(--gw-ink);
  font: 800 16px/1.25 var(--font-read); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--gw-tile-line), var(--gw-tile-shadow); transition: background .2s, translate .2s, box-shadow .2s; }
.gw-chip span { font-size: 32px; }
@media (hover: hover) { .gw-chip:hover { background: var(--gw-tile-hover); translate: 0 -2px; } }
.gw-chip[aria-pressed="true"] { background: var(--gw-solid); color: var(--gw-on-solid); box-shadow: var(--gw-lit-shadow); }
.gw-chip[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 10px; right: 12px; left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--hz-ring); color: #fff; font-size: 13px; }
.gw-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; }
.gw-nav .gw-go, .gw-nav .gw-prev { margin-top: 0; }
.gw-ways { display: grid; gap: 12px; width: min(100%, 560px); margin-top: 26px; }
.gw-way { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 20px; border: 0; border-radius: 22px;
  background: var(--gw-tile); color: var(--gw-ink); text-align: left; font-family: var(--font-read); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--gw-tile-line), var(--gw-tile-shadow);
  transition: background .2s, translate .2s; }
@media (hover: hover) { .gw-way:hover { background: var(--gw-tile-hover); translate: 0 -2px; } }
.gw-way i { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--gw-icon); font-size: 24px; font-style: normal; }
.gw-way b { font-size: 19px; font-weight: 800; }
.gw-way small { color: var(--gw-soft); font-size: 14.5px; line-height: 1.35; }
.gw-way.is-lit { background: var(--gw-solid); color: var(--gw-on-solid); box-shadow: var(--gw-lit-shadow); }
.gw-way.is-lit i { background: var(--gw-glass-hover); }
.gw-way.is-lit small { color: var(--gw-solid-soft); }
.gw-pick { position: absolute; top: -11px; right: 16px; padding: 3px 12px; border-radius: 999px; background: var(--hz-ring); color: #fff; font: 800 12.5px var(--font-read); font-style: normal; }
.gw-full :is(button):focus-visible { outline: 3px solid var(--gw-hi); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gw-full, .gw-full *, .gw-sky i { animation: none !important; transition: none !important; } }
@media (max-width: 700px) {
  .gw-top { padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 6px; }
  .gw-logo { height: 28px; }
  .gw-screen { min-height: calc(100dvh - 60px); padding: 4px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .gw-lead { font-size: 16px; }
  .gw-days { font-size: 14px; }
  .gw-go { min-height: 54px; margin-top: 22px; font-size: 17px; }
  .gw-chips { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .gw-chip { min-height: 92px; padding: 12px 8px; font-size: 14.5px; border-radius: 18px; }
  .gw-chip span { font-size: 26px; }
  .gw-say { font-size: 17px; }
  .gw-ways { margin-top: 18px; gap: 10px; }
  .gw-way { padding: 14px 16px; column-gap: 12px; }
  .gw-way i { width: 44px; height: 44px; font-size: 20px; }
  .gw-way b { font-size: 17px; }
  .gw-way small { font-size: 13.5px; }
}
/* dark mode (js/theme.js): the site's deep indigo (#292259), white words, and the chosen ones lit white */
:root[data-theme="dark"] .gw-full { --gw-bg: radial-gradient(130% 90% at 50% 0%, #3d2fa0, #292259 55%, #1a1543); --gw-ink: #fff; --gw-soft: #e4e0ff; --gw-faint: #cfc8ff;
  --gw-hi: #f0b4f1; --gw-lamp: .42; --gw-solid: #fff; --gw-on-solid: #150e5e; --gw-solid-soft: #5d5a7d;
  --gw-tile: rgba(255, 255, 255, .1); --gw-tile-hover: rgba(255, 255, 255, .17); --gw-tile-line: rgba(255, 255, 255, .22); --gw-tile-shadow: 0 0 transparent;
  --gw-glass: rgba(255, 255, 255, .12); --gw-glass-hover: rgba(255, 255, 255, .2); --gw-glass-line: rgba(255, 255, 255, .25); --gw-icon: rgba(255, 255, 255, .14);
  --gw-lit-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .gw-logo.is-light { display: none; }
:root[data-theme="dark"] .gw-logo.is-dark { display: inline; }
:root[data-theme="dark"] .gw-way.is-lit i { background: #ece8ff; }
