/* Fixila status page. Fonts, colors and the ring mark follow getfixila.com.
   Light and dark follow the device setting. Every status has an icon and
   words, never color alone. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-900: #04122a;
  --navy-800: #071a33;
  --navy-700: #0e2c52;
  --blue: #1f6fb2;
  --sky: #54afe6;
  --sky-light: #9fd3f5;
  --amber: #f2a541;

  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-2: #f8fbfe;
  --ink: #0f1e33;
  --ink-2: #33465e;
  --ink-3: #4a5b72;
  --heading: #0a1f3c;
  --line: #dce6f0;
  --link: #1f6fb2;
  --input: #8a9bb0;
  --shadow: 0 1px 2px rgba(10, 31, 60, 0.05), 0 8px 24px rgba(10, 31, 60, 0.06);
  --shadow-hover: 0 2px 4px rgba(10, 31, 60, 0.06), 0 14px 32px rgba(10, 31, 60, 0.1);

  /* Statuses: text color, soft background, solid accent. */
  --ok: #1e7a47;
  --ok-bg: #e7f7ee;
  --ok-solid: #1e8a4f;
  --warn: #8a5300;
  --warn-bg: #fff4e0;
  --warn-solid: #c98200;
  --partial: #a3410c;
  --partial-bg: #fdebe0;
  --partial-solid: #d0621f;
  --bad: #b3261e;
  --bad-bg: #fce8e6;
  --bad-solid: #c8352b;
  --maint: #1f5f99;
  --maint-bg: #e6f0fa;
  --maint-solid: #1f6fb2;
  --muted: #4a5b72;
  --muted-bg: #eef2f7;
  --bar-none: #dde6ef;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --tap: 44px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #06142a;
    --surface: #0c1f3b;
    --surface-2: #0f2546;
    --ink: #e7eff8;
    --ink-2: #c5d6e8;
    --ink-3: #a9bfd6;
    --heading: #f3f8fd;
    --line: #1d3a60;
    --link: #8ccaf2;
    --input: #5d7896;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 14px 32px rgba(0, 0, 0, 0.35);

    --ok: #74dca0;
    --ok-bg: rgba(95, 211, 141, 0.14);
    --ok-solid: #43b874;
    --warn: #f6c56f;
    --warn-bg: rgba(242, 165, 65, 0.16);
    --warn-solid: #e3a43a;
    --partial: #ffab80;
    --partial-bg: rgba(255, 140, 90, 0.15);
    --partial-solid: #ef7d43;
    --bad: #ff9b92;
    --bad-bg: rgba(255, 110, 100, 0.15);
    --bad-solid: #f0645a;
    --maint: #9dd0f6;
    --maint-bg: rgba(84, 175, 230, 0.16);
    --maint-solid: #54afe6;
    --muted: #b8cce0;
    --muted-bg: rgba(184, 204, 224, 0.12);
    --bar-none: #24426a;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  line-height: 1.25;
}
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  width: min(1040px, 100% - 32px);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 10px 16px;
  background: #fff;
  color: #071a33;
  border-radius: 8px;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Header and hero: one navy band, like the website's header. */
.top {
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(84, 175, 230, 0.22), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 72px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tap);
  color: #fff;
  text-decoration: none;
}
.brand .mark {
  flex: none;
}
.brand .word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
}
.brand .tag {
  padding: 3px 10px;
  border: 1px solid rgba(159, 211, 245, 0.45);
  border-radius: 999px;
  color: var(--sky-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--tap);
  color: #dcebf7;
  font-weight: 600;
  font-size: 0.95rem;
}
.top-link .arrow {
  width: 14px;
  height: 14px;
}
.who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  color: #dcebf7;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.hero {
  padding: 18px 0 30px;
}
.hero-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px clamp(18px, 3vw, 30px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(159, 211, 245, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
}
.hero-icon svg {
  width: 28px;
  height: 28px;
}
.hero-operational .hero-icon {
  background: #1e8a4f;
  box-shadow: 0 0 0 6px rgba(95, 211, 141, 0.18);
}
.hero-degraded .hero-icon {
  background: #c98200;
  box-shadow: 0 0 0 6px rgba(242, 165, 65, 0.2);
}
.hero-major .hero-icon {
  background: #c8352b;
  box-shadow: 0 0 0 6px rgba(240, 100, 90, 0.2);
}
.hero-maintenance .hero-icon,
.hero-prelaunch .hero-icon {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(84, 175, 230, 0.2);
}
.hero-delayed .hero-icon {
  background: #4a5b72;
  box-shadow: 0 0 0 6px rgba(184, 204, 224, 0.15);
}
.hero h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.hero-sub {
  margin-top: 6px;
  color: #dcebf7;
  font-size: 1.02rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-top: 12px;
  color: #b8cce0;
  font-size: 0.9rem;
}
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border-radius: 50%;
  background: #5fd38d;
  box-shadow: 0 0 0 0 rgba(95, 211, 141, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 211, 141, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(95, 211, 141, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 211, 141, 0);
  }
}
.heads-up {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(242, 165, 65, 0.12);
  color: #ffe3b3;
  font-size: 0.92rem;
}
.heads-up .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

main {
  padding-block: 32px 56px;
}

/* Sections */
.block {
  margin-top: 40px;
}
.block:first-child {
  margin-top: 0;
}
.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 14px;
}
.block-note {
  color: var(--ink-3);
  font-size: 0.9rem;
}
.block-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  font-size: 0.95rem;
}
.block > h2 {
  margin-bottom: 14px;
}
.intro {
  margin: -6px 0 18px;
  color: var(--ink-2);
}

/* Status pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.3;
  white-space: nowrap;
}
.pill-operational {
  color: var(--ok);
  background: var(--ok-bg);
}
.pill-maintenance {
  color: var(--maint);
  background: var(--maint-bg);
}
.pill-degraded {
  color: var(--warn);
  background: var(--warn-bg);
}
.pill-partial {
  color: var(--partial);
  background: var(--partial-bg);
}
.pill-major {
  color: var(--bad);
  background: var(--bad-bg);
}
.pill-unknown,
.pill-not-live {
  color: var(--muted);
  background: var(--muted-bg);
}

/* Fixila services: cards in a grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.svc:has(.uptime) {
  grid-column: 1 / -1;
}
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
}
.svc-name {
  font-size: 1.05rem;
  font-weight: 700;
}
.svc-desc {
  color: var(--ink-3);
  font-size: 0.93rem;
}
.soon-title {
  margin: 26px 0 12px;
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 700;
}
.svc-grid.soon .svc-head {
  flex-direction: column;
}
.svc-grid.soon .svc {
  background: var(--surface-2);
  box-shadow: none;
  border-style: dashed;
}

/* 90-day uptime */
.uptime {
  position: relative;
  min-width: 0;
}
.bars {
  display: flex;
  gap: 2px;
  height: 36px;
  border-radius: 8px;
}
.bars span {
  flex: 1 1 0;
  min-width: 1px;
  border-radius: 3px;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease;
}
.bars[data-ready] span {
  cursor: pointer;
}
.bars[data-ready]:hover span:not(:hover):not(.is-active),
.bars[data-ready].has-active span:not(.is-active) {
  opacity: 0.55;
}
.bars span.is-active,
.bars span:hover {
  transform: scaleY(1.12);
}
.day-ok {
  background: var(--ok-solid);
}
.day-degraded {
  background: var(--warn-solid);
}
.day-partial {
  background: var(--partial-solid);
}
.day-major {
  background: var(--bad-solid);
}
.day-none {
  background: var(--bar-none);
}
.bar-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translateY(calc(-100% - 8px));
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: var(--shadow-hover);
  pointer-events: none;
}
.bar-tip strong {
  display: block;
  font-weight: 700;
}
.uptime-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.84rem;
}
.uptime-words .pct {
  color: var(--ink-2);
  font-weight: 700;
}
.downtime {
  margin-top: 2px;
  font-size: 0.9rem;
}
.downtime summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--link);
  font-weight: 600;
  cursor: pointer;
}
.downtime ul {
  margin: 0;
  padding-left: 1.1em;
}

/* Incidents and maintenance: a timeline */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.tl {
  position: relative;
}
.tl + .tl {
  margin-top: 14px;
}
.tl-dot {
  position: absolute;
  top: 22px;
  left: -26px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--muted);
}
.tl-major .tl-dot {
  background: var(--bad-solid);
}
.tl-partial .tl-dot {
  background: var(--partial-solid);
}
.tl-degraded .tl-dot {
  background: var(--warn-solid);
}
.tl-maintenance .tl-dot {
  background: var(--maint-solid);
}
.tl-resolved .tl-dot {
  background: var(--ok-solid);
}
.tl-card {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px 12px;
}
.tl-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.tl-title a {
  color: var(--heading);
}
.tl-meta {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.updates {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}
.updates li {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.updates li + li {
  margin-top: 10px;
}
.u-head {
  font-size: 0.86rem;
}
.updates .stage {
  font-weight: 700;
  color: var(--ink-2);
}
.updates time {
  color: var(--ink-3);
}
.updates p + p {
  margin-top: 4px;
}
.good-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--ok-solid);
  border-radius: var(--radius);
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
}

/* Vendors: compact cards per group */
.vgroup + .vgroup {
  margin-top: 22px;
}
.group-title {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.vhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mono {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.mono-1 {
  background: #1f6fb2;
}
.mono-2 {
  background: #0e6f78;
}
.mono-3 {
  background: #5b4bb5;
}
.mono-4 {
  background: #33465e;
}
.mono-5 {
  background: #8a4f9a;
}
.vtitle {
  min-width: 0;
}
.vcard .pill,
.svc .pill {
  max-width: 100%;
  white-space: normal;
}
.vstate {
  display: flex;
}
.vname {
  font-size: 1rem;
  font-weight: 700;
}
.vnote {
  color: var(--ink-3);
  font-size: 0.86rem;
  line-height: 1.4;
}
.vinc {
  font-size: 0.9rem;
}
.vinc summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--link);
  font-weight: 600;
  cursor: pointer;
}
.vinc-other summary {
  color: var(--ink-3);
}
.vinc-list {
  margin: 0;
  padding-left: 1.1em;
}
.vinc-list li + li {
  margin-top: 6px;
}
.vinc .stage {
  color: var(--ink-3);
  font-size: 0.82rem;
  text-transform: capitalize;
}
.vinc .what {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.84rem;
}
.vlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: auto;
}
.vcomp {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}
.vcomp li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.vcomp .pill {
  padding: 2px 9px;
  font-size: 0.78rem;
}
.vlink {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Subscribe card */
.subscribe-card {
  margin-top: 44px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(84, 175, 230, 0.16), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.sub-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.sub-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
}
.sub-icon svg {
  width: 24px;
  height: 24px;
}
.sub-lead {
  margin-top: 4px;
  color: var(--ink-2);
}
.subscribe > label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.subscribe .hint,
.subscribe-card .hint {
  margin-top: 10px;
}
.feeds {
  margin-top: 6px;
}

/* Shared: cards, page titles, crumbs */
.card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card + .card {
  margin-top: 16px;
}
.narrow {
  max-width: 640px;
  margin-inline: auto;
}
.narrow h1 {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
}
.narrow p + p,
.narrow form {
  margin-top: 12px;
}
.page-title {
  margin: 4px 0 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
}
.crumbs {
  margin-bottom: 4px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.none {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--muted-bg);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.brand .tag {
  margin-left: 0;
  background: none;
}
.desc {
  color: var(--ink-3);
  font-size: 0.95rem;
}
.stage {
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* Admin lists (rows inside a card) */
.list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 20px;
}
.row + .row {
  border-top: 1px solid var(--line);
}
.what {
  flex: 1 1 280px;
  min-width: 0;
}
.name {
  font-size: 1rem;
  font-weight: 700;
}
.name a {
  color: var(--heading);
}
.state {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.group-title + .list {
  margin-top: 0;
}

/* Forms (subscribe and admin): big, touch-friendly fields and buttons */
.form h2 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.form {
  margin-top: 16px;
}
.field {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field > label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.hint {
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 400;
}
.field .hint {
  margin: -2px 0 6px;
}
input[type='text'],
input[type='email'],
input[type='datetime-local'],
select,
textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 10px 12px;
  border: 1px solid var(--input);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
input::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 1px;
}
.checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 16px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  font-weight: 400;
}
.check input {
  width: 22px;
  height: 22px;
  flex: none;
  accent-color: var(--blue);
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.field-row input {
  flex: 1 1 240px;
  width: auto;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 10px 22px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #185d96;
  border-color: #185d96;
}
button.secondary,
.button.secondary {
  background: var(--surface);
  color: var(--link);
  border-color: currentColor;
}
button.danger {
  border-color: var(--bad);
  background: var(--surface);
  color: var(--bad);
}
button.small {
  padding: 6px 14px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.inline-form {
  display: inline;
  margin: 12px 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.flash {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 5px solid var(--ok-solid);
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
}
.error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 5px solid var(--bad-solid);
  border-radius: 10px;
  background: var(--bad-bg);
  color: var(--bad);
}
.error ul {
  margin: 4px 0 0;
  padding-left: 1.2em;
}

/* Admin tables: they scroll inside their box on a phone, never the page */
.table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-wrap:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
caption {
  padding: 12px 16px 0;
  text-align: left;
  font-weight: 700;
}
th,
td {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
thead th {
  border-top: 0;
  color: var(--ink-2);
  font-size: 0.85rem;
}

/* Footer */
.foot {
  background: var(--navy-900);
  color: #c5d6e8;
  font-size: 0.93rem;
}
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: #dcebf7;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px 40px;
  padding-block: 36px 40px;
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}
.foot-h {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vcard {
    gap: 6px;
    padding: 14px;
  }
  .vlink {
    margin-top: 0;
  }
  .svc-grid,
  .vgrid {
    gap: 10px;
  }
  .hero-card {
    gap: 14px;
  }
  .hero-icon {
    width: 44px;
    height: 44px;
  }
  .hero-icon svg {
    width: 24px;
    height: 24px;
  }
  .uptime-words span:first-child,
  .uptime-words span:last-child {
    display: none;
  }
  .state {
    align-items: flex-start;
  }
  .row {
    padding: 14px 16px;
  }
  .brand .word {
    font-size: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
