/* /insurers/ page. Tokens and components from site.css. */

.ins-hero { padding-top: clamp(56px, 8vw, 112px); overflow: hidden; }
.ins-hero::after {
  content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  border: 60px solid var(--lime); opacity: .07; pointer-events: none;
}
.ins-hero__title { margin-top: 22px; max-width: 12ch; }
.ins-hero__title span { display: block; }
.ins-hero__moat { margin-top: 28px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; max-width: 30ch; color: var(--paper); }
.ins-hero__lead { margin-top: 20px; }
.ins-hero__chips { list-style: none; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ins-hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ins-hero__note { margin-top: 24px; max-width: 760px; }

.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.ticks--dark li::before { border-color: var(--lime); }
.ticks--muted li::before { border-color: var(--grey); }
.ticks--muted li { color: var(--slate); }

/* Roles */
.roles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.roles__card .h3 { margin-top: 16px; }
.adapter-flow { margin-top: 32px; display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; padding: 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); }
.adapter-flow__node { padding: 14px 20px; border-radius: var(--r-md); background: var(--white); font-weight: 600; border: 1.5px solid var(--line); }
.adapter-flow__node--hl { background: var(--ink); color: var(--lime); border-color: var(--ink); font-family: var(--font-mono); font-size: 14px; }
.adapter-flow__arrow { width: 44px; height: 2px; background: var(--ink); position: relative; margin: 0 4px; }
.adapter-flow__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.adapter-flow__fan { display: grid; gap: 6px; }
.adapter-flow__fan span { padding: 8px 14px; border-radius: var(--r-sm); background: var(--lime); font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 720px) {
  .adapter-flow { flex-direction: column; }
  .adapter-flow__arrow { width: 2px; height: 28px; margin: 4px 0; }
  .adapter-flow__arrow::after { right: -4px; top: auto; bottom: -1px; border-top: 8px solid var(--ink); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
}

/* Pipeline */
.pipe { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); counter-reset: none; }
.pipe li { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.pipe li:last-child { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.pipe b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--lime); }
.pipe li:last-child b { color: var(--ink); }

.graph-wrap { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
@media (max-width: 960px) { .graph-wrap { grid-template-columns: 1fr; } }
.graph { display: grid; gap: 10px; position: relative; padding-right: 0; }
.graph__row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; }
.graph__src { padding: 12px 16px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); font-weight: 700; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.graph__row i { height: 2px; background: var(--grey); position: relative; }
.graph__row i::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--grey); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.graph__fact { padding: 12px 16px; border-radius: var(--r-md); border: 1.5px solid var(--lime); color: var(--lime); font-weight: 600; }
.graph__sink { margin-top: 6px; padding: 16px; border-radius: var(--r-md); background: var(--lime); color: var(--ink); font-weight: 800; text-align: center; font-family: var(--font-display); font-size: 18px; position: relative; }
.graph__sink::before { content: "↓"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); color: var(--lime); font-size: 18px; }
@media (max-width: 520px) {
  .graph__row { grid-template-columns: 1fr; gap: 4px; }
  .graph__row i { width: 2px; height: 14px; margin-left: 20px; }
  .graph__row i::after { display: none; }
  .graph__fact { margin-bottom: 8px; }
}

.conf__list { list-style: none; margin: 18px 0; display: grid; gap: 14px; }
.conf__list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.conf__list b { font-family: var(--font-mono); color: var(--lime); }
.conf__list i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--ink-4); position: relative; overflow: hidden; }
.conf__list i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--lime); border-radius: 99px; }
.conf__fraud { padding-top: 12px; border-top: 1px solid var(--line-dark); }
.conf__fraud b { background: var(--ok); color: var(--ink); padding: 2px 10px; border-radius: 99px; font-size: 13px; }

/* Rules */
.rules { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .rules { grid-template-columns: 1fr; } }
.rules__code { margin: 0; font-size: 13px; }
.outcomes { display: grid; gap: 12px; }
.outcome { border-radius: var(--r-md); padding: 18px 20px; border-left: 6px solid var(--ink); background: var(--paper); }
.outcome b { font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .02em; overflow-wrap: anywhere; }
.outcome p { margin-top: 6px; color: var(--slate); font-size: 15px; }
.outcome--ok { border-color: var(--lime); background: var(--ink); color: var(--paper); }
.outcome--ok p { color: var(--mist); }
.outcome--ok b { color: var(--lime); }
.outcome--more { border-color: var(--warn); }
.outcome--human { border-color: var(--slate); }

.nots { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.not { border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.not .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.not b { font-family: var(--font-display); font-size: 26px; line-height: 1.05; font-weight: 900; }
.not p { color: var(--slate); }

/* AI */
.ai-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.ai-grid > * { min-width: 0; }
.tbl { width: 100%; margin: 16px 0 12px; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tbl tbody th { font-weight: 500; }
.routes { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.routes li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 13.5px; }
.routes__arrow { color: var(--grey); }
.routes__tier { font-family: var(--font-mono); font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--paper-2); }
.routes__tier--deterministic { background: var(--ink); color: var(--paper); }
.routes__tier--strong { background: var(--warn); }
.routes__tier--small { background: var(--lime); }

/* Carriers */
.car__lead { margin-top: 20px; }
.car__list { margin-top: 24px; }
#carriers .code { margin: 0; }

/* Regulatory */
.reg { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill-list li { padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; }
.pill-list--mono li { font-family: var(--font-mono); font-weight: 400; font-size: 12.5px; padding: 6px 12px; background: var(--paper); border-color: var(--paper); }
.machines { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.machine__list { list-style: none; margin-top: 16px; display: grid; gap: 0; }
.machine__list li { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.machine__state { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; background: var(--ink); color: var(--paper); padding: 3px 8px; border-radius: 6px; justify-self: start; overflow-wrap: anywhere; }
.machine__state--end { background: var(--lime); color: var(--ink); }
.machine__next { font-family: var(--font-mono); font-size: 12px; color: var(--slate); overflow-wrap: anywhere; }
@media (max-width: 480px) { .machine__list li { grid-template-columns: 1fr; gap: 4px; } }
.machines__note { margin-top: 14px; }

/* Security */
.sec { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* Contact */
.contact { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
.contact .h1 { margin-top: 18px; }
.contact__p { margin-top: 18px; font-size: 18px; max-width: 34em; }
.contact__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.sec .tag { white-space: normal; line-height: 1.4; }
