/* Waverly website. One fixed sunset theme (the app icon's indigo -> plum -> orange), no build step. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* registered so sky colours cross-fade */
@property --sb-t { syntax: "<color>"; inherits: true; initial-value: #1F2752; }
@property --sb-m { syntax: "<color>"; inherits: true; initial-value: #7A3E6E; }
@property --sb-b { syntax: "<color>"; inherits: true; initial-value: #E07A4F; }
@property --sb-a { syntax: "<color>"; inherits: true; initial-value: #FFB27A; }

:root {
  color-scheme: dark;
  --n0: #0B0A1F;
  --n1: #19173F;
  --n2: #2B2556;
  --plum: #7A3E6E;
  --ember: #E07A4F;
  --peach: #FFC9A0;
  --sun: #FFDDB4;
  --accent: #FFB98A;
  --orchid: #E3A6D6;
  --ink: #F5F7FB;
  --ink-2: rgba(245, 247, 251, .72);
  --ink-3: rgba(245, 247, 251, .6);
  --line: rgba(255, 255, 255, .11);
  --blue: #8DB4FF;
  --amber: #FFB877;
  --teal: #6FE0CF;
  --rose: #FF9DC4;
  --violet: #C6A8FF;
  --green: #A2E38C;
  --gutter: clamp(20px, 5vw, 56px);
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--n0); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--n0);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--n0);
  font-weight: 650; text-decoration: none;
}
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }


html { scroll-padding-top: 76px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ------------------------------------------------------------------ type */
.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD9A8, #E9895A);
  box-shadow: 0 0 12px 2px rgba(255,178,122,.55);
}
h1, h2 {
  font-stretch: 84%;
  font-variation-settings: "opsz" 96;
  letter-spacing: -.008em;
  line-height: .98;
  text-wrap: balance;
}
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-stretch: 100%;
  font-variation-settings: "opsz" 72;
  letter-spacing: -.02em;
  color: var(--peach);
}
h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 640; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.lede a { color: var(--ink); text-decoration-color: rgba(255,185,138,.6); text-underline-offset: 4px; }
.lede a:hover { text-decoration-color: currentColor; }
.sec-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.sec-head .lede { max-width: 600px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px 15px;
  border-radius: 99px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  color: #1A1026;
  background: linear-gradient(180deg, #FFF6EA 0%, #FFD9A8 60%, #FFC48E 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(160,80,40,.25),
    0 1px 2px rgba(0,0,0,.3),
    0 14px 34px -12px rgba(255,170,110,.75);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(160,80,40,.25),
    0 1px 2px rgba(0,0,0,.3),
    0 18px 40px -12px rgba(255,170,110,.95);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.ghost {
  color: var(--ink);
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn.ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.1); }
.btn .ghm, .nav-gh .ghm { fill: currentColor; }
.btn-small { padding: 9px 16px 10px; font-size: 14px; }
.btn-big { padding: 17px 30px 18px 26px; font-size: 18px; gap: 11px; }
.btn-big svg { width: 20px; height: 20px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fine { font-size: 14px; color: var(--ink-3); letter-spacing: .01em; text-wrap: balance; }
.fine .nw { white-space: nowrap; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11,10,31,.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow .3s ease, background-color .3s ease;
}
.nav.scrolled { background: rgba(14,12,36,.78); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -20px rgba(0,0,0,.8); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  font-stretch: 85%;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 28px; height: 28px; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); font-size: 15px; font-weight: 540; }
.nav .nl { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav .nl:hover { color: var(--ink); }
.nav-gh { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; border-radius: 50%; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav-gh:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.nav-gh svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .nav .nl { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: clip;
  margin-top: -64px; /* run the sky up under the translucent nav */
  padding-top: calc(64px + clamp(32px, 5vh, 64px));
  padding-bottom: clamp(8px, 1.5vw, 20px);
  background:
    radial-gradient(38% 30% at 50% 17%, rgba(122,62,110,.42), transparent 100%),
    radial-gradient(90% 42% at 50% 100%, rgba(122,62,110,.3), transparent 100%),
    linear-gradient(180deg, var(--n0) 0%, #141335 50%, #261C4A 100%);
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 41% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 73% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 93% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 66% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 44%, #fff 50%, transparent 51%);
  opacity: .5;
}

.hero-copy { position: relative; display: grid; justify-items: center; text-align: center; }
.app-icon {
  position: relative;
  width: clamp(120px, 12vw, 168px);
  aspect-ratio: 1;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.app-icon::before {
  /* the icon's own sunset, spilling into the night */
  content: "";
  position: absolute;
  inset: -42%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,178,122,.36), rgba(233,137,90,.16) 42%, rgba(122,62,110,.12) 62%, transparent 100%);
  pointer-events: none;
}
.app-icon .ai {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(6,4,24,.55));
}
.app-icon .ai-reflect {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 100%;
  width: 100%;
  height: auto;
  margin-top: -19.6%; /* the icon's body ends 9.8% above the bottom of its canvas */
  transform: scaleY(-1);
  opacity: .2;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 30%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 30%);
  pointer-events: none;
}
h1 {
  font-size: clamp(3.6rem, 8.4vw, 6.6rem);
  font-weight: 700;
  font-stretch: 80%;
  letter-spacing: -.022em;
  line-height: .95;
  padding-bottom: .04em;
  color: #FFF4E8;
  background: linear-gradient(180deg, #FFFBF5 20%, #FFE2C2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tagline {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 72;
  color: var(--peach);
}
.hero-copy .lede { max-width: 32em; margin-top: 18px; }
.hero-copy .ctas { margin-top: 30px; }
.hero-copy .fine { margin-top: 18px; }

/* ------------------------------------------------------------------ laptop */

.laptop {
  position: relative;
  width: min(960px, 100%);
  margin-inline: auto;
  container-type: inline-size;
}
.lap-lid {
  position: relative;
  padding: 1.5cqw 1.5cqw 2.2cqw;
  border-radius: 2.6cqw 2.6cqw 0 0;
  background: linear-gradient(180deg, #1A1D29, #0B0D14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.8);
}
.lap-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: .9cqw;
  container-type: inline-size;
  background: #0b1020;
}
.notch {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 0;
  width: 12cqw;
  height: 2.3cqw;
  translate: -50% 0;
  border-radius: 0 0 1cqw 1cqw;
  background: #0B0D14;
}
.notch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: .7cqw;
  height: .7cqw;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #3b4a6d, #10141f 70%);
}
.lap-base {
  position: relative;
  height: 2cqw;
  margin-inline: -5%;
  border-radius: 0 0 2.6cqw 2.6cqw / 0 0 2cqw 2cqw;
  background: linear-gradient(180deg, #3A3F52 0%, #1C1F2B 45%, #0E1017 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 50px -20px rgba(0,0,0,.9);
}
.lap-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 45%;
  translate: -50% 0;
  border-radius: 0 0 1cqw 1cqw;
  background: #11131b;
}

/* desktop inside the laptop: units are 1/100 of the screen width */
.desk {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 20% 110%, #2F6E72 0%, transparent 60%),
    radial-gradient(80% 70% at 85% 105%, #3E5E86 0%, transparent 65%),
    linear-gradient(170deg, #0D1B2E 0%, #13304A 55%, #1C4A5A 100%);
}
.desk .hill {
  position: absolute;
  left: -10%;
  right: -10%;
  border-radius: 50% 50% 0 0;
}
.desk .h1 { bottom: -34cqw; height: 52cqw; background: linear-gradient(180deg, #24525B, #12293A); }
.desk .h2 { bottom: -40cqw; height: 52cqw; left: 30%; right: -40%; background: linear-gradient(180deg, #1D4152, #0E2030); }
.menubar {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2.3cqw;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 0 1.6cqw;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.menubar i { display: block; height: .55cqw; border-radius: 1cqw; background: rgba(255,255,255,.55); }
.menubar i:first-child { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: rgba(255,255,255,.85); }
.menubar i:nth-child(2) { width: 3cqw; }
.menubar i:nth-child(3) { width: 2.4cqw; }
.menubar i:nth-child(4) { width: 2.8cqw; }
.menubar i:nth-child(5) { width: 2cqw; }
.menubar .sp { flex: 1; }
.menubar .waverly-glyph { width: 1.3cqw; height: 1.3cqw; color: #FFE3C8; }
.menubar .mb-clock { font-size: .95cqw; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }
.win {
  position: absolute;
  border-radius: 1.1cqw;
  overflow: hidden;
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12);
}
.win .bar { height: 2.4cqw; display: flex; align-items: center; gap: .55cqw; padding: 0 1cqw; }
.win .bar b { width: .85cqw; height: .85cqw; border-radius: 50%; background: #FF6159; }
.win .bar b + b { background: #FFBD2E; }
.win .bar b + b + b { background: #28C941; }
.win.notes { left: 9%; top: 12%; width: 42%; height: 58%; background: #F2F2F5; }
.win.notes .bar { background: #E6E6EC; }
.win .ln { height: .7cqw; margin: 1.3cqw 2cqw 0; border-radius: 1cqw; background: #CDD0DA; }
.win .ln.t { height: 1.3cqw; width: 40%; background: #2A2E3A; margin-top: 2cqw; }
.win .ln.s { width: 70%; }
.win.code { left: 40%; top: 24%; width: 46%; height: 52%; background: #161A26; }
.win.code .bar { background: #1E2332; }
.win.code .ln { background: #2C3550; }
.win.code .ln:nth-child(3n) { background: #3D5A7A; width: 55%; }
.win.code .ln:nth-child(4n) { background: #5B4A7A; width: 35%; }
.dock {
  position: absolute;
  left: 50%;
  bottom: 1.1cqw;
  translate: -50% 0;
  display: flex;
  gap: .9cqw;
  padding: .8cqw;
  border-radius: 1.8cqw;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.dock i { width: 3.4cqw; height: 3.4cqw; border-radius: .95cqw; background: var(--c, #7a8bb0); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.dock i:nth-child(1) { --c: #5AA0F2; }
.dock i:nth-child(2) { --c: #F2C14E; }
.dock i:nth-child(3) { --c: #7ED39B; }
.dock i:nth-child(4) { --c: #E3746B; }
.dock i:nth-child(5) { --c: #B48CE8; }
.dock i:nth-child(6) { --c: #6FCFE0; }
.dock i:nth-child(7) { --c: #D5D9E3; }


.band { position: relative; overflow-x: clip; padding-block: clamp(64px, 8vw, 112px); }
/* a faint horizon line where two night-blue bands meet */
.band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1200px, 100% - 2 * var(--gutter));
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(227,166,214,.22) 30%, rgba(255,201,160,.22) 70%, transparent);
}

/* app UI at 1/160 of the screen width per em, like the real HUD */
.hud-screen {
  --ink: #F5F7FB;
  --ink-2: rgba(245,247,251,.70);
  --ink-3: rgba(245,247,251,.48);
  --hacc: #FFB27A;
  --glass-a: rgba(30,38,64,.40);
  --glass-b: rgba(14,18,36,.30);
  --rim: rgba(255,255,255,.30);
  --spec: rgba(255,255,255,.18);
  --shade: rgba(0,0,0,.40);
  --hline: rgba(255,255,255,.10);
  --chip: rgba(255,255,255,.07);
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border-radius: inherit;
  font-size: calc(100cqw / 160);
  line-height: 1.3;
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
}
.hud-sky {
  position: absolute;
  inset: -3em;
  z-index: -1;
  background: linear-gradient(180deg, #1F2752 0%, #7A3E6E 55%, #E07A4F 100%);
}
.hud-sky::before {
  /* stars */
  content: "";
  position: absolute;
  inset: 0 0 50%;
  background-image:
    radial-gradient(.18em .18em at 8% 20%, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(.14em .14em at 22% 10%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(.2em .2em at 47% 16%, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(.14em .14em at 63% 6%, rgba(255,255,255,.6) 50%, transparent 52%),
    radial-gradient(.18em .18em at 81% 24%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(.14em .14em at 93% 9%, rgba(255,255,255,.7) 50%, transparent 52%);
}
.hud-sky::after {
  /* low sun glow on the horizon */
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: -30%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(255,214,170,.55), rgba(255,180,120,0));
}
.hud-stage {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 2em;
  padding: 4em;
  grid-template-columns: 1fr 1fr 1.04fr;
  grid-template-rows: 14em minmax(38.5em, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "greet greet clock"
    "sched dead  weather"
    "sched dead  words";
  perspective: 260em;
}
.hc {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 2.5em 2.75em;
  border-radius: 2.75em;
  background: linear-gradient(165deg, var(--glass-a), var(--glass-b));
  -webkit-backdrop-filter: blur(1.75em) saturate(1.8);
  backdrop-filter: blur(1.75em) saturate(1.8);
  box-shadow: inset 0 1px 0 var(--spec), 0 2.25em 4.5em -1.75em var(--shade);
}
.hc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(145deg, var(--rim), transparent 32%, transparent 62%, rgba(255,255,255,.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .6;
  pointer-events: none;
}
.hc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 55% at 18% 0%, var(--spec), transparent 70%);
  opacity: .55;
  pointer-events: none;
}
.hc > * { position: relative; z-index: 1; }
.hc.greet { grid-area: greet; justify-content: center; padding-left: 3.5em; }
.hc.clock { grid-area: clock; justify-content: center; align-items: center; padding: 0 2.5em; }
.hc.sched { grid-area: sched; }
.hc.dead { grid-area: dead; }
.hc.weather { grid-area: weather; padding-bottom: 2.25em; }
.hc.words { grid-area: words; }

.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin-bottom: .5em; flex: none; }
.card-head h3, .words h4 {
  font-size: 1.9em;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink-2);
  line-height: 1.2;
}
.place { font-size: 1.6em; color: var(--ink-3); font-weight: 500; }

.tag {
  --c: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1;
  padding: .45em .8em .5em .75em;
  border-radius: 99em;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  white-space: nowrap;
}
.tag::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--c); }
.c-blue { --c: var(--blue); }
.c-amber { --c: var(--amber); }
.c-teal { --c: var(--teal); }
.c-rose { --c: var(--rose); }
.c-violet { --c: var(--violet); }
.c-green { --c: var(--green); }

.date { margin: 0 0 .9em; font-size: 2.1em; font-weight: 500; color: var(--ink-2); }
.hello { font-size: 6.6em; font-weight: 650; letter-spacing: -.03em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 96; }
.time { display: flex; align-items: center; gap: 1.6em; font-variant-numeric: tabular-nums; }
.hm { font-size: 13.5em; font-weight: 330; font-stretch: 80%; font-variation-settings: "opsz" 96; letter-spacing: -.035em; line-height: .8; }
.side { display: flex; flex-direction: column; align-items: flex-start; gap: .55em; }
.ampm { font-size: 2.3em; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.ampm:empty { display: none; }
.sec { font-size: 5.6em; font-weight: 420; font-stretch: 80%; line-height: .8; color: var(--hacc); }

.viewport { position: relative; overflow: hidden; flex: 1 1 auto; min-height: 0; }
.vfade {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 2.75em, #000 calc(100% - 4.5em), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 2.75em, #000 calc(100% - 4.5em), transparent 100%);
}
.hfade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.75em, #000 calc(100% - 9em), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.75em, #000 calc(100% - 9em), transparent 100%);
}
.track { position: relative; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vfade .track { padding: 1.75em 0 4.5em; }

.ev {
  display: grid;
  grid-template-columns: 9.25em 1fr;
  gap: 1em;
  padding: 1.1em 1.25em;
  margin: 0 -1.25em;
  border-radius: 1.6em;
}
.ev-time { font-size: 2.15em; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; padding-top: .1em; white-space: nowrap; }
.ev-time small { font-size: .58em; font-weight: 600; color: var(--ink-3); margin-left: .3em; }
.ev-title { font-size: 2.35em; font-weight: 600; line-height: 1.16; letter-spacing: -.012em; }
.ev.past { opacity: .42; }
.ev.current {
  background: color-mix(in srgb, var(--hacc) 16%, var(--chip));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hacc) 45%, transparent);
}
.ev.current .left { color: var(--hacc); font-weight: 600; }
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em 1.1em;
  margin-top: .55em;
  font-size: 1.5em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.meta .tag { font-size: .87em; }
.progress { height: .32em; margin-top: 1em; border-radius: 99em; background: var(--hline); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--hacc); border-radius: inherit; }
.now-line { display: flex; align-items: center; gap: 1em; margin: .5em 0; }
.now-line::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--hacc) 70%, transparent); }
.now-pill {
  font-size: 1.45em;
  font-weight: 600;
  padding: .45em 1em .5em;
  border-radius: 99em;
  color: var(--hacc);
  background: color-mix(in srgb, var(--hacc) 16%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hacc) 50%, transparent);
  font-variant-numeric: tabular-nums;
}
.now-pill b { font-weight: 700; margin-left: .35em; }

.dl-list { list-style: none; margin: 0; padding: 0; }
.dl {
  display: grid;
  grid-template-columns: 1.4em 1fr auto;
  gap: 1.1em;
  align-items: center;
  padding: 1.45em 0;
  border-bottom: 1px solid var(--hline);
}
.dl:last-child { border-bottom: 0; }
.dot { width: .8em; height: .8em; border-radius: 50%; background: var(--c); align-self: start; margin-top: 1em; }
.dl-title { font-size: 2.2em; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
.dl .meta { margin-top: .4em; }
.count { font-size: 2.9em; font-weight: 450; font-stretch: 85%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; text-align: right; }
.count small { font-size: .55em; font-weight: 600; color: var(--ink-2); margin-left: .35em; letter-spacing: 0; }
.count.soon { color: var(--hacc); font-weight: 520; }
.no-count .count { display: none; }

.wx-now { display: grid; grid-template-columns: auto auto 1fr; gap: 1.75em; align-items: center; flex: none; margin-top: .9em; }
.wx-now .icon { width: 6.5em; height: 6.5em; }
.temp { font-size: 8.6em; font-weight: 330; font-stretch: 85%; line-height: .85; letter-spacing: -.04em; }
.cond { font-size: 2.5em; font-weight: 600; letter-spacing: -.01em; }
.cond-sub { font-size: 1.55em; color: var(--ink-2); margin-top: .5em; display: flex; gap: 1.1em; flex-wrap: wrap; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; margin: 1.6em 0 1em; flex: none; }
.chip { padding: 1em 1.15em 1.1em; border-radius: 1.4em; background: var(--chip); box-shadow: inset 0 0 0 1px var(--hline); }
.chip span { display: block; font-size: 1.3em; font-weight: 500; color: var(--ink-2); }
.chip b { display: block; margin-top: .3em; font-size: 2.05em; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hourly-vp { display: flex; align-items: center; margin: 0 -2.75em; }
.hourly { display: flex; align-items: flex-start; padding: 0 2.75em; width: max-content; }
.hr {
  width: 7.4em;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7em;
  padding: 1.15em 0 1.25em;
  border-radius: 1.6em;
  font-variant-numeric: tabular-nums;
}
.hr .h { font-size: 1.45em; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hr .icon { width: 2.9em; height: 2.9em; }
.hr .tv { font-size: 2.2em; font-weight: 600; }
.hr.is-now { background: var(--chip); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hacc) 40%, transparent); }
.hr.is-now .h { color: var(--ink); font-weight: 650; }
.hr.sun .tv { font-size: 1.8em; padding-top: .2em; }
.icon { display: block; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.icon .fill { fill: currentColor; stroke: none; }

.words { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 2.5em; padding-top: 2.3em; padding-bottom: 2.3em; }
.words > * { min-width: 0; }
.words h4 { margin-bottom: .7em; }
.word { font-family: var(--serif); font-style: italic; font-size: 4.2em; font-weight: 500; line-height: 1; letter-spacing: -.01em; font-variation-settings: "opsz" 72; }
.word-meta { display: flex; gap: 1.2em; margin-top: .6em; font-size: 1.5em; color: var(--ink-2); }
.word-meta i { font-family: var(--serif); }
.prose { font-family: var(--serif); font-size: 1.85em; line-height: 1.36; margin: .8em 0 0; text-wrap: pretty; }
.fact { padding-left: 2.5em; border-left: 1px solid var(--hline); }
.fact .prose { margin-top: 0; }
.source { font-size: 1.25em; color: var(--ink-3); margin-top: .6em; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  font: 600 14px/1 var(--display);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
}


/* ------------------------------------------------------------------ FAQ */
.band.faq { background: linear-gradient(180deg, var(--n0), #120F30); }
.faq-in { max-width: 860px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative;
  display: block;
  padding: 22px 52px 22px 2px;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -.005em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: 10px;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #FFE9D6; }
.qa summary::before, .qa summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform .3s ease, opacity .3s ease;
}
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.qa summary:focus-visible { outline-offset: 2px; }
.ans { padding: 0 52px 24px 2px; display: grid; gap: 12px; }
.ans p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.ans b { color: var(--ink); font-weight: 620; }
.ans a { color: var(--accent); text-underline-offset: 3px; }
.ans code, .doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  color: var(--ink);
  background: rgba(255,255,255,.07);
  padding: 1px 6px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) { .qa summary { font-size: 17px; padding-right: 44px; } .ans { padding-right: 0; } }

/* ------------------------------------------------------------------ download: the horizon */
.download { position: relative; overflow: clip; }
.horizon {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(130px, 15vw, 200px);
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(255,170,120,.55), transparent 70%),
    linear-gradient(180deg, #120F30 0%, #1F2752 30%, #4A2F63 58%, #7A3E6E 80%, #E9895A 100%);
  text-align: center;
}
.horizon .stars { opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }
.horizon .sun {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(240px, 34vw, 460px);
  aspect-ratio: 2 / 1;
  translate: -50% 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #FFC48A 0%, #FFE3C2 100%);
  box-shadow: 0 0 90px 30px rgba(255,190,130,.32), 0 0 260px 90px rgba(255,140,100,.22);
}
.horizon .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; }
.dl-icon { width: clamp(96px, 9vw, 120px); height: auto; filter: drop-shadow(0 18px 30px rgba(6,4,24,.55)); }
.horizon h2 { max-width: 22ch; }
.horizon h2 em { color: #FFE0C2; }
.horizon .btn-big { margin-top: 6px; }
.horizon .fine { color: rgba(245,247,251,.86); }
.ground {
  position: relative;
  background: linear-gradient(180deg, #3D2E4C 0%, #2A2340 45%, #1A1630 100%);
  border-top: 2px solid #FFD9B5;
  box-shadow: 0 -1px 24px rgba(255,200,150,.45);
}
.ground::before {
  /* reflection of the sun */
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(240px, 40vw, 560px);
  height: 220px;
  translate: -50% 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,210,170,.22), transparent 80%);
  pointer-events: none;
}
.install {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 70px);
  padding-block: clamp(56px, 8vw, 96px);
}
@media (max-width: 860px) { .install { grid-template-columns: minmax(0, 1fr); } }
.install h3 { font-size: 14px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.reqs li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.reqs li b { font-weight: 620; font-size: 18px; }
.reqs li span { color: rgba(245,247,251,.66); font-size: 15px; text-align: right; }
.first-run {
  padding: 26px 28px 28px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07);
}
.first-run ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.first-run li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: rgba(245,247,251,.78); }
.first-run li::before {
  content: counter(s);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  color: var(--peach);
}
.first-run li b { color: var(--ink); font-weight: 620; }
.path {
  display: inline;
  padding: 1px 7px 2px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255,255,255,.08);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.path > span { white-space: nowrap; }

/* ------------------------------------------------------------------ footer */
.foot { position: relative; padding: 40px 0 88px; background: #15122A; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(245,247,251,.6); }
.foot-in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px 40px; }
.foot-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-brand p { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 540; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot nav a[aria-current="page"] { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); }
.foot .legal a { color: inherit; text-decoration: underline; text-decoration-color: rgba(245,247,251,.3); text-underline-offset: 3px; }
.foot .legal a:hover { color: var(--ink); text-decoration-color: currentColor; }
.foot .legal a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { font-size: 17px; }
.foot .brand img { width: 26px; height: 26px; }
@media (max-width: 680px) {
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot nav { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ privacy page */
.doc-head {
  position: relative;
  overflow: clip;
  margin-top: -64px;
  padding: calc(64px + clamp(48px, 7vw, 96px)) 0 clamp(44px, 5vw, 64px);
  background:
    radial-gradient(50% 60% at 50% 110%, rgba(224,122,79,.22), transparent 100%),
    linear-gradient(180deg, var(--n0), #261C4A);
}
.doc-head .title { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.doc-head h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.doc-head h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-stretch: 100%;
  letter-spacing: -.02em;
}
.doc { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 50px 0 100px; }
.doc h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-stretch: 85%; letter-spacing: -.005em; line-height: 1.1; margin: 52px 0 14px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--ink); font-weight: 620; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc .summary {
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(74,47,99,.5), rgba(25,23,63,.55));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.doc .summary p { color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1.45; }

/* ------------------------------------------------------------------ 404 */
.lost { min-height: 100vh; min-height: 100svh; margin-top: 0; display: grid; place-items: center; text-align: center; padding: 60px 0 100px; }
.lost .wrap { display: grid; justify-items: center; gap: 20px; }
.lost h1 { font-size: clamp(3rem, 8vw, 5.4rem); }
.lost img { width: 120px; height: auto; filter: drop-shadow(0 18px 30px rgba(6,4,24,.55)); }


/* ------------------------------------------------------------------ the demo */
.demo {
  position: relative;
  padding: clamp(36px, 4.5vw, 60px) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #261C4A 0%, var(--n1) 40%, var(--n0) 100%);
}
.demo .laptop { width: min(1040px, 100%); }
.lap-screen { outline: none; }
.lap-screen:focus-visible { box-shadow: 0 0 0 2px var(--n0), 0 0 0 4px var(--accent); }

/* the dashboard on the laptop: hidden until it opens */
.demo-hud { position: absolute; inset: 0; z-index: 3; aspect-ratio: auto; border-radius: 0; visibility: hidden; pointer-events: none; }
.demo[data-hud="open"] .demo-hud, .demo-hud.moving { visibility: visible; }
/* the sky arrives as a soft glow with very feathered edges, under the cards (see site.js) */
.demo-hud .hud-sky {
  inset: 0;
  -webkit-mask: radial-gradient(closest-side, #000 50%, transparent 100%) center / 300% 300% no-repeat;
  mask: radial-gradient(closest-side, #000 50%, transparent 100%) center / 300% 300% no-repeat;
}
.hc .track { will-change: transform; }
.hc.scrolling::before { opacity: 1; background: linear-gradient(145deg, rgba(255,200,160,.75), rgba(255,200,160,.18) 40%, rgba(255,200,160,.18) 60%, rgba(255,200,160,.5)); }
.hourly.track { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hand-scroll .track { transition-duration: .14s; transition-timing-function: linear; }

/* small things drawn over the screen */
.hint, .hand-chip, .pip, .start { position: absolute; z-index: 8; }
.hint {
  left: 50%;
  bottom: 8.5cqw;
  translate: -50% 0;
  max-width: 88%;
  margin: 0;
  transition: bottom .5s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.hint span {
  display: block;
  padding: .5em 1.1em .55em;
  border-radius: 99px;
  font-size: clamp(9px, 1.55cqw, 16px);
  font-weight: 620;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  color: #FFF8F0;
  background: rgba(18,14,42,.66);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 8px 24px -10px rgba(0,0,0,.6);
}
.hint span.fresh { animation: hint-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes hint-in { from { opacity: 0; transform: translateY(6px); } }
.demo[data-hud="open"] .hint { bottom: 1cqw; }
.demo[data-cam="off"][data-hud="closed"] .hint,
.demo[data-cam="denied"][data-hud="closed"] .hint,
.demo[data-cam="error"][data-hud="closed"] .hint { opacity: 0; }

/* sits just above the self view (15cqw wide, 4:3) */
.hand-chip {
  left: 1.4cqw;
  bottom: calc(1.4cqw + 11.25cqw + .6cqw);
  display: none;
  align-items: center;
  gap: .5em;
  margin: 0;
  padding: .4em .85em .45em .7em;
  border-radius: 99px;
  font-size: clamp(9px, 1.15cqw, 13px);
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(18,14,42,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.hand-chip i { width: .65em; height: .65em; border-radius: 50%; background: rgba(255,255,255,.35); transition: background-color .2s, box-shadow .2s; }
.demo[data-hand="open"] .hand-chip i, .demo[data-hand="hand"] .hand-chip i { background: #9BE7A0; box-shadow: 0 0 8px #9BE7A0; }
.demo[data-hand="fist"] .hand-chip i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.demo[data-cam="on"] .hand-chip, .demo[data-cam="loading"] .hand-chip { display: inline-flex; }

.pip {
  left: 1.4cqw;
  bottom: 1.4cqw;
  width: 15cqw;
  aspect-ratio: 4 / 3;
  border-radius: 1.1cqw;
  overflow: hidden;
  background: #0b0d14;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 1cqw 2.4cqw -.6cqw rgba(0,0,0,.7);
  opacity: 0;
  transition: opacity .4s ease;
}
.pip video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.demo[data-cam="on"] .pip { opacity: 1; }

.start {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: max-content;
  max-width: 88%;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.3cqw, 14px);
  padding: clamp(14px, 2.6cqw, 30px) clamp(16px, 3.4cqw, 40px);
  border-radius: clamp(14px, 2cqw, 24px);
  text-align: center;
  background: rgba(16,12,40,.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -20px rgba(0,0,0,.7);
  transition: opacity .3s ease, visibility .3s;
}
.start .btn { font-size: clamp(13px, 1.75cqw, 18px); padding: .8em 1.35em .85em 1.15em; gap: .55em; }
.start .btn svg { width: 1.2em; height: 1.2em; }
.start p { max-width: 30em; font-size: clamp(11px, 1.35cqw, 15px); line-height: 1.4; color: rgba(245,247,251,.82); text-wrap: balance; }
.demo:not([data-cam="off"]):not([data-cam="denied"]):not([data-cam="error"]) .start,
.demo[data-hud="open"] .start, .demo-hud.moving ~ .start { opacity: 0; visibility: hidden; }

.demo-bar { display: grid; justify-items: center; gap: 14px; margin-top: clamp(22px, 3vw, 32px); text-align: center; }
.demo-status:empty { display: none; }
.demo-status { font-size: 15px; color: var(--ink-2); text-wrap: balance; }
.demo-keys { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font-size: 15px; color: var(--ink-3); }
.demo-btns { display: inline-flex; gap: 8px; }
.demo-keys .or { display: inline-flex; align-items: center; gap: 6px; }
.chip-btn {
  padding: 8px 16px 9px;
  border: 0;
  border-radius: 99px;
  font: inherit;
  font-size: 14px;
  font-weight: 620;
  color: var(--ink);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s;
}
.chip-btn:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.chip-btn:disabled { opacity: .4; cursor: default; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.chip-btn.stop { color: var(--accent); }
.demo-keys kbd, .how-note kbd { min-width: 26px; height: 24px; padding: 0 7px; border-radius: 6px; font-size: 12.5px; }

.how {
  list-style: none;
  counter-reset: how;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(20px, 3vw, 40px);
  max-width: 980px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding: 0;
}
.how li { counter-increment: how; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.how li::before { content: counter(how); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--peach); }
.how b { font-size: 18px; font-weight: 650; }
.how span { color: var(--ink-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.how-note { margin-top: 22px; text-align: center; font-size: 15px; color: var(--ink-3); text-wrap: balance; }
.how-note kbd { margin: 0 1px; }
@media (max-width: 760px) { .how { grid-template-columns: minmax(0, 1fr); } }
/* phones: let the laptop use nearly the full width; no keyboard hint on touch screens */
@media (max-width: 600px) { .demo .laptop { width: auto; margin-inline: calc(12px - var(--gutter)); } .demo .lap-base { margin-inline: -3%; } }
@media (hover: none) and (pointer: coarse) { .demo-keys .or { display: none; } }

/* ------------------------------------------------------------------ a few more things */
.band.more { background: var(--n0); }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(32px, 6vw, 88px); width: min(1080px, 100% - 2 * var(--gutter)); }
.blurb h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-weight: 650; font-stretch: 84%; line-height: 1.08; margin-bottom: 12px; }
.blurb p, .blurb li { color: var(--ink-2); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.blurb .plain { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.blurb .plain b { color: var(--ink); font-weight: 620; }
.more-link { display: inline-block; margin-top: 12px; font-weight: 620; color: var(--accent); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }

.sky-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.sky-strip li {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.sky-strip span { position: absolute; left: 10px; bottom: 7px; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.s-dawn { background: radial-gradient(60% 50% at 30% 100%, rgba(255,226,170,.85), transparent 70%), linear-gradient(180deg, #6E8FD0, #E7A6A1 60%, #F8D29A); }
.s-day { background: radial-gradient(40% 30% at 30% 40%, rgba(255,255,255,.55), transparent 70%), radial-gradient(50% 30% at 75% 55%, rgba(255,255,255,.45), transparent 70%), linear-gradient(180deg, #7C8EA3, #9EAEC0 55%, #C8D2DD); }
.s-dusk { background: radial-gradient(50% 45% at 60% 100%, rgba(255,214,170,.8), transparent 70%), linear-gradient(180deg, #1F2752, #7A3E6E 55%, #E07A4F); }
.s-night { background-color: #141A2C; background-image:
    radial-gradient(1.6px 1.6px at 18% 22%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 46% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 72% 30%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 30% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 86% 64%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 60% 12%, #fff 50%, transparent 51%),
    linear-gradient(180deg, #141A2C, #222B42 55%, #3A4560); }
@media (max-width: 480px) { .sky-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ legal pages */
.doc h2 + p, .doc h2 + ul { margin-top: 0; }
.doc p + ul, .doc ul + p { margin-top: 12px; }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
