/* KROPP / home, editorial v14 — balanced responsive hero */
@font-face{font-family:Outfit;src:url('/fonts/outfit-latin.woff2') format('woff2');font-style:normal;font-weight:300 800;font-display:swap}
:root{color-scheme:light;--bg:#faf9f6;--fg:#202322;--muted:#777c7a;--subtle:#989e99;--surface:rgba(235,236,232,.64);--surface-strong:#eeefec;--accent:#15835b;--ok:#15835b;--bad:#c94454;--unknown:#8b9290;--edge:rgba(50,65,55,.075);--shadow:0 20px 80px rgba(33,38,32,.042);--glow:rgba(179,192,177,.19)}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#0c0e0e;--fg:#f1f3ef;--muted:#9ca3a0;--subtle:#808984;--surface:rgba(35,40,38,.64);--surface-strong:#232925;--accent:#69d6a1;--ok:#69d6a1;--bad:#ff8892;--unknown:#858c88;--edge:rgba(232,242,232,.075);--shadow:0 20px 90px rgba(0,0,0,.16);--glow:rgba(60,83,69,.18)}}
*{box-sizing:border-box}
html{min-width:280px;min-height:100%;background:var(--bg);scroll-behavior:smooth}
body{min-width:280px;min-height:100vh;min-height:100dvh;margin:0;color:var(--fg);background:radial-gradient(ellipse min(82vw,870px) min(52vh,500px) at 50% 47%,var(--glow),transparent 81%),var(--bg);font:400 15px/1.55 Outfit,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.page{width:100%;min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:minmax(34px,1fr) auto minmax(36px,.95fr);gap:24px;justify-items:center;padding:max(30px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(27px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
main{grid-row:2;display:flex;align-items:center;flex-direction:column;width:min(740px,100%);min-width:0;text-align:center}
.hero-eyebrow{display:block;margin:6px 0 0;font-size:10px;line-height:1.4;letter-spacing:.22em;text-transform:uppercase;font-weight:650;color:var(--muted)}
.hero-logo{margin:0;width:min(435px,100%);line-height:0}
.home-title-link{display:block;width:100%;color:var(--fg);text-decoration:none;transition:opacity .2s ease}
.home-title-link:hover{opacity:.82}
.home-title-link:focus-visible{border-radius:12px;outline-offset:7px}
.brand-logo{display:block;width:100%;height:auto;object-fit:contain;filter:invert(1) hue-rotate(180deg);pointer-events:none}
@media(prefers-color-scheme:dark){.brand-logo{filter:none}}
nav.links{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(8px,2.7vw,36px);margin:clamp(26px,4.5vh,41px) auto 0;padding:0;width:100%;max-width:740px;min-width:0}
nav.links .link{min-width:0;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:clamp(6px,1vw,10px);padding:9px 11px;border-radius:13px;white-space:nowrap;font:580 clamp(12px,1.8vw,15px)/1.25 Outfit,system-ui,sans-serif;letter-spacing:-.015em;transition:background .2s,color .2s,transform .2s}
nav.links .link:hover,nav.links .link:focus-visible{color:var(--fg);background:var(--surface);transform:translateY(-1px)}
nav.links .link svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:var(--muted);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s}
nav.links .link:hover svg,nav.links .link:focus-visible svg{stroke:var(--accent)}
.status-inspector{display:flex;flex-direction:column;align-items:center;width:100%;max-width:560px;margin:clamp(12px,2.3vh,21px) auto 0;min-width:0}
.status-summary-row{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;max-width:100%;color:var(--muted);font:510 12px/1.45 Outfit,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.status-summary-text{min-width:0;text-align:right;overflow-wrap:break-word}
.status-summary-text[data-issue='true']{color:var(--bad)}
.icon-info-button{display:inline-flex;justify-content:center;align-items:center;flex:0 0 37px;width:37px;height:37px;padding:0;appearance:none;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;transition:background .16s,color .16s,transform .16s}
.icon-info-button svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-info-button:hover,.icon-info-button[aria-expanded='true']{color:var(--fg);background:var(--surface)}
.icon-info-button[aria-expanded='true'] svg{stroke:var(--accent)}
.status-details{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;width:min(510px,100%);min-width:0;transition:grid-template-rows .27s ease,opacity .2s ease,visibility .27s ease}
.status-details.is-open{grid-template-rows:1fr;opacity:1;visibility:visible}
.status-detail-inner{display:flex;flex-direction:column;align-items:stretch;min-height:0;overflow:hidden;width:100%;text-align:left}
.status-details.is-open .status-detail-inner{margin:9px 0 0;padding:19px clamp(15px,3.4vw,27px) 21px;background:var(--surface);border:1px solid var(--edge);border-radius:23px;box-shadow:var(--shadow)}
.service-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 6px}
.detail-label,.info-section-heading{font:650 10px/1.5 Outfit,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.105em;color:var(--muted)}
.period-switch{display:inline-flex;gap:1px;align-items:center;padding:3px;border-radius:11px;background:rgba(128,140,130,.12)}
.period-switch button{border:0;border-radius:8px;background:transparent;color:var(--muted);padding:6px 8px;min-height:29px;cursor:pointer;font:600 10px/1 Outfit,system-ui,sans-serif}
.period-switch button[aria-pressed='true']{background:var(--bg);color:var(--fg);box-shadow:0 1px 5px rgba(0,0,0,.05)}
.status-sync{display:flex;align-items:center;gap:8px;min-height:20px;margin:0 0 9px;font:450 10px/1.45 Outfit,system-ui,sans-serif;color:var(--muted)}
.status-sync::before{content:'';width:5px;height:5px;border-radius:50%;flex:none;background:var(--ok)}
.status-sync[data-state='issue']::before{background:var(--bad)}
.status-services,.infra-checks{display:flex;flex-direction:column;width:100%;gap:5px}
.service-row,.infra-row{display:flex;flex-direction:column;gap:5px;padding:11px 12px;background:rgba(128,140,130,.072);border-radius:12px;min-width:0}
.service-top,.service-uptime{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
.service-label,.infra-row-title{display:inline-flex;align-items:center;gap:9px;min-width:0;font:570 12px/1.5 Outfit,system-ui,sans-serif}
.service-label i,.infra-led{display:inline-block;flex:0 0 6px;width:6px;height:6px;background:var(--unknown);border-radius:50%}
.service-label i.ok,.infra-led[data-state='ok']{background:var(--ok)}
.service-label i.bad,.infra-led[data-state='bad']{background:var(--bad)}
.service-readings,.infra-reading{display:flex;flex-direction:column;align-items:flex-end;text-align:right;font:480 11px/1.42 Outfit,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.service-secondary,.infra-reading small{font-size:10px;color:var(--muted)}
.history-bars{display:flex;align-items:end;gap:2px;flex:1;min-width:0;height:11px}
.history-bar{display:block;flex:1 1 0;min-width:1px;height:100%;border-radius:3px;background:var(--unknown);opacity:.22}
.history-bar[data-quality='ok']{background:var(--ok);opacity:1}
.history-bar[data-quality='issue']{background:var(--bad);opacity:1}
.uptime-stat{flex:none;color:var(--muted);font:470 10px/1.25 Outfit,system-ui,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.history-note{margin:8px 1px 0;color:var(--muted);font:400 10px/1.6 Outfit,system-ui,sans-serif;text-wrap:pretty}
.status-access{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:45px;margin:11px 0 0;padding:11px 12px;border-radius:12px;background:rgba(128,140,130,.075);font:570 12px/1.45 Outfit,system-ui,sans-serif;transition:background .16s,color .16s}
.status-access:hover,.infra-status-link:hover{color:var(--accent);background:rgba(128,140,130,.13)}
.status-access svg,.network-row svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.access-name,.access-action{display:inline-flex;align-items:center;gap:9px}
.access-name svg,.access-action{color:var(--muted)}
.access-action{font-size:11px;font-weight:450;gap:4px}
.access-action svg{width:13px;height:13px}
.infra-section{margin:14px 0 0;width:100%}
.info-section-heading{margin:13px 1px 9px;text-align:left}
.infra-section .info-section-heading{margin:0 1px 9px}
.infra-row{flex-direction:row;align-items:center;justify-content:space-between;padding:10px 12px}
.infra-loading{font-size:11px;color:var(--muted);padding:8px 2px}
.infra-status-link{display:inline-flex;align-items:center;width:100%;min-height:35px;margin-top:4px;padding:8px 12px;color:var(--muted);font:490 11px/1.4 Outfit,system-ui,sans-serif;border-radius:10px;transition:background .16s,color .16s}
.network-info{width:100%;margin:0}
.network-info-inner{min-height:0;overflow:visible}
.network-rows{display:flex;flex-direction:column;gap:5px}
.network-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:0 10px;padding:8px 8px 8px 12px;background:rgba(128,140,130,.07);border-radius:12px}
.network-row-title{font:580 12px/1.45 Outfit,system-ui,sans-serif}
.net-health{margin-left:8px;color:var(--muted);font-size:10px;font-weight:450}
.net-health[data-state='ok']{color:var(--ok)}
.net-health[data-state='bad']{color:var(--bad)}
.network-row small{color:var(--muted);font:410 10px/1.5 Outfit,system-ui,sans-serif;grid-column:1;min-width:0}
.copy-button{grid-row:1 / span 2;grid-column:2;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}
.copy-button:hover,.copy-button[data-copied='true']{background:var(--surface-strong);color:var(--accent)}
.copy-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.copy-toast{display:block;min-height:0;color:var(--accent);font-size:10px}
.copy-toast:empty{display:none}
.pwa-install{align-self:flex-start;margin:14px 0 0;padding:9px 13px;border:0;border-radius:11px;background:var(--surface-strong);color:var(--fg);font:550 11px Outfit,system-ui,sans-serif;cursor:pointer}
.pwa-install[hidden]{display:none}
.pwa-install:hover{color:var(--accent)}
footer{grid-row:3;align-self:end;text-align:center;min-width:0;width:min(740px,100%);color:var(--muted);font:490 12px/1.5 Outfit,system-ui,sans-serif}
.network{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:clamp(13px,5vw,33px);padding:0;margin:0}
.network-item{display:inline-flex;align-items:center;justify-content:center;min-height:36px}
.network a{display:inline-flex;align-items:center;min-height:36px;padding:3px 5px;border-radius:8px;transition:color .18s,background .18s}
.network a:hover,.network a:focus-visible{color:var(--fg);background:var(--surface)}
.page.has-details{grid-template-rows:minmax(18px,.45fr) auto minmax(18px,.45fr)}
@media(max-width:640px){
 .page{grid-template-rows:minmax(20px,.7fr) auto minmax(25px,.8fr);padding:max(24px,env(safe-area-inset-top)) max(17px,env(safe-area-inset-right)) max(21px,env(safe-area-inset-bottom)) max(17px,env(safe-area-inset-left));gap:18px}
 .hero-eyebrow{font-size:9px;margin-top:4px;letter-spacing:.18em}
 .hero-logo{width:min(262px,62vw)}

 nav.links{gap:clamp(2px,2vw,14px);margin-top:24px}
 nav.links .link{font-size:clamp(11px,3.2vw,13px);padding:9px 5px;gap:5px}
 nav.links .link svg{width:15px;height:15px;flex-basis:15px}
 .status-inspector{margin-top:12px}
 .status-summary-row{font-size:11px}
 .status-details{width:min(480px,100%)}
 .page.has-details{grid-template-rows:minmax(14px,.23fr) auto minmax(13px,.24fr)}
 footer{font-size:11px}
}
@media(max-width:350px){
 .page{padding-left:12px;padding-right:12px}
 .hero-eyebrow{margin-top:4px}
 .hero-logo{width:min(220px,62vw)}
 nav.links{gap:0}
 nav.links .link{font-size:11px;padding:8px 5px;gap:4px}
 nav.links .link svg{width:14px;height:14px;flex-basis:14px}
 .status-details.is-open .status-detail-inner{padding:15px 11px}
}
@media(max-height:580px){.page{grid-template-rows:1fr auto 1fr;gap:12px}.hero-eyebrow{margin-top:2px}.status-inspector{margin-top:7px}nav.links{margin-top:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto;transition:none;animation:none}}
