/* ==========================================================================
   Seiri — design system
   Technical, minimalist, developer-first. Hairlines over shadows, flat over
   gradient, geometry over illustration. Loaded after the Tailwind CDN, so the
   overrides below intentionally win over utility classes where they must.
   ========================================================================== */

:root {
  /* Surfaces --------------------------------------------------------------- */
  --ink:        #0b0c0e;   /* near-black: dark sections, terminals           */
  --ink-2:      #131519;   /* elevated dark: code body                       */
  --ink-3:      #1c1f26;   /* dark hairline                                  */
  --ink-4:      #2a2e37;   /* dark hairline, stronger                        */

  --paper:      #ffffff;
  --paper-2:    #fafafa;
  --paper-3:    #f4f5f7;

  /* Hairlines — the single most load-bearing token in this system ---------- */
  --line:       #e6e8ec;
  --line-2:     #d8dbe1;

  /* Text ------------------------------------------------------------------- */
  --text:       #16181d;
  --text-2:     #5b616e;
  --text-3:     #868c99;
  --text-dark:  #f2f3f5;   /* on --ink */
  --text-dark-2:#a2a8b5;
  --text-dark-3:#6f7683;

  /* Accent — cobalt. One accent, used sparingly. -------------------------- */
  --accent:     #2456eb;
  --accent-hi:  #1c43d8;
  --accent-lo:  #eff3ff;
  --accent-line:#c9d8fd;
  --accent-dark:#5e8cff;   /* legible on --ink */

  /* Semantic --------------------------------------------------------------- */
  --ok:         #14804a;
  --ok-lo:      #e9f6ef;
  --ok-dark:    #3dd68c;
  --warn:       #b45309;
  --warn-lo:    #fdf4e7;
  --danger:     #cf2b1f;
  --danger-lo:  #fdefee;
  --danger-line:#f7cfcb;
  --danger-dark:#ff6b60;

  /* Geometry — nothing rounder than 10px ----------------------------------- */
  --r-xs: 3px;
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 8px;
  --r-xl: 10px;

  /* Elevation — hairline first, shadow barely at all ----------------------- */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow:    0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 4px 16px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

  --nav-h: 60px;
}

/* ==========================================================================
   1. Base
   ========================================================================== */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1, 'cv08' 1, 'ss03' 1, 'tnum' 0;
  letter-spacing: -0.006em;
  -webkit-overflow-scrolling: touch;
}

code, pre, kbd, samp, .font-mono { font-family: var(--font-mono); }

/* Headings: tight, precise, never shouty.
   Colour is deliberately inherited so headings stay legible inside dark
   sections that set `text-white` on an ancestor. */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { letter-spacing: -0.032em; }
h2 { letter-spacing: -0.026em; }

p { text-wrap: pretty; }

a { text-underline-offset: 2px; }

button, a { touch-action: manipulation; }

::selection { background: #d6e2fe; color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ==========================================================================
   2. De-marketing pass
   Kills the visual habits the brief rules out, wherever they survive in the
   existing markup: gradients, blur blobs, scale-on-hover, heavy shadows.
   ========================================================================== */

/* No gradient fills. Anything still carrying gradient utilities falls back to
   a flat surface rather than losing its background entirely. */
[class*="bg-gradient-to"] {
  background-image: none !important;
}

/* No growth-on-hover. */
[class*="hover:scale-"]:hover,
[class*="hover:-translate-y"]:hover {
  transform: none !important;
}

/* No decorative blur blobs. */
.seiri-blob,
[class*="blur-3xl"],
[class*="blur-2xl"] {
  display: none !important;
}

/* Shadows are hairlines here. */
.shadow-2xl, .shadow-xl { box-shadow: var(--shadow-lg) !important; }
.shadow-lg, .shadow-md  { box-shadow: var(--shadow) !important; }

/* The old "glow sweep" and purple dashboard mockup from features.html. */
.glow-effect::before, .glow-effect::after { content: none !important; }
.dashboard-mockup {
  background: var(--ink) !important;
  border: 1px solid var(--ink-3);
  border-radius: var(--r-lg) !important;
  padding: 20px;          /* the page's own <style> block carried this */
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dashboard-mockup::before { content: none !important; }
.feature-card { transition: border-color .15s ease, background-color .15s ease !important; }
.feature-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--line-2) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   3. Technical grid backdrop — replaces decorative blobs
   ========================================================================== */

.grid-bg { position: relative; isolation: isolate; }

.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  opacity: .7;
  pointer-events: none;
}

.grid-bg--dark::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
}

/* ==========================================================================
   4. Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__brand svg { color: var(--accent); display: block; flex-shrink: 0; }

.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.nav__word {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.nav__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
@media (max-width: 380px) {
  .nav__tag { display: none; }
}

.nav__signin {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-2);
  text-decoration: none;
  transition: color .12s ease;
}
.nav__signin:hover { color: var(--text); }
@media (max-width: 560px) {
  .nav__signin { display: none; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 4px;
}
.nav__link {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-2);
  text-decoration: none;
  transition: color .12s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); }
.nav__link[aria-current="page"] { color: var(--text); font-weight: 550; }

.nav__spacer { flex: 1 1 auto; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--text-2);
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
}

.nav__mobile {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 24px 16px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-of-type { border-bottom: 0; }
@media (min-width: 901px) {
  .nav__mobile { display: none !important; }
}

/* Every page offsets its content by the fixed nav. */
body { padding-top: var(--nav-h); }

/* ==========================================================================
   4b. Hero
   ========================================================================== */

.hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
@media (max-width: 900px) { .hero { padding: 44px 0 56px; } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}

.hero__h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  font-weight: 620;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.hero__sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero__sub strong { color: var(--text); font-weight: 550; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-3);
}
.hero__trust svg { color: var(--accent); flex-shrink: 0; }

.hero__visual { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero__term .term__body { font-size: 12px; }

/* Panel meta rows */
.mono-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
}
.mono-meta--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Inline alert block */
.alert {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 13px;
  border: 1px solid var(--danger-line);
  background: var(--danger-lo);
  border-radius: var(--r);
  color: var(--danger);
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 2px;
}
.alert span { font-size: 12px; line-height: 1.5; color: #9b3f38; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .13s ease, border-color .13s ease, color .13s ease;
}
.btn--lg { height: 44px; padding: 0 20px; font-size: 15px; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.btn--secondary {
  background: var(--paper);
  color: var(--text);
  border-color: var(--line-2);
}
.btn--secondary:hover { background: var(--paper-2); border-color: #c2c6ce; }

.btn--ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--ink:hover { background: #22252c; border-color: #22252c; }

.btn--on-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--on-dark:hover { background: #e6e8ec; border-color: #e6e8ec; }

.btn--ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--ink-4);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,.06); }

/* ==========================================================================
   6. Terminal / code surfaces
   ========================================================================== */

.term {
  background: var(--ink);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--font-mono);
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  height: 38px;
  background: #101216;
  border-bottom: 1px solid var(--ink-3);
}
.term__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink-4);
  flex-shrink: 0;
}
.term__title {
  font-size: 11.5px;
  color: var(--text-dark-3);
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.term__tag {
  margin-left: auto;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dark-3);
  border: 1px solid var(--ink-4);
  border-radius: var(--r-xs);
  padding: 2px 6px;
  flex-shrink: 0;
}

.term__body {
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-dark);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.term__body--wrap { white-space: pre-wrap; word-break: break-word; }

/* Light code surface, for inline docs blocks */
.code {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  padding: 14px 16px;
  overflow-x: auto;
  color: var(--text);
}

/* Syntax tokens — muted, never rainbow. */
.t-com  { color: var(--text-dark-3); }        /* comment  */
.t-cmd  { color: #f2f3f5; }                   /* command  */
.t-flag { color: var(--accent-dark); }        /* flag     */
.t-str  { color: #6fd7a5; }                   /* string   */
.t-key  { color: #9db6ff; }                   /* yaml key */
.t-val  { color: #e4e7ec; }                   /* yaml val */
.t-num  { color: #e9b872; }
.t-bad  { color: var(--danger-dark); }
.t-ok   { color: var(--ok-dark); }
.t-p::before { content: '$ '; color: var(--text-dark-3); }

/* ==========================================================================
   7. Heartbeat timeline — the signature visual
   ========================================================================== */

/* Keeps the axis labels aligned to the ends of the tick strip. */
.hb-block { width: fit-content; max-width: 100%; }

.hb {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

/* Healthy is green, not accent: the accent means "interactive", status
   colours mean status. A row of green with one red reads instantly. */
.hb__tick {
  flex: 0 1 20px;
  width: 20px;
  height: 34px;
  border-radius: 2px;
  background: var(--ok);
}
.hb__tick--accent  { background: var(--accent); }
.hb__tick--dim     { background: var(--ok); opacity: .3; }
.hb__tick--late    { background: var(--warn); }
.hb__tick--miss    { background: var(--danger); }

/* The gap: a job that never checked in. Dashed, hollow, unmistakable. */
.hb__tick--gap {
  background: var(--danger-lo);
  border: 1.5px dashed var(--danger);
  border-radius: 2px;
}

.hb--sm .hb__tick { height: 20px; flex-basis: 12px; width: 12px; }
.hb--lg .hb__tick { height: 44px; }

/* Dense strip: a 90-day status-page style history. */
.hb--dense { gap: 2px; }
.hb--dense .hb__tick { flex: 1 1 3px; width: auto; height: 28px; border-radius: 1px; }

.hb__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}

/* On dark surfaces */
.hb--dark .hb__tick      { background: var(--accent-dark); }
.hb--dark .hb__tick--ok  { background: var(--ok-dark); }
.hb--dark .hb__tick--miss{ background: var(--danger-dark); }
.hb--dark .hb__axis      { color: var(--text-dark-3); }

/* ==========================================================================
   8. Status rows / status page visual
   ========================================================================== */

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }

.status-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.status-row__name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.status-row__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
}

/* Live status dot — the one motion this system allows, because it means
   something: the check is currently live. */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
  background: var(--ok);
}
.dot--danger { background: var(--danger); }
.dot--warn   { background: var(--warn); }
.dot--live { position: relative; }
.dot--live::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
  background: inherit;
  opacity: .35;
  animation: seiri-pulse 2.4s ease-out infinite;
}
@keyframes seiri-pulse {
  0%   { transform: scale(.75); opacity: .5; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   9. Badges, pills, chips, hairline utilities
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .01em;
  color: var(--text-2);
  white-space: nowrap;
}
.badge--ok     { background: var(--ok-lo);     border-color: #c4e6d4; color: var(--ok); }
.badge--danger { background: var(--danger-lo); border-color: var(--danger-line); color: var(--danger); }
.badge--warn   { background: var(--warn-lo);   border-color: #f0dcbc; color: var(--warn); }
.badge--accent { background: var(--accent-lo); border-color: var(--accent-line); color: var(--accent-hi); }
.badge--dark {
  background: rgba(255,255,255,.05);
  border-color: var(--ink-4);
  color: var(--text-dark-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 450;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
}
.chip:hover { border-color: var(--line-2); color: var(--text); background: var(--paper-2); }
.chip--active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--active:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow--dark { color: var(--text-dark-3); }

.hair { border: 0; border-top: 1px solid var(--line); margin: 0; }
.hair--dark { border-top-color: var(--ink-3); }

/* Inline code in prose */
.ic {
  font-family: var(--font-mono);
  font-size: .875em;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 1px 5px;
  color: var(--text);
}

/* ==========================================================================
   10. Cards & panels
   ========================================================================== */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .13s ease;
}
.card:hover { border-color: var(--line-2); }
.card--flat { background: var(--paper-2); }
.card--dark {
  background: #101216;
  border-color: var(--ink-3);
}
.card--dark:hover { border-color: var(--ink-4); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.panel__title {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text);
}
.panel__body { padding: 16px; }

/* ==========================================================================
   11. Tabs (integration examples)
   ========================================================================== */

.tab-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-4);
  background: transparent;
  color: var(--text-dark-2);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.tab-btn:hover { color: var(--text-dark); border-color: #3a3f4a; }
.tab-btn[aria-selected="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.foot {
  background: var(--ink);
  color: var(--text-dark-2);
  border-top: 1px solid var(--ink-3);
}
.foot__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; }
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 14px;
}
.foot__brand svg { color: var(--accent-dark); display: block; }
.foot__brand span { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.foot__blurb {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dark-3);
  max-width: 34ch;
}
.foot__h {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dark-3);
  margin-bottom: 14px;
}
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list li { margin-bottom: 9px; }
.foot__list a {
  font-size: 13.5px;
  color: var(--text-dark-2);
  text-decoration: none;
  transition: color .12s ease;
}
.foot__list a:hover { color: #fff; }
.foot__bar {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-dark-3);
}
.foot__bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__bar a { color: var(--text-dark-3); text-decoration: none; }
.foot__bar a:hover { color: var(--text-dark-2); }

/* ==========================================================================
   13. Cookie banner
   ========================================================================== */

#cookie-banner {
  background: var(--ink);
  border-top: 1px solid var(--ink-3);
  color: var(--text-dark-2);
}
#cookie-banner .cookie-copy { font-size: 12.5px; line-height: 1.6; }
#cookie-banner a { color: var(--accent-dark); }

/* ==========================================================================
   14. Section rhythm
   ========================================================================== */

.section      { padding: 88px 0; }
.section--sm  { padding: 64px 0; }
.section--dark {
  background: var(--ink);
  color: var(--text-dark-2);
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

@media (max-width: 640px) {
  .section     { padding: 56px 0; }
  .section--sm { padding: 44px 0; }
}

/* Section heading block */
.sec-h { max-width: 42rem; margin-bottom: 40px; }
.sec-h h2 { font-size: 30px; font-weight: 600; line-height: 1.2; margin: 10px 0 12px; }
.sec-h p  { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.section--dark .sec-h p { color: var(--text-dark-2); }

/* ==========================================================================
   15. Utility bridges for the existing Tailwind markup
   Small nudges so utility-classed blocks inherit the system's texture.
   ========================================================================== */

/* Any dark panel that still uses bg-gray-800 for code gets mono + tighter type */
.bg-gray-800.font-mono, .bg-gray-900.font-mono { border-radius: var(--r-lg); }

/* Prose links inside content pages */
main a:not([class]) { color: var(--accent); text-decoration: underline; }
main a:not([class]):hover { color: var(--accent-hi); }

/* Tables (pricing comparison, security matrices) */
table { border-collapse: collapse; }
th, td { text-align: left; }

/* Keep wide content from blowing out the page on mobile */
pre, .term__body, .code, table { max-width: 100%; }

/* Long inline identifiers (CRD names, ping URLs) must not push the page
   sideways on a phone. Block code keeps its own horizontal scroll. */
code, .ic, kbd { overflow-wrap: anywhere; word-break: break-word; }
pre code, .term__body code, .code code { overflow-wrap: normal; word-break: normal; }

/* Inline <span class="font-mono"> / <code> sitting directly inside a flex row
   become flex items, and flex strips the whitespace either side of them —
   which ran words together ("justmailorsendmail"). Restore the word space. */
li.flex > .font-mono,
li.flex > code,
p.flex > .font-mono,
p.flex > code { margin-inline: 0.3em; }

/* Decorative step connectors: they were positioned against a wider container
   and now cut through the step numerals. They carry no meaning. */
.absolute.left-full[class*="bg-gray-200"],
.absolute.left-full[class*="bg-seiri"] { display: none !important; }
