/* status.kadeep.ai: the same board of tiles as the docs footer. Answering is green, slow is amber,
   not answering is red. The verdict tile takes the colour of the state; every check adds one dot. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --blue: #2783D4; --amber: #F2B33D; --red: #F0614E;
  --green: #22C55E; --green-tile: #22C55E;
  --display: "Satoshi", "Inter", system-ui, sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --pill: 999px; --r: 16px; --gap: 8px;
  --max: 1360px; --margin: clamp(20px, 4vw, 48px); --section: clamp(88px, 9vw, 144px);
  --bg: #0A0A0A; --tile: #141416; --tile-2: #1C1C20; --tile-3: #26262B;
  --ink: #FAFAFA; --text-1: #D4D4D8; --text-2: #A1A1AA; --link: #6FAEE6; --btn: #2276C2; --btn-hover: #2783D4;
  --dot-off: #26262B;
  color-scheme: dark;
}
:root[data-theme=light] {
  --bg: #FFFFFF; --tile: #F4F4F5; --tile-2: #EBEBEE; --tile-3: #E1E1E5;
  --ink: #0A0A0A; --text-1: #3F3F46; --text-2: #5A5A63; --link: #2276C2; --btn-hover: #2783D4;
  --green: #16A34A;
  --dot-off: #E1E1E5; --amber: #D99A1E; --red: #D9442F;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
.st-skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.st-skip:focus { left: 8px; }
.st-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.st-section { padding-top: var(--section); }

.st-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: var(--pill); font: 550 15px/1 var(--text); text-decoration: none; transition: background-color .18s; }
.st-btn-primary { background: var(--btn); color: #fff; }
.st-btn-primary:hover { background: var(--btn-hover); }
.st-btn-quiet { background: var(--tile-2); color: var(--ink); }
.st-btn-quiet:hover { background: var(--tile-3); }

.st-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 20px; background: var(--bg); }
.st-brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.st-lockup { height: 25px; width: auto; display: block; }
.st-lockup .st-wm { fill: currentColor; }
.st-brand-sub { position: relative; margin-left: 11px; padding-left: 11px; font: 500 17px/1 var(--display); color: var(--text-2); }
.st-brand-sub::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .55; }
.st-top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.st-theme { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tile-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.st-theme:hover { background: var(--tile-3); }
.st-theme .st-sun { display: none; }
:root[data-theme=dark] .st-theme .st-sun { display: block; }
:root[data-theme=dark] .st-theme .st-moon { display: none; }

/* ---------- Verdict ---------- */
.st-board { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); padding: var(--gap); }
.st-tile { border-radius: var(--r); background: var(--tile); }
.st-now { min-height: clamp(360px, 46vh, 520px); padding: clamp(24px, 3vw, 44px); display: grid; align-content: space-between; gap: 24px; transition: background-color .5s ease, color .5s ease; }
.st-now h1 { font: 500 clamp(44px, 6.6vw, 112px)/0.95 var(--display); letter-spacing: -0.05em; max-width: 12ch; text-wrap: balance; }
.st-lede { font-size: 17px; line-height: 1.5; max-width: 52ch; }
.st-now[data-state=ok] { background: var(--green-tile); color: #0A0A0A; }
.st-now[data-state=slow] { background: var(--amber); color: #0A0A0A; }
.st-now[data-state=down] { background: var(--red); color: #0A0A0A; }
.st-now-dot span { display: block; width: 18px; height: 18px; border-radius: 50%; background: currentColor; position: relative; }
.st-now-dot span::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: st-ping 2s ease-out infinite; }
@keyframes st-ping { from { transform: scale(.5); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.st-how { padding: clamp(24px, 2.6vw, 36px); display: grid; align-content: start; gap: 14px; }
.st-how h2 { font: 500 22px/1.2 var(--display); letter-spacing: -0.01em; }
.st-how p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.st-how .st-checked { margin-top: auto; font-size: 15px; color: var(--text-2); }
.st-how time { font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- Services ---------- */
.st-head { max-width: 700px; margin-bottom: 32px; }
.st-head h2 { font: 500 clamp(34px, 3.4vw, 44px)/1.04 var(--display); letter-spacing: -0.03em; }
.st-head p { margin-top: 14px; color: var(--ink); }
.st-services { display: grid; gap: 6px; }
.st-svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 4fr) 200px; align-items: center; gap: 20px; min-height: 76px; padding: 12px 20px 12px 24px; background: var(--tile); border-radius: 14px; }
.st-svc-name { display: grid; gap: 2px; }
.st-svc-name strong { font: 500 22px/1.2 var(--display); letter-spacing: -0.01em; }
.st-svc-name span { font-size: 15px; color: var(--text-2); }
.st-svc-host { font-size: 15px; color: var(--text-2); text-decoration: none; }
.st-svc-host:hover { color: var(--link); }
.st-svc-dots { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; justify-content: flex-end; min-height: 12px; }
.st-svc-dots span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot-off); animation: st-in .4s var(--ease); }
.st-svc-dots span.ok { background: var(--green); }
.st-svc-dots span.slow { background: var(--amber); }
.st-svc-dots span.down { background: var(--red); }
@keyframes st-in { from { transform: scale(0); } to { transform: none; } }
.st-svc-state { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-2); }
[data-state=checking] .st-dot { animation: st-blink 1s ease-in-out infinite; }
@keyframes st-blink { 50% { opacity: .25; } }
[data-state=ok] .st-dot { background: var(--green); }
[data-state=slow] .st-dot { background: var(--amber); }
[data-state=down] .st-dot { background: var(--red); }
[data-state=down] [data-text] { color: var(--red); }

/* ---------- Inside your workspace ---------- */
.st-inside-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); align-items: stretch; }
.st-inside-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.st-surfaces { background: var(--btn); border-radius: var(--r); padding: 28px 28px 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 18px; overflow: hidden; }
.st-surfaces figcaption { font: 600 15px/1.4 var(--text); color: #FFFFFF; }
.st-surfaces img { width: 100%; max-width: 300px; height: auto; border-radius: 18px 18px 0 0; justify-self: center; align-self: end; display: block; }
.st-surfaces .st-light-only { display: none; }
:root[data-theme=light] .st-surfaces .st-light-only { display: block; }
:root[data-theme=light] .st-surfaces .st-dark-only { display: none; }
.st-js .st-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.st-js .st-in.is-in { opacity: 1; transform: none; }
.st-inside-list li { background: var(--tile); border-radius: var(--r); padding: 24px; display: grid; gap: 6px; }
.st-inside-list strong { font: 500 22px/1.2 var(--display); letter-spacing: -0.01em; }
.st-inside-list span { font-size: 15px; color: var(--text-2); }

/* ---------- Incidents ---------- */
.st-empty { background: var(--tile); border-radius: var(--r); padding: 28px; font: 500 22px/1.3 var(--display); color: var(--text-1); }
.st-incidents { display: grid; gap: var(--gap); }
.st-inc { background: var(--tile); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; }
.st-inc-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.st-inc-head h3 { font: 500 22px/1.2 var(--display); }
.st-inc-when { font-size: 15px; color: var(--text-2); }
.st-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; font: 600 15px/1 var(--text); background: var(--tile-3); }
.st-pill-resolved { background: var(--green-tile); color: #0A0A0A; }
.st-pill-investigating, .st-pill-identified { background: var(--red); color: #0A0A0A; }
.st-pill-monitoring, .st-pill-scheduled { background: var(--amber); color: #0A0A0A; }
.st-updates { display: grid; gap: 10px; margin-top: 6px; }
.st-updates li { display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.st-updates time { font-size: 15px; color: var(--text-2); }

/* ---------- Footer ---------- */
.st-footer { margin-top: var(--section); padding: var(--gap); display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.st-ftile { background: var(--tile); border-radius: 18px; padding: 26px; min-height: 220px; display: flex; flex-direction: column; gap: 14px; }
.st-ftile h2 { font: 500 15px/1.3 var(--text); color: var(--text-2); }
.st-ftile ul { display: grid; gap: 9px; }
.st-ftile a { color: var(--ink); text-decoration: none; font-size: 17px; }
.st-ftile a:hover { color: var(--link); }
.st-f-statement { grid-column: span 4; justify-content: space-between; }
.st-f-say { font: 500 22px/1.25 var(--display); letter-spacing: -0.015em; max-width: 22ch; }
.st-f-legal { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.st-f-legal a { font-size: 15px; }
.st-f-nav { grid-column: span 3; }
.st-f-contact { grid-column: span 5; justify-content: space-between; }
.st-f-clock { font: 500 22px/1.2 var(--display); }
.st-f-clock > span { display: block; font: 400 15px/1.4 var(--text); color: var(--text-2); margin-top: 6px; }
.st-f-mail { font: 500 22px/1.2 var(--display) !important; }
.st-f-social { display: flex !important; gap: 8px 16px; flex-wrap: wrap; }
.st-f-social a { font-size: 15px; color: var(--text-2); }
.st-f-mark { grid-column: 1 / -1; min-height: 0; background: var(--tile); padding: 28px 32px; }
.st-f-mark svg { width: min(100%, 720px); height: auto; display: block; }
.st-f-mark .st-wm { fill: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .st-now-dot span::after, [data-state=checking] .st-dot, .st-svc-dots span { animation: none; }
  .st-now { transition: none; }
}
@media (max-width: 1000px) {
  .st-board { grid-template-columns: 1fr; }
  .st-svc { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name state" "host host" "dots dots"; gap: 8px 16px; padding: 16px; }
  .st-svc-name { grid-area: name; } .st-svc-host { grid-area: host; } .st-svc-dots { grid-area: dots; justify-content: flex-start; } .st-svc-state { grid-area: state; }
  .st-inside-grid { grid-template-columns: 1fr; }
  .st-f-statement, .st-f-contact { grid-column: span 12; min-height: 0; }
  .st-f-nav { grid-column: span 12; min-height: 0; }
}
@media (max-width: 640px) {
  :root { --gap: 6px; }
  .st-top { padding: 0 12px; gap: 12px; }
  .st-lockup { height: 21px; }
  .st-hide-s { display: none; }
  .st-now h1 { font-size: 12vw; }
  .st-inside-list { grid-template-columns: 1fr; }
  .st-updates li { grid-template-columns: 1fr; gap: 4px; }
}
