/* ================================================================
   usecase.css — TryBounty-styled theme for Use-case, Workflow, and Agent detail pages
   ================================================================ */
:root {
  --bg: #F4F2EC;
  --surface: #FCFBFA;
  --panel: #FFFFFF;
  --panel2: #F0EEE6;
  --ink: #202020;
  --muted: #7E7C74;
  --muted2: #A09E96;
  --line: #E8E5DA;
  --line2: #D5D1C3;
  --accent: #9FF25F;
  --accent-hover: #8de04e;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --inverse: #141414;
  --inverse-ink: #FCFBFA;
  --font-h: 'Plus Jakarta Sans', sans-serif;
  --font-i: 'Inter', sans-serif;
  --font-m: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --r: 20px;
  --rb: 12px;
  --ease: cubic-bezier(.2,.72,.25,1);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding-top: 80px;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-i);
  font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
code { font-family: var(--font-m); font-size: .88em; background: rgba(0,0,0,0.05); border-radius: 4px; padding: 2px 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ─── HERO & HEADERS ─────────────────────────────────────────────────── */
.hero { padding: 64px 0 40px; text-align: center; }
.crumbs {
  font-size: 13.5px; color: var(--muted); margin-bottom: 20px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 18px; background: var(--surface);
}

h1 {
  font-family: var(--font-h); font-weight: 800; letter-spacing: -0.04em;
  margin: 22px 0 0; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.08;
  color: var(--ink);
}

.hero .lede, .lede {
  font-size: 17px; line-height: 1.6; color: var(--muted);
  max-width: 680px; margin: 20px auto 0;
}

.ctas { margin: 32px 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.candy {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; color: #141414; background: var(--accent);
  border: none; border-radius: 999px; padding: 13px 30px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
  text-decoration: none;
}
.candy:hover { background: var(--accent-hover); transform: scale(1.03); text-decoration: none; }
.candy.sm { padding: 9px 20px; font-size: 13.5px; }

.ghostbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: 14.5px; font-weight: 600;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 26px; cursor: pointer;
  transition: border-color .15s var(--ease), transform .15s;
  text-decoration: none;
}
.ghostbtn:hover { border-color: var(--line2); transform: scale(1.02); text-decoration: none; }

.trust { margin: 20px 0 0; font-family: var(--font-m); font-size: 12px; color: var(--muted2); }
.subline { margin: 14px auto 0; max-width: 640px; font-size: 13.5px; color: var(--muted); }

/* ─── PROVIDER STRIP ─────────────────────────────────────────────────── */
.provstrip { margin: 36px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.provstrip .pl { font-family: var(--font-m); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted2); }
.provstrip .ptiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ptile {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s;
}
.ptile:hover { transform: translateY(-2px); border-color: var(--line2); }
.ptile img { width: 22px; height: 22px; object-fit: contain; }
img.plogo { width: 20px; height: 20px; object-fit: contain; vertical-align: -4px; margin-right: 8px; }

/* ─── PROMPT BOX (CODE SNIPPETS) ─────────────────────────────────────── */
.promptbox {
  background: #18181b; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden; margin: 16px 0 24px; text-align: left;
}
.promptbox .ph {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: #27272a; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-m); font-size: 11.5px; color: #a1a1aa; text-transform: uppercase; letter-spacing: .08em;
}
.promptbox .copybtn {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px; color: #e4e4e7; font-family: var(--font-m); font-size: 11px;
  padding: 4px 10px; cursor: pointer; transition: background .15s;
}
.promptbox .copybtn:hover { background: rgba(255,255,255,0.1); }
.promptbox pre {
  margin: 0; padding: 18px 20px; color: #fafafa;
  font-family: var(--font-m); font-size: 13.5px; line-height: 1.6;
  white-space: pre-wrap; overflow-x: auto;
}

/* ─── STEP LABELS ────────────────────────────────────────────────────── */
.steplabel {
  display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 28px 0 10px;
  font-family: var(--font-h);
}
.steplabel b { font-weight: 700; color: var(--ink); }
.steplabel .n {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 999px; background: var(--inverse); color: var(--inverse-ink);
  font-family: var(--font-m); font-size: 11.5px; font-weight: 700;
}
.steplabel .once {
  font-family: var(--font-m); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
}

/* ─── PRICE WALL (ECONOMIC CONTRAST) ─────────────────────────────────── */
.pricewall {
  margin: 40px 0 0; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px;
  text-align: center;
}
.pricewall .pw { display: flex; flex-direction: column; gap: 6px; }
.pricewall .k { font-family: var(--font-m); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); }
.pricewall .v {
  font-family: var(--font-h); font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -.03em;
}
.pricewall .s { font-size: 13px; color: var(--muted); }
.pricewall .old .v { color: var(--muted2); text-decoration: line-through; text-decoration-color: var(--red); }
.pricewall .new .v { color: var(--green); }
.pricewall .arrow { font-size: 24px; color: var(--muted2); }

/* ─── TABLES & COMPARISONS ───────────────────────────────────────────── */
.tablewrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-top: 24px;
}
table.compare {
  width: 100%; border-collapse: collapse; font-size: 14px; text-align: left;
}
table.compare th {
  background: #F0EEE6; padding: 14px 20px; font-family: var(--font-h);
  font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line);
}
table.compare td {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.55;
}
table.compare tr:last-child td { border-bottom: none; }

/* ─── SECTION RHYTHM ─────────────────────────────────────────────────── */
section { padding: 72px 0 0; }
section h2 {
  font-family: var(--font-h); font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.03em; margin: 0 0 10px; color: var(--ink);
}
section h3 {
  font-family: var(--font-h); font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em; margin: 28px 0 12px; color: var(--ink);
}
.seclab {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}

/* ─── OUTCOME & RELATED CARDS ────────────────────────────────────────── */
.cards {
  margin-top: 24px; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s; color: inherit; text-decoration: none;
}
.card:hover { border-color: var(--line2); transform: translateY(-2px); text-decoration: none; }
.card h3, .card h4 {
  font-family: var(--font-h); font-size: 17px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink);
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─── FAQ & ACCORDIONS ───────────────────────────────────────────────── */
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; margin-top: 10px; overflow: hidden;
}
details summary {
  padding: 16px 20px; font-family: var(--font-h); font-weight: 600;
  font-size: 15px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--font-m); font-size: 16px; color: var(--muted2); }
details[open] summary::after { content: "−"; }
details .body { padding: 0 20px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
details .body p:first-child { margin-top: 0; }

/* ─── FINAL CTA ──────────────────────────────────────────────────────── */
.final {
  margin: 80px auto; max-width: 1080px; background: var(--inverse);
  color: var(--inverse-ink); padding: 72px 28px; text-align: center;
  border-radius: 24px;
}
.final h2 {
  font-family: var(--font-h); font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; color: #fff;
}
.final .candy { background: var(--accent); color: #141414; margin-top: 20px; }
.final .trust { color: rgba(255,255,255,0.5); }
.final .trust a { color: rgba(255,255,255,0.8); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .hero { padding: 48px 0 24px; }
  .pricewall { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .pricewall .arrow { transform: rotate(90deg); }
  .cards { grid-template-columns: 1fr; }
  .tablewrap { overflow-x: auto; }
}

/* ─── UNIFIED OW-FOOTER (TryBounty Style) ─────────────────────────────── */
.ow-footer, footer {
  background: var(--bg, #F4F2EC);
  border-top: 1px solid var(--line, #E8E5DA);
  padding: 80px 48px 48px;
  color: var(--ink, #1F1F1F);
  box-sizing: border-box;
  width: 100%;
}
.ow-footer-inner, .foot-in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.ow-footer-brand-wrap, .foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.ow-footer-brand, .foot-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ow-footer-brand:hover { text-decoration: none; }
.ow-footer-tagline, .foot-brand .note {
  font-family: var(--font-b, var(--sans, 'Inter', sans-serif));
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted, #7E7C74);
  margin: 0;
}
.ow-footer-nav, .foot-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.ow-footer-col, .foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 100px;
}
.ow-footer-head, .foot-col .lab {
  font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #1F1F1F);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.ow-footer-col a, .foot-col a {
  font-family: var(--font-b, var(--sans, 'Inter', sans-serif));
  font-size: 14px;
  color: var(--muted, #7E7C74);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ow-footer-col a:hover, .foot-col a:hover {
  color: var(--ink, #1F1F1F);
  text-decoration: none;
}
.ow-footer-bottom {
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line, #E8E5DA);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted, #7E7C74);
}
.ow-footer-copy {
  color: var(--muted, #7E7C74);
}
.ow-footer-note {
  color: var(--muted2, #9C9A90);
  font-family: var(--font-m, 'JetBrains Mono', monospace);
  font-size: 11.5px;
}
@media (max-width: 860px) {
  .ow-footer, footer { padding: 56px 24px 36px; }
  .ow-footer-inner, .foot-in { flex-direction: column; gap: 36px; }
  .ow-footer-nav, .foot-cols { gap: 36px; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
  .ow-footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; }
}

/* ─── NAVWRAP (Standard Header) ──────────────────────────────────────── */
.navwrap {
  position: fixed; inset: 0 0 auto 0; height: 72px;
  background: rgba(244,242,236,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,229,218,.6);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
}
.nav {
  max-width: 1200px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.brand {
  font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px; font-weight: 800;
  letter-spacing: -.04em; display: flex; align-items: center; gap: 8px;
}
.links { display: flex; align-items: center; gap: 24px; }
.links a { color: var(--muted, #7E7C74); font-weight: 500; font-size: 14px; transition: color .18s; }
.links a:hover { color: var(--ink, #202020); text-decoration: none; }
.links .candy {
  background: var(--ink, #202020); color: #fff;
  padding: 8px 18px; border-radius: 99px;
  font-weight: 600; font-size: 13.5px;
  transition: transform .2s var(--ease), background .2s;
}
.links .candy:hover {
  background: #000; transform: scale(1.02); text-decoration: none;
}

/* ─── ELECTRIC LIME WAVE FOOTER ─────────────────────────────────────── */
.footer-wave-container {
  max-width: 1200px;
  margin: 32px auto 0;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.footer-wave-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 8px;
}
.wave-segment {
  flex: 1;
  background-color: #9FF25F;
  border-radius: 4px 4px 0 0;
  min-height: 6px;
  transition: height 0.08s ease-out;
}
.ow-footer-backtotop {
  background: transparent;
  border: 1px solid var(--line, #E8E5DA);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-family: var(--font-m, monospace);
  color: var(--muted, #7E7C74);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ow-footer-backtotop:hover {
  background: var(--surface, #FCFBFA);
  color: var(--ink, #202020);
  border-color: var(--line2, #D5D1C3);
}

/* ─── COMBINED WORKFLOWS & AGENTS HUB STYLES ─────────────────────────── */
.hub-hero {
  padding: 48px 0 36px;
  text-align: center;
}
.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(159, 242, 95, 0.22);
  border: 1px solid rgba(159, 242, 95, 0.5);
  border-radius: 999px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111C06;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hub-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
.hub-title {
  font-family: var(--font-h);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin: 12px auto 0;
  max-width: 900px;
}
.hub-title span {
  color: #0E6B0E;
  background: linear-gradient(180deg, transparent 65%, rgba(159,242,95,0.4) 65%);
}
.hub-lede {
  font-family: var(--font-i);
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 18px auto 0;
}
.hub-cli-bar {
  max-width: 580px;
  margin: 28px auto 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.04);
}
.hub-cli-code {
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}
.hub-cli-btn {
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  border-radius: 9px;
  padding: 8px 14px;
  font-family: var(--font-h);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s ease;
  flex-shrink: 0;
}
.hub-cli-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}
.hub-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.hub-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--muted);
}
.hub-stat-item b {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

/* ─── FILTERS & SEARCH CONTROLS ──────────────────────────────────────── */
.hub-controls {
  margin: 40px auto 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1080px;
}
.hub-top-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hub-type-tabs {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.hub-type-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hub-type-btn:hover {
  color: var(--ink);
}
.hub-type-btn.active {
  background: var(--ink);
  color: #FFFFFF;
}
.hub-type-btn.active .hub-tab-count {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
}
.hub-tab-count {
  font-family: var(--font-m);
  font-size: 11px;
  background: var(--panel2);
  color: var(--muted);
  padding: 1px 7px;
  border-radius: 999px;
}
.hub-search-box {
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hub-search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.hub-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
}
.hub-search-box input::placeholder {
  color: var(--muted2);
}
.hub-cat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.hub-cat-pills::-webkit-scrollbar { display: none; }
.hub-cat-pill {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-i);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
.hub-cat-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.hub-cat-pill.active {
  background: #FFFFFF;
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ─── SECTION HEADINGS ───────────────────────────────────────────────── */
.hub-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 44px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hub-sec-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.hub-sec-title h2 {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.hub-sec-badge {
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(159, 242, 95, 0.3);
  color: #111C06;
  padding: 2px 9px;
  border-radius: 999px;
}

/* ─── AGENT CARDS GRID ───────────────────────────────────────────────── */
.hub-agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.hub-agent-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: all .22s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
}
.hub-agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9FF25F, #8EE250);
  opacity: 0;
  transition: opacity .2s ease;
}
.hub-agent-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0,0,0,0.08);
  text-decoration: none;
}
.hub-agent-card:hover::before {
  opacity: 1;
}
.hub-agent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hub-agent-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hub-agent-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #EDEAE0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.hub-agent-card:hover .hub-agent-logo {
  transform: scale(1.05);
}
.hub-agent-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.hub-agent-name {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hub-agent-badge {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.hub-agent-desc {
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-agent-cmd {
  background: #18181B;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11.5px;
  color: #E4E4E7;
}
.hub-agent-cmd code {
  background: transparent;
  padding: 0;
  color: #F4F4F5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-agent-cmd-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  padding: 3px 8px;
  font-family: var(--font-m);
  font-size: 10px;
  cursor: pointer;
  transition: background .15s ease;
  flex-shrink: 0;
}
.hub-agent-cmd-btn:hover {
  background: rgba(255,255,255,0.3);
}
.hub-agent-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0EEE6;
  font-size: 12.5px;
}
.hub-agent-tools {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hub-agent-link {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hub-agent-card:hover .hub-agent-link {
  color: #000;
  text-decoration: underline;
}

/* ─── WORKFLOW CARDS GRID ────────────────────────────────────────────── */
.hub-wf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}
.hub-wf-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: all .22s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
}
.hub-wf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9FF25F, #8EE250);
  opacity: 0;
  transition: opacity .2s ease;
}
.hub-wf-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0,0,0,0.08);
  text-decoration: none;
}
.hub-wf-card:hover::before {
  opacity: 1;
}
.hub-wf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hub-wf-cat {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111C06;
  background: rgba(159, 242, 95, 0.26);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(159, 242, 95, 0.5);
}
.hub-wf-steps-badge {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.hub-wf-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.hub-wf-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
}
.hub-wf-step-node {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-weight: 600;
}
.hub-wf-step-sep {
  color: var(--muted2);
  font-size: 10px;
}
.hub-wf-desc {
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-wf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0EEE6;
}
.hub-wf-price {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--muted);
}
.hub-wf-price b {
  color: var(--ink);
  font-weight: 700;
}
.hub-wf-action {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hub-wf-card:hover .hub-wf-action {
  color: #000;
  text-decoration: underline;
}

/* ─── USE CASES GRID & CARDS ────────────────────────────────────────── */
.hub-uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.hub-uc-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .2s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.03);
}
.hub-uc-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0,0,0,0.08);
}
.hub-uc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hub-uc-cat {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0369A1;
  background: #E0F2FE;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #BAE6FD;
}
.hub-uc-prov-badge {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.hub-uc-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.hub-uc-prompt-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hub-uc-prompt-label {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hub-uc-prompt-box code {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-uc-desc {
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-uc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0EEE6;
}
.hub-uc-price {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--muted);
}
.hub-uc-price b {
  color: var(--ink);
  font-weight: 700;
}
.hub-uc-action {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hub-uc-card:hover .hub-uc-action {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hub-top-filter { flex-direction: column; align-items: stretch; }
  .hub-search-box { max-width: 100%; }
  .hub-agents-grid, .hub-wf-grid, .hub-uc-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING PAGE REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.pricing-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-title {
  font-family: var(--font-h);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
}
.pricing-title span {
  background: linear-gradient(135deg, #10B981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-lede {
  font-family: var(--font-i);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 660px;
  margin: 18px auto 0;
}
.pricing-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.pricing-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.pricing-pillar-item svg {
  color: #10B981;
  flex-shrink: 0;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 44px 0 60px;
  align-items: stretch;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .2s var(--ease);
  box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03);
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: 0 16px 36px -4px rgba(0,0,0,0.07);
}
.pricing-card.featured {
  border: 2px solid var(--ink);
  background: #FFFFFF;
  box-shadow: 0 12px 32px -4px rgba(0,0,0,0.08);
}
.pricing-rec-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-tier-name {
  font-family: var(--font-h);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.pricing-tier-desc {
  font-size: 13.5px;
  color: var(--muted);
  min-height: 40px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.pricing-price-num {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.pricing-price-unit {
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--muted);
}
.pricing-price-sub {
  font-family: var(--font-i);
  font-size: 12.5px;
  color: #10B981;
  font-weight: 600;
  margin-bottom: 24px;
}
.pricing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: var(--font-h);
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s ease;
  margin-bottom: 28px;
}
.pricing-cta-btn.primary {
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid var(--ink);
}
.pricing-cta-btn.primary:hover {
  background: #000000;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
}
.pricing-cta-btn.accent {
  background: var(--accent);
  color: #141414;
  border: none;
}
.pricing-cta-btn.accent:hover {
  background: var(--accent-hover);
  color: #141414;
  text-decoration: none;
  transform: translateY(-1px);
}
.pricing-cta-btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line2);
}
.pricing-cta-btn.outline:hover {
  border-color: var(--ink);
  text-decoration: none;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-top: 1px solid #F0EEE6;
  padding-top: 24px;
}
.pricing-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #383835;
  line-height: 1.45;
}
.pricing-feat-item svg {
  color: #10B981;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-feat-item b {
  color: var(--ink);
}

/* Rate Comparison Strip */
.pricing-rates-sec {
  padding: 40px 0 60px;
}
.pricing-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pricing-rate-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: all .15s ease;
}
.pricing-rate-card:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
}
.pricing-rate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pricing-rate-brand {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pricing-rate-tag {
  font-family: var(--font-m);
  font-size: 11px;
  background: var(--panel2);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 6px;
}
.pricing-rate-price {
  font-family: var(--font-m);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pricing-rate-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Production Receipts */
.pricing-receipts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.pricing-receipt-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.pricing-receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pricing-receipt-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pricing-receipt-date {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted);
}
.pricing-receipt-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  font-size: 13px;
  color: #4A4A46;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-receipt-list li {
  position: relative;
  padding-left: 14px;
}
.pricing-receipt-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted2);
}
.pricing-receipt-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

/* FAQ Cards */
.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pricing-faq-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.pricing-faq-card h3 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.pricing-faq-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOCS & API REFERENCE REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */
.docs-hero {
  padding: 60px 0 36px;
  text-align: center;
}
.docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.docs-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B82F6;
}
.docs-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto;
}
.docs-title span {
  color: #10B981;
}
.docs-lede {
  font-family: var(--font-i);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 18px auto 0;
}
.docs-specs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.docs-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 12.5px;
  color: var(--muted);
}
.docs-spec-item b {
  color: var(--ink);
  font-weight: 600;
}

/* Docs Quickstart Cards */
.docs-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 36px 0 50px;
}
.docs-quick-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.03);
}
.docs-quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--line2);
  box-shadow: 0 12px 28px -4px rgba(0,0,0,0.06);
}
.docs-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.docs-quick-title {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.docs-quick-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.docs-quick-cmd {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.docs-quick-cmd code {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
  padding: 0;
}
.docs-quick-copy {
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s ease;
}
.docs-quick-copy:hover {
  background: #000000;
}

/* Docs Explorer & Ops */
.docs-explorer {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  margin: 40px 0 60px;
  box-shadow: 0 6px 24px -2px rgba(0,0,0,0.03);
}
.docs-explorer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.docs-filter-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.docs-method-pill {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.docs-method-pill:hover {
  color: var(--ink);
  border-color: var(--line2);
}
.docs-method-pill.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}
.docs-search-input {
  width: 100%;
  max-width: 320px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-i);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: all .15s ease;
}
.docs-search-input:focus {
  background: #FFFFFF;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(32,32,32,0.06);
}

/* Operations List */
.docs-ops-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.docs-op-row {
  background: #FCFBFA;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .15s ease;
}
.docs-op-row:hover {
  border-color: var(--line2);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,0.02);
}
.docs-op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.docs-op-sig {
  display: flex;
  align-items: center;
  gap: 12px;
}
.docs-verb-tag {
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.docs-verb-tag.get { background: #E0F2FE; color: #0369A1; }
.docs-verb-tag.post { background: #DCFCE7; color: #15803D; }
.docs-verb-tag.put { background: #FEF3C7; color: #B45309; }
.docs-verb-tag.delete { background: #FEE2E2; color: #B91C1C; }
.docs-verb-tag.patch { background: #F3E8FF; color: #7E22CE; }

.docs-path-str {
  font-family: var(--font-m);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.docs-op-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.docs-params-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.docs-param-tag {
  font-family: var(--font-m);
  font-size: 11px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL, PRIVACY & SUPPORT HUB
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-hero {
  padding: 60px 0 36px;
  text-align: center;
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.legal-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}
.legal-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto;
}
.legal-title span {
  color: #10B981;
}
.legal-lede {
  font-family: var(--font-i);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 18px auto 0;
}
.legal-tabs-wrap {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}
.legal-tabs {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.legal-tab-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-tab-btn:hover {
  color: var(--ink);
}
.legal-tab-btn.active {
  background: var(--ink);
  color: #FFFFFF;
}

/* Legal Content Section */
.legal-content-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  margin: 40px 0 60px;
  box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03);
}
.legal-guarantee-box {
  background: rgba(159,242,95,0.12);
  border: 1px solid rgba(159,242,95,0.5);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.legal-guarantee-box b {
  color: #141414;
  font-family: var(--font-h);
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}
.legal-guarantee-box p {
  margin: 0;
  font-size: 13.5px;
  color: #2e3820;
  line-height: 1.5;
}
.legal-clause {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #F0EEE6;
}
.legal-clause:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-clause-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.legal-clause-num {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  background: var(--panel2);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 6px;
}
.legal-clause-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.legal-clause p, .legal-clause li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.legal-clause ul {
  padding-left: 20px;
  margin: 10px 0;
}

/* Support Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.support-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.02);
}
.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--line2);
  box-shadow: 0 12px 28px -4px rgba(0,0,0,0.06);
}
.support-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.support-card-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.support-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.support-card-action {
  margin-top: auto;
}
.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s ease;
}
.support-btn.primary {
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid var(--ink);
}
.support-btn.primary:hover {
  background: #000000;
  color: #FFFFFF;
  text-decoration: none;
}
.support-btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line2);
}
.support-btn.outline:hover {
  border-color: var(--ink);
  text-decoration: none;
}

/* Privacy specs grid */
.privacy-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.privacy-spec-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.privacy-spec-card b {
  font-family: var(--font-h);
  font-size: 14.5px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.privacy-spec-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG & BENCHMARK POSTS REDESIGN
   ═══════════════════════════════════════════════════════════════════════════ */
.blog-hero {
  padding: 60px 0 36px;
  text-align: center;
}
.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.blog-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
}
.blog-title {
  font-family: var(--font-h);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
}
.blog-title span {
  color: #10B981;
}
.blog-lede {
  font-family: var(--font-i);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 660px;
  margin: 18px auto 0;
}

/* Blog Filter Tabs */
.blog-filter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 36px 0 28px;
}
.blog-pills {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pill {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.blog-pill:hover {
  color: var(--ink);
  border-color: var(--line2);
}
.blog-pill.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

/* Featured Post Card */
.blog-featured-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  transition: all .2s ease;
  box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03);
  text-decoration: none;
  color: inherit;
}
.blog-featured-card:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(0,0,0,0.07);
  text-decoration: none;
}
.blog-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #92400E;
  background: #FEF3C7;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-featured-title {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 12px;
}
.blog-featured-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-m);
  font-size: 12.5px;
  color: var(--muted2);
}
.blog-featured-statbox {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.blog-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.blog-stat-row:last-child {
  border-bottom: none;
}

/* Blog Grid & Post Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}
.blog-post-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.02);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.blog-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: 0 12px 28px -4px rgba(0,0,0,0.06);
  text-decoration: none;
}
.blog-post-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.blog-post-tag {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 6px;
}
.blog-post-tag.bench { background: #DCFCE7; color: #15803D; }
.blog-post-tag.launch { background: #E0F2FE; color: #0369A1; }
.blog-post-tag.recipe { background: #FEF3C7; color: #B45309; }
.blog-post-tag.arch { background: #F3E8FF; color: #7E22CE; }
.blog-post-tag.econ { background: #FFEDD5; color: #C2410C; }

.blog-post-date {
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted2);
}
.blog-post-title {
  font-family: var(--font-h);
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 10px;
}
.blog-post-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-post-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0EEE6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.blog-post-card:hover .blog-post-foot span:last-child {
  color: #10B981;
}

/* Newsletter / Subscribe Box */
.blog-subscribe-strip {
  background: #141414;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 36px 40px;
  margin: 20px 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.blog-sub-text h3 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #FFFFFF;
}
.blog-sub-text p {
  margin: 0;
  font-size: 14px;
  color: #A3A3A3;
  line-height: 1.5;
}
.blog-sub-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-sub-input {
  background: #262626;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 10px 16px;
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
  width: 260px;
  transition: border-color .15s ease;
}
.blog-sub-input:focus {
  border-color: #9FF25F;
}

/* Article Detail Styling */
.blog-article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.blog-article-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.blog-article-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
  margin: 16px 0 16px;
}
.blog-article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}
.blog-bench-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.blog-bench-table th, .blog-bench-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #F0EEE6;
  font-size: 13.5px;
}
.blog-bench-table th {
  background: var(--bg);
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-bench-table tr:last-child td {
  border-bottom: none;
}

/* Code Snippets & Diagram Blocks */
.blog-code-box {
  background: #141414;
  color: #E5E5E5;
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
  font-family: var(--font-m);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  border: 1px solid #262626;
}
.blog-code-box .kw { color: #93C5FD; }
.blog-code-box .str { color: #86EFAC; }
.blog-code-box .num { color: #FCA5A5; }
.blog-code-box .comment { color: #737373; font-style: italic; }

.blog-callout {
  background: var(--panel2);
  border-left: 4px solid #10B981;
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.blog-callout h4 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.blog-callout p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.blog-author-bio {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 48px 0 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.blog-author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E0E7FF;
  color: #3730A3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.blog-author-bio-info h4 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
}
.blog-author-bio-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-subscribe-strip { flex-direction: column; align-items: flex-start; }
  .blog-sub-input { width: 100%; }
  .legal-content-card { padding: 24px; }
}




