/* ---- Elio brand tokens (Brand Guidelines v1.0 + elionetworks.com) ---- */
/* Font files are fetched into public/fonts at install time (scripts/fetch-fonts.js). */
@font-face { font-family: "Euclid Circular A"; src: url("/fonts/EuclidCircularA-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Euclid Circular A"; src: url("/fonts/EuclidCircularA-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Euclid Circular A"; src: url("/fonts/EuclidCircularA-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Euclid Circular A"; src: url("/fonts/EuclidCircularA-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Euclid Circular A"; src: url("/fonts/EuclidCircularA-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --yellow: #ffcc37;        /* primary */
  --dark: #1b1b1d;          /* primary dark grey / stroke grey */
  --white: #ffffff;
  --light-yellow: #fff5d6;  /* structural */
  --light-grey: #f6f6f6;    /* structural */
  --cloudless: #e2f0f4;     /* secondary */
  --peach: #f8ede0;         /* secondary */
  --evening: #ffdf93;       /* secondary */
  --muted: #5c5c61;
  --border: #dedee0;
  --danger: #a3271b;
  --radius: 12px;
  --font: "Euclid Circular A", "Avenir Next", Avenir, "Century Gothic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); font-weight: 400; background: var(--light-grey); color: var(--dark); line-height: 1.56; }
a { color: var(--dark); text-underline-offset: 2px; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; }
h1 { font-size: 1.9rem; margin: 0 0 1.1rem; }
h2 { font-size: 1.2rem; margin: 0 0 .8rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Layout: white header with logo, yellow hero, black pill buttons (as elionetworks.com) */
.topbar { background: var(--white); color: var(--dark); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1100px; margin: 0 auto; padding: .75rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; margin-right: auto; color: inherit; text-decoration: none; font-size: .95rem; }
.logo img { height: 40px; width: auto; display: block; }
.logo span { color: var(--muted); border-left: 1px solid var(--border); padding-left: .7rem; }
nav { display: flex; gap: .25rem; }
.utility { display: flex; align-items: center; gap: .5rem; }
.mainnav { border-top: 1px solid var(--border); }
.mainnav nav { max-width: 1100px; margin: 0 auto; padding: .4rem 1rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mainnav nav::-webkit-scrollbar { display: none; }
.mainnav nav a { white-space: nowrap; flex: none; }
@media (max-width: 599px) { .logo span { display: none; } }
.nav-gap { flex: 1 0 .5rem; }
nav a { color: inherit; text-decoration: none; padding: .4rem .7rem; border-radius: 8px; font-size: .95rem; }
nav a:hover { background: var(--light-grey); }
nav a.active { background: var(--yellow); color: var(--dark); font-weight: 500; }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.side { grid-template-columns: 340px 1fr; } }
.card { background: var(--white); border: 0; border-radius: 22px; padding: 1.4rem; }

/* Forms */
label { display: block; font-weight: 500; font-size: .9rem; margin: .8rem 0 .25rem; }
input, select, textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #b9b9bd; border-radius: 8px; font: inherit; background: var(--white); color: inherit; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--dark); outline-offset: 2px; }
button { font: inherit; cursor: pointer; border: 0; border-radius: 999px; padding: .65rem 1.4rem; background: var(--dark); color: var(--white); font-weight: 600; }
button:hover { background: #3a3a3e; }
button:disabled { opacity: .6; cursor: default; }
button.ghost { background: transparent; color: inherit; border: 1px solid currentColor; padding: .35rem .9rem; font-weight: 500; }
button.ghost:hover { background: var(--light-grey); }
button.link, button.link:hover { background: none; color: var(--danger); padding: 0; font-weight: 500; text-decoration: underline; border-radius: 0; }
.row { display: flex; gap: .5rem; align-items: end; }
.row > :first-child { flex: 1; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.check input { width: auto; }
.msg { margin-top: .75rem; padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; }
.msg.error { background: #fbe9e7; color: #7c1d13; }
.msg.ok { background: var(--cloudless); color: var(--dark); }

/* Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--yellow); }
.login { width: 100%; max-width: 390px; border: 0; padding: 1.6rem; }
.login .logo { margin-bottom: .8rem; }
.login .logo img { height: 56px; }
.login button { width: 100%; margin-top: 1.1rem; }

/* Hero (portal intro) and sub hero (editable marketing tile) */
.hero { background: var(--yellow); border-radius: 22px; padding: 1rem 1.4rem; margin-bottom: .2rem; }
.eyebrow { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .6rem; }
.hero h1 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); margin: 0 0 .3rem; max-width: 20ch; }
.hero p:not(.eyebrow) { margin: 0; max-width: 80ch; font-size: .95rem; }
.hero .eyebrow { margin-bottom: .3rem; }
.subhero { background: var(--dark); color: var(--white); border-radius: 22px; padding: .9rem 1.2rem; margin-bottom: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.5rem; }
.subhero-text { flex: 1 1 260px; }
.subhero .eyebrow { color: var(--yellow); font-size: .7rem; margin: 0 0 .25rem; }
.subhero h2 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.subhero-body { margin: .25rem 0 0; font-size: .88rem; color: #d6d6d9; max-width: 70ch; line-height: 1.4; }
@media (max-width: 799px) { .subhero-body { display: none; } }
.subhero .cta { flex: none; background: var(--yellow); color: var(--dark); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .5rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.subhero .cta:hover { background: var(--evening); }
.subhero .cta:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Status + news */
.status { background: var(--white); border: 0; border-radius: 22px; padding: .9rem 1.2rem; margin-bottom: 1rem; }
.status h2 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .35rem; }
.status p { margin: 0; font-size: 1.05rem; }
.status .dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .55rem; background: #1f8a4c; }
.status.bad { background: var(--evening); border-color: var(--evening); }
.status.bad .dot { background: #b3261e; }
.banner { border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.banner.good { background: var(--cloudless); }
.banner.bad { background: var(--evening); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .6rem; border-radius: 999px; background: var(--light-grey); color: var(--dark); }
.tag.outage { background: var(--dark); color: var(--yellow); }
.tag.maintenance { background: var(--evening); }
.tag.offer { background: var(--yellow); }
.tag.support { background: var(--cloudless); }
.tag.general { background: var(--peach); }
.news-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item:first-child { padding-top: 0; }
.news-item h3 { margin: .45rem 0 .25rem; font-size: 1.05rem; }
.news-item p { margin: 0; white-space: pre-wrap; }
.tiles-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin: 1rem 0 .6rem; }
.tiles { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); margin-bottom: .9rem; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: .6rem; min-height: 140px; text-decoration: none; color: var(--dark); background: var(--white); border: 0; border-radius: 22px; padding: 1.3rem 1.3rem 1.2rem; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.tile:hover, .tile:focus-visible { transform: scale(1.02); box-shadow: 0 12px 32px rgba(27, 27, 29, .10); }
.tile-icon { color: var(--dark); line-height: 0; }
.tile-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
.tile-text { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; padding-right: 1rem; }
.tile-text small { display: block; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: .35rem; line-height: 1.35; }
.tile-arrow { margin-top: auto; align-self: flex-end; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--white); font-size: 1rem; transition: background .3s, color .3s; }
.tile:hover .tile-arrow, .tile:focus-visible .tile-arrow { background: var(--yellow); color: var(--dark); }
@media (prefers-reduced-motion: reduce) { .tile, .tile-arrow { transition: none; } .tile:hover, .tile:focus-visible { transform: none; } }

/* Availability */
#map { height: 420px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--cloudless); }
@media (max-width: 799px) { #map { height: 320px; } }
h3.group { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1.1rem 0 0; }
.products { list-style: none; padding: 0; margin: .25rem 0 0; }
.products li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.products li:last-child { border-bottom: 0; }
.pill { font-size: .8rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.pill.yes { background: var(--yellow); color: var(--dark); }
.pill.no { background: var(--light-grey); color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.steps { display: flex; gap: 3px; margin-top: .3rem; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: #e4e4e6; min-width: 14px; }
.steps i.done { background: var(--yellow); }

.demo-note { text-align: center; color: var(--muted); font-size: .8rem; margin: 0 0 1.5rem; }
.where { background: var(--light-yellow); border-radius: 8px; padding: .7rem .8rem; margin: 1rem 0 0; }
.stack { display: grid; gap: 1rem; align-content: start; }
.help-cta { background: var(--light-yellow); border-radius: 22px; padding: 1.2rem 1.4rem; }
.help-cta h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.help-cta p { margin: 0; }
.help-cta a { font-weight: 600; overflow-wrap: anywhere; }
.contact { background: var(--white); border-radius: 22px; padding: 1.1rem 1.4rem 1rem; margin-bottom: 1rem; text-align: center; }
.contact > h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .15rem; }
.contact-lead { margin: 0 auto .8rem; color: var(--muted); font-size: .92rem; max-width: 60ch; }
.contact-cols { display: grid; gap: .8rem; }
@media (min-width: 700px) { .contact-cols { grid-template-columns: 1fr 1fr; gap: 0; } .contact-col + .contact-col { border-left: 1px solid var(--border); } }
.contact-col h3 { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .1rem; }
.contact-col .phone { display: inline-block; font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--dark); text-decoration: none; }
.contact-col .phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-col p { margin: .1rem 0 0; color: var(--muted); font-size: .85rem; }
.contact-note { margin: .8rem auto 0; padding-top: .7rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; max-width: 80ch; }
.billing { background: var(--white); border-radius: 22px; padding: 1.3rem 1.5rem; margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.billing-text { flex: 1 1 300px; }
.billing h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .25rem; }
.billing p { margin: 0; color: var(--muted); font-size: .95rem; }
.billing p strong { color: var(--dark); }
.billing-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.billing .pill { display: flex; flex-direction: column; justify-content: center; font-size: .95rem; font-weight: 600; padding: .55rem 1.3rem; border-radius: 999px; text-decoration: none; white-space: nowrap; line-height: 1.25; transition: background .25s; }
.billing .pill small { font-size: .72rem; font-weight: 400; opacity: .8; }
.billing .pill.dark { background: var(--dark); color: var(--white); }
.billing .pill.dark:hover { background: #3a3a3e; }
.billing .pill.light { background: var(--light-grey); color: var(--dark); }
.billing .pill.light:hover { background: #e9e9eb; }
.news-filter { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.news-filter label { margin: 0; }
.news-filter select { width: auto; min-width: 170px; border-radius: 999px; padding: .5rem 1rem; }
.news-hero { background: var(--light-yellow); border-radius: 22px; padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.news-hero-meta { margin: 0 0 .45rem; color: var(--muted); font-size: .9rem; }
.news-hero-meta .tag { margin-right: .4rem; }
.news-hero h2 { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .4rem; max-width: 32ch; }
.news-hero-body { margin: 0; font-size: .98rem; max-width: 70ch; white-space: pre-wrap; }
.contact-forms { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .contact-forms { grid-template-columns: repeat(3, 1fr); } }
.contact-forms fieldset { border: 0; background: var(--light-grey); border-radius: 16px; padding: 1rem 1.1rem 1.2rem; margin: 0; min-width: 0; }
.contact-forms legend { float: left; width: 100%; font-size: 1.05rem; font-weight: 600; padding: 0; margin-bottom: .1rem; }
.contact-forms legend + * { clear: both; }
.contact-forms p { margin: 0; }
.website-field { max-width: 420px; }

/* Shared */
.lead { color: var(--muted); font-size: 1.05rem; margin: -.4rem 0 1.2rem; max-width: 60ch; }
button.secondary { background: var(--light-grey); color: var(--dark); }
button.secondary:hover { background: #e9e9eb; }
button.link.plain, button.link.plain:hover { color: var(--dark); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--light-grey); padding: .1rem .35rem; border-radius: 6px; overflow-wrap: anywhere; }

/* Accreditation status badge in the header, beside "Partner portal" */
.logo { margin-right: 0; }
.accred-badge { display: inline-flex; align-items: center; gap: .35rem; margin-right: auto; font-size: .78rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.accred-badge.yes { background: var(--yellow); color: var(--dark); }
.accred-badge.no { background: var(--light-grey); color: var(--dark); border: 1px dashed #b9b9bd; }
.accred-badge.no:hover { background: var(--light-yellow); border-color: var(--dark); }
.utility { margin-left: auto; }
@media (max-width: 599px) { .tile { min-height: 118px; padding: 1rem; } .tile-text { font-size: 1.05rem; } .tile-text small { display: none; } .tile-arrow { display: none; } }

/* Quote + two-step */
.quote-form { background: var(--light-grey); border-radius: 16px; padding: 1rem 1.1rem; margin-top: 1rem; }
.quote-form h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.quote-form p.muted { margin: 0; }
.steps-list { padding-left: 1.2rem; margin: 0 0 .5rem; }
.steps-list li { margin-bottom: .6rem; }
.qr { display: block; margin: .6rem 0; border-radius: 12px; border: 1px solid var(--border); }

/* Resources */
.res-head { padding-bottom: .4rem; }
.res-search { display: block; max-width: 460px; margin: 0 auto; border-radius: 999px; padding: .7rem 1.2rem; border: 1px solid var(--border); background: var(--white); }
.res-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .9rem; }
.res-pill { background: var(--white); color: var(--dark); font-weight: 500; font-size: .9rem; padding: .4rem 1rem; }
.res-pill:hover { background: #e9e9eb; }
.res-pill[aria-pressed="true"], .res-pill[aria-pressed="true"]:hover { background: var(--dark); color: var(--white); }
#res-list { max-width: 760px; margin: 1.2rem auto 0; }
.res-group { margin-bottom: 1.6rem; }
.res-group h2 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5rem .3rem; }
.res-rows { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: 22px; overflow: hidden; }
.res-rows li + li { border-top: 1px solid var(--border); }
.res-rows a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; color: var(--dark); text-decoration: none; transition: background .2s; }
.res-rows a:hover, .res-rows a:focus-visible { background: var(--light-yellow); }
.res-rows a:focus-visible { outline-offset: -3px; }
.res-text { flex: 1; min-width: 0; }
.res-title { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.res-desc { display: block; color: var(--muted); font-size: .9rem; margin-top: .1rem; }
.res-go { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--light-grey); font-weight: 600; transition: background .2s; }
.res-rows a:hover .res-go, .res-rows a:focus-visible .res-go { background: var(--yellow); }

/* Insights */
/* Admin users table: full width, one line per user */
table.users th, table.users td { white-space: nowrap; padding: .7rem .9rem .7rem 0; vertical-align: middle; }
table.users td.wrap { white-space: normal; min-width: 9rem; }
table.users td > button.link { margin: 0 0 0 .6rem; }
table.users td:nth-child(6) > button.link { margin-left: 0; }
table.users tr.off td { opacity: .6; }
table.summary { max-width: 520px; }
table.summary td:last-child { text-align: right; white-space: nowrap; }

/* Availability page */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-head { padding-bottom: 1.4rem; }
.av-search { display: flex; align-items: center; gap: .4rem; max-width: 520px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .35rem .35rem 1.3rem; transition: border-color .2s, box-shadow .2s; }
.av-search:focus-within { border-color: var(--dark); box-shadow: 0 6px 24px rgba(27, 27, 29, .08); }
.av-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 0; font-size: 1.1rem; text-transform: uppercase; }
.av-search input::placeholder { text-transform: none; color: #8d8d92; }
.av-search input:focus { outline: none; }
.av-search button { flex: none; padding: .7rem 1.6rem; font-size: 1rem; }
.av-head .out { max-width: 520px; margin: 0 auto; text-align: left; }
.av-body { display: grid; gap: 1rem; }
@media (min-width: 800px) { .av-body.has-result { grid-template-columns: 380px 1fr; align-items: start; } }
.av-panel { padding: 1.3rem 1.4rem; }
.av-panel .where { margin-top: 0; }
.av-verdict { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; margin: 1rem 0 0; }
.av-panel .where + .av-verdict, .av-panel .msg + .av-verdict { margin-top: 1rem; }
.av-panel > #result > .av-verdict:first-child { margin-top: 0; }
#map { height: 460px; border: 0; border-radius: 22px; }
@media (max-width: 799px) { #map { height: 340px; } }
.av-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.av-link { display: inline-flex; align-items: center; gap: .4rem; background: var(--white); color: var(--dark); border: 0; border-radius: 999px; padding: .5rem 1.1rem; font: inherit; font-size: .92rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s; }
.av-link:hover { background: var(--light-yellow); }
.av-link[aria-expanded="true"] { background: var(--dark); color: var(--white); }
.av-link strong { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.av-bulk { background: var(--white); border-radius: 22px; padding: 1.3rem 1.4rem; margin-bottom: 1rem; }
.av-bulk h2 { font-size: 1.2rem; margin: 0 0 .2rem; }
.av-bulk label { margin-top: .6rem; }
#bulk-results > section { margin: 0 0 1rem !important; }
.help-cta { transition: box-shadow .4s; }
.help-cta.flash { box-shadow: 0 0 0 3px var(--yellow); }
.help-cta { margin-top: 1rem; text-align: center; }
.help-cta p { max-width: 62ch; margin: 0 auto; }

/* One page header style for every page */
.page-head { text-align: center; padding: 1.2rem 0 .6rem; }
.page-head h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; margin: 0 0 .45rem; }
.page-head .lead { margin: 0 auto 1.2rem; max-width: 56ch; }
.page-head.av-head { padding-bottom: 1.4rem; }
.news-filter { justify-content: center; }
.not-here { margin: .7rem 0 0; }

/* Home page, simplified */
.hero { padding: 1.6rem 1.6rem 1.4rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; margin: 0 0 .6rem; max-width: none; }
.hero-status { display: flex; align-items: baseline; gap: .55rem; margin: 0 !important; font-size: 1rem !important; max-width: none !important; }
.hero-status .dot { flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: #17703c; transform: translateY(-1px); }
.hero-status.bad .dot { background: #b3261e; }
.hero-status-label { font-weight: 600; }
.hero-status.bad { background: var(--white); border-radius: 14px; padding: .6rem .9rem; }
.tiles { margin-bottom: 1rem; }
.subhero { margin-bottom: 1rem; }
.news-teaser { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; background: var(--white); border-radius: 22px; padding: 1.1rem 1.4rem; color: var(--dark); text-decoration: none; transition: box-shadow .3s; }
.news-teaser:hover, .news-teaser:focus-visible { box-shadow: 0 12px 32px rgba(27, 27, 29, .10); }
.news-teaser-text { flex: 1 1 320px; min-width: 0; }
.news-teaser-meta { display: block; color: var(--muted); font-size: .85rem; margin-bottom: .3rem; }
.news-teaser-meta .tag { margin-right: .4rem; }
.news-teaser-title { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.news-teaser-body { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.news-teaser-more { flex: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* Network status line under the menu */
.statusbar { display: flex; justify-content: center; align-items: baseline; gap: .5rem; padding: .35rem 1rem; font-size: .82rem; color: var(--muted); background: var(--light-grey); border-top: 1px solid var(--border); text-align: center; }
.statusbar[hidden] { display: none; }
.statusbar strong { color: var(--dark); font-weight: 600; }
.statusbar-label { font-weight: 500; }
.statusbar .dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #17703c; transform: translateY(-1px); }
.statusbar.bad { background: var(--evening); color: var(--dark); font-size: .9rem; padding: .5rem 1rem; }
.statusbar.bad .dot { background: #b3261e; }
.hero p:not(.eyebrow) { font-size: 1.05rem; }
