/* Claude-style pairing with open-licence (SIL OFL) fonts: a serif with optical sizes for
   headings and large figures, a clean grotesque for text and small figures. CJK falls back
   to the system fonts. Licences: fonts/OFL-*.txt */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-opsz.woff2?v=1") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-wght.woff2?v=1") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* Theme colours are registered so a theme change animates every one of them together. */
@property --ink { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --secondary { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --quiet { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --line { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --glass-border { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gs-top { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gs-bottom { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gs-glow { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gs-drop1 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gs-drop2 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gsh-top { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gsh-bottom { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gsh-glow { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gsh-drop1 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gsh-drop2 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gf-spot { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gf-a { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gf-b { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gf-c { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --gf-d { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-1 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-2 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-3 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-4 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-5 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --rim-6 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --streak-1 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --streak-2 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --streak-3 { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --lens-strong { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --lens-soft { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --chip-a { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --chip-b { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --chip-border { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --chip-top { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --chip-drop { syntax: "<color>"; inherits: true; initial-value: transparent; }

:root {
  --ink: #f5f8fc;
  --secondary: #d7e2ef;
  --quiet: #bbcadd;
  --line: rgb(235 244 255 / 20%);
  --glass-border: rgb(245 250 255 / 23%);
  --gs-top: rgb(255 255 255 / 24%);
  --gs-bottom: rgb(255 255 255 / 7%);
  --gs-glow: rgb(255 255 255 / 2.5%);
  --gs-drop1: rgb(0 8 25 / 6%);
  --gs-drop2: rgb(0 8 25 / 34%);
  --gsh-top: rgb(255 255 255 / 32%);
  --gsh-bottom: rgb(255 255 255 / 10%);
  --gsh-glow: rgb(255 255 255 / 6%);
  --gsh-drop1: rgb(0 8 25 / 10%);
  --gsh-drop2: rgb(0 8 25 / 55%);
  --gf-spot: rgb(255 255 255 / 3%);
  --gf-a: rgb(255 255 255 / 1.5%);
  --gf-b: rgb(255 255 255 / 0%);
  --gf-c: rgb(255 255 255 / 0%);
  --gf-d: rgb(255 255 255 / 1.5%);
  --rim-1: rgb(255 255 255 / 60%);
  --rim-2: rgb(255 255 255 / 20%);
  --rim-3: rgb(255 255 255 / 5%);
  --rim-4: rgb(255 255 255 / 4%);
  --rim-5: rgb(255 255 255 / 14%);
  --rim-6: rgb(255 255 255 / 40%);
  --streak-1: rgb(255 255 255 / 14%);
  --streak-2: rgb(255 255 255 / 50%);
  --streak-3: rgb(255 255 255 / 22%);
  --lens-strong: rgb(255 255 255 / 20%);
  --lens-soft: rgb(255 255 255 / 11%);
  --chip-a: rgb(255 255 255 / 9%);
  --chip-b: rgb(255 255 255 / 2%);
  --chip-border: rgb(255 255 255 / 17%);
  --chip-top: rgb(255 255 255 / 16%);
  --chip-drop: rgb(0 8 25 / 40%);
  /* Composite glass tokens, built from the animatable colours above. */
  --glass-shadow: inset 0 1px 0 var(--gs-top), inset 0 -1px 0 var(--gs-bottom), inset 0 0 14px var(--gs-glow), 0 1px 2px var(--gs-drop1), 0 22px 44px -28px var(--gs-drop2);
  --glass-shadow-hover: inset 0 1px 0 var(--gsh-top), inset 0 -1px 0 var(--gsh-bottom), inset 0 0 24px var(--gsh-glow), 0 1px 2px var(--gsh-drop1), 0 28px 50px -28px var(--gsh-drop2);
  --glass-fill: radial-gradient(120% 90% at 0% 0%, var(--gf-spot), transparent 40%), linear-gradient(180deg, var(--gf-a), var(--gf-b) 36%, var(--gf-c) 78%, var(--gf-d));
  /* Liquid-glass rim: bright specular at the top-left, a softer reflection at the bottom-right. */
  --glass-rim: linear-gradient(135deg, var(--rim-1) 0%, var(--rim-2) 16%, var(--rim-3) 38%, var(--rim-4) 62%, var(--rim-5) 84%, var(--rim-6) 100%);
  --glass-streak: linear-gradient(90deg, transparent, var(--streak-1) 16%, var(--streak-2) 40%, var(--streak-3) 68%, transparent) 50% 0 / 84% 1px no-repeat;
  --chip-fill: linear-gradient(180deg, var(--chip-a), var(--chip-b));
  --chip-shadow: inset 0 1px 0 var(--chip-top), 0 4px 10px -6px var(--chip-drop);
  --glass-filter: blur(0.5px) saturate(125%) brightness(1);

  --font-sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Source Serif 4", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --num: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --text-shadow: none;
  --glass-highlight: rgb(255 255 255 / 58%);
  --lens-width: 18px;
  --liquid-text: var(--ink);
  --liquid-text-secondary: var(--secondary);
  --liquid-text-tertiary: var(--quiet);
  --page: #142131;
  color-scheme: dark;
}

:root:not(.sky-dark) {
  --ink: #132b43;
  --secondary: #18324a;
  --quiet: #253e56;
  --line: rgb(17 45 67 / 16%);
  --glass-border: rgb(255 255 255 / 34%);
  --gs-top: rgb(255 255 255 / 48%);
  --gs-bottom: rgb(255 255 255 / 14%);
  --gs-glow: rgb(255 255 255 / 6%);
  --gs-drop1: rgb(15 46 71 / 5%);
  --gs-drop2: rgb(15 46 71 / 24%);
  --gsh-top: rgb(255 255 255 / 58%);
  --gsh-bottom: rgb(255 255 255 / 18%);
  --gsh-glow: rgb(255 255 255 / 12%);
  --gsh-drop1: rgb(15 46 71 / 8%);
  --gsh-drop2: rgb(15 46 71 / 38%);
  --gf-spot: rgb(255 255 255 / 7%);
  --gf-a: rgb(255 255 255 / 4%);
  --gf-b: rgb(255 255 255 / 1%);
  --gf-c: rgb(255 255 255 / 1%);
  --gf-d: rgb(255 255 255 / 3%);
  --rim-1: rgb(255 255 255 / 85%);
  --rim-2: rgb(255 255 255 / 34%);
  --rim-3: rgb(255 255 255 / 12%);
  --rim-4: rgb(255 255 255 / 10%);
  --rim-5: rgb(255 255 255 / 26%);
  --rim-6: rgb(255 255 255 / 62%);
  --streak-1: rgb(255 255 255 / 30%);
  --streak-2: rgb(255 255 255 / 85%);
  --streak-3: rgb(255 255 255 / 40%);
  --lens-strong: rgb(255 255 255 / 34%);
  --lens-soft: rgb(255 255 255 / 20%);
  --chip-a: rgb(255 255 255 / 22%);
  --chip-b: rgb(255 255 255 / 8%);
  --chip-border: rgb(255 255 255 / 42%);
  --chip-top: rgb(255 255 255 / 40%);
  --chip-drop: rgb(15 46 71 / 28%);
  --glass-filter: blur(0.5px) saturate(108%) brightness(1.01);
  --text-shadow: none;
  color-scheme: light;
}

html { scroll-padding-top: 28px; }
body { color: var(--ink); font-family: var(--font-sans); font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; font-kerning: normal; }
:root { transition: --ink .8s cubic-bezier(.4, 0, .2, 1), --secondary .8s cubic-bezier(.4, 0, .2, 1), --quiet .8s cubic-bezier(.4, 0, .2, 1), --line .8s cubic-bezier(.4, 0, .2, 1), --glass-border .8s cubic-bezier(.4, 0, .2, 1), --gs-top .8s cubic-bezier(.4, 0, .2, 1), --gs-bottom .8s cubic-bezier(.4, 0, .2, 1), --gs-glow .8s cubic-bezier(.4, 0, .2, 1), --gs-drop1 .8s cubic-bezier(.4, 0, .2, 1), --gs-drop2 .8s cubic-bezier(.4, 0, .2, 1), --gsh-top .8s cubic-bezier(.4, 0, .2, 1), --gsh-bottom .8s cubic-bezier(.4, 0, .2, 1), --gsh-glow .8s cubic-bezier(.4, 0, .2, 1), --gsh-drop1 .8s cubic-bezier(.4, 0, .2, 1), --gsh-drop2 .8s cubic-bezier(.4, 0, .2, 1), --gf-spot .8s cubic-bezier(.4, 0, .2, 1), --gf-a .8s cubic-bezier(.4, 0, .2, 1), --gf-b .8s cubic-bezier(.4, 0, .2, 1), --gf-c .8s cubic-bezier(.4, 0, .2, 1), --gf-d .8s cubic-bezier(.4, 0, .2, 1), --rim-1 .8s cubic-bezier(.4, 0, .2, 1), --rim-2 .8s cubic-bezier(.4, 0, .2, 1), --rim-3 .8s cubic-bezier(.4, 0, .2, 1), --rim-4 .8s cubic-bezier(.4, 0, .2, 1), --rim-5 .8s cubic-bezier(.4, 0, .2, 1), --rim-6 .8s cubic-bezier(.4, 0, .2, 1), --streak-1 .8s cubic-bezier(.4, 0, .2, 1), --streak-2 .8s cubic-bezier(.4, 0, .2, 1), --streak-3 .8s cubic-bezier(.4, 0, .2, 1), --lens-strong .8s cubic-bezier(.4, 0, .2, 1), --lens-soft .8s cubic-bezier(.4, 0, .2, 1), --chip-a .8s cubic-bezier(.4, 0, .2, 1), --chip-b .8s cubic-bezier(.4, 0, .2, 1), --chip-border .8s cubic-bezier(.4, 0, .2, 1), --chip-top .8s cubic-bezier(.4, 0, .2, 1), --chip-drop .8s cubic-bezier(.4, 0, .2, 1); }
.theme-init { transition: none !important; }
body::before { content: none; }
a { text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.page { position: relative; z-index: 2; width: min(var(--page-max, 1319px), calc(100% - 72px)); min-height: 100svh; margin-inline: auto; display: flex; flex-direction: column; }
.topbar { height: 104px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; text-shadow: var(--text-shadow); }
.brand-icon { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; }
.brand-icon svg { width: 26px; height: 26px; display: block; overflow: hidden; shape-rendering: geometricPrecision; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.availability { display: inline-flex; align-items: center; gap: 8px; margin-right: 9px; color: var(--secondary); font-size: 12px; font-weight: 500; letter-spacing: 0; text-shadow: var(--text-shadow); }
.availability-dot { width: 5px; height: 5px; border-radius: 50%; background: #a0dbc3; box-shadow: 0 0 8px #8dffbe30; }
.clock { display: grid; place-items: center; height: 46px; min-width: 118px; color: var(--secondary); font-family: var(--num); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0.06em; text-align: center; text-shadow: var(--text-shadow); }
.theme-toggle { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }
.theme-toggle .sun-icon, .theme-toggle .moon-icon { position: absolute; inset: 0; margin: auto; transition: opacity .3s, transform .4s; }
.theme-toggle .moon-icon { opacity: 0; transform: rotate(-35deg) scale(.5); }
[data-theme="dark"] .theme-toggle .moon-icon { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .sun-icon { opacity: 0; transform: rotate(35deg) scale(.5); }
#theme-toggle::after { content: ""; position: absolute; top: 9px; right: 9px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; pointer-events: none; }
:root:not([data-theme-mode="auto"]) #theme-toggle::after { opacity: .8; transform: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: 1; background: transparent; opacity: 0; pointer-events: none; transition: opacity .8s cubic-bezier(.4, 0, .2, 1), background-color .8s cubic-bezier(.4, 0, .2, 1); }
.theme-veil-light body::after { background: rgb(226 236 246 / 72%); opacity: 1; }
.theme-veil-dark body::after { background: rgb(6 14 30 / 50%); opacity: 1; }
.location-toggle.is-locating svg { animation: locate-pulse 1s ease-in-out infinite alternate; }
.theme-toggle:hover { transform: translateY(-1px); }

:is(.service, .weather-readout, .theme-toggle, .primary-action, .secondary-action) {
  background: var(--glass-fill);
  background-color: transparent;
  border: 1px solid transparent;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-refract,) var(--glass-filter);
}
:is(.primary-action, .secondary-action) { position: relative; }
/* Top specular streak lives in the card background so ::after is free for the edge lens. */
:is(.service, .weather-readout) { background: var(--glass-streak), var(--glass-fill); background-color: transparent; }
/* Rim: a 1px gradient ring (bright top-left, softer bottom-right) plus a moving specular hot spot. */
:is(.service, .weather-readout, .theme-toggle, .primary-action, .secondary-action)::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(var(--shine-size, 300px) circle at var(--shine-x, 12%) var(--shine-y, 0%), rgb(255 255 255 / 55%), transparent 72%), var(--glass-rim);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
:is(.theme-toggle, .primary-action, .secondary-action) { --shine-size: 90px; }
/* Edge lens: the thick glass rim brightens and intensifies what is behind it. */
:is(.service, .weather-readout)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(to right, var(--lens-strong), transparent var(--lens-width)),
    linear-gradient(to bottom, var(--lens-strong), transparent var(--lens-width)),
    linear-gradient(to left, var(--lens-soft), transparent var(--lens-width)),
    linear-gradient(to top, var(--lens-soft), transparent var(--lens-width));
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.lg-refract :is(.service, .weather-readout)::after { opacity: .55; }
:is(.service, .weather-readout) > * { position: relative; z-index: 1; }

main { flex: none; display: grid; grid-template-columns: var(--intro-width, 503px) minmax(0, 1fr); gap: 76px; align-items: stretch; padding: 64px 0 56px; }
.intro { min-width: 0; display: flex; flex-direction: column; min-height: 100%; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); text-shadow: var(--text-shadow); }
.eyebrow-mark { display: none; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--secondary); opacity: .7; }
h1 { font-family: var(--font-serif); font-optical-sizing: auto; font-size: 76px; font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); text-shadow: var(--text-shadow); margin: 0 0 20px; }
.title-accent { display: block; color: var(--ink); font-weight: 400; }
.intro-copy { text-wrap: pretty; color: var(--secondary); font-size: 14px; font-weight: 500; line-height: 1.76; max-width: 42ch; margin: 0 0 24px; text-shadow: var(--text-shadow); }
.intro-copy strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.primary-action, .secondary-action { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px 0 20px; border-radius: 25px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; text-shadow: var(--text-shadow); transition: transform .5s cubic-bezier(.3,1.35,.5,1), box-shadow .3s, color .4s ease; }
.primary-action svg, .secondary-action svg { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; shape-rendering: geometricPrecision; }
.primary-action:hover, .secondary-action:hover { box-shadow: var(--glass-shadow-hover); transform: translateY(-2px); }
.facts { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 28px; margin: 0 0 16px; align-items: baseline; color: var(--quiet); }
.fact { min-width: 0; display: flex; gap: 8px; align-items: baseline; }
.fact-value { color: var(--secondary); font-family: var(--num); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.fact-label { color: var(--quiet); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact:last-child { display: none; }
.weather-readout { flex: 1 1 auto; min-height: 0; }
.directory { min-width: 0; display: flex; flex-direction: column; min-height: 100%; }
.directory-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 31px; margin-bottom: 20px; }
.directory-title { margin: 0; color: var(--secondary); text-transform: uppercase; font-size: 11px; letter-spacing: 2px; font-weight: 600; text-shadow: var(--text-shadow); }
.directory-count { color: var(--quiet); font-size: 11px; font-weight: 500; text-shadow: var(--text-shadow); }
.services { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(176px, 1fr); gap: 20px; min-height: 0; }
.service { position: relative; display: grid; grid-template-columns: 48px 1fr 32px; grid-template-rows: 48px 1fr 28px; gap: 16px 10px; min-height: 0; height: 100%; padding: 24px 25px 19px; border-radius: 28px; color: var(--ink); transform: none; transition: transform .55s cubic-bezier(.3,1.35,.5,1), border-color .3s, box-shadow .3s, background-color .3s, color .4s ease; }
.service-index { grid-column: 3; grid-row: 1; justify-self: end; font-family: var(--num); font-size: 11px; font-weight: 500; color: var(--quiet); letter-spacing: 0.06em; margin-top: 3px; font-variant-numeric: tabular-nums lining-nums; text-shadow: var(--text-shadow); transition: color .3s; }
.service-icon { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; border: 1px solid rgb(255 255 255 / 20%); background: linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 2%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 6px 14px -10px rgb(0 8 25 / 45%); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.service-icon img { width: 32px; height: 32px; display: block; object-fit: contain; border-radius: 8px; image-rendering: auto; transition: filter .8s cubic-bezier(.4, 0, .2, 1); }
.service-icon img[src^="icons/monitor.svg"] { filter: brightness(0) invert(0); }
.sky-dark .service-icon img[src^="icons/monitor.svg"] { filter: brightness(0) invert(1); }
.service-copy { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.service-name { font-family: var(--font-serif); font-optical-sizing: auto; font-size: 21px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; text-shadow: var(--text-shadow); }
.service-description { color: var(--secondary); font-size: 13px; font-weight: 500; line-height: 1.62; text-shadow: var(--text-shadow); text-wrap: pretty; }
.service-host { grid-column: 1 / 3; grid-row: 3; align-self: center; color: var(--quiet); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: var(--text-shadow); transition: color .3s; }
.service-arrow { display: grid; place-items: center; grid-column: 3; grid-row: 3; width: 30px; height: 30px; border: 1px solid var(--chip-border); border-radius: 50%; background: var(--chip-fill); box-shadow: var(--chip-shadow); color: var(--secondary); transition: transform .3s, border-color .3s, background-color .3s, color .3s; }
.service-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }
.service:focus-visible { transform: translateY(-3px); }
.service:active { transform: translateY(-1px) scale(.975); transition: transform .16s cubic-bezier(.3,0,.5,1); }
:is(.primary-action, .secondary-action, .theme-toggle):active { transform: scale(.94); transition: transform .14s cubic-bezier(.3,0,.5,1); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; margin-top: auto; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; font-weight: 500; letter-spacing: 0; text-shadow: var(--text-shadow); }
footer a { color: var(--secondary); text-underline-offset: 3px; }
footer a:hover { text-decoration: underline; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 99; padding: 12px 20px; border-radius: 20px; background: #eef5fb; color: #162638; }
.skip-link:focus { top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .service:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--glass-shadow-hover); }
  .service:hover .service-icon { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 26%), 0 8px 18px -10px rgb(0 8 25 / 50%); }
  .service:hover .service-arrow { transform: translate(1px, -1px); border-color: var(--glass-highlight); }
  .service:hover .service-host { color: var(--secondary); }
}
@media (min-width: 1100px) and (max-height: 820px) {
  .topbar { height: 82px; }
  main { padding-block: 34px 32px; }
  h1 { font-size: 62px; margin-bottom: 14px; }
  .eyebrow { margin-bottom: 13px; }
  .intro-copy { line-height: 1.65; margin-bottom: 15px; }
  .hero-actions { margin-bottom: 16px; }
  .facts { margin-bottom: 15px; }
  .services { grid-auto-rows: 1fr; row-gap: 14px; }
  .service { padding: 18px 20px 14px; }
}
@media (max-width: 1050px) {
  .page { width: calc(100% - 56px); }
  main { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; }
  h1 { font-size: 60px; }
  .service { padding: 20px 18px 15px; }
  .services { gap: 15px; }
  .hero-actions { gap: 8px; }
  .primary-action, .secondary-action { padding-inline: 13px; gap: 9px; font-size: 12px; }
}
@media (max-width: 800px) {
  .page { width: calc(100% - 44px); }
  .topbar { height: 80px; }
  main { grid-template-columns: 1fr; gap: 48px; padding-block: 48px; }
  .intro { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 28px; align-items: start; }
  .intro > :not(.weather-readout) { grid-column: 1; }
  .intro > .weather-readout { grid-column: 2; grid-row: 1 / 6; align-self: stretch; }
  h1 { font-size: 54px; letter-spacing: 0; }
  .facts { display: none; }
  .hero-actions { margin-bottom: 0; }
  .services { grid-auto-rows: 188px; gap: 18px; }
  .clock { display: none; }
  .availability { margin-right: 2px; }
}
@media (max-width: 600px) {
  .page { width: calc(100% - 36px); }
  .topbar { height: 82px; }
  .brand { font-size: 13px; gap: 7px; }
  .brand-icon { width: 25px; height: 25px; }
  .brand-icon svg { width: 24px; height: 24px; }
  .top-actions { gap: 8px; }
  .theme-toggle { width: 44px; height: 44px; }
  .availability { display: none; }
  main { display: block; padding-block: 42px 34px; }
  .intro { display: block; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  h1 { font-size: 52px; line-height: 1.05; margin-bottom: 20px; }
  .title-accent { display: block; margin-left: 0; }
  .intro-copy { font-size: 13px; max-width: 35ch; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 30px; }
  .primary-action, .secondary-action { font-size: 11px; padding-inline: 18px; min-height: 46px; }
  .directory { margin-top: 44px; }
  .directory-head { margin-bottom: 20px; }
  .directory-title { font-size: 10px; letter-spacing: 1px; }
  .directory-count { font-size: 10px; }
  .services { grid-template-columns: 1fr; grid-auto-rows: 170px; gap: 18px; }
  .service { grid-template-columns: 44px 1fr 28px; grid-template-rows: 44px 1fr 26px; padding: 20px 20px 16px; gap: 12px 8px; border-radius: 27px; }
  .service-icon { width: 44px; height: 44px; border-radius: 15px; }
  .service-icon img { width: 30px; height: 30px; }
  .service-name { font-size: 18px; }
  .service-description { font-size: 12px; }
  .service-host { font-size: 10px; letter-spacing: 0; }
  .service-arrow { width: 28px; height: 28px; }
  .service-arrow svg { width: 14px; height: 14px; }
  .service-index { font-size: 10px; }
  footer { min-height: 75px; gap: 9px; flex-direction: column; justify-content: center; font-size: 10px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  h1 { font-size: 46px; }
  .services { grid-auto-rows: 168px; }
  .service { padding-inline: 17px; }
  .service-host { font-size: 10px; }
  .primary-action, .secondary-action { padding-inline: 12px; gap: 7px; font-size: 11px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :is(.service, .weather-readout) { background-color: rgb(20 36 58 / 38%); }
  :root:not(.sky-dark) :is(.service, .weather-readout) { background-color: rgb(255 255 255 / 30%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service { transform: none !important; }
  :is(.service, .weather-readout, .theme-toggle, .primary-action, .secondary-action) { transition: none; }
  #network { display: block !important; }
}
