/* PAiR marketing site — "Always-On Authority"
 *
 * Editorial system ported from PAiR for People: Source Serif 4 for everything
 * meant to be read, IBM Plex Sans for everything meant to be used, Plex
 * Mono for kickers and figures. Big type, warm paper, one confident green.
 * Motion: reveal-on-scroll, slow radar rings (the always-on motif), one
 * sheen on the primary CTA. No gradients-on-black AI clichés.
 */

/* Palette: PAiR for People's dark theme, token for token (app.css :root dark
   block). Dark is the only mode (John, 2026-09-02). */
:root {
  --paper: #0A0E17;            /* pair_direct --bg */
  --paper-deep: #080C14;       /* --surface-sunken */
  --ice: #0F1726;
  --surface: #111827;          /* --surface */
  --ink: #E8E6E1;              /* --text-primary */
  --ink-soft: #B0BCC8;         /* --text-secondary */
  --ink-mute: #8E9BAA;         /* --text-muted */
  --line: #1E2A3B;             /* --border */
  --green: #60D2B9;            /* --primary (mint) */
  --green-deep: #7EDDC8;       /* --primary-hover */
  --green-btn: #60D2B9;        /* --primary-btn */
  --mint: #60D2B9;
  --green-tint: rgba(96, 210, 185, 0.12);   /* --primary-subtle */
  --glass-bg: rgba(17, 24, 39, 0.55);       /* pair_direct dark pd-glass */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.18);
  --dark: #111827;             /* the 'ink' band steps up one surface */
  --dark-ink: #E8E6E1;
  --dark-line: rgba(232, 230, 225, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --maxw: 1120px;
  color-scheme: dark;
}

/* pair_direct's dark primary is mint with near-black text */
.mk-btn-primary, .mk-links > a.mk-btn-primary, .mk-links > a.mk-btn-primary:hover { color: #071519; }
.mk-btn-primary:hover { background: var(--green-deep); }
.mk-typepill-win { color: #071519; }
.mk-nav { background: color-mix(in srgb, var(--paper) 82%, transparent); }
.mk-section-ink .mk-table td { color: rgba(232, 230, 225, 0.65); }
.mk-draft-chip { color: #E9C46A; background: rgba(233, 196, 106, 0.12); border-color: rgba(233, 196, 106, 0.3); }
.mk-flash { background: var(--surface); }
.mk-flash-error { background: rgba(217, 43, 43, 0.12); border-color: rgba(217, 43, 43, 0.4); color: #F2A7A7; }

/* Bigger base type, same move as the pair_direct shell */
html { font-size: 17.5px; scroll-behavior: smooth; }
@media (max-width: 700px) { html { font-size: 16.5px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }

.mk-body {
  /* Belt and braces against horizontal sliding: 'clip' (not 'hidden') so the
     body never becomes a scroll container and the sticky nav keeps working. */
  overflow-x: clip;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* PAiR for People's rule, exactly: titles are IBM Plex Sans (the app's h1
   1.75rem/700, h3 1.125rem/600), the serif is for reading only. */
h1, h2, h3 { font-family: var(--sans); color: var(--ink); }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
/* Reading voice: anything meant to be read at length */
.mk-prose, .mk-prose p, .mk-hero-sub, .mk-section-lead, .mk-card > p,
.mk-split-copy p, .mk-feature-body > p, .mk-cta-band p, .mk-chart-note,
.mk-advisor p:last-child, .mk-card-fit { font-family: var(--serif); }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

.mk-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.mk-skip:focus { left: 12px; top: 12px; color: var(--paper); }

/* --- Nav ----------------------------------------------------------------- */
.mk-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.mk-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18,49,60,0.25); }
.mk-nav { padding: 0 1.5rem; }
.mk-nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.8rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.mk-logo { display: flex; align-items: center; }
.mk-logo img { height: 34px; width: auto; display: block; }
@media (max-width: 700px) { .mk-logo img { height: 30px; } }
.mk-links { display: flex; align-items: center; gap: 1.6rem; }
.mk-links > a:not(.mk-btn) {
  color: var(--ink-soft); font-weight: 400; font-size: 0.94rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.mk-links > a:not(.mk-btn):hover { color: var(--ink); }
.mk-links > a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.mk-links > a.mk-btn-primary, .mk-links > a.mk-btn-primary:hover { color: #fff; }
.mk-nav-signin { color: var(--ink-mute) !important; }
.mk-menu-btn { display: none; }

/* --- Buttons ------------------------------------------------------------- */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  padding: 0.62rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease,
    background 160ms ease, color 160ms ease, border-color 160ms ease;
  position: relative; overflow: hidden;
}
.mk-btn-lg { padding: 0.85rem 1.9rem; font-size: 1.02rem; }
.mk-btn-primary { background: var(--green-btn); color: #fff; }
.mk-btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.mk-btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.mk-btn-ghost:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.mk-nav-cta { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* One-time sheen across the hero CTA, borrowed from the pair_direct delight layer */
.mk-sheen::after {
  content: ''; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-130%);
  animation: mk-sheen 1400ms cubic-bezier(0.4, 0, 0.2, 1) 900ms 1 forwards;
}
@keyframes mk-sheen { to { transform: translateX(330%); } }

.mk-textlink {
  background: none; border: 0; font-family: var(--sans); font-size: 0.95rem;
  font-weight: 500; color: var(--green); cursor: pointer; padding: 0;
}
.mk-textlink:hover { color: var(--green-deep); }

/* --- Layout -------------------------------------------------------------- */
.mk-section { padding: 5.5rem 1.5rem; }
.mk-section-inner { max-width: var(--maxw); margin: 0 auto; }
.mk-narrow { max-width: 720px; }
.mk-section-lead { max-width: 640px; color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.05rem; }
.mk-section h2 + .mk-cards, .mk-section-lead + .mk-cards { margin-top: 2.6rem; }

.mk-kicker {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.9rem;
}

.mk-fineprint { font-size: 0.8rem; color: var(--ink-mute); margin-top: 2rem; }

/* --- Hero ---------------------------------------------------------------- */
.mk-hero { position: relative; overflow: hidden; padding: 6rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--ice) 0%, var(--paper) 62%); }
.mk-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.mk-hero h1 { max-width: 640px; }
.mk-hero-sub {
  font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.6;
  color: var(--ink-soft); max-width: 600px; margin-top: 1.1rem;
}
.mk-hero-cta { display: flex; gap: 0.9rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* The always-on motif: slow radar rings breathing behind the hero */
.mk-rings { position: absolute; top: 50%; right: -180px; width: 720px; height: 720px;
  transform: translateY(-50%); pointer-events: none; }
.mk-rings span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--mint);
  opacity: 0; animation: mk-ring 9s linear infinite;
}
.mk-rings span:nth-child(2) { animation-delay: 2.25s; }
.mk-rings span:nth-child(3) { animation-delay: 4.5s; }
.mk-rings span:nth-child(4) { animation-delay: 6.75s; }
@keyframes mk-ring {
  0% { transform: scale(0.25); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: scale(1); opacity: 0; }
}
@media (max-width: 900px) { .mk-rings { right: -320px; opacity: 0.6; } }

/* --- Page head (interior pages) ------------------------------------------ */
.mk-pagehead { padding: 5.5rem 1.5rem 1rem; }
.mk-pagehead h1 { max-width: 800px; }
.mk-pagehead .mk-hero-sub { margin-top: 1.2rem; }

/* --- Cards ----------------------------------------------------------------*/
.mk-cards { display: grid; gap: 1.4rem; }
.mk-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .mk-cards-3, .mk-cards-2 { grid-template-columns: 1fr; } }

.mk-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: 0 1px 2px rgba(18,49,60,0.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.mk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mk-card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.mk-card-icon { width: 44px; height: 44px; color: var(--green); }
.mk-card-icon svg { width: 100%; height: 100%; }
.mk-card-tag {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
}
.mk-cards-tall .mk-card { padding: 2.2rem; }
.mk-card-engage .mk-btn { margin-top: auto; align-self: flex-start; }
.mk-card-fit { font-size: 0.86rem; color: var(--ink-mute); font-style: italic; }
.mk-card-sent { padding: 2.4rem; }
.mk-card-post h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.mk-draft-chip {
  display: inline-block; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: #8a6d1d;
  background: #faf3dd; border: 1px solid #ecdfb3; border-radius: 999px;
  padding: 2px 10px; align-self: flex-start;
}

/* --- Stats band (dark) ---------------------------------------------------- */
.mk-section-ink { background: var(--dark); color: var(--dark-ink); }
.mk-section-ink h2 { color: #fff; }
.mk-section-ink .mk-kicker { color: var(--mint); }
.mk-section-ink .mk-fineprint { color: rgba(232,240,238,0.5); }
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .mk-stats { grid-template-columns: 1fr; } }
.mk-stat { border-top: 1px solid var(--mint); padding-top: 1.1rem; }
.mk-stat-value {
  font-family: var(--sans); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600; line-height: 1.05; color: #fff; letter-spacing: -0.02em;
}
.mk-stat-label { margin-top: 0.5rem; font-size: 0.95rem; }
.mk-stat-note { margin-top: 0.3rem; font-size: 0.8rem; color: rgba(232,240,238,0.55); }

/* --- Split (copy + visual) ------------------------------------------------ */
.mk-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
@media (max-width: 900px) { .mk-split { grid-template-columns: 1fr; gap: 2.4rem; } }
.mk-split-copy p { color: var(--ink-soft); margin-top: 1rem; max-width: 560px; }
.mk-split-copy .mk-textlink { display: inline-block; margin-top: 1.4rem; }

/* Simple honest bar chart, no library */
.mk-chart {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.mk-chart figcaption {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.4rem;
}
.mk-chart-bars { display: flex; align-items: flex-end; gap: 2.2rem; height: 200px; padding: 0 1rem; }
.mk-chart-bar {
  flex: 1; height: var(--h); background: var(--green-tint);
  border-radius: 8px 8px 0 0; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  transform-origin: bottom; animation: mk-grow 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mk-chart-bar-hi { background: var(--green); animation-delay: 250ms; }
.mk-chart-bar { background: rgba(96, 210, 185, 0.18); }
.mk-chart-bar span {
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  position: absolute; top: -2rem; color: var(--ink);
}
.mk-chart-bar em {
  position: absolute; bottom: -1.7rem; font-style: normal;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
}
@keyframes mk-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mk-chart-note { margin-top: 3rem; font-size: 0.85rem; color: var(--ink-mute); }

.mk-bigfig {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem; text-align: center; box-shadow: var(--shadow);
}
.mk-bigfig-value { font-family: var(--sans); font-weight: 600; font-size: 2.8rem; color: var(--green); line-height: 1; letter-spacing: -0.02em; }
.mk-bigfig-label { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.95rem; }

/* --- Feature list (technology) -------------------------------------------- */
.mk-feature-list { display: flex; flex-direction: column; gap: 0; }
.mk-feature {
  display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 2rem;
  padding: 2.6rem 0; border-top: 1px solid var(--line);
}
.mk-feature:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .mk-feature { grid-template-columns: 1fr; gap: 0.8rem; } }
.mk-feature-num {
  font-family: var(--mono); font-size: 1rem; color: var(--green);
  padding-top: 0.45rem;
}
.mk-feature-body h2 { font-size: 1.3rem; font-weight: 600; }
.mk-feature-lead {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08rem;
  color: var(--ink-soft); margin: 0.5rem 0 0.7rem;
}
.mk-feature-body > p:last-child { color: var(--ink-soft); max-width: 720px; }

/* --- Comparison table ------------------------------------------------------*/
.mk-table-wrap { overflow-x: auto; margin-top: 2.4rem; border-radius: var(--radius); }
.mk-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.92rem; }
.mk-table th, .mk-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--dark-line); }
.mk-table thead th {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(232,240,238,0.6); font-weight: 500;
}
.mk-table tbody td:first-child { color: #fff; font-weight: 400; }
.mk-table td { color: rgba(232,240,238,0.65); }
.mk-table .mk-table-pair { color: var(--mint); font-weight: 500; background: rgba(92, 207, 180, 0.07); }
.mk-table thead .mk-table-pair { color: var(--mint); }

/* --- Checklist -------------------------------------------------------------*/
.mk-checklist { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.mk-checklist li { padding-left: 2rem; position: relative; color: var(--ink-soft); }
.mk-checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.28rem; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D7368' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}

/* --- Tint + narrow prose sections ------------------------------------------*/
.mk-section-tint { background: var(--paper-deep); }
.mk-prose p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.mk-prose p + p { margin-top: 1.2rem; }
.mk-narrow h2 { margin-bottom: 1.4rem; }
.mk-narrow .mk-btn { margin-top: 1.8rem; }

/* --- People -----------------------------------------------------------------*/
.mk-card-person { align-items: flex-start; }
.mk-person-mark {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-tint); color: var(--green);
  font-family: var(--sans); font-weight: 600; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.mk-person-photo { object-fit: cover; display: block; }
.mk-person-role {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute) !important;
}
.mk-advisors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.8rem; }
@media (max-width: 900px) { .mk-advisors { grid-template-columns: 1fr; } }
.mk-advisor {
  border-left: 3px solid var(--green); padding: 0.4rem 0 0.4rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.mk-advisor p:last-child { color: var(--ink-soft); font-size: 0.97rem; }

/* --- CTA band ---------------------------------------------------------------*/
.mk-cta-band {
  padding: 5.5rem 1.5rem; text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;   /* the 560px glow (::after) was widening the page on phones */
}
.mk-cta-band h2 { max-width: 640px; margin: 0 auto; }
.mk-cta-band p { color: var(--ink-soft); margin: 1rem auto 1.8rem; max-width: 520px; }
/* A band with no paragraph (About) still needs air between heading and button */
.mk-cta-band h2 + .mk-btn { margin-top: 1.8rem; }

/* --- Forms -------------------------------------------------------------------*/
.mk-form { display: flex; flex-direction: column; gap: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.mk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 640px) { .mk-form-row { grid-template-columns: 1fr; } }
.mk-field { display: flex; flex-direction: column; gap: 0.4rem; border: 0; }
.mk-field > span, .mk-field legend {
  font-weight: 500; font-size: 0.9rem; color: var(--ink);
}
.mk-field > span em { font-weight: 400; color: var(--ink-mute); font-style: normal; }
.mk-field input[type="text"], .mk-field input[type="email"], .mk-field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.9rem; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.mk-field textarea { font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; resize: vertical; }
.mk-field input:focus, .mk-field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13, 115, 104, 0.14);
}
.mk-field-choices legend { margin-bottom: 0.6rem; }
.mk-choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.mk-choice span {
  display: inline-block; padding: 0.45rem 1.05rem; border-radius: 10px;
  border: 1px solid var(--line); font-size: 0.92rem; font-weight: 400;
  color: var(--ink-soft); cursor: pointer; transition: all 150ms ease;
}
.mk-choice input:checked + span { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.mk-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(13, 115, 104, 0.25); }
.mk-choice span:hover { border-color: var(--ink-soft); }
.mk-form .mk-btn { align-self: flex-start; }
.mk-form .mk-fineprint { margin-top: 0; }
.mk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mk-flashes { max-width: var(--maxw); margin: 1rem auto 0; }
.mk-flash {
  border-radius: 10px; padding: 0.8rem 1.1rem; font-size: 0.95rem;
  border: 1px solid var(--line); background: var(--surface);
}
.mk-flash-error { border-color: #E5B8B0; background: #FBF1EF; color: #7C2D22; }

/* --- Modals -------------------------------------------------------------------*/
.mk-modal {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 49, 60, 0.45); padding: 1.5rem;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.mk-modal[hidden] { display: none; }
.mk-modal-card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 2.6rem; position: relative;
  display: flex; flex-direction: column; gap: 0.7rem;
  animation: mk-rise 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mk-modal-wide { max-width: 720px; }
.mk-modal-card h3 { font-size: 1.35rem; }
.mk-modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: 0; font-size: 1.8rem; line-height: 1;
  color: var(--ink-mute); cursor: pointer;
}
.mk-modal-close:hover { color: var(--ink); }
@keyframes mk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --- Reveal on scroll -----------------------------------------------------------*/
.mk-reveal { opacity: 0; transform: translateY(16px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.mk-reveal.is-in { opacity: 1; transform: none; }
/* Stagger siblings inside grids */
.mk-cards .mk-reveal.is-in:nth-child(2) { transition-delay: 90ms; }
.mk-cards .mk-reveal.is-in:nth-child(3) { transition-delay: 180ms; }
.mk-stats .mk-reveal.is-in:nth-child(2) { transition-delay: 80ms; }
.mk-stats .mk-reveal.is-in:nth-child(3) { transition-delay: 160ms; }
.mk-stats .mk-reveal.is-in:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .mk-reveal { opacity: 1; transform: none; transition: none; }
  .mk-rings span, .mk-sheen::after, .mk-chart-bar { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* --- Footer ----------------------------------------------------------------------*/
.mk-footer { background: var(--dark); color: var(--dark-ink); padding: 4rem 1.5rem 3rem; }
.mk-footer-logo { height: 38px; width: auto; display: block; }
.mk-footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
}
@media (max-width: 800px) { .mk-footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.mk-footer-bottom {
  max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid var(--dark-line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.4rem;
  font-size: 0.8rem; color: rgba(232,240,238,0.5);
}
.mk-footer-bottom a { color: rgba(232,240,238,0.7); }
.mk-footer-bottom a:hover { color: #fff; }
.mk-footer-tag { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-top: 0.9rem; }
.mk-footer-addr { margin-top: 1.1rem; font-size: 0.88rem; color: rgba(232,240,238,0.6); line-height: 1.7; }
.mk-footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.mk-footer-links a { color: rgba(232,240,238,0.75); font-size: 0.95rem; }
.mk-footer-links a:hover { color: #fff; }
.mk-footer-meta { font-size: 0.85rem; color: rgba(232,240,238,0.5); display: flex; flex-direction: column; gap: 0.5rem; }
.mk-footer-meta a { color: rgba(232,240,238,0.75); }

/* --- Mobile nav --------------------------------------------------------------------*/
@media (max-width: 860px) {
  .mk-menu-btn {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; background: none;
    border: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
    color: var(--ink); flex-shrink: 0;
  }
  /* Explicit width: WebKit does not stretch flex children inside a <button>,
     so without it the two bars had zero width on iOS Safari and the menu
     looked missing. */
  .mk-menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
  .mk-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .mk-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mk-links {
    /* absolute against the sticky nav: hugs its bottom at any height */
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.5rem 1.4rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  .mk-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .mk-links > a:not(.mk-btn) { padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 0; }
  /* In the menu the CTA is one more link, not a block that dominates the list. */
  .mk-links > a.mk-nav-cta, .mk-links > a.mk-nav-cta:hover {
    display: block; background: none; border: 0; box-shadow: none; border-radius: 0;
    margin-top: 0.2rem; padding: 0.85rem 0; font-size: 1.05rem; font-weight: 600;
    color: var(--green); text-align: left; justify-content: flex-start; }
  .mk-nav-signout { color: var(--ink-mute) !important; font-size: 0.95rem; }
}
.mk-nav-account { color: var(--green) !important; font-weight: 600; }


/* --- Glass (ported from PAiR for People's pd-glass) ---------------------------- */
.mk-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 28px var(--glass-shadow);
}
.mk-card.mk-glass:hover { box-shadow: 0 14px 36px var(--shadow-color); }
/* pair_direct's dark-theme glass, for the stats band */
.mk-glass-dark {
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.mk-stat.mk-glass-dark { border-top: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.2rem 1.3rem; }
.mk-stat.mk-glass-dark::before { content: ''; display: block; width: 28px; height: 2px; background: var(--mint); margin-bottom: 0.9rem; border-radius: 2px; }
.mk-feature.mk-glass { border-radius: var(--radius); padding: 1.8rem 2rem; border-top: 1px solid rgba(23,51,43,0.08); }
.mk-feature-list { gap: 1rem; }
.mk-feature.mk-glass:last-child { border-bottom: 1px solid rgba(23,51,43,0.08); }
.mk-form.mk-glass, .mk-legal-card.mk-glass { border-radius: var(--radius); }
.mk-legal-card { padding: 2.4rem 2.6rem; }
@media (max-width: 640px) { .mk-legal-card { padding: 1.6rem 1.3rem; } }

/* --- Parallax layers (translate set by marketing.js) ----------------------- */
[data-parallax] { will-change: transform; }

/* --- Technology glimpse: product components, redrawn ----------------------- */
.mk-glimpse {
  padding: 3.5rem 1.5rem 4.5rem; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 55%, var(--paper) 100%);
}
.mk-glimpse-stage {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.6rem; align-items: center;
}
@media (max-width: 900px) { .mk-glimpse-stage { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.mk-glimpse-col { display: flex; flex-direction: column; gap: 1.1rem; }
.mk-glimpse-note { text-align: center; margin-top: 2.2rem; }

/* The Decision HQ queue card, as a marketing exhibit */
.mk-queuecard { border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.mk-queuecard-top { display: flex; align-items: center; gap: 0.6rem; }
.mk-urgency { width: 9px; height: 9px; border-radius: 50%; background: #E5A33D;
  box-shadow: 0 0 0 3px rgba(229, 163, 61, 0.2); }
.mk-typepill {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  background: var(--green-tint); border-radius: 6px; padding: 2px 8px;
}
.mk-queuecard-when { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute); }
.mk-queuecard-head { font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; margin: 0.7rem 0 0.9rem; }
.mk-queuecard-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.mk-stagepill { font-size: 0.78rem; color: var(--ink-mute); }
.mk-queuecard-approve { font-size: 0.85rem; font-weight: 500; color: var(--green); }

.mk-receipt {
  border-radius: 12px; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-mute); line-height: 1.5;
}
.mk-receipt svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* Fit-score ring, ported from the pair_direct scorecard */
.mk-scorecard { border-radius: 16px; padding: 1.6rem 1.2rem; text-align: center; }
.mk-ring {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: conic-gradient(var(--green) calc(var(--mk-score) * 1%), var(--line) 0);
}
.mk-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--surface); }
.mk-ring-num { position: relative; font-family: var(--sans); font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.mk-score-label { margin-top: 0.7rem; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.mk-score-hint { margin-top: 0.3rem; font-size: 0.8rem; color: var(--ink-mute); }

/* Measure -> Earn -> Prove loop */
.mk-loop { border-radius: 16px; padding: 1.4rem; text-align: center; }
.mk-loop svg { width: 100%; max-width: 220px; height: auto; }
.mk-loop figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-mute); line-height: 1.5; }

/* Footer legal row */

/* Legal pages */
.mk-legal { padding-bottom: 3rem; }
.mk-legal h2 { font-size: 1.15rem; margin: 2.2rem 0 0.6rem; }
.mk-legal .mk-prose p { font-size: 1.02rem; }
.mk-legal-version { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-mute);
  letter-spacing: 0.08em; text-transform: uppercase; }


/* --- Hero deck: work arriving while you read (the old landing's cycle,
       rebuilt in glass with the product's casual voice) ------------------- */
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem; align-items: center; }
.mk-deck { position: relative; min-height: 400px; }
.mk-deckcard {
  position: absolute; left: 0; right: 0;
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  opacity: 0;
  animation: mk-deckcycle 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.mk-deckcard.k1 { animation-delay: -2s; }
.mk-deckcard.k2 { animation-delay: -6s; }
.mk-deckcard.k3 { animation-delay: -10s; }
.mk-deckcard.k4 { animation-delay: -14s; }
.mk-deckcard.k5 { animation-delay: -18s; }
@keyframes mk-deckcycle {
  0%    { transform: translateY(-92px) scale(1);    opacity: 0;    z-index: 5; }
  3.5%  { transform: translateY(0) scale(1);        opacity: 1;    z-index: 5; }
  20%   { transform: translateY(0) scale(1);        opacity: 1;    z-index: 5; }
  23.5% { transform: translateY(132px) scale(0.97); opacity: 0.9;  z-index: 3; }
  40%   { transform: translateY(132px) scale(0.97); opacity: 0.9;  z-index: 3; }
  43.5% { transform: translateY(264px) scale(0.94); opacity: 0.75; z-index: 2; }
  60%   { transform: translateY(264px) scale(0.94); opacity: 0.75; z-index: 2; }
  63.5% { transform: translateY(344px) scale(0.92); opacity: 0;    z-index: 1; }
  99.9% { transform: translateY(344px) scale(0.92); opacity: 0;    z-index: 1; }
  100%  { transform: translateY(-92px) scale(1);    opacity: 0;    z-index: 5; }
}
.mk-deckhead { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.mk-decktime { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-mute); }
.mk-deckline { font-family: var(--serif); font-size: 1.02rem; line-height: 1.4; margin: 0.55rem 0 0.7rem; }
.mk-deckfoot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  font-size: 0.76rem; color: var(--ink-mute); }
.mk-deckbtn { font-weight: 500; font-size: 0.8rem; color: var(--green); }
.mk-typepill-win { color: #fff; background: var(--green-btn); }
@media (max-width: 980px) {
  .mk-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Static three-card stack on small screens: presence without churn */
  .mk-deck { min-height: 0; display: flex; flex-direction: column; gap: 0.9rem; max-width: 460px; }
  .mk-deckcard { position: static; opacity: 1; animation: none; }
  .mk-deckcard.k4, .mk-deckcard.k5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-deck { min-height: 0; display: flex; flex-direction: column; gap: 0.9rem; }
  .mk-deckcard { position: static; opacity: 1; animation: none !important; }
  .mk-deckcard.k4, .mk-deckcard.k5 { display: none; }
}

/* --- Orbit + mesh around the technology components -------------------------- */
.mk-glimpse-stage { position: relative; padding: 3.6rem 2.6rem; }
.mk-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mk-glimpse-col { position: relative; z-index: 1; }
/* Staggered heights, and every asset drifting around the same tiny
   circle — very slowly, phase-offset, so the whole system feels like it
   turns together. */
.mk-glimpse-col:nth-child(2) { margin-top: -2.4rem; }
.mk-glimpse-col:nth-child(3) { margin-top: 2.6rem; }
.mk-glimpse-col:nth-child(4) { margin-top: -1.2rem; }
.mk-glimpse-col { animation: mk-drift 28s linear infinite; }
.mk-glimpse-col:nth-child(3) { animation-delay: -9.3s; }
.mk-glimpse-col:nth-child(4) { animation-delay: -18.6s; }
@keyframes mk-drift {
  0%   { transform: translate(0, -7px); }
  25%  { transform: translate(7px, 0); }
  50%  { transform: translate(0, 7px); }
  75%  { transform: translate(-7px, 0); }
  100% { transform: translate(0, -7px); }
}
/* The dashed inner ring crawls; the nodes breathe */
.mk-orbit-dash { animation: mk-crawl 60s linear infinite; }
@keyframes mk-crawl { to { stroke-dashoffset: -400; } }
.mk-orbit-node { animation: mk-node 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mk-orbit-node:nth-child(2) { animation-delay: -1.5s; }
.mk-orbit-node:nth-child(3) { animation-delay: -3s; }
.mk-orbit-node:nth-child(4) { animation-delay: -4.5s; }
@keyframes mk-node { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.5); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mk-glimpse-col, .mk-orbit-dash, .mk-orbit-node { animation: none !important; }
}
@media (max-width: 900px) {
  .mk-orbit { display: none; }
  .mk-glimpse-stage { padding: 0; }
}

/* --- Life: dot grids and a soft glow ----------------------------------------- */
.mk-section-tint, .mk-cta-band, .mk-section-ink { position: relative; overflow: hidden; }
.mk-section-tint::before, .mk-cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--green) 22%, transparent) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(420px 320px at 12% 18%, #000 0%, transparent 70%);
          mask-image: radial-gradient(420px 320px at 12% 18%, #000 0%, transparent 70%);
}
.mk-cta-band::before {
  -webkit-mask-image: radial-gradient(460px 340px at 88% 82%, #000 0%, transparent 70%);
          mask-image: radial-gradient(460px 340px at 88% 82%, #000 0%, transparent 70%);
}
.mk-cta-band::after {
  content: ''; position: absolute; left: 50%; top: -140px; width: 560px; height: 560px;
  transform: translateX(-50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 207, 180, 0.16), transparent 70%);
}
.mk-cta-band .mk-section-inner { position: relative; z-index: 1; }
.mk-section-ink::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(92, 207, 180, 0.22) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(480px 340px at 90% 10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(480px 340px at 90% 10%, #000 0%, transparent 70%);
}
.mk-section-ink .mk-section-inner { position: relative; z-index: 1; }

/* --- Industries (market movers) ------------------------------------------ */
.mk-industries { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; }
.mk-industry { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 0.55rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(17,24,39,0.55); }

/* ── Platform notice banner on the marketing shell ─────────────────────── */
.pn-banner { margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: rgba(217, 119, 6, .12); }
.pn-banner.pn-incident { background: rgba(220, 38, 38, .12); }
.pn-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: flex-start; gap: 10px; padding: 10px 20px; color: var(--ink); }
.pn-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #D97706; margin-top: 6px; }
.pn-active .pn-dot { animation: pn-pulse 1.6s ease-in-out infinite; }
.pn-incident .pn-dot { background: #dc2626; }
.pn-text { flex: 1; font-size: 14px; line-height: 1.45; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pn-when, .pn-msg { color: var(--ink-soft); }
.pn-link { color: var(--mint); text-decoration: underline; }
.pn-close { flex: none; background: none; border: 0; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
@keyframes pn-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@media (max-width: 640px) { .pn-text { display: block; } .pn-text > * { display: block; } }

/* ── Status page ───────────────────────────────────────────────────────── */
.st-wrap { max-width: 900px; margin: 0 auto; padding: 48px 20px 64px; }
.st-hero { margin-bottom: 28px; }
.st-h1 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: clamp(30px, 4vw, 40px); margin: 14px 0 8px; color: var(--ink); }
.st-lead { color: var(--ink-soft); font-size: 15px; margin: 0; line-height: 1.5; }
.st-when { color: var(--ink-mute); font-size: 14px; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.st-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-mute); }
.st-pill-operational { border-color: rgba(96, 210, 185, .5); } .st-pill-operational .st-pill-dot { background: var(--mint); }
.st-pill-degraded, .st-pill-maintenance { border-color: rgba(217, 119, 6, .6); } .st-pill-degraded .st-pill-dot, .st-pill-maintenance .st-pill-dot { background: #D97706; }
.st-pill-major { border-color: rgba(220, 38, 38, .6); } .st-pill-major .st-pill-dot { background: #dc2626; }
.st-notices { display: grid; gap: 12px; margin-bottom: 28px; }
.st-notice { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.st-notice-active { border-color: rgba(217, 119, 6, .6); }
.st-notice-active.st-notice-incident { border-color: rgba(220, 38, 38, .6); }
.st-notice-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink); }
.st-notice-when { color: var(--ink-mute); font-size: 13.5px; margin-top: 4px; }
.st-notice p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.st-tag { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--green-tint); color: var(--mint); }
.st-tag-quiet { background: transparent; color: var(--ink-mute); border: 1px solid var(--line); }
.st-components { display: grid; gap: 14px; }
.st-comp { border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px; background: var(--surface); }
.st-comp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.st-comp-name { display: flex; align-items: center; gap: 10px; }
.st-comp-name h2 { font-size: 17px; font-weight: 500; margin: 0; color: var(--ink); }
.st-comp-status { font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; align-items: baseline; }
.st-ms { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink-mute); }
.st-state { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-mute); flex: none; }
.st-state-up { background: var(--mint); } .st-state-down { background: #dc2626; } .st-state-maint { background: #D97706; } .st-state-nodata { background: var(--ink-mute); }
.st-bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 34px; }
.st-bar { border-radius: 2px; background: var(--line); }
.st-bar-up { background: var(--mint); } .st-bar-degraded { background: #D97706; } .st-bar-down { background: #dc2626; } .st-bar-nodata { background: var(--line); }
.st-bars-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-mute); margin: 6px 0 12px; }
.st-uptime { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.st-uptime dt { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.st-uptime dd { margin: 2px 0 0; font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--ink); }
.st-history { margin-top: 36px; }
.st-history h2 { font-size: 18px; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.st-incidents { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-incidents li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); color: var(--ink); font-size: 14.5px; }
.st-incidents .st-state { margin-top: 5px; }
.st-incidents p { margin: 6px 0 0; color: var(--ink-soft); }
.st-quiet { color: var(--ink-soft); }
.st-foot { margin-top: 36px; color: var(--ink-mute); font-size: 13px; line-height: 1.6; }
.st-foot a { color: var(--ink-soft); }
@media (max-width: 640px) { .st-uptime { grid-template-columns: repeat(2, 1fr); } .st-bars { height: 26px; gap: 1px; } .st-comp-head { flex-direction: column; align-items: flex-start; gap: 4px; } }


/* ===== 2026-09-16: components for the wireframe rebuild (Liz), theme-neutral base ===== */
.mk-tagline { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; max-width: 30ch; margin: 0; color: var(--ink); }
.mk-checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.mk-checklist li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.mk-checklist li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; background: var(--green); border-radius: 50%; }
.mk-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.mk-steps li { background: var(--dark); color: var(--dark-ink); padding: 1.3rem 1.2rem 1.4rem; font-size: 1rem; line-height: 1.4; display: flex; flex-direction: column; gap: 0.6rem; min-height: 120px; }
.mk-step-num { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--green); }
.mk-step-loop { color: var(--ink-mute); }
@media (max-width: 900px) { .mk-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mk-steps { grid-template-columns: 1fr; } }
.mk-cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .mk-cards-2 { grid-template-columns: 1fr; } }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .mk-stats { grid-template-columns: 1fr; } }
.mk-stat-value { font-family: var(--sans); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.mk-stat-label { margin-top: 0.7rem; color: var(--ink-soft); line-height: 1.45; }
.mk-stat-note { margin-top: 0.5rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.mk-solutions { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.mk-solution { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.mk-solution h3 { margin: 0; font-size: 1.2rem; }
.mk-solution p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.mk-solution-status { margin-top: auto; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.mk-solution-status.is-live { color: var(--green); }
.mk-solutions-cta { margin-top: 2.5rem; padding: 2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; grid-template-columns: 1.3fr auto; gap: 1.6rem; align-items: center; }
.mk-solutions-cta h3 { margin: 0.4rem 0 0.6rem; }
@media (max-width: 820px) { .mk-solutions-cta { grid-template-columns: 1fr; } }
