/* Flow — shared stylesheet for content pages */
:root {
  --fg: #0b1a36;
  --muted: #5a6b89;
  --border: #e5ebf4;
  --bg: #fbfcfe;
  --surface: #ffffff;
  --brand-blue: #0c94ff;
  --brand-blue-dark: #0a6fbd;
  --brand-blue-50: #e8f4ff;
  --brand-purple: #6965f6;
  --brand-green: #0fb57a;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 70, 0.05), 0 4px 14px rgba(10, 30, 70, 0.05);
  --shadow-md: 0 10px 40px rgba(10, 30, 70, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }

/* Layout */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.shell--narrow { max-width: 820px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav__logo svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--fg); text-decoration: none; }
.nav__cta {
  background: var(--fg);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.nav__cta:hover { text-decoration: none; background: #152447; }
@media (max-width: 860px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* Hero */
.page-hero {
  padding: 88px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fbfcfe, #f3f7fd);
}
.page-hero__eyebrow {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  background: var(--brand-blue-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 18px;
}
.page-hero__sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.page-hero__cta {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn--primary:hover { background: #0a83e6; text-decoration: none; box-shadow: 0 6px 18px rgba(12, 148, 255, 0.35); }
.btn--ghost {
  background: #fff;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: #c9d5e8; text-decoration: none; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 14px;
}
.section__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 42px;
}
.section__lead--center { text-align: center; margin-left: auto; margin-right: auto; }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d6e2f4; }
.card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

/* Prose (long-form content) */
.prose { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #253251; }
.prose h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 48px 0 14px;
  color: var(--fg);
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--fg);
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code {
  background: #eef3fb;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: "Geist Mono", ui-monospace, monospace;
  color: #1b2b4d;
}
.prose pre {
  background: #0b1a36;
  color: #e6edf9;
  padding: 18px 22px;
  border-radius: 14px;
  overflow-x: auto;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 16px 0 22px;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 44px 32px;
  background: linear-gradient(140deg, #0b1a36, #152447);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 42px 0;
}
.stat-row__item strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(120deg, #7cb8ff, #c9b9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-row__item span { color: #9fb0ce; font-size: 13px; }
@media (max-width: 780px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-weight: 600;
  color: var(--fg);
  background: #f5f8fd;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}
.pill--ok { background: #e4f8ee; color: #0b6a45; }
.pill--warn { background: #fff6dd; color: #8a6a10; }
.pill--down { background: #fde4e4; color: #9b1f1f; }
.pill__dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; margin-right: 8px; vertical-align: middle; }
.status-dot--ok { background: #0fb57a; box-shadow: 0 0 0 3px rgba(15,181,122,0.18); }
.status-dot--warn { background: #e5a70a; box-shadow: 0 0 0 3px rgba(229,167,10,0.18); }
.status-dot--down { background: #d84242; box-shadow: 0 0 0 3px rgba(216,66,66,0.18); }

/* CTA strip */
.cta-strip {
  margin: 72px auto;
  max-width: 1180px;
  padding: 56px 48px;
  background: linear-gradient(130deg, #0c94ff, #6965f6);
  color: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
}
.cta-strip h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.cta-strip p { color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 24px; }
.cta-strip .btn--primary { background: #fff; color: var(--fg); }
.cta-strip .btn--primary:hover { background: #f1f5fb; }
.cta-strip .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-strip .btn--ghost:hover { border-color: rgba(255,255,255,0.8); }

/* Footer */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--border); background: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.footer__brand p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
  margin: 0 0 14px;
}
.footer a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer a:hover { color: var(--fg); text-decoration: none; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 600px) { .footer__bottom { flex-direction: column; gap: 12px; } }
.footer a.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  transition: border-color .15s ease, transform .15s ease;
}
.footer a.footer__status:hover { border-color: #c6d2e6; transform: translateY(-1px); text-decoration: none; color: var(--fg); }
.footer__status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9aa6bd;
  box-shadow: 0 0 0 3px rgba(154,166,189,0.18);
  flex: 0 0 auto;
}
.footer__status-label { display: inline-block; }
.footer__status[data-state="ok"]   .footer__status-dot { background: #0fb57a; box-shadow: 0 0 0 3px rgba(15,181,122,0.20); animation: footer-status-pulse 2.4s ease-in-out infinite; }
.footer__status[data-state="warn"] .footer__status-dot { background: #e5a70a; box-shadow: 0 0 0 3px rgba(229,167,10,0.22); }
.footer__status[data-state="down"] .footer__status-dot { background: #d84242; box-shadow: 0 0 0 3px rgba(216,66,66,0.22); }
@keyframes footer-status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(15,181,122,0.20); }
  50%      { box-shadow: 0 0 0 6px rgba(15,181,122,0.06); }
}
</content>
</invoke>