:root {
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-inset: #f8f8f8;
  --border: #e5e5e5;
  --border-lit: #d4d4d4;
  --text: #09090b;
  --text-dim: #7d7d7d;
  --cream: #f8f4e7;
  --cream-border: #e9e1c8;
  --primary: #09090b;
  --primary-fg: #ffffff;
  --accent: #00994d;
  --accent-bright: #00B95C;
  --accent-dim: #b8e4cc;
  --verified: #00994d;
  --failed: #dc2626;
  --unknown: #a16207;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "DM Sans", var(--sans);
  --surface: var(--bg-raised);
  --edge: none;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 185, 92, 0.18); }

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .status h1 {
  font-family: var(--display);
  font-feature-settings: "ss02" on, "ss03" on, "ss04" on;
  text-wrap: balance;
}

/* Keep a lone word off the last line of running copy. */
p, li, dd, figcaption, .ra-text span, .hero-feats p, summary {
  text-wrap: pretty;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.canvas {
  margin: 10px 10px 12px;
  border-radius: 36px;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--bg) 18%,
    var(--bg) 84%,
    var(--cream) 100%
  );
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap.app { max-width: 1080px; }

/* Marketing top bar. Scoped to .wrap so it never reaches the console sidebar nav. */
.wrap > nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(90%, 700px);
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wrap > nav .logo { display: flex; align-items: center; flex-shrink: 0; }
.wrap > nav .logo img { height: 18px; display: block; }
.wrap > nav .links { display: flex; gap: 20px; font-size: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.wrap > nav .links a { color: var(--text-dim); min-height: 44px; display: inline-flex; align-items: center; }
.wrap > nav .links a:hover { color: var(--text); text-decoration: none; }
.wrap > nav .links a[aria-current="page"] { color: var(--text); }
.wrap > nav .links a.cta, .wrap > nav > a.cta {
  color: var(--primary-fg);
  background: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  min-height: 34px;
}
.wrap > nav .links a.cta:hover, .wrap > nav > a.cta:hover { background: #262626; color: var(--primary-fg); }
.wrap > nav > a.cta { flex: none; }

.hero { padding: 148px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-left h1 { text-align: left; }
.hero-left .sub { margin-left: 0; text-align: left; }
.hero-left .actions { justify-content: flex-start; }
.hero-left .cta-note { margin-left: 0; text-align: left; }
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 40px;
}
.hero-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(180deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
}
.hstage b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.hstage span { display: block; font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.hstage .pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { padding-left: 0; padding-top: 28px; }
  .hero-right::before {
    width: 100%;
    height: 1px;
    bottom: auto;
    background: repeating-linear-gradient(90deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
  }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub {
  margin: 20px auto 0;
  max-width: 22em;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-dim);
}
.hero .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note {
  margin: 16px auto 0;
  max-width: 36em;
  font-size: 14px;
  color: var(--text-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.btn:hover { text-decoration: none; border-color: var(--text-dim); }
.btn.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1); }
.btn.primary:hover { background: #262626; border-color: #262626; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

pre.code {
  background: #0d0f12;
  color: #e6e9ee;
  border: 1px solid #0d0f12;
  border-radius: 10px;
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  text-align: left;
}
pre.code .k { color: #e6e9ee; }
pre.code .s { color: #4ade80; }
pre.code .c { color: #8b93a3; }
pre.code .f { color: #e6e9ee; }
code.inline {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
}

.spine {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 12px;
  align-items: stretch;
  margin: 48px 0 8px;
}
.spine .stage {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: left;
  min-width: 0;
}
.spine .stage b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.spine .stage span { display: block; font-size: 14px; color: var(--text-dim); }
.spine .stage .pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.spine .stage.verdict { border-color: var(--accent-dim); }
.spine .arrow {
  color: var(--text-dim);
  font-size: 22px;
  display: flex;
  align-items: center;
}

.pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.pill.verified { color: #04724d; background: #e7f6ee; }
.pill.failed { color: #b91c1c; background: #fdecec; }
.pill.unknown { color: #92600a; background: #fdf3dc; }
.pill.pending { color: #6b7280; background: #f1f2f4; }

section.band { padding: 88px 0 24px; margin-top: 40px; position: relative; }
section.band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
}
.moment-band::before { display: none; }
section.band h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
section.band p.lead { color: var(--text-dim); max-width: 40em; margin-bottom: 28px; }

.moment-band { border-top: none; margin-top: 32px; padding-top: 48px; }
.moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-raised);
}
.moment .col { padding: 28px 24px; min-width: 0; }
.moment .col h3 { font-size: 15px; margin-bottom: 12px; }
.moment .col.observed {
  background: #fdf7f7;
  border-left: 1px solid var(--border);
}
.moment .col p { margin-top: 14px; font-size: 14px; color: var(--text-dim); }

.start {
  list-style: decimal;
  padding-left: 1.4em;
  display: grid;
  gap: 28px;
}
.start h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.start p { color: var(--text-dim); font-size: 15px; margin-bottom: 10px; }
.aside { margin-top: 24px; font-size: 14px; color: var(--text-dim); max-width: 42em; }

.claims-fold { margin-top: 8px; }
.claims-fold summary {
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.claims-fold summary:hover { color: var(--accent); }

table.gap { width: 100%; border-collapse: collapse; font-size: 14px; }
table.gap th, table.gap td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.gap thead th { color: var(--text-dim); font-weight: 600; font-size: 13px; }
table.gap tbody th { color: var(--text); font-weight: 600; width: 22%; }
table.gap td { color: var(--text-dim); }
table.gap td:last-child { color: var(--text); }
table.gap tbody tr:last-child th, table.gap tbody tr:last-child td { border-bottom: none; }

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  max-width: 52em;
}
.points h3 { font-size: 16px; margin-bottom: 8px; }
.points p { color: var(--text-dim); font-size: 15px; line-height: 1.65; }
.points em { font-style: normal; color: var(--text); }

table.claims { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
table.claims th, table.claims td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
table.claims th { color: var(--text-dim); font-weight: 600; font-size: 13px; }
table.claims td:first-child { font-family: var(--mono); font-size: 13px; color: var(--accent); white-space: nowrap; }

/* Claim-type tabs. Default state is the no-JS one: every panel visible with
   its own heading. The script adds .js-tabs, which reveals the tablist and
   takes over showing one panel at a time. */
.claim-tabs { margin-top: 16px; }
.claim-tabs .tablist { display: none; }
.claim-tabs.js-tabs .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.claim-tabs .tablist button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.claim-tabs .tablist button:hover { color: var(--text); background: var(--bg-inset); }
.claim-tabs .tablist button[aria-selected="true"] {
  color: var(--text);
  background: var(--bg-inset);
  border-color: var(--border-lit);
}
.claim-tabs .tab-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg);
  border-radius: 20px;
  padding: 2px 7px;
}
.claim-tabs .tablist button[aria-selected="true"] .tab-count { color: var(--accent); }
.claim-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.claim-panel + .claim-panel { margin-top: 28px; }
.claim-tabs.js-tabs .claim-panel + .claim-panel { margin-top: 0; }
.claim-panel-label { font-size: 15px; font-weight: 600; margin-top: 20px; }
.claim-tabs.js-tabs .claim-panel-label { display: none; }

.price-list { list-style: none; display: grid; gap: 16px; max-width: 40em; }
.price-list li { font-size: 15px; color: var(--text-dim); }
.price-list b { color: var(--text); display: inline-block; min-width: 6.5em; }

.close { text-align: center; padding-bottom: 48px; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 800px) {
  .points { grid-template-columns: 1fr; gap: 28px; }
  .spine { grid-template-columns: 1fr; }
  .spine .arrow { display: none; }
  .moment { grid-template-columns: 1fr; }
  .moment .col.observed { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 720px) {
  table.claims, table.list { display: block; overflow-x: auto; }

  /* The comparison carries the argument, so it stacks into labelled blocks
     rather than scrolling sideways where the third column would be missed. */
  table.gap, table.gap tbody, table.gap tr, table.gap th, table.gap td { display: block; }
  table.gap thead { display: none; }
  table.gap tbody tr { padding: 18px 0; border-bottom: 1px solid var(--border); }
  table.gap tbody tr:last-child { border-bottom: none; }
  table.gap tbody th { width: auto; padding: 0 0 10px; border-bottom: none; font-size: 16px; }
  table.gap td { padding: 0 0 10px; border-bottom: none; }
  table.gap td:last-child { padding-bottom: 0; }
  table.gap td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    margin-bottom: 2px;
  }
}

/* Docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 128px 0 48px; }
.docs aside {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 14px;
  border-right: 1px solid var(--border);
  padding-right: 20px;
}
.docs aside a {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  padding: 0 10px;
  min-height: 36px;
  border-radius: 8px;
}
.docs aside a:hover { color: var(--text); text-decoration: none; background: rgba(0, 0, 0, 0.04); }
.docs main { min-width: 0; }
.docs h1 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 12px; }
.docs h2 { font-size: 22px; letter-spacing: -0.01em; margin: 56px 0 12px; scroll-margin-top: 110px; }
.docs h3 { font-size: 16px; margin: 28px 0 8px; }
.docs p { color: var(--text-dim); margin: 10px 0; max-width: 680px; }
.docs p strong, .docs li strong { color: var(--text); }
.docs ul { margin: 10px 0 10px 22px; color: var(--text-dim); }
.docs pre.code { margin: 14px 0; }
.docs table.claims { margin: 14px 0; }
@media (max-width: 800px) {
  .docs { grid-template-columns: 1fr; }
  .docs aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
}
@media (max-width: 700px) {
  .wrap > nav { justify-content: flex-start; gap: 10px; padding: 10px 10px 10px 18px; }
  .wrap > nav .logo { margin-right: auto; }
  .wrap > nav .nav-toggle { display: inline-flex; }
  .wrap > nav .links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  }
  .wrap > nav.open .links { display: flex; }
  .wrap > nav .links a {
    color: var(--text);
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
}

/* App shell (console) */
.app-body { background: var(--bg); }
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--border);
  background: #fafafa;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.slogo { display: block; padding: 4px 10px; }
.slogo img { height: 22px; display: block; }
.snav { display: flex; flex-direction: column; gap: 2px; }
.snav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.snav a:hover { background: rgba(0, 0, 0, 0.04); color: var(--text); text-decoration: none; }
.snav a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  font-weight: 600;
}
.sbottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sbottom a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.sbottom a:hover { color: var(--text); text-decoration: none; background: rgba(0, 0, 0, 0.04); }
.suser {
  padding: 6px 12px 0;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content {
  padding: 28px 36px 48px;
  max-width: 1040px;
  width: 100%;
  min-width: 0;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 22px; letter-spacing: -0.02em; }
.page-head .hint { margin-top: 2px; max-width: 46em; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin-bottom: 0; }

.ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ledger a { color: var(--text); }
.ledger a:hover { color: var(--accent-bright); text-decoration: none; }
.ledger b { font-weight: 600; }
.ledger span { color: var(--text-dim); }

@media (max-width: 880px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    overflow-x: auto;
  }
  .snav { flex-direction: row; gap: 2px; }
  .snav a { white-space: nowrap; }
  .sbottom { margin-top: 0; margin-left: auto; flex-direction: row; border-top: none; padding-top: 0; }
  .suser { display: none; }
  .content { padding: 20px 16px 40px; }
}

/* Console */
.status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px;
}
.status h1 { font-size: 24px; letter-spacing: -0.02em; }
.status-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.status-meta span { font-size: 13px; color: var(--text-dim); }
.status-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}
.panel h2 { font-size: 16px; margin-bottom: 14px; letter-spacing: -0.01em; }
.panel form.inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.panel label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); flex: 1; min-width: 180px; max-width: 360px; }
.panel input[type="text"],
.panel input[type="password"] {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
  min-height: 44px;
  width: 100%;
  font-family: inherit;
}
.panel input[type="password"] { font-family: var(--mono); font-size: 13px; }
.panel button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-family: inherit;
}
.panel button:hover { border-color: var(--text-dim); }
.panel button.primary { background: var(--accent); color: #06130c; border-color: var(--accent); }
.panel button.primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.panel button.danger { background: transparent; color: var(--failed); border: 1px solid var(--border); font-weight: 500; }
.panel button.danger:hover { border-color: var(--failed); }
button.copy {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  padding: 8px 12px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
button.copy:hover { border-color: var(--text-dim); }
.panel .hint { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.filters input[type="search"],
.filters select {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 9px 12px;
  font-size: 14px;
  min-height: 40px;
  font-family: inherit;
}
.filters input[type="search"] { flex: 1 1 240px; min-width: 0; }
.filters input[type="search"]:focus,
.filters select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.filters button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
  cursor: pointer;
  font-family: inherit;
}
.filters button:hover { border-color: var(--text-dim); }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.pager-links { display: flex; align-items: center; gap: 14px; }
.page-link {
  font-size: 13.5px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.page-link.disabled { color: var(--text-dim); opacity: 0.45; }

.flash {
  background: #fdecec;
  border: 1px solid #f3c1c1;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  color: var(--text);
}
.flash.ok {
  background: #e9f7f0;
  border-color: var(--accent-dim);
  font-size: 14px;
}

/* Get-started checklist */
.checklist ol { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.checklist .mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-dim);
  margin-top: 1px;
}
.checklist li.done .mark { border-color: var(--accent-dim); color: var(--accent-bright); }
.checklist li.done b { color: var(--text-dim); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--border-lit); }
.checklist li.current .mark { border-color: var(--accent); color: var(--accent-bright); }
.checklist li.current b { color: var(--text); }
.checklist li.current .hint { margin-top: 2px; max-width: 46em; }
.checklist li.todo b { color: var(--text-dim); font-weight: 500; }

/* First-verdict moment: shown once between the verdict landing and "Got it" */
.first-verdict { border-color: var(--accent-dim); }
.first-verdict .fv-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
}
.first-verdict .panel-head { align-items: center; }
.first-verdict .panel-head form { margin: 0; }
.first-verdict .hint { max-width: 60em; }
.first-verdict .hint + .hint { margin-top: 6px; }
.secret-banner {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.secret-banner .key-row,
.secret-banner .wh-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.secret-banner code { font-family: var(--mono); font-size: 14px; word-break: break-all; }
.secret-banner .key-row code { color: var(--accent); }
.secret-banner .wh-row code { color: var(--text); }
.secret-banner p { font-size: 13px; color: var(--text-dim); margin-top: 8px; }

.connection { padding: 12px 0; border-top: 1px solid var(--border); }
.connection .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.connection .name { min-width: 70px; font-weight: 600; }
.connection .hint { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
.connection form.inline { flex: 1; min-width: 220px; }

/* Provider connection grid */
.providers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.provider-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg-inset);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.provider-card.connected { border-color: var(--accent-dim); }
.phead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.picon {
  display: inline-flex;
  color: var(--text);
  flex-shrink: 0;
}
.picon svg { display: block; }
.pname { min-width: 0; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.pname b { font-size: 15px; letter-spacing: -0.01em; }
.pclaims { font-family: var(--mono); font-size: 11px; color: var(--text-dim); }
.pstatus {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.pstatus.on { color: var(--accent-bright); }
.pbody { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pbody .hint { font-size: 12.5px; }
.pconnect > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.pconnect > summary::-webkit-details-marker { display: none; }
.pconnect > summary:hover { border-color: var(--accent-dim); color: var(--accent-bright); }
.pconnect[open] > summary { display: none; }
.pconnect form { display: flex; flex-direction: column; gap: 10px; }
.pconnect label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-dim); }
.pconnect input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--mono);
  min-height: 40px;
  width: 100%;
}
.pconnect .hint { font-size: 12px; }
.pconnect button { width: 100%; }

.meter {
  height: 6px;
  background: var(--bg-inset);
  border-radius: 3px;
  margin: 12px 0 16px;
}
.meter > span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
}
.meter.paused > span { background: var(--failed); }

.estimate {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.estimate-figure {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th, table.list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.list th { color: var(--text-dim); font-size: 13px; font-weight: 600; }
table.list td.mono { font-family: var(--mono); font-size: 12.5px; }
table.list tr:last-child td { border-bottom: none; }
table.list tr:hover td { background: rgba(0, 0, 0, 0.02); }

.evidence-block { margin: 14px 0; }
.evidence-block h2 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

.signin { text-align: center; padding: 120px 0; }
.signin h1 { font-size: 28px; margin-bottom: 8px; letter-spacing: -0.02em; }
.signin p { color: var(--text-dim); margin-bottom: 28px; }

.fold { margin-bottom: 24px; }
.fold > summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "▸ "; color: var(--text-dim); }
.fold[open] > summary::before { content: "▾ "; }
.fold .panel { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; filter: none !important; }
}

/* ================= Mainline landing (template-structured) ================= */
.mainline { background: var(--bg); overflow-x: clip; }
.container { max-width: 1220px; margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 1000px; }

.mainline .topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(92%, 760px);
  padding: 10px 10px 10px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topnav .logo img { height: 18px; display: block; }
.topnav .links { display: flex; gap: 4px; }
.topnav .links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
}
.topnav .links a:hover { background: var(--bg-inset); text-decoration: none; }
.topnav .cta {
  color: var(--primary-fg);
  background: var(--primary);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.topnav .cta:hover { background: #262626; text-decoration: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close, .open .nav-toggle .icon-open { display: none; }
.open .nav-toggle .icon-close { display: block; }

@media (max-width: 700px) {
  .mainline .topnav { justify-content: flex-start; gap: 10px; padding-left: 18px; }
  .topnav .logo { margin-right: auto; }
  .nav-toggle { display: inline-flex; }
  .topnav .links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  }
  .topnav.open .links { display: flex; }
  .topnav .links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
}

.cream-top {
  margin: 10px 10px 0;
  border-radius: 36px 36px 16px 16px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg-inset) 20%, rgba(247, 247, 247, 0.8) 100%);
}
.cream-bottom {
  margin: 0 10px 10px;
  border-radius: 16px 16px 36px 36px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, var(--cream) 100%);
}

/* ---- Hero ---- */
.hero-m { padding: 168px 0 112px; }
.hero-cols { display: flex; gap: 80px; justify-content: space-between; }
.hero-copy { flex: 1; }
.hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero-copy h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 20px;
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  max-width: 18em;
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.news-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bg), transparent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.news-pill:hover { text-decoration: none; border-color: var(--border-lit); }
.hero-feats {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-left: 40px;
  max-width: 420px;
}
.hero-feats .dashed-v { position: absolute; left: 0; top: 0; bottom: 0; }
.hfeat { display: flex; gap: 14px; }
.hfeat svg { margin-top: 3px; flex-shrink: 0; }
.hfeat h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.hfeat p { font-size: 14px; color: var(--text-dim); max-width: 20em; }

.dashed-v {
  width: 1px;
  background: repeating-linear-gradient(180deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
}
.dashed-h {
  display: block;
  height: 1px;
  width: 100%;
  background: repeating-linear-gradient(90deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.hero-shot-wrap { margin-top: 72px; }

/* Keyless first verdict, right under the hero shot. */
.try-strip { margin-top: 28px; max-width: 760px; }
.try-strip p { font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
.try-strip pre.code { margin: 0; }
.hero-shot {
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  padding: 24px 28px;
}
.shot-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shot-id, .shot-type { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
.shot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.shot-col { min-width: 0; }
.shot-col h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.shot-col pre.code { font-size: 12.5px; }
.shot-verdict {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
}
.shot-note { font-family: var(--sans); font-weight: 600; color: var(--failed); margin-left: auto; }

/* ---- Logos ---- */
.logos-m { padding-bottom: 112px; }
.logos-head { text-align: center; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; margin-bottom: 48px; }
.logos-head span { display: block; color: var(--text-dim); }
.apps-rows { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.apps-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: clamp(44px, 7vw, 110px); row-gap: 32px; }
.apps-row img { width: auto; filter: brightness(0) opacity(0.72); }

@media (max-width: 700px) {
  /* Four across can only wrap to 3+1 here; force even pairs instead. */
  .apps-rows { gap: 30px; }
  .apps-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 30px;
    justify-items: center;
  }
}

/* ---- Features ---- */
.features-m { padding-bottom: 112px; }
.dashed-label { position: relative; display: flex; align-items: center; justify-content: center; }
.dashed-label .dl-line { position: absolute; inset-inline: 0; height: 1px; background: repeating-linear-gradient(90deg, transparent, transparent 4px, #b9b9b9 4px, #b9b9b9 10px); -webkit-mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent); mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent); }
.dashed-label .dl-text { position: relative; background: var(--bg-inset); padding: 0 14px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--text-dim); }
.feat-head { max-width: 900px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.feat-head h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.feat-head p { color: var(--text-dim); font-weight: 500; line-height: 1.45; }
.feat-card {
  margin-top: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  overflow: hidden;
}
.feat-cell { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.feat-cell + .feat-cell { border-left: 1px solid var(--border); }
.feat-visual { flex: 1; }
.feat-visual pre.code { height: 100%; font-size: 12.5px; }
.feat-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; color: var(--text); }
.feat-link:hover { text-decoration: none; color: var(--accent); }

/* ---- How it runs ---- */
.ra-m { padding-bottom: 112px; }
.ra-head { text-align: center; font-size: clamp(26px, 3.8vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; max-width: 20em; margin-inline: auto; }
.ra-grid { margin-top: 56px; }
.ra-row { display: grid; }
.ra-row.two { grid-template-columns: 1fr 1fr; }
.ra-row.three { grid-template-columns: 1fr 1fr 1fr; }
.ra-item { min-width: 0; padding: 32px 24px; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.ra-item + .ra-item { border-left: 1px dashed #d0d0d0; }
.ra-text h3 { display: inline; font-family: var(--sans); font-size: 15.5px; font-weight: 600; }
.ra-text span { color: var(--text-dim); font-weight: 500; font-size: 15px; }
.ra-code { font-size: 12.5px; }
.ra-icons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ra-icons .ptile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ra-icons .ptile svg { display: block; }
.ra-pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Receipts ---- */
.receipts-m { padding: 112px 0; }
.rec-head { max-width: 560px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rec-head h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.rec-head p { color: var(--text-dim); font-weight: 500; }
.rec-head .btn { gap: 8px; }
.rec-row {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.rec-card {
  scroll-snap-align: start;
  flex: 0 0 min(300px, 80vw);
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rec-quote { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.rec-card pre.code { font-size: 12px; flex: 1; overflow-x: hidden; }
.rec-src { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); }

.rec-row {
  -webkit-mask-image: linear-gradient(90deg, black 92%, transparent);
  mask-image: linear-gradient(90deg, black 92%, transparent);
}
.rec-row.at-end { -webkit-mask-image: none; mask-image: none; }
.rec-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rec-dots { display: flex; gap: 8px; }
.rec-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d4d4d4;
  cursor: pointer;
  transition: background 0.15s, width 0.15s;
}
.rec-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }
.rec-arrows { display: flex; gap: 8px; }
.rec-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.rec-btn:hover:not(:disabled) { border-color: var(--text-dim); }
.rec-btn:disabled { opacity: 0.35; cursor: default; }

/* ---- Pricing ---- */
.pricing-m { padding: 112px 0; }
.price-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.price-head h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.price-head p { color: var(--text-dim); font-weight: 500; max-width: 36em; }
.price-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card.featured { outline: 4px solid var(--primary); }
.price-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.price-amt { font-size: 19px; font-weight: 500; color: var(--text-dim); }
.price-amt span { font-size: 15px; }
.price-desc { font-size: 13.5px; color: var(--text-dim); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-dim); }
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-color: var(--text-dim);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}
.price-card .btn { width: fit-content; }

/* Console: billing panel. Four levels — alert, plan identity, the usage
   figure, then the spec grid — so the page has somewhere to start reading. */
.bill-head { align-items: flex-start; margin-bottom: 20px; }
.bill-head h2 { margin-bottom: 2px; }
.bill-head .hint { margin: 0; }

.bill-alert {
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid;
  margin-bottom: 18px;
  color: var(--text);
}
.bill-alert strong { font-weight: 600; }
.bill-alert.warn { background: #fdf3dc; border-color: #b8860b; color: #5c4408; }
.bill-alert.fail { background: #fdecec; border-color: var(--failed); color: #8f1d1d; }

.bill-spec {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 20px;
}
.bill-spec div { display: flex; flex-direction: column; gap: 3px; }
.bill-spec dt { font-size: 12px; color: var(--text-dim); letter-spacing: 0.02em; }
.bill-spec dd { font-size: 14px; font-weight: 500; color: var(--text); }

.bill-upsell { margin-top: 16px; }

/* ---- FAQ ---- */
.faq-m { padding-bottom: 112px; }
.faq-title { text-align: center; font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 56px; }
.faq-groups { display: flex; flex-direction: column; gap: 40px; max-width: 720px; margin-inline: auto; }
.faq-group h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.qa { border-bottom: 1px solid var(--border); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15.5px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--text-dim); transition: transform 0.15s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 18px; color: var(--text-dim); max-width: 60ch; }

/* ---- Footer ---- */
.footer-m { padding-top: 112px; display: flex; flex-direction: column; gap: 56px; overflow: hidden; }
.foot-cta { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.foot-cta h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.foot-cta p { color: var(--text-dim); font-weight: 500; max-width: 34em; }
.btn.lg { min-height: 44px; padding: 12px 24px; font-size: 15px; }
.foot-nav { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.foot-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.foot-nav a { color: var(--text); font-weight: 500; }
.foot-nav a:hover { opacity: 0.7; text-decoration: none; }
.foot-legal li { color: var(--text-dim); font-size: 13.5px; }
.foot-mark { width: min(1100px, 92%); margin: 24px auto -2%; display: block; opacity: 0.9; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-m { padding-top: 132px; }
  .hero-cols { flex-direction: column; gap: 48px; }
  .hero-feats { padding-left: 0; padding-top: 32px; max-width: none; }
  .hero-feats .dashed-v { display: none; }
  .shot-cols { grid-template-columns: 1fr; }
  .feat-head { grid-template-columns: 1fr; gap: 12px; }
  .feat-card { flex-direction: column; }
  .feat-cell + .feat-cell { border-left: none; border-top: 1px solid var(--border); }
  .ra-row.two, .ra-row.three { grid-template-columns: 1fr; }
  .ra-item + .ra-item { border-left: none; border-top: 1px dashed #d0d0d0; }
  .price-grid { grid-template-columns: 1fr; }
}

/* ================= Solutions page ================= */
.sol-hero { padding: 168px 0 112px; }
.sol-hero-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.sol-hero-copy { min-width: 0; }
.sol-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.sol-hero h1 em { display: block; font-style: normal; color: var(--accent); }
.sol-lede {
  margin-top: 18px;
  max-width: 32em;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dim);
}
.sol-lede strong { color: var(--text); font-weight: 600; }
.sol-hero .hero-actions { margin-top: 28px; }
.sol-note { margin-top: 18px; font-size: 14.5px; font-weight: 500; color: var(--text-dim); }

/* ---- Hero gate visual ---- */
.sol-gate { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.gate-said {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.gate-who { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.gate-said p { font-family: var(--display); font-size: 17px; font-weight: 500; }
.gate-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--text-dim);
}
.gate-arrow span { font-family: var(--mono); font-size: 12.5px; }
.gate-checks {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  padding: 20px 24px 18px;
}
.gate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.gate-task { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
.gate-checks ul { list-style: none; padding: 6px 0 2px; }
.gate-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 13px;
}
.gate-checks li + li { border-top: 1px dashed #ebebeb; }
.gate-checks li em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-dim); text-align: right; }
.gate-checks .mark { width: 14px; height: 14px; border-radius: 4px; flex: none; border: 1px solid var(--border-lit); background: var(--bg-inset); }
.gate-checks .ok .mark { border-color: var(--accent-dim); background: #e7f6ee; }
.gate-checks .bad { color: var(--failed); }
.gate-checks .bad .mark { border-color: #f3c9c9; background: #fdecec; }
.gate-checks .bad em { color: var(--failed); }
.gate-checks .skip { color: var(--text-dim); }
.gate-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--failed); }

.sol-m { padding-bottom: 112px; }
.sol-head { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.sol-head h2 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.sol-head p { color: var(--text-dim); font-weight: 500; }
.sol-m .dashed-label + .sol-head { margin-top: 56px; }

.sol-grid { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.sol-grid.three { grid-template-columns: repeat(3, 1fr); }
.sol-card {
  min-width: 0;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sol-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.sol-card p { color: var(--text-dim); font-weight: 500; font-size: 15px; }
.sol-card .sol-em { color: var(--text); font-weight: 600; }
.sol-card > :last-child { margin-top: auto; }
.sol-card pre.code { font-size: 12.5px; }

.sol-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sol-flow span {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.sol-flow span.on { background: #e7f6ee; border-color: var(--accent-dim); color: #04724d; }
.sol-flow i { font-style: normal; color: var(--text-dim); font-size: 13px; }
.sol-flow + .sol-flow { margin-top: -4px; }
.sol-flow.was span { color: var(--text-dim); }

.sol-ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sol-ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 15px;
}
.sol-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--border-lit);
  background: var(--bg-inset);
}
.sol-ticks.fail li::before { border-color: #f3c9c9; background: #fdecec; }
.sol-ticks.pass li::before { border-color: var(--accent-dim); background: #e7f6ee; }

.sol-callout {
  margin: 40px auto 0;
  max-width: 36em;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}
.sol-split { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.sol-contract { margin-top: 20px; }

@media (max-width: 900px) {
  .sol-hero { padding-top: 132px; }
  .sol-hero-cols { grid-template-columns: 1fr; gap: 48px; }
  .sol-lede { max-width: none; }
  .sol-grid, .sol-grid.three, .sol-split { grid-template-columns: 1fr; }
}
.sol-grid.compact .sol-card { gap: 8px; padding: 24px 26px; }
.sol-grid.compact .sol-card > :last-child { margin-top: 0; }
.sol-grid.compact .sol-card h3 { font-size: 17px; }
.footer-m .foot-cta h2 { max-width: 18em; margin-inline: auto; }

/* ================= Use cases page ================= */
.uc-hero { padding: 168px 0 96px; text-align: center; }
.uc-hero h1 {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.uc-hero h1 em { display: block; font-style: normal; color: var(--accent); }
.uc-hero p {
  margin: 20px auto 0;
  max-width: 32em;
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dim);
  text-wrap: balance;
}
.uc-hero .hero-actions { justify-content: center; }
.uc-jump { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.uc-jump a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.uc-jump a:hover { text-decoration: none; border-color: var(--border-lit); background: var(--bg); }

.uc-m { padding-bottom: 112px; }
.uc-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  scroll-margin-top: 110px;
}
.uc-feat + .uc-feat { border-top: 1px dashed #d0d0d0; }
.uc-feat > div { min-width: 0; }
.uc-feat:nth-of-type(even) .uc-copy { order: 2; }
.uc-kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--text-dim); }
.uc-copy h2 { margin-top: 12px; font-size: clamp(23px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.uc-copy > p { margin-top: 14px; color: var(--text-dim); font-weight: 500; }
.uc-copy .sol-ticks { margin-top: 20px; }
.uc-copy .uc-em { margin-top: 18px; color: var(--text); font-weight: 600; }

.uc-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
  padding: 24px 26px;
}
.uc-panel h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text-dim); }
.uc-ask {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.uc-panel .uc-said { margin-top: 12px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.uc-panel .sol-ticks { margin-top: 14px; }
.uc-panel .uc-em { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 600; }
.uc-panel pre.code { font-size: 12.5px; }

.uc-chain { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.uc-chain .step {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-inset);
  font-family: var(--mono);
  font-size: 13px;
}
.uc-chain .step.gate { background: #e7f6ee; border-color: var(--accent-dim); color: #04724d; font-weight: 500; }
.uc-chain .step.bad { background: #fdecec; border-color: #f3c9c9; color: var(--failed); }
.uc-chain .tick { color: var(--text-dim); line-height: 1; }

.uc-more { padding-bottom: 112px; }
.uc-more .sol-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .uc-hero { padding-top: 132px; }
  .uc-feat { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .uc-feat:nth-of-type(even) .uc-copy { order: 0; }
  .uc-more .sol-grid { grid-template-columns: 1fr; }
}
