@font-face {
  font-family: "Fengwu Kai";
  src: url("/assets/fonts/LXGWWenKai-Light.ttf") format("truetype");
  font-display: swap;
  font-weight: 300;
}

@font-face {
  font-family: "Fengwu Roman";
  src: url("/assets/fonts/CormorantGaramond.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #12312d;
  --ink-soft: #526863;
  --paper: #f3f0e7;
  --paper-deep: #e7e2d4;
  --line: rgba(18, 49, 45, .17);
  --rust: #a64d38;
  --white: #fffdf7;
  --serif: "Fengwu Kai", "Songti TC", "STSong", serif;
  --roman: "Fengwu Roman", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 var(--sans); text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: .25em; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.skip { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .65rem 1rem; border-radius: 999px; background: #0d2623; color: #fff; }
.skip:focus { top: 1rem; }
.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; }
a:focus-visible, button:focus-visible { outline: 3px solid #f5c67b; outline-offset: 4px; }
select:focus-visible { outline: 3px solid #f5c67b; outline-offset: 4px; }

/* Homepage — city watercolours responsive to the forecast. */
.home-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: #758f8b;
  color: #fffef8;
  font-family: var(--sans);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(11, 31, 29, .28);
  pointer-events: none;
}

.weather-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #607d7a;
}
.home-page[data-scene="generic"] .weather-canvas {
  background: radial-gradient(circle at 76% 26%, #b4afa1 0, transparent 28%), linear-gradient(140deg, #324e54 10%, #738a85 55%, #a7a897 100%);
}
.weather-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 31, 29, .4), transparent 75%);
  transition: background 1.2s ease;
}
.home-page[data-weather="clear"] .weather-canvas::after {
  background: radial-gradient(circle at 74% 25%, rgba(255, 217, 147, .45), transparent 29%), linear-gradient(90deg, rgba(34, 50, 41, .35), rgba(224, 190, 139, .12));
}
.home-page[data-weather="cloud"] .weather-canvas::after {
  background: linear-gradient(90deg, rgba(25, 44, 47, .45), rgba(75, 94, 96, .26));
}
.home-page[data-weather="snow"] .weather-canvas::after {
  background: linear-gradient(90deg, rgba(18, 48, 59, .52), rgba(167, 194, 201, .26));
}
.home-page[data-weather="storm"] .weather-canvas::after {
  background: linear-gradient(90deg, rgba(9, 20, 34, .65), rgba(25, 42, 53, .38));
}
.home-page[data-daylight="night"] .weather-canvas::after {
  background: linear-gradient(90deg, rgba(7, 20, 34, .7), rgba(14, 28, 47, .55));
}

.weather-scene {
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  margin: -16px;
  object-fit: cover;
  object-position: center 61%;
  filter: saturate(.82) contrast(.95) brightness(.81);
  transform: translate3d(var(--scene-x, 0), var(--scene-y, 0), 0) scale(1.045);
  animation: scene-breathe 14s ease-in-out infinite alternate;
  will-change: transform;
  transition: filter 1.2s ease, opacity .8s ease;
}
.home-page[data-scene="generic"] .weather-scene { opacity: 0; }
.home-page[data-weather="clear"] .weather-scene { filter: saturate(1.05) contrast(.92) brightness(.99) sepia(.12); }
.home-page[data-weather="cloud"] .weather-scene { filter: saturate(.57) contrast(.94) brightness(.78); }
.home-page[data-weather="snow"] .weather-scene { filter: saturate(.45) contrast(.86) brightness(.98); }
.home-page[data-weather="storm"] .weather-scene { filter: saturate(.48) contrast(1.02) brightness(.55); }
.home-page[data-daylight="night"] .weather-scene { filter: saturate(.55) contrast(1.02) brightness(.48) hue-rotate(12deg); }

.rain {
  position: absolute;
  inset: -18%;
  width: 136%;
  max-width: none;
  height: 136%;
  object-fit: cover;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.rain-near { opacity: .25; animation: rain-fall 2.7s linear infinite; }
.rain-far { opacity: .13; transform: scaleX(-1); animation: rain-fall-far 5.2s linear infinite; }
.home-page[data-weather="clear"] .rain,
.home-page[data-weather="cloud"] .rain,
.home-page[data-weather="snow"] .rain { opacity: 0; }
.home-page[data-weather="storm"] .rain-near { opacity: .42; }
.home-page[data-weather="storm"] .rain-far { opacity: .24; }

.home-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(1440px, calc(100% - 64px));
  min-height: 116px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(5, 20, 18, .3);
}

.home-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7, 29, 27, .24);
}

.home-brand span { display: grid; line-height: 1; }
.home-brand b { font: 300 1.05rem/1 var(--serif); letter-spacing: .14em; }
.home-brand small { margin-top: .48rem; font: 500 .6rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .76; }
.header-download {
  min-height: 44px;
  padding: .55rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .12em;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background-color .25s ease, transform .25s ease;
}
.header-download:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.home-header nav { display: flex; align-items: center; gap: 2rem; }
.home-header nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(5, 20, 18, .32);
}
.home-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .35rem; height: 1px; background: #fff; transition: right .25s ease; }
.home-header nav a:hover::after { right: 0; }

.weather-hero {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 64px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: 154px clamp(0px, 2vw, 30px) 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 9rem);
}

.hero-copy {
  max-width: 750px;
  padding: clamp(1.6rem, 3.3vw, 3.1rem);
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(14, 42, 39, .42);
  box-shadow: 0 30px 80px rgba(5, 24, 21, .19);
  backdrop-filter: blur(14px) saturate(.86);
  -webkit-backdrop-filter: blur(14px) saturate(.86);
}

.live-weather {
  display: flex;
  align-items: center;
  gap: .66rem;
  width: fit-content;
  min-height: 30px;
  padding: .3rem .72rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(12, 37, 34, .3);
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #e9b99f; box-shadow: 0 0 0 4px rgba(233, 185, 159, .15); animation: live-pulse 2s ease-out infinite; }
.weather-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .45); }
.live-weather time { font-family: var(--roman); font-size: .9rem; letter-spacing: .08em; opacity: .82; }
#weather-temperature { font-family: var(--roman); font-size: 1.05rem; line-height: 1; }
.weather-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: .85rem; }
.weather-controls select, .weather-controls button {
  min-height: 40px;
  padding: .35rem .75rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 0;
  background: rgba(9, 34, 32, .35);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
}
.weather-controls select { min-width: 7.4rem; cursor: pointer; }
.weather-controls select option { color: #17342f; background: #fffaf1; }
.weather-controls button { cursor: pointer; transition: background-color .2s ease; }
.weather-controls button:hover { background: rgba(255, 255, 255, .16); }
.weather-controls button:disabled { cursor: progress; opacity: .65; }
.location-privacy { margin: .55rem 0 0; color: rgba(255, 255, 255, .72); font-size: .75rem; letter-spacing: .01em; line-height: 1.5; }

.brand-lockup { display: flex; align-items: center; gap: .9rem; margin: 2rem 0 1.25rem; }
.brand-lockup img { width: 70px; height: 70px; border-radius: 18px; box-shadow: 0 16px 36px rgba(4, 22, 19, .28); }
.brand-lockup p { margin: 0; font: 300 .95rem/1.5 var(--serif); letter-spacing: .18em; }

.hero-copy h1 {
  margin: 0;
  font: 300 clamp(3.6rem, 6.8vw, 7.3rem)/.95 var(--serif);
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 8px 35px rgba(5, 24, 21, .2);
}
.hero-copy h1 em { color: #f6d0bd; font-style: normal; }
.hero-lede { max-width: 37rem; margin: 1.65rem 0 0; color: rgba(255, 255, 255, .83); font: 300 clamp(1rem, 1.35vw, 1.18rem)/1.9 var(--serif); letter-spacing: .05em; }

.launch-button {
  min-width: min(100%, 306px);
  min-height: 66px;
  margin-top: 2rem;
  padding: .72rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 0;
  background: #fffaf1;
  color: #193b37;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(5, 23, 21, .2);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
  text-decoration: none;
}
.launch-button:hover { transform: translateY(-3px); background: #fff; }
.launch-button span { font: 300 1rem/1.2 var(--serif); letter-spacing: .08em; }
.launch-button small { font: 600 .56rem/1 var(--sans); letter-spacing: .18em; opacity: .62; }
.launch-note { min-height: 1.5rem; margin: .72rem 0 0; color: rgba(255, 255, 255, .8); font-size: .75rem; letter-spacing: .02em; }

.device-stage {
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  padding: 2.8rem 2.1rem 2.3rem;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(215, 226, 221, .16);
  box-shadow: 0 32px 90px rgba(5, 25, 22, .24);
  backdrop-filter: blur(10px) saturate(.8);
  -webkit-backdrop-filter: blur(10px) saturate(.8);
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.device-stage::before, .device-stage::after { content: ""; position: absolute; width: 50px; height: 1px; background: rgba(255, 255, 255, .55); }
.device-stage::before { top: 22px; left: 22px; }
.device-stage::after { right: 22px; bottom: 22px; }
.device-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; color: rgba(255, 255, 255, .78); font-size: .68rem; letter-spacing: .12em; }
.device-caption strong { color: #fff; font: 300 1.35rem/1 var(--roman); letter-spacing: .05em; }
.iphone-display {
  position: relative;
  width: min(282px, 70vw);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 46px;
  background: #111614;
  box-shadow: 0 30px 55px rgba(4, 20, 18, .43), inset 0 0 0 1px rgba(255, 255, 255, .17);
}
.iphone-display::before { content: ""; position: absolute; z-index: 2; left: -4px; top: 21%; width: 3px; height: 62px; border-radius: 3px 0 0 3px; background: #202725; box-shadow: 0 70px 0 #202725; }
.iphone-display img { width: 100%; height: auto; border-radius: 38px; }
.poem-line { margin: 1.45rem 0 0; text-align: center; color: rgba(255, 255, 255, .75); font: 300 .88rem/1.5 var(--serif); letter-spacing: .18em; }

.home-footer {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  min-height: 76px;
  margin: 0 auto;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
  letter-spacing: .1em;
}
.home-footer p { margin: 0; }
.home-footer a { text-decoration-color: rgba(255, 255, 255, .4); }

@keyframes rain-fall { from { transform: translate3d(-2%, -8%, 0); } to { transform: translate3d(5%, 10%, 0); } }
@keyframes rain-fall-far { from { transform: translate3d(2%, -7%, 0) scaleX(-1); } to { transform: translate3d(-3%, 8%, 0) scaleX(-1); } }
@keyframes scene-breathe { from { scale: 1; } to { scale: 1.016; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 185, 159, .38); } 70% { box-shadow: 0 0 0 7px rgba(233, 185, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 185, 159, 0); } }

/* Shared legal and support pages. */
.site-header {
  position: relative;
  z-index: 10;
  width: min(1160px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font: 300 1.05rem/1.2 var(--serif); letter-spacing: .08em; }
.brand small { margin-top: .25rem; color: var(--ink-soft); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: .35rem 1.8rem; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .88rem; text-decoration: none; }

.legal-page { background: #f7f4ec; }
.legal-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(2rem, 8vw, 8rem); padding: 5rem 0 8rem; }
.legal-aside { align-self: start; position: sticky; top: 2rem; }
.legal-kicker { color: var(--rust); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.legal-aside h1 { margin: .8rem 0 1.2rem; font: 300 clamp(2.7rem, 5vw, 4.5rem)/1.05 var(--serif); letter-spacing: -.04em; }
.legal-meta, .meta { color: var(--ink-soft); font-size: .78rem; }
.toc { margin-top: 2.2rem; display: grid; gap: .35rem; }
.toc a { min-height: 38px; display: inline-flex; align-items: center; color: var(--ink-soft); font-size: .82rem; text-decoration: none; }
.legal-content { font-size: 1.02rem; }
.legal-intro { margin: 0 0 3rem; color: var(--ink); font: 300 1.35rem/1.8 var(--serif); }
.legal-content section { padding: 0 0 2.5rem; margin: 0 0 2.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.legal-content h2 { margin: 0 0 1rem; font: 300 1.55rem/1.35 var(--serif); letter-spacing: -.015em; }
.legal-content h3 { margin: 2rem 0 .5rem; font: 300 1.1rem/1.4 var(--serif); }
.legal-content p { margin: .7rem 0; color: #2f4c47; }
.legal-content ul { padding-left: 1.25rem; color: #2f4c47; }
.legal-content li { margin: .55rem 0; }
.contact-card { padding: 1.5rem; border-radius: 1rem; background: var(--ink); color: var(--white); }
.contact-card p { margin: .35rem 0 1rem; color: #c8d4cf; }
.faq-list { display: grid; gap: 1rem; }
.faq-list details { padding: 0 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(255, 255, 255, .32); }
.faq-list summary { min-height: 58px; cursor: pointer; display: flex; align-items: center; font-weight: 650; }
.faq-list details p { margin: 0 0 1.2rem; }
.site-footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 3.2rem 0 2.2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer strong { font: 300 1.2rem/1.2 var(--serif); letter-spacing: .08em; }
.site-footer p { margin: .4rem 0 0; color: var(--ink-soft); font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.4rem; }
.footer-links a { font-size: .86rem; }
.copyright { grid-column: 1 / -1; }

/* Legacy one-line legal pages kept readable across languages. */
body:not(.home-page):not(.legal-page) > header,
body:not(.home-page):not(.legal-page) > main,
body:not(.home-page):not(.legal-page) > footer { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
body:not(.home-page):not(.legal-page) > header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
body:not(.home-page):not(.legal-page) > header strong { font: 300 1.08rem/1.3 var(--serif); letter-spacing: .06em; }
body:not(.home-page):not(.legal-page) > header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1.1rem; }
body:not(.home-page):not(.legal-page) > header nav a { font-size: .76rem; text-decoration: none; }
body:not(.home-page):not(.legal-page) > main { padding: 5rem 0 7rem; }
body:not(.home-page):not(.legal-page) > main h1 { max-width: 680px; margin: 0 0 .5rem; font: 300 clamp(3rem, 7vw, 5.2rem)/1.05 var(--serif); letter-spacing: -.04em; }
body:not(.home-page):not(.legal-page) > main section { padding: 2.15rem 0; border-bottom: 1px solid var(--line); }
body:not(.home-page):not(.legal-page) > main h2 { margin: 0 0 .8rem; font: 300 1.55rem/1.35 var(--serif); }
body:not(.home-page):not(.legal-page) > main p,
body:not(.home-page):not(.legal-page) > main li { color: #38544f; }
body:not(.home-page):not(.legal-page) > footer { padding: 2.5rem 0; display: flex; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }
body:not(.home-page):not(.legal-page) > footer p { margin: 0; }

@media (max-width: 980px) {
  .weather-hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr); gap: 2rem; }
  .hero-copy { padding: 2rem; }
  .device-stage { padding-inline: 1.5rem; }
  .iphone-display { width: min(250px, 68vw); }
}

@media (max-width: 760px) {
  .home-page::before { background: rgba(10, 31, 28, .36); }
  .weather-scene { object-position: 44% center; filter: saturate(.78) contrast(.94) brightness(.74); }
  .home-header { width: calc(100% - 32px); min-height: 88px; }
  .home-brand img { width: 40px; height: 40px; border-radius: 10px; }
  .home-brand b { font-size: .94rem; }
  .home-brand small { font-size: .52rem; }
  .header-download { font-size: .69rem; }
  .weather-hero { width: min(100% - 32px, 620px); min-height: auto; padding: 116px 0 70px; grid-template-columns: 1fr; align-items: start; gap: 3.5rem; }
  .hero-copy { padding: 1.4rem; background: rgba(12, 39, 35, .42); }
  .brand-lockup { margin-top: 1.5rem; }
  .brand-lockup img { width: 58px; height: 58px; border-radius: 15px; }
  .hero-copy h1 { font-size: clamp(3.55rem, 18vw, 5.7rem); }
  .hero-lede { font-size: 1rem; line-height: 1.8; }
  .launch-button { width: 100%; min-width: 0; }
  .device-stage { width: min(100%, 360px); justify-self: center; }
  .iphone-display { width: min(270px, 72vw); }
  .home-footer { width: calc(100% - 32px); min-height: 92px; flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem; }
  .site-header { min-height: auto; padding: .85rem 0; align-items: flex-start; }
  .brand small { display: none; }
  .site-header nav { gap: 0 .9rem; }
  .site-header nav a { font-size: .79rem; }
  .legal-shell { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .legal-aside { position: static; }
  .toc { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
  body:not(.home-page):not(.legal-page) > header { padding: 1.2rem 0; display: grid; }
  body:not(.home-page):not(.legal-page) > header nav { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .home-header { width: calc(100% - 24px); }
  .home-brand span { display: none; }
  .header-download { gap: .5rem; padding-inline: .65rem; }
  .weather-hero { width: calc(100% - 24px); }
  .live-weather { gap: .45rem; padding-inline: .55rem; font-size: .66rem; flex-wrap: wrap; white-space: normal; }
  .weather-divider { display: none; }
  .brand-lockup p { font-size: .84rem; }
  .hero-copy { padding: 1.25rem; }
  .hero-copy h1 { font-size: clamp(3rem, 13.4vw, 4.1rem); }
  .launch-button { gap: .7rem; padding-inline: 1rem; }
  .launch-button span { font-size: .92rem; }
  .device-stage { padding: 2.4rem 1.1rem 2rem; }
  .iphone-display { width: min(260px, 74vw); }
  .home-footer { width: calc(100% - 24px); }
  .site-header, .site-footer, .legal-shell { width: calc(100% - 28px); }
  .site-header nav { gap: .3rem; }
  .site-header nav a { padding-inline: .25rem; font-size: .72rem; }
  .toc { display: none; }
  body:not(.home-page):not(.legal-page) > header,
  body:not(.home-page):not(.legal-page) > main,
  body:not(.home-page):not(.legal-page) > footer { width: calc(100% - 28px); }
}

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

@media print {
  .home-page { color: #000; background: #fff; }
  .weather-canvas, .home-page::before, .skip, .toc, .footer-links { display: none; }
  .site-header, .site-footer, .legal-shell { width: 100%; }
  .legal-shell { grid-template-columns: 1fr; padding: 2rem 0; }
  .legal-aside { position: static; }
  body { background: #fff; }
}
