/* Layout: the page is a browser tab with Pebble docked beside it. Six skies run from morning to night, each a small landscape with its own horizon; the chat on the right stays put and takes on the time of day. One look, by design: the day is the colour scheme. */
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must beat whatever display a class sets */
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img {
  max-width: 100%;
}
@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/kalam-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/kalam-latin.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.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: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/young-serif-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/young-serif-latin.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;
}
@property --p-canvas {
  syntax: "<color>";
  inherits: true;
  initial-value: #f4f8fb;
}
@property --p-raised {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}
@property --p-tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #e6edf8;
}
@property --p-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #161c57;
}
@property --p-muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #575e94;
}
@property --p-line {
  syntax: "<color>";
  inherits: true;
  initial-value: #dae3f1;
}
@property --p-chrome {
  syntax: "<color>";
  inherits: true;
  initial-value: #e7eef6;
}
@property --p-action {
  syntax: "<color>";
  inherits: true;
  initial-value: #161c57;
}
@property --p-on-action {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}
@property --b-morning-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #c6f1f9;
}
@property --b-morning-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #d4dcff;
}
@property --b-noon-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #c8e7ff;
}
@property --b-noon-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #d9d5fd;
}
@property --b-golden-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #fee9be;
}
@property --b-golden-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffd1c9;
}
@property --b-dusk-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffd3e3;
}
@property --b-dusk-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #dbcef8;
}
@property --b-bluehour-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #cbd5ff;
}
@property --b-bluehour-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #d7c8f6;
}
@property --b-night-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #bcd2f9;
}
@property --b-night-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #c2c7f5;
}
:root {
  color-scheme: light;
  --ink: oklch(0.265 0.105 272);
  --ink-soft: oklch(0.38 0.095 272);
  --ink-dusk: oklch(0.31 0.1 272);
  --snow: oklch(0.955 0.02 255);
  --snow-soft: oklch(0.84 0.045 265);
  --butter: oklch(0.93 0.125 100);
  --white: oklch(1 0 0);
  --deep: oklch(0.14 0.05 270);
  --bar: oklch(0.975 0.008 240);
  --aurora-a: oklch(0.82 0.14 165 / 0.32);
  --aurora-b: oklch(0.74 0.14 300 / 0.28);
  --rule: oklch(0.955 0.02 255 / 0.18);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --btn: var(--ink);
  --on-btn: var(--white);
  /* the panel by day; .p-night below is the same panel after sunset */
  --p-canvas: oklch(0.975 0.008 240);
  --p-raised: oklch(1 0 0);
  --p-tint: oklch(0.94 0.018 250);
  --p-ink: oklch(0.265 0.105 272);
  --p-muted: oklch(0.47 0.07 272);
  --p-line: oklch(0.91 0.02 250);
  --p-chrome: oklch(0.945 0.015 245);
  --p-action: oklch(0.265 0.105 272);
  --p-on-action: oklch(1 0 0);
  --p-shade: oklch(0.265 0.105 272 / 0.1);
  --p-edge: oklch(0.265 0.105 272 / 0.4);
  /* your messages carry the colour of the sky they were sent under */
  --b-morning-a: oklch(0.93 0.045 212);
  --b-morning-b: oklch(0.9 0.05 275);
  --b-noon-a: oklch(0.915 0.05 245);
  --b-noon-b: oklch(0.89 0.055 290);
  --b-golden-a: oklch(0.94 0.06 85);
  --b-golden-b: oklch(0.9 0.055 30);
  --b-dusk-a: oklch(0.91 0.055 355);
  --b-dusk-b: oklch(0.875 0.06 300);
  --b-bluehour-a: oklch(0.88 0.06 275);
  --b-bluehour-b: oklch(0.86 0.065 300);
  --b-night-a: oklch(0.86 0.06 262);
  --b-night-b: oklch(0.84 0.065 280);
  /* penguins and pebbles, as the extension draws them */
  --belly: #ffffff;
  --eye: #161c57;
  --beak: #f4c54f;
  --on-pebble: #161c57;
  --pg-blue: #2f7fb8;
  --pg-teal: #1f8f8a;
  --pg-indigo: #6477d6;
  --pg-violet: #9273cf;
  --pg-rose: #c96a93;
  --pg-teal-bg: #ddf6f1;
  --pg-violet-bg: #efe6fc;
  --pg-rose-bg: #fce5ee;
  --sea-a: #5cc7de;
  --sea-b: #5b9fea;
  --dusk-a: #8fa9f2;
  --dusk-b: #a796ee;
  --mint-a: #86e0c4;
  --mint-b: #5fcbd2;
  --sheen: rgb(255 255 255 / 0.5);
  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Kalam", "Bradley Hand", "Segoe Print", cursive;
  --panel-w: 360px;
  --pw: 100vw;
  --horizon: 118px;
}
@media (min-width: 1080px) {
  .has-panel {
    --pw: calc(100vw - var(--panel-w));
  }
}
.p-night {
  --p-canvas: oklch(0.2 0.06 272);
  --p-raised: oklch(0.27 0.075 272);
  --p-tint: oklch(0.32 0.085 272);
  --p-ink: oklch(0.955 0.02 255);
  --p-muted: oklch(0.78 0.05 268);
  --p-line: oklch(0.3 0.07 272);
  --p-chrome: oklch(0.17 0.05 272);
  --p-action: oklch(0.93 0.03 255);
  --p-on-action: oklch(0.265 0.105 272);
  --p-shade: oklch(0 0 0 / 0.3);
  --p-edge: oklch(0 0 0 / 0.6);
  --b-morning-a: oklch(0.42 0.08 225);
  --b-morning-b: oklch(0.42 0.1 275);
  --b-noon-a: oklch(0.42 0.1 250);
  --b-noon-b: oklch(0.42 0.11 290);
  --b-golden-a: oklch(0.45 0.07 75);
  --b-golden-b: oklch(0.42 0.085 30);
  --b-dusk-a: oklch(0.43 0.09 355);
  --b-dusk-b: oklch(0.42 0.1 300);
  --b-bluehour-a: oklch(0.4 0.11 268);
  --b-bluehour-b: oklch(0.42 0.12 300);
  --b-night-a: oklch(0.34 0.1 255);
  --b-night-b: oklch(0.36 0.11 285);
  --pg-teal: #2aa7a0;
  --pg-violet: #a98be0;
  --pg-rose: #de86ac;
  --pg-teal-bg: #1b3f4a;
  --pg-violet-bg: #35285a;
  --pg-rose-bg: #472a45;
  --belly: #f4f7fc;
}

/* Six skies. Each gradient is measured up from its own horizon, so the glow sits on the water whatever the section's height. */
.sky {
  position: relative;
  overflow: hidden;
  color: var(--fg);
  background: linear-gradient(var(--sky));
}
@supports (background: linear-gradient(in oklab, red, blue)) {
  .sky {
    background: linear-gradient(in oklab var(--sky));
  }
}
.morning {
  --sky:
    to top, oklch(0.955 0.038 95) 100px, oklch(0.935 0.042 202) 260px, oklch(0.855 0.075 220) 100%;
  --sea: oklch(0.72 0.095 228);
  --berg: oklch(0.955 0.02 215);
  --ice: oklch(0.978 0.012 220);
  --orb: oklch(0.93 0.125 100);
}
.noon {
  --sky: to top, oklch(0.89 0.058 245) 110px, oklch(0.785 0.1 255) 100%;
  --sea: oklch(0.6 0.125 254);
  --berg: oklch(0.96 0.02 245);
  --ice: oklch(0.975 0.014 245);
  --orb: oklch(0.97 0.07 100);
}
.golden {
  --sky: to top, oklch(0.93 0.09 88) 110px, oklch(0.905 0.07 55) 320px, oklch(0.875 0.052 20) 100%;
  --sea: oklch(0.6 0.085 288);
  --berg: oklch(0.92 0.048 45);
  --ice: oklch(0.962 0.03 70);
  --orb: oklch(0.83 0.14 68);
  --glit: oklch(0.9 0.115 80);
}
.dusk {
  --sky:
    to top, oklch(0.66 0.07 258) 130px, oklch(0.8 0.07 322) 215px, oklch(0.85 0.08 352) 330px,
    oklch(0.72 0.095 283) 100%;
  --sea: oklch(0.5 0.08 265);
  --berg: oklch(0.84 0.052 335);
  --ice: oklch(0.895 0.038 318);
  --orb: oklch(0.975 0.03 95);
  --fg-soft: var(--ink-dusk);
}
.bluehour {
  --sky:
    to top, oklch(0.52 0.115 292) 110px, oklch(0.4 0.115 278) 330px, oklch(0.34 0.115 268) 100%;
  --sea: oklch(0.29 0.095 268);
  --berg: oklch(0.6 0.08 278);
  --ice: oklch(0.57 0.075 276);
  --orb: oklch(0.97 0.035 95);
}
.night {
  --sky: to top, oklch(0.275 0.095 262) 110px, oklch(0.195 0.075 270) 100%;
  --sea: oklch(0.165 0.065 268);
  --berg: oklch(0.4 0.075 268);
  --ice: oklch(0.385 0.075 265);
  --orb: oklch(0.97 0.05 98);
}
.bluehour,
.night {
  --fg: var(--snow);
  --fg-soft: var(--snow-soft);
  --btn: var(--butter);
  --on-btn: var(--ink);
  --pg-blue: #4a9bd6;
  --pg-teal: #2aa7a0;
  --pg-indigo: #8191e6;
  --pg-violet: #a98be0;
  --pg-rose: #de86ac;
  --belly: #f4f7fc;
}

* {
  box-sizing: border-box;
}
body {
  background: var(--deep);
  color: var(--ink);
  font: 500 1.0625rem / 1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-synthesis: none;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, calc(var(--pw) * 0.082), 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(2.125rem, calc(var(--pw) * 0.05), 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.25;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 5vw, 72px), env(safe-area-inset-right, 0px));
}

.toast {
  position: fixed;
  z-index: 40;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: min(380px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 0 0 1.5px var(--snow);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Type and controls */
.band {
  padding-top: clamp(72px, calc(var(--pw) * 0.095), 128px);
  padding-bottom: calc(190px + clamp(56px, calc(var(--pw) * 0.07), 96px));
}
.split {
  display: grid;
  gap: clamp(40px, calc(var(--pw) * 0.06), 88px);
  align-items: center;
}
@media (min-width: 860px) and (max-width: 1079.98px), (min-width: 1240px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.copy {
  display: grid;
  gap: 20px;
  max-width: 34rem;
}
.why .copy {
  max-width: 40rem;
}
.copy p {
  color: var(--fg-soft);
  max-width: 38ch;
}
.lede {
  font-size: clamp(1.125rem, calc(var(--pw) * 0.019), 1.3125rem);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 36ch;
}
.fine {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 42ch;
}
.cta .fine {
  flex: 1 1 260px;
  max-width: 58ch;
}
.note {
  font: 700 1.1875rem / 1.3 var(--hand);
  color: var(--fg);
  transform: rotate(-1.5deg);
  transform-origin: left;
}
kbd {
  display: inline-block;
  font: 700 0.8125rem / 1 var(--body);
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--fg);
  box-shadow: inset 0 0 0 1.5px var(--fg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  padding: 17px 28px;
  border: 0;
  font: 700 1.0625rem / 1 var(--body);
  color: var(--on-btn);
  background: var(--btn);
  text-decoration: none;
  cursor: pointer;
  border-radius: 30px 26px 32px 24px / 26px 30px 24px 30px;
}
.btn.small {
  padding: 12px 18px;
  font-size: 0.9375rem;
}
.btn.wide {
  width: 100%;
}
.btn.quiet {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--fg);
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition:
      border-radius 0.5s cubic-bezier(0.3, 1.4, 0.5, 1),
      transform 0.2s;
  }
  .btn:hover {
    border-radius: 24px 32px 26px 30px / 30px 24px 32px 26px;
    transform: translateY(-2px);
  }
  .btn:active {
    transform: scale(0.98);
  }
}
.float {
  position: fixed;
  z-index: 15;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  visibility: hidden;
  opacity: 0;
  box-shadow: 0 10px 24px -14px var(--p-edge);
}
.float.show {
  visibility: visible;
  opacity: 1;
}
.float.on-night {
  background: var(--butter);
  color: var(--ink);
}
@media (min-width: 1080px) {
  .has-panel .float {
    right: calc(var(--panel-w) + 20px + env(safe-area-inset-right, 0px));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .float {
    transition:
      opacity 0.25s,
      visibility 0s 0.25s,
      border-radius 0.5s cubic-bezier(0.3, 1.4, 0.5, 1),
      transform 0.2s,
      background-color 0.4s,
      color 0.4s;
  }
  .float.show {
    transition-delay: 0s;
  }
}

/* Pebbles and penguins */
.pebble {
  --a: var(--sea-a);
  --b: var(--sea-b);
  display: inline-block;
  flex-shrink: 0;
  border-radius: 52% 48% 42% 58% / 58% 46% 54% 42%;
  background:
    radial-gradient(55% 38% at 32% 28%, var(--sheen), transparent 72%),
    linear-gradient(135deg, var(--a), var(--b));
}
.pebble.dusky {
  --a: var(--dusk-a);
  --b: var(--dusk-b);
}
.pebble.mint {
  --a: var(--mint-a);
  --b: var(--mint-b);
}
.belly {
  fill: var(--belly);
}
.eye {
  fill: var(--eye);
}
.beak {
  fill: var(--beak);
  stroke: var(--beak);
  stroke-width: 0.8;
  stroke-linejoin: round;
}
.feet {
  fill: var(--beak);
}
.ava {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.ava svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.ava.teal {
  color: var(--pg-teal);
  background: var(--pg-teal-bg);
}
.ava.violet {
  color: var(--pg-violet);
  background: var(--pg-violet-bg);
}
.ava.rose {
  color: var(--pg-rose);
  background: var(--pg-rose-bg);
}
.ava.big {
  width: 112px;
}

/* Landscapes: far ice, sea, near ice, and whoever is standing on it */
.sun {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orb);
  pointer-events: none;
}
.hero > .sun {
  width: clamp(220px, calc(var(--pw) * 0.3), 380px);
  top: clamp(56px, calc(var(--pw) * 0.07), 110px);
  right: clamp(-150px, calc(var(--pw) * -0.08), -44px);
}
.sun.zenith {
  width: clamp(150px, calc(var(--pw) * 0.2), 230px);
  top: clamp(-120px, calc(var(--pw) * -0.1), -78px);
  right: 13%;
}
.sun.moon {
  width: clamp(56px, calc(var(--pw) * 0.075), 84px);
  top: 52px;
  right: 12%;
}
.night > .sun.moon {
  top: 60px;
  right: 9%;
  width: clamp(48px, calc(var(--pw) * 0.06), 68px);
}
.scene {
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  pointer-events: none;
}
.orb {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orb);
}
.orb.setting {
  width: 150px;
  left: calc(50% + 30px);
  bottom: calc(var(--horizon) - 75px);
}
.orb.rising {
  width: 66px;
  left: calc(50% - 183px);
  bottom: calc(var(--horizon) + 14px);
}
.orb.rising.aside {
  left: auto;
  right: 14%;
  bottom: calc(var(--horizon) + 34px);
}
/* Where the words span the page, the moon keeps to the sky above them */
@media (max-width: 1079.98px) {
  .bluehour.band,
  .night.band {
    padding-top: 136px;
  }
  .band > .sun.moon {
    top: 38px;
  }
}
.bergs {
  position: absolute;
  left: 50%;
  bottom: 104px;
  width: 1200px;
  height: 86px;
  margin-left: -600px;
  fill: var(--berg);
}
.sea {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--horizon);
  background: var(--sea);
}
.glitter {
  position: absolute;
  left: calc(50% + 45px);
  bottom: 58px;
  width: 120px;
  height: 56px;
  fill: none;
  stroke: var(--glit);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.floor {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 104px;
  fill: var(--ice);
}
.flip {
  transform: scaleX(-1);
}
.pg {
  position: absolute;
  bottom: 40px;
  width: var(--s, 80px);
  height: calc(var(--s, 80px) * 1.089);
}
.pg svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
}
.ground {
  position: absolute;
  bottom: 36px;
}
.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--snow);
  pointer-events: none;
}
.aurora {
  position: absolute;
  left: 0;
  bottom: 150px;
  width: 100%;
  height: 210px;
  pointer-events: none;
}
.aurora .a {
  fill: var(--aurora-a);
}
.aurora .b {
  fill: var(--aurora-b);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sun,
    .orb {
      animation: sink linear both;
      animation-timeline: view();
    }
  }
}
@keyframes sink {
  from {
    translate: 0 -30px;
  }
  to {
    translate: 0 30px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .aurora path {
    animation: sway 15s ease-in-out infinite alternate;
  }
  .aurora .b {
    animation-duration: 21s;
    animation-direction: alternate-reverse;
  }
}
@keyframes sway {
  from {
    transform: translateX(-2%) skewX(-5deg);
  }
  to {
    transform: translateX(2%) skewX(5deg);
  }
}

/* Site header and hero */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 1.625rem / 1 var(--display);
  color: inherit;
  text-decoration: none;
}
.brand .pebble {
  width: 34px;
  height: 27px;
}
.nav .links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-weight: 700;
  font-size: 0.9375rem;
}
.plain {
  text-decoration: none;
}
.plain:hover {
  text-decoration: underline;
}
.hero {
  padding-bottom: 250px;
}
.hero-grid {
  display: grid;
  gap: 40px;
  padding-top: clamp(24px, calc(var(--pw) * 0.05), 64px);
}
.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.hero-copy h1 {
  max-width: 9.6em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.when-beside {
  display: none;
}
@media (min-width: 860px) {
  .when-beside {
    display: inline;
  }
  .when-below {
    display: none;
  }
}
.tosser {
  --s: 100px;
  right: 8%;
}
.toss {
  position: absolute;
  left: 104%;
  top: 1%;
  width: 31%;
  height: 25%;
}
.toss.gone {
  opacity: 0;
  transform: scale(0.4);
}
.flyer {
  position: fixed;
  z-index: 30;
  pointer-events: none;
}
.flyer i {
  display: block;
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .toss {
    transition:
      opacity 0.4s,
      transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
  }
  .toss.gone {
    transition: none;
  }
  .tossing {
    animation: bounce 0.5s ease-out;
  }
}
@keyframes bounce {
  40% {
    transform: translateY(-10px);
  }
}

/* The panel: Pebble as it sits in the browser */
.panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--p-canvas);
  color: var(--p-ink);
  font: 400 15px / 1.45 var(--ui);
}
.panel :focus-visible,
.product :focus-visible {
  outline-color: var(--p-ink);
}
@media (prefers-reduced-motion: no-preference) {
  .panel {
    transition:
      --p-canvas 0.8s,
      --p-raised 0.8s,
      --p-tint 0.8s,
      --p-ink 0.8s,
      --p-muted 0.8s,
      --p-line 0.8s,
      --p-chrome 0.8s,
      --p-action 0.8s,
      --p-on-action 0.8s,
      --b-morning-a 0.8s,
      --b-morning-b 0.8s,
      --b-noon-a 0.8s,
      --b-noon-b 0.8s,
      --b-golden-a 0.8s,
      --b-golden-b 0.8s,
      --b-dusk-a 0.8s,
      --b-dusk-b 0.8s,
      --b-bluehour-a 0.8s,
      --b-bluehour-b 0.8s,
      --b-night-a 0.8s,
      --b-night-b 0.8s;
  }
}
@media (min-width: 1080px) {
  .page.has-panel {
    padding-right: var(--panel-w);
  }
  .panel {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(var(--panel-w) + env(safe-area-inset-right, 0px));
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
      env(safe-area-inset-bottom, 0px) 0;
    border-left: 1px solid var(--p-line);
    box-shadow: -24px 0 48px -36px var(--p-edge);
  }
}
@media (max-width: 1079.98px) {
  .panel {
    position: relative;
    width: min(100%, 400px);
    height: 560px;
    border-radius: 28px;
    box-shadow: 0 30px 60px -36px var(--p-edge);
  }
}
@media (min-width: 860px) and (max-width: 1079.98px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
  .hero-copy h1 {
    font-size: clamp(2.75rem, calc((100vw - 460px) * 0.105), 4rem);
  }
}
.p-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 40px;
  padding: 0 10px 0 12px;
  background: var(--p-chrome);
  border-bottom: 1px solid var(--p-line);
  font-size: 13px;
  font-weight: 600;
}
.p-chrome .grow {
  flex: 1;
}
.p-chrome svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.p-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 56px;
  padding: 0 8px 0 4px;
  border-bottom: 1px solid var(--p-line);
}
.ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--p-muted);
}
.ico svg,
.send svg,
.p-chrome svg,
.x svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico svg {
  width: 20px;
  height: 20px;
}
.ico svg.dots {
  fill: currentColor;
  stroke: none;
}
.who {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding-left: 4px;
}
.who b {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.who small {
  font-size: 12px;
  color: var(--p-muted);
}
.msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0;
  padding: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}
.msgs::before {
  content: "";
  flex: 1;
}
.sys {
  align-self: center;
  padding: 6px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--p-muted);
}
.sys.pitch {
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.45;
  color: var(--p-ink);
}
.sys.pitch a {
  font-weight: 600;
}
.msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  --ba: var(--b-morning-a);
  --bb: var(--b-morning-b);
}
.msg.me {
  align-items: flex-end;
}
.msg.them {
  align-items: flex-start;
}
.t-noon {
  --ba: var(--b-noon-a);
  --bb: var(--b-noon-b);
}
.t-golden {
  --ba: var(--b-golden-a);
  --bb: var(--b-golden-b);
}
.t-dusk {
  --ba: var(--b-dusk-a);
  --bb: var(--b-dusk-b);
}
.t-bluehour {
  --ba: var(--b-bluehour-a);
  --bb: var(--b-bluehour-b);
}
.t-night {
  --ba: var(--b-night-a);
  --bb: var(--b-night-b);
}
.bubble {
  max-width: 84%;
  margin: 0;
  padding: 8px 14px;
  border-radius: 18px;
  overflow-wrap: anywhere;
}
.them .bubble {
  background: var(--p-raised);
  box-shadow: 0 1px 2px var(--p-shade);
  border-bottom-left-radius: 6px;
}
.me .bubble {
  background: linear-gradient(135deg, var(--ba), var(--bb));
  border-bottom-right-radius: 6px;
}
.bubble.link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 84%;
  padding: 6px;
}
.bubble.link p {
  padding: 0 8px 4px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: var(--p-raised);
}
.card b {
  font-weight: 600;
  line-height: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--p-muted);
}
.card svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.react {
  margin: -8px 8px 0 0;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--p-raised);
  box-shadow: 0 1px 2px var(--p-shade);
  font-size: 13px;
}
.typing .bubble {
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-muted);
  opacity: 0.6;
}
.p-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 12px 12px;
}
.hint {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-left: 6px;
  font: 700 17px / 1.2 var(--hand);
  transform: rotate(-1.5deg);
  transform-origin: left;
}
.hint svg {
  flex-shrink: 0;
  width: 30px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--p-raised);
  color: inherit;
  font: 400 13px / 18px var(--ui);
  box-shadow: 0 1px 2px var(--p-shade);
  cursor: pointer;
}
.chip .pebble {
  width: 18px;
  height: 14px;
}
.chip-t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-t strong {
  font-weight: 600;
}
.draft {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 8px 10px 12px;
  border-radius: 14px;
  background: var(--p-raised);
  box-shadow: 0 1px 2px var(--p-shade);
}
.draft div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.draft b {
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.draft small {
  font-size: 12px;
  color: var(--p-muted);
}
.x {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--p-muted);
  cursor: pointer;
}
.x svg {
  width: 14px;
  height: 14px;
}
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 22px;
  background: var(--p-raised);
  color: inherit;
  font: 400 15px var(--ui);
  box-shadow: 0 1px 2px var(--p-shade);
}
.composer input::placeholder {
  color: var(--p-muted);
  opacity: 1;
}
.send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--p-action);
  color: var(--p-on-action);
  cursor: pointer;
}
.send svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.send:disabled {
  opacity: 0.35;
  cursor: default;
}
.me.new {
  transform-origin: 100% 100%;
}
.them.new {
  transform-origin: 0 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .new {
    animation: pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  }
  .typing i {
    animation: dot 1s infinite;
  }
  .typing i:nth-child(2) {
    animation-delay: 0.15s;
  }
  .typing i:nth-child(3) {
    animation-delay: 0.3s;
  }
  .chip.nudge::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid var(--p-ink);
    opacity: 0;
    animation: ring 2.6s ease-out 1.2s infinite;
  }
  .send:not(:disabled) {
    transition: transform 0.15s;
  }
  .send:not(:disabled):active {
    transform: scale(0.92);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}
@keyframes dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.45;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
@keyframes ring {
  0% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  60%,
  100% {
    opacity: 0;
    transform: scale(1.06, 1.4);
  }
}

/* Noon: why it's called Pebble. The two penguins stand on this section's own shore. */
.why {
  padding-bottom: 300px;
}
.gift-scene {
  --w: clamp(250px, calc(var(--pw) * 0.4), 440px);
  position: absolute;
  right: 7%;
  bottom: calc(46px - 0.1376 * var(--w));
  width: var(--w);
  height: auto;
  overflow: visible;
  fill: currentColor;
}
@media (max-width: 719.98px) {
  .gift-scene {
    right: 50%;
    translate: 50% 0;
  }
}
.gift {
  transform: translate(222px, 141px);
}
@supports (offset-path: path("M0 0")) {
  .gift {
    transform: none;
    offset-path: path("M222 141 Q 262 44 280 277");
    offset-rotate: 0deg;
    offset-distance: 0%;
  }
  .play .gift {
    offset-distance: 100%;
  }
  @media (prefers-reduced-motion: no-preference) {
    .play .gift {
      animation: give 0.9s cubic-bezier(0.5, 0, 0.4, 1) both;
    }
    .play .hop {
      animation: hop 0.5s 0.9s ease-out;
    }
  }
}
@keyframes give {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}
@keyframes hop {
  45% {
    transform: translateY(-2.4px);
  }
}

/* Replicas of Pebble's own screens, inside the page */
.product {
  width: 100%;
  overflow: hidden;
  background: var(--p-canvas);
  color: var(--p-ink);
  font: 400 15px / 1.45 var(--ui);
  box-shadow: 0 30px 60px -40px var(--p-edge);
}
.demo-col {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.tabs-demo {
  max-width: 540px;
  border-radius: 22px;
  background: var(--p-chrome);
}
.tabstrip {
  display: flex;
  gap: 4px;
  padding: 10px 10px 0;
}
.tabstrip button {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: var(--p-muted);
  font: 600 13px / 1.3 var(--ui);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.tabstrip button[aria-selected="true"] {
  background: var(--p-raised);
  color: var(--p-ink);
}
.tabstrip button:hover:not([aria-selected="true"]) {
  background: var(--p-tint);
}
.tabpage {
  display: grid;
  grid-template-columns: clamp(88px, 26%, 132px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 172px;
  padding: 22px;
  background: var(--p-raised);
}
.art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  color: var(--ink);
}
.art svg {
  width: 70%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art .fill {
  fill: var(--white);
}
.art.a1 {
  background: var(--butter);
}
.art.a2 {
  background: var(--b-dusk-b);
}
.art.a3 {
  background: var(--b-morning-a);
}
.tabpage small {
  font-size: 12px;
  color: var(--p-muted);
}
.tabpage b {
  display: block;
  margin: 4px 0 12px;
  font: 400 1.25rem / 1.2 var(--display);
}
.ln {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--p-tint);
}
.ln.short {
  width: 62%;
}
.demo-foot {
  display: flex;
  padding: 12px;
  background: var(--p-canvas);
  border-top: 1px solid var(--p-line);
}
.demo-foot .chip {
  cursor: default;
}
@media (prefers-reduced-motion: no-preference) {
  .tabpage:not([hidden]) {
    animation: fade 0.25s ease-out;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
}
.request,
.sharecard {
  max-width: 380px;
  justify-self: center;
  border-radius: 26px;
}
.request .msgs {
  flex: none;
  overflow: visible;
  padding: 16px 12px;
}
.reqbar {
  display: grid;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--p-line);
}
.sharecard .reqbar {
  border-top: 0;
  padding: 18px;
}
.reqbar b {
  font-weight: 600;
}
.req-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pbtn {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  background: var(--p-tint);
  color: var(--p-ink);
  font: 600 14px var(--ui);
  cursor: pointer;
}
.pbtn.primary {
  flex: 1;
  background: var(--p-action);
  color: var(--p-on-action);
}
.pbtn.ghost {
  background: transparent;
}
.text-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  justify-self: start;
}

/* Night: getting started, then the footer */
.night.band {
  padding-bottom: 370px;
}
.start {
  display: grid;
  gap: clamp(36px, calc(var(--pw) * 0.05), 64px);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.steps li {
  display: grid;
  gap: 14px;
  align-content: start;
}
.stone {
  display: grid;
  place-items: center;
  width: 64px;
  height: 52px;
  font: 400 1.5rem / 1 var(--display);
  color: var(--on-pebble);
}
/* biome-ignore lint/style/noDescendingSpecificity: a step's paragraph is never a chat bubble's */
.steps p {
  color: var(--fg-soft);
  max-width: 30ch;
}
.deep {
  --fg: var(--snow);
  background: var(--deep);
  color: var(--snow-soft);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-block: 30px 36px;
  font-size: 0.9375rem;
}
.foot .brand {
  color: var(--snow);
}

/* Invite */
.invite {
  min-height: 100svh;
}
.invite .hero-copy {
  gap: 18px;
}
.invite .hero-grid {
  padding-top: 8px;
}
.invite h1 {
  font-size: clamp(2.5rem, calc(var(--pw) * 0.062), 4.5rem);
  max-width: 9em;
}
.inviter {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.inviter .pebble {
  width: 46px;
  height: 36px;
  margin-bottom: 4px;
}
.handle {
  font-weight: 700;
  font-size: 1.125rem;
}
.field {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}
.field label {
  font-weight: 700;
  font-size: 0.9375rem;
}
.field input {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem var(--body);
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 700;
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.25;
}

/* A button with nowhere to go yet, until Pebble is in the store */
.btn.soon {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--fg);
  cursor: default;
}
.btn.soon:hover,
.btn.soon:active {
  transform: none;
  border-radius: 30px 26px 32px 24px / 26px 30px 24px 30px;
}
.float.soon,
.nav .soon {
  display: none;
}

/* Pages of one sky: invite, welcome, uninstall, not found */
.ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ava.blue {
  color: var(--pg-blue);
  background: #ddeffc;
}
.ava.indigo {
  color: var(--pg-indigo);
  background: #e4e8fe;
}
.ava.green {
  color: #2f9d78;
  background: #dff6e8;
}
.form {
  display: grid;
  gap: 18px;
  width: min(100%, 30rem);
}
.choices {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choices legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 700;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: oklch(1 0 0 / 0.6);
  cursor: pointer;
}
.choice:has(input:checked) {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.choice input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
.field textarea {
  min-height: 96px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem / 1.5 var(--body);
  resize: vertical;
}
.said {
  font-weight: 700;
}
.code {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font:
    700 1.25rem / 1 ui-monospace,
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.06em;
  user-select: all;
}
.solo-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 38rem;
}
.solo-copy h1 {
  font-size: clamp(2.5rem, calc(var(--pw) * 0.062), 4.5rem);
}

/* The privacy policy: a page to read. Down its edge runs the day, morning sky at the top and
   night at the end, and each part starts at a pebble lying on it */
.doc-top {
  padding-bottom: 196px;
}
.doc-top .orb.rising.aside {
  bottom: calc(var(--horizon) - 24px);
}
.doc-title {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-top: clamp(20px, calc(var(--pw) * 0.04), 48px);
}
.doc-title h1 {
  font-size: clamp(2.5rem, calc(var(--pw) * 0.062), 4.5rem);
}
.doc-title .lede {
  max-width: 44ch;
}
.doc-title .fine {
  max-width: 52ch;
}
.ice {
  --ice: oklch(0.978 0.012 220);
  --rail: 30px;
  --day:
    oklch(0.855 0.075 220), oklch(0.785 0.1 255) 22%, oklch(0.905 0.07 55) 44%,
    oklch(0.85 0.08 352) 60%, oklch(0.72 0.095 283) 72%, oklch(0.4 0.115 278) 86%,
    oklch(0.195 0.075 270);
  background: var(--ice);
  color: var(--ink);
}
.doc {
  display: grid;
  gap: 36px;
  padding-block: 20px 96px;
}
.doc-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-soft);
}
.doc-nav li {
  break-inside: avoid;
  padding-block: 5px;
}
@media (min-width: 560px) and (max-width: 999.98px) {
  .doc-nav ol {
    columns: 2;
    column-gap: 32px;
  }
}
@media (min-width: 1000px) {
  .doc {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 56px;
  }
  .doc-nav {
    position: sticky;
    top: 16px;
    align-self: start;
    max-height: calc(100dvh - 32px);
    margin: -8px;
    padding: 8px;
    overflow-y: auto;
  }
}
.doc-text {
  position: relative;
  display: grid;
  gap: 60px;
  min-width: 0;
  max-width: 42rem;
  padding-left: var(--rail);
}
.doc-text::before {
  content: "";
  position: absolute;
  inset: 10px auto 0 0;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--day));
}
@supports (background: linear-gradient(in oklab, red, blue)) {
  .doc-text::before {
    background: linear-gradient(in oklab to bottom, var(--day));
  }
}
.doc-text > section {
  display: grid;
  gap: 16px;
  min-width: 0;
  scroll-margin-top: 24px;
}
.doc-text h2 {
  position: relative;
  font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.125rem);
  line-height: 1.15;
}
.doc-text h2::before {
  content: "";
  position: absolute;
  left: calc(3px - 12px - var(--rail));
  top: 0.28em;
  width: 24px;
  height: 19px;
  border-radius: 52% 48% 42% 58% / 58% 46% 54% 42%;
  background:
    radial-gradient(55% 38% at 32% 28%, var(--sheen), transparent 72%),
    linear-gradient(135deg, var(--a, var(--sea-a)), var(--b, var(--sea-b)));
  box-shadow: 0 0 0 4px var(--ice);
}
.doc-text > section:nth-of-type(3n + 2) h2 {
  --a: var(--dusk-a);
  --b: var(--dusk-b);
}
.doc-text > section:nth-of-type(3n) h2 {
  --a: var(--mint-a);
  --b: var(--mint-b);
}
.doc-text h3 {
  margin-top: 14px;
  font: 700 1.1875rem / 1.3 var(--body);
}
.doc-text ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15em;
}
.doc-text li::marker {
  color: var(--pg-indigo);
}
.doc-text .doc-short {
  padding: 22px 24px 22px calc(24px + 1.15em);
  border-radius: 20px;
  background: var(--white);
  font-weight: 600;
}
.doc-address {
  font-weight: 700;
  overflow-wrap: anywhere;
  user-select: all;
}
.doc-scroll {
  overflow-x: auto;
  border-radius: 16px;
  background: var(--white);
}
.doc-text table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.doc-text th,
.doc-text td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}
.doc-text thead th {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.doc-text tbody tr {
  border-top: 1px solid oklch(0.91 0.02 250);
}
.doc-text tbody th {
  font-weight: 700;
}
@media (max-width: 559.98px) {
  .ice {
    --rail: 22px;
  }
  .doc-text {
    gap: 48px;
  }
}

/* Last, so they beat any display a class sets. What shows only where Pebble can be added, and
   only where it can't: the page's script says which, and until it has, the width guesses */
@media (max-width: 479.98px) {
  .tosser {
    --s: 84px;
  }
}
@media (min-width: 720px) {
  :root:not([data-adds]) .cannot-add {
    display: none;
  }
}
@media (max-width: 719.98px) {
  :root:not([data-adds]) .can-add {
    display: none;
  }
}
[data-adds="yes"] .cannot-add,
[data-adds="no"] .can-add {
  display: none;
}
