/* Manrope latin variable font: includes weights 400, 600, 700 and 800. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.v1.8c2def024c1b.woff2") format("woff2");
}
/* JetBrains Mono 500 latin, for small eyebrow and step labels only. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500-latin.v1.cb182feeed4d.woff2") format("woff2");
}
/* Daylight and UsageCard: exact approved component measurements. */
.hour-0 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 0ms; }
.hour-1 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 25ms; }
.hour-2 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 50ms; }
.hour-3 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 75ms; }
.hour-4 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 100ms; }
.hour-5 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 125ms; }
.hour-6 { height: 14%; background: var(--card-bar); background-image: none; animation-delay: 150ms; }
.hour-7 { height: 31%; background: var(--card-bar); background-image: none; animation-delay: 175ms; }
.hour-8 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 200ms; }
.hour-9 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 225ms; }
.hour-10 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 250ms; }
.hour-11 { height: 17%; background: var(--card-bar); background-image: none; animation-delay: 275ms; }
.hour-12 { height: 23%; background: var(--card-bar); background-image: none; animation-delay: 300ms; }
.hour-13 { height: 17%; background: var(--card-bar); background-image: none; animation-delay: 325ms; }
.hour-14 { height: 26%; background: var(--card-bar); background-image: none; animation-delay: 350ms; }
.hour-15 { height: 14%; background: var(--card-bar); background-image: none; animation-delay: 375ms; }
.hour-16 { height: 14%; background: var(--card-bar); background-image: none; animation-delay: 400ms; }
.hour-17 { height: 11%; background: var(--card-bar); background-image: none; animation-delay: 425ms; }
.hour-18 { height: 100%; background: var(--accent); background-image: none; animation-delay: 450ms; }
.hour-19 { height: 14%; background: var(--card-bar); background-image: none; animation-delay: 475ms; }
.hour-20 { height: 20%; background: var(--card-bar); background-image: none; animation-delay: 500ms; }
.hour-21 { height: 6%; background: var(--card-bar); background-image: none; animation-delay: 525ms; }
.hour-22 { height: 6%; background: var(--card-bar); background-image: none; animation-delay: 550ms; }
.hour-23 { height: 18%; background: transparent; background-image: repeating-linear-gradient(135deg, var(--card-track) 0 3px, transparent 3px 7px); animation-delay: 575ms; }
.usage-card { width: 480px; box-sizing: border-box; font-family: Manrope, system-ui, sans-serif; background: var(--card-bg); color: var(--card-ink); border-radius: 24px; overflow: hidden; border: 1px solid var(--card-line); }
.card-top { position: relative; padding: 24px 24px 28px; overflow: hidden; }
.wave-position { position: absolute; left: 0; bottom: 0; opacity: var(--card-wave-opacity); }
.card-heading { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-identity { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.card-name { font-weight: 700; font-size: 16px; }
.card-live-time { font-size: 13px; color: var(--card-muted); }
.calibration-chip { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card-chip); color: var(--card-chip-ink); }
.card-today { position: relative; display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.ring-wrap { position: relative; width: 132px; height: 132px; flex: none; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-value { font-size: 22px; font-weight: 800; }
.ring-caption { font-size: 11px; color: var(--card-muted); }
.today-label { font-size: 13px; color: var(--card-muted); font-weight: 600; }
.today-total { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.today-unit { font-size: 22px; font-weight: 700; margin-left: 4px; }
.today-usual { font-size: 14px; color: var(--card-muted); margin-top: 6px; }
.card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.stat-cell { padding: 16px 20px; border-right: 1px solid var(--card-line); }
.stat-label { font-size: 12px; color: var(--card-muted); }
.stat-value { font-size: 22px; font-weight: 800; margin-top: 2px; }
.stat-cell-last { padding: 16px 20px; }
.card-chart { padding: 20px 24px 8px; }
.chart-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.chart-title { font-weight: 700; font-size: 15px; }
.hour-chart { display: flex; align-items: flex-end; gap: 4px; height: 140px; }
.hour-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--card-muted); margin-top: 6px; }
.card-week { padding: 8px 24px 16px; }
.week-title { margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--card-muted); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { display: flex; flex-direction: column; gap: 4px; align-items: center; min-width: 0; font-size: 11px; color: var(--card-muted); }
.day-plot { width: 100%; height: 30px; display: flex; align-items: flex-end; }
.day-fill { width: 100%; min-height: 2px; border-radius: 3px; background: var(--card-chip); }
.day.yest { color: var(--card-ink); font-weight: 700; }
.day-fill.h88 { height: 88%; } .day-fill.h97 { height: 97%; } .day-fill.h83 { height: 83%; } .day-fill.h100 { height: 100%; } .day-fill.h91 { height: 91%; } .day-fill.h95 { height: 95%; } .day-fill.h92 { height: 92%; }
.day.yest .day-fill { background: var(--accent); }
.card-status { padding: 12px 24px 24px; display: grid; gap: 10px; }
.leak-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card-ok-bg); }
.status-copy { font-size: 14px; }
.card-muted { color: var(--card-muted); }
.street-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card-chip); }
.signal-caption { font-size: 12px; color: var(--card-muted); text-align: right; }
.page-shell { font-family: Manrope, system-ui, sans-serif; color: #0d2233; background: #f6f8f7; min-height: 100vh; }
.site-header { max-width: 1120px; margin: 0 auto; padding: 20px 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; font-weight: 600; }
.nav-link { text-decoration: none; color: #0d2233; }
.github-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; background: #0d2233; color: #ffffff; text-decoration: none; }
.hero { max-width: 1120px; margin: 0 auto; padding: 56px 32px 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-title { margin: 0 0 24px; font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.hero-description { margin: 0 0 32px; font-size: 20px; line-height: 1.6; color: #3b5163; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.install-button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: var(--accent); color: #04263a; font-weight: 800; text-decoration: none; font-size: 16px; }
.secondary-button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: #ffffff; border: 1px solid #c9d6de; color: #0d2233; font-weight: 700; text-decoration: none; font-size: 16px; }
.hero-card { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; justify-content: center; }
.card-shadow { border-radius: 24px; box-shadow: 0 16px 48px rgba(13,34,51,0.14); }
.features { background: #ffffff; border-top: 1px solid #dbe5ea; border-bottom: 1px solid #dbe5ea; }
.feature-inner { max-width: 1120px; margin: 0 auto; padding: 40px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.feature-title { font-size: 28px; font-weight: 800; }
.feature-description { color: #3b5163; margin-top: 4px; }
.section { max-width: 1120px; margin: 0 auto; padding: 96px 32px; }
.section-title { margin: 0 0 16px; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.section-description { margin: 0 0 48px; font-size: 19px; line-height: 1.6; color: #3b5163; max-width: 40em; }
.hardware-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.hardware-tile { background: #ffffff; border: 1px solid #dbe5ea; border-radius: 20px; padding: 28px; }
.hardware-title { margin: 16px 0 8px; font-size: 20px; }
.hardware-description { margin: 0; color: #3b5163; line-height: 1.6; }
.council-intro { margin: 0 0 40px; font-size: 19px; line-height: 1.6; color: #3b5163; max-width: 40em; }
.council-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.working-tile { background: #ffffff; border: 2px solid var(--accent); border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: center; }
.council-logo { flex: none; width: 72px; height: 48px; object-fit: contain; }
.council-name { font-weight: 800; }
.working-status { font-size: 14px; color: #0b6b3a; font-weight: 700; }
.council-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.report-button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 12px; background: #0d2233; color: #ffffff; font-weight: 700; text-decoration: none; }
.text-link { font-weight: 700; }
.cta-section { max-width: 1120px; margin: 0 auto; padding: 0 32px 96px; }
.cta-panel { background: #e3eef4; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 420px; min-width: 0; }
.cta-title { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.cta-description { margin: 0; font-size: 18px; color: #3b5163; line-height: 1.6; }
.cta-button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: #0d2233; color: #ffffff; font-weight: 800; text-decoration: none; font-size: 16px; }
.site-footer { border-top: 1px solid #dbe5ea; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 28px 32px 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; color: #5a6f7e; }

/* Shared palette, layout and accessible browser states. */
:root {
  --accent: #2bb3d6;
  --ink: #0d2233;
  --muted: #3b5163;
  --card-bg: #fff;
  --card-ink: #0d2233;
  --card-muted: #536977;
  --card-line: #e3eaee;
  --card-chip: #e3eef4;
  --card-chip-ink: #0b4a70;
  --card-track: #e3eaee;
  --card-over: #e07b1f;
  --card-ok-bg: #e6f6ec;
  --card-ok: #1d8a4a;
  --card-wave-opacity: .12;
  --card-bar: color-mix(in srgb, var(--accent) 40%, var(--card-bg));
  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: #f6f8f7;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: #0b5c8a; text-underline-offset: .2em; }
a:hover { color: #063f60; }
a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #0b5c8a;
  outline-offset: 5px;
}
::selection { color: #04263a; background: #a9e4f0; }
section[id] { scroll-margin-top: 24px; }
svg { flex-shrink: 0; }
.brand { color: var(--ink); text-decoration: none; min-height: 44px; }
.site-header, .hero, .feature-inner, .section, .cta-section, .footer-inner { max-width: 1184px; }
.nav-link, .text-link, .footer-inner a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.github-button:hover, .report-button:hover, .cta-button:hover { color: #fff; background: #1d4059; }
.install-button:hover { color: #04263a; background: #51c4e1; }
.secondary-button:hover { background: #e3eef4; }
.hero-card { flex-direction: column; align-items: center; }
.card-shadow { max-width: 100%; }
.usage-card { width: 480px; max-width: 100%; font-variant-numeric: tabular-nums; line-height: 1.5; }
.today-number { display: inline-block; }
.demo-caption { margin: 18px 0 0; max-width: 480px; font-size: 12px; line-height: 1.6; text-align: center; color: #536977; }
.card-status svg { width: 20px; }
.bar-slot { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.tg-bar { width: 100%; border-radius: 4px; transform-origin: bottom; animation: tg-grow .8s cubic-bezier(.2,.8,.2,1) both; }
.tg-wave { animation: tg-wave 9s linear infinite; }
.tg-dot { position: relative; flex: none; }
.tg-dot::after { content: ""; position: absolute; inset: -5px; border: 5px solid rgb(43 179 214 / .5); border-radius: 50%; animation: tg-pulse 2s infinite; }
.tg-ring { animation: tg-ring 1.5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tg-pulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes tg-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tg-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tg-ring { from { stroke-dashoffset: 352; } to { stroke-dashoffset: 0; } }
@keyframes tg-feature-bars { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tg-feature-ring { from { stroke-dashoffset: 352; } to { stroke-dashoffset: 0; } }
@keyframes tg-street { from { opacity: .4; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* Scrolly: the approved 480px card stays beside three 330px steps. */
.scrolly { max-width: 1280px; margin: 0 auto; padding: 80px 96px; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; }
.scroll-eyebrow { margin: 0 0 12px; font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; font-size: 14px; color: #0b5c8a; }
.scrolly h2 { margin: 0 0 48px; font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.scroll-steps { position: relative; margin: 0; padding: 0 0 0 32px; list-style: none; }
.scroll-steps::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 4px; background: #dbe5ea; }
.scroll-step { position: relative; min-height: 330px; padding-bottom: 40px; }
.scroll-step:last-child { padding-bottom: 0; }
.scroll-step::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: transparent; }
.scroll-step.is-active::before { background: var(--accent); }
.step-label { color: #536977; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.is-active .step-label { color: #0b5c8a; }
.active-label { display: none; }
.is-active .active-label { display: inline; }
.scroll-step h3 { margin: 10px 0; font-size: 28px; line-height: 1.3; font-weight: 800; }
.scroll-step p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.scroll-preview { margin: 0; min-width: 0; padding-top: 100px; align-self: start; }
.sticky-card { position: relative; }
.theme-toggle { position: absolute; top: 12px; right: 10px; width: 44px; height: 24px; opacity: 0; }
.theme-label { min-height: 44px; margin-bottom: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.switch-track { display: inline-block; position: relative; width: 44px; height: 26px; background: #c9d6de; border-radius: 20px; }
.switch-track::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease-out; }
.theme-toggle:checked + .theme-label .switch-track { background: #0b5c8a; }
.theme-toggle:checked + .theme-label .switch-track::after { transform: translateX(18px); }
.theme-toggle:focus-visible + .theme-label .switch-track { outline: 3px solid #0b5c8a; outline-offset: 5px; }
.theme-toggle:checked ~ .usage-card {
  color-scheme: dark;
  --card-bg: #0f1a24;
  --card-ink: #eef4f8;
  --card-muted: #9db0bf;
  --card-line: #1f3040;
  --card-chip: #18304a;
  --card-chip-ink: #a9d8ef;
  --card-track: #1f3040;
  --card-over: #f2a43a;
  --card-ok-bg: #12301f;
  --card-ok: #5fd68f;
  --card-wave-opacity: .16;
  --card-bar: color-mix(in srgb, var(--accent) 40%, var(--card-bg));
}
.scrolly[data-step="2"] .tg-bar { animation-name: tg-feature-bars; }
.scrolly[data-step="1"].is-enhanced .tg-ring { animation-name: tg-feature-ring; }
.scrolly[data-step="3"] .street-status { animation: tg-street .5s ease-out both; }
.scrolly[data-step="1"] .card-top,
.scrolly[data-step="2"] .card-chart,
.scrolly[data-step="3"] .card-status { outline: 2px dashed var(--accent); outline-offset: -3px; }
@media (min-width: 900px) {
  .scroll-preview { position: sticky; top: 20px; padding-top: 0; margin-top: 100px; }
  /* Room after the last step keeps the pinned card fully in view while step 3 is active. */
  .scroll-step:last-child { min-height: 560px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .scrolly { padding-left: 32px; padding-right: 32px; grid-template-columns: minmax(0, 1fr) minmax(390px, 480px); gap: 40px; }
}
/* The hero card shows the 7-day strip; the pinned copy stays short enough to fit on screen. */
.scroll-preview .card-week { display: none; }
@media (min-width: 900px) and (max-height: 900px) {
  .scroll-preview { top: 8px; }
  .scroll-preview .card-chart { padding-top: 10px; }
  .scroll-preview .hour-chart { height: 92px; }
  .scroll-preview .card-status { padding-bottom: 12px; }
  .scroll-preview .card-top { padding-bottom: 16px; }
}

/* Council entries are plain list items, each carrying a readable status. */
.council-grid { padding: 0; margin: 0; list-style: none; }
.council-group + .council-group { margin-top: 32px; }
.council-state { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.council-tile { min-width: 0; padding: 20px; display: flex; gap: 14px; align-items: center; border-radius: 16px; background: #fff; border: 1px dashed #c9d6de; }
.council-tile.working { border: 2px solid var(--accent); }
.council-tile img { flex: none; width: 112px; height: 48px; object-fit: contain; object-position: left center; }
.council-tile .council-monogram { flex: none; width: 112px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #f0f3f5; font-size: 16px; font-weight: 800; }
.council-tile.working .council-status { color: #0b6b3a; font-weight: 700; }
.council-tile.unconfirmed .council-status { color: #7a4e00; }
.council-tile strong { display: block; font-weight: 700; }
.council-tile.working strong { font-weight: 800; }
/* Logo on its own row keeps both logos and status text legible in narrow tiles. */
.council-tile { flex-direction: column; align-items: flex-start; gap: 12px; }
.council-tile img, .council-tile .council-monogram { width: 100%; max-width: 200px; height: 44px; }
.council-tile.wide-logo img { max-width: 220px; height: 40px; }
.council-tile span { display: block; font-size: 14px; color: #536977; }
.council-disclaimer { margin: 20px 0 0; font-size: 12px; color: #536977; line-height: 1.6; }
.compatibility-note { max-width: 70ch; font-size: 14px; color: var(--muted); line-height: 1.6; }

.faq { max-width: 1184px; margin: 0 auto; padding: 0 32px 96px; }
.faq h2 { margin: 0 0 32px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.faq details { border-top: 1px solid #c9d6de; }
.faq details:last-child { border-bottom: 1px solid #c9d6de; }
.faq summary { padding: 20px 0; cursor: pointer; font-weight: 700; font-size: 18px; min-height: 64px; }
.faq summary:hover { color: #0b5c8a; }
.faq details p { margin: 0 0 24px; max-width: 75ch; color: var(--muted); line-height: 1.7; }
.faq details p a { display: inline-block; padding-block: 10px; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -100px; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 899px) {
  .hero { padding-top: 40px; gap: 48px; }
  .hero-copy, .hero-card { flex-basis: 100%; }
  .hero-copy { max-width: 680px; }
  .hero-title { max-width: 650px; font-size: 54px; }
  .scrolly { padding: 64px 32px; grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scrolly h2 { max-width: 600px; }
  .scroll-step { min-height: 0; padding-bottom: 40px; }
  .scroll-step:last-child { padding-bottom: 0; }
  .scroll-preview { padding-top: 0; width: 480px; max-width: 100%; justify-self: center; }
  .scroll-step h3 { font-size: 26px; }
}
@media (max-width: 599px) {
  .site-header { padding: 16px 20px; gap: 12px; }
  .site-nav { gap: 4px 10px; justify-content: space-between; width: 100%; font-size: 13px; }
  .github-button { padding: 0 10px; }
  .github-button svg { display: none; }
  .hero { padding: 32px 20px 64px; }
  .hero-title { font-size: clamp(38px, 10.5vw, 50px); }
  .hero-description { font-size: 18px; }
  .hero-actions { gap: 12px; }
  .install-button, .secondary-button { padding: 0 20px; }
  .feature-inner { padding: 32px 20px; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .feature-title { font-size: 22px; line-height: 1.25; }
  .feature-description { font-size: 14px; line-height: 1.6; }
  .section { padding: 64px 20px; }
  .section-title, .faq h2 { font-size: 34px; line-height: 1.15; }
  .section-description, .council-intro { font-size: 18px; }
  .hardware-grid { grid-template-columns: minmax(0, 1fr); }
  .scrolly { padding: 16px 20px 48px; }
  .scrolly h2 { font-size: 36px; margin-bottom: 32px; }
  .scroll-step h3 { font-size: 24px; }
  .scroll-step p { font-size: 17px; }
  .card-top { padding: 20px 16px 24px; }
  .card-heading { gap: 6px; flex-wrap: wrap; }
  .card-identity { gap: 8px; }
  .calibration-chip { padding: 4px 7px; font-size: 12px; }
  .card-live-time { font-size: 12px; }
  .card-name { font-size: 14px; }
  .card-today { gap: 16px; }
  .ring-wrap { width: 104px; height: 104px; }
  .ring-wrap svg { width: 104px; height: 104px; }
  .today-total { font-size: 44px; }
  .today-usual { font-size: 12px; }
  .stat-cell, .stat-cell-last { padding: 12px; }
  .stat-value { font-size: 19px; }
  .card-chart { padding: 16px 16px 8px; }
  .card-status { padding: 12px 16px 20px; }
  .status-copy { font-size: 13px; }
  .hour-chart { gap: 3px; }
  .chart-title { font-size: 14px; }
  .chart-heading .stat-label { font-size: 12px; }
  /* Compact two-up council tiles on phones (state is already the group heading). */
  .council-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .council-tile { padding: 12px; gap: 8px; border-radius: 12px; }
  .council-tile img, .council-tile .council-monogram, .council-tile.wide-logo img { height: 32px; max-width: 100%; }
  .council-tile strong { font-size: 14px; line-height: 1.3; }
  .council-tile span { font-size: 12px; }
  .council-tile .hide-sm { display: none; }
  .council-state { font-size: 18px; margin-bottom: 10px; }
  .council-group + .council-group { margin-top: 24px; }
  .faq { padding: 0 20px 64px; }
  .cta-section { padding: 0 20px 64px; }
  .cta-panel { padding: 28px; }
  .cta-title { font-size: 28px; line-height: 1.2; }
  .cta-description { font-size: 17px; }
  .footer-inner { padding: 24px 20px 32px; }
}
@media (max-width: 379px) {
  .gh-long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
