/* Enterprise / API section (Concept B: what we watch -> one API call -> where it lands) */
html body section.enterprise:not(#_){background:#F3EEE6;border-top:1px solid #E3D9CC;border-bottom:1px solid #E3D9CC;position:relative;overflow:hidden}
.ent-top{text-align:center;max-width:760px;margin:0 auto}
.ent-kick{font:600 11px 'JetBrains Mono',monospace;letter-spacing:.22em;text-transform:uppercase;color:#B33A2E;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 18px}
.ent-kick::before,.ent-kick::after{content:"";width:28px;height:1px;background:#B33A2E}
html body section.enterprise .ent-h{font-family:'Fraunces',serif;font-weight:400;font-size:52px;line-height:1.02;letter-spacing:-.02em;color:#0E0D0B;margin:0 0 18px}
.ent-h em{font-style:italic;color:#B33A2E}
html body section.enterprise .ent-p{font:400 16.5px/1.65 Inter,Arial,sans-serif;color:#4a443c;max-width:560px;margin:0 auto 26px}
.ent-ctas{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center}
.ent-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font:600 14px Inter,Arial,sans-serif;text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease}
.ent-btn.red{background:#B33A2E;color:#fff}
.ent-btn.red:hover{background:#9c3126}
.ent-btn.ghost{border:1px solid #CFC4B6;color:#0E0D0B;background:transparent}
.ent-btn.ghost:hover{border-color:#0E0D0B}
.ent-btn .btd-arw{width:12px;height:12px}

.ent-flow{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:28px;align-items:center;margin-top:56px}
.ent-flow>*{min-width:0;max-width:100%}
section.enterprise,section.enterprise *{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.ent-term{max-width:100%;min-width:0}
.ent-lab{font:600 10.5px 'JetBrains Mono',monospace;letter-spacing:.16em;text-transform:uppercase;color:#82776c;margin-bottom:10px}
.ent-mid .ent-lab{text-align:center}
.ent-col{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}
.ent-pill{display:flex;align-items:center;justify-content:space-between;background:#FFFDF9;border:1px solid #E3D9CC;border-radius:12px;padding:13px 16px;font:500 14px Inter,Arial,sans-serif;color:#0E0D0B;transition:border-color .25s ease,box-shadow .25s ease}
.ent-pill span{font:600 10px 'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#82776c}
.ent-col.out .ent-pill{border-style:dashed}
.ent-pill.is-lit{border-color:#B33A2E;box-shadow:0 0 0 3px rgba(179,58,46,.10)}
.ent-col.out .ent-pill.is-lit{border-style:solid}

.ent-term{background:#0E0D0B;border-radius:16px;box-shadow:0 30px 60px -28px rgba(14,13,11,.55),0 0 0 1px rgba(14,13,11,.9);overflow:hidden;color:#cfc6b8;font:400 12.5px/1.75 'JetBrains Mono',monospace;text-align:left}
.ent-bar{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid #26231f}
.ent-bar i{width:9px;height:9px;border-radius:50%;background:#3a3631}
.ent-bar span{margin-left:10px;font-size:11px;color:#8a8176;letter-spacing:.04em}
.ent-tabs{display:flex;gap:6px;padding:12px 16px 0;flex-wrap:wrap}
.ent-tab{font:500 11px 'JetBrains Mono',monospace;padding:6px 11px;border-radius:999px;color:#9a9083;border:1px solid #2c2925;background:transparent;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.ent-tab:hover{color:#F5F1EA;border-color:#4a453e}
.ent-tab[aria-selected="true"]{background:#F5F1EA;color:#0E0D0B;border-color:#F5F1EA}
.ent-tab:focus-visible{outline:2px solid #E8574A;outline-offset:2px}
.ent-code{margin:0;padding:16px 20px 22px;white-space:pre;overflow:hidden;min-height:372px;font:inherit;color:inherit;background:none}
.ent-code[hidden]{display:none}
.ent-code .c{color:#6f675d}.ent-code .k{color:#9a9083}.ent-code .s{color:#F5F1EA}.ent-code .n{color:#E8574A}.ent-code .ok{color:#7fbf8e}

@media (max-width:1100px){
  .ent-flow{grid-template-columns:minmax(0,1fr);gap:22px;max-width:620px;margin-left:auto;margin-right:auto}
  .ent-mid{order:-1}
  .ent-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .ent-pill{min-width:0;gap:6px}
}
@media (max-width:760px){
  html body section.enterprise .ent-h{font-size:38px}
  html body section.enterprise .ent-p{font-size:15.5px}
  .ent-flow{margin-top:36px}
  html body section.enterprise .ent-term{font-size:10.5px;line-height:1.7;border-radius:14px}
  html body section.enterprise .ent-code{padding:14px 14px 18px;min-height:0;font-size:10.5px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .ent-tabs{gap:5px;padding:10px 12px 0}
  .ent-tab{padding:5px 9px;font-size:10.5px}
  .ent-col{gap:8px}
  .ent-pill{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:11px 13px;font-size:14px;line-height:1.2;white-space:nowrap}
  .ent-pill span{font-size:9px;letter-spacing:.1em}
}
@media (max-width:380px){html body section.enterprise .ent-term,html body section.enterprise .ent-code{font-size:9.6px}.ent-tab{padding:5px 8px;font-size:10px}}

html[data-theme="dark"] body section.enterprise:not(#_){background:#151311;border-color:#2a2622}
html[data-theme="dark"] body section.enterprise .ent-h{color:#F5F1EA}
html[data-theme="dark"] body section.enterprise .ent-p{color:#b8afa3}
html[data-theme="dark"] .ent-term{box-shadow:0 30px 60px -28px rgba(0,0,0,.8),0 0 0 1px #34302a}
html[data-theme="dark"] .ent-pill{background:#1d1a17;border-color:#34302a;color:#F5F1EA}
html[data-theme="dark"] .ent-btn.ghost{color:#F5F1EA;border-color:#4a453e}

@media (prefers-reduced-motion:reduce){
  .ent-pill,.ent-tab,.ent-btn{transition:none}
}
@media (max-width:340px){html body section.enterprise .ent-term,html body section.enterprise .ent-code{font-size:8.6px}.ent-code{padding:12px 10px 16px}}
@media (max-width:340px){.ent-pill{font-size:12.5px;padding:10px 11px}}
