@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --lb-teal: #003D45;
  --lb-teal-2: #00626E;
  --lb-gold: #F5C842;
  --lb-gold-soft: rgba(245, 200, 66, 0.3);
  --lb-green: #59E395;
  --lb-bg: #fafaf8;
  --lb-bg-cool: #f5f9fa;
  --lb-border: #e5e5e5;
  --lb-text: #003D45;
  --lb-muted: #5a6b6f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--lb-text);
  background: white;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  background: var(--lb-teal);
  color: white;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lb-gold);
}
.brand-link::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lb-gold);
  margin-left: 10px;
  transform: translateY(-2px);
}
.header-meta {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  font-weight: 500;
}
.stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--lb-gold) 0%, var(--lb-green) 100%);
}

.back-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 40px 0;
  width: 100%;
}
.back-link {
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--lb-muted);
  font-weight: 500;
}
.back-link:hover { color: var(--lb-teal); }

/* ===== Hero ===== */
.hero {
  background: white;
  border-bottom: 1px solid var(--lb-border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 40px 30px;
  width: 100%;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--lb-teal-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero .eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--lb-teal-2);
  border-radius: 1px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--lb-teal);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero h1 .hl-gold {
  background: linear-gradient(180deg, transparent 65%, var(--lb-gold-soft) 65%);
  padding: 0 2px;
}
.hero .tagline {
  font-size: 16.5px;
  color: var(--lb-text);
  line-height: 1.6;
  max-width: 780px;
  font-weight: 400;
  padding-left: 16px;
  border-left: 3px solid var(--lb-gold);
}

/* ===== Examples (the main piece) — tinted background to break from hero ===== */
.examples {
  background: var(--lb-bg-cool);
  border-bottom: 1px solid var(--lb-border);
}
.examples-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 36px;
  width: 100%;
}
.examples-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--lb-green);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.examples-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--lb-green);
  border-radius: 1px;
}
.examples-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--lb-teal);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.example-card {
  background: white;
  border: 1px solid var(--lb-border);
  border-radius: 6px;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  overflow: hidden;
}
.example-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lb-green);
}
.example-card:hover {
  border-color: rgba(89, 227, 149, 0.5);
  box-shadow: 0 8px 24px rgba(89, 227, 149, 0.16);
  transform: translateY(-2px);
}
.example-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 24px;
  background: rgba(89, 227, 149, 0.18);
  color: var(--lb-teal);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 3px;
  margin-bottom: 10px;
  border: 1px solid rgba(89, 227, 149, 0.45);
}
.example-label {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--lb-teal);
  letter-spacing: -0.3px;
  line-height: 1.28;
  margin-bottom: 8px;
}
.example-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lb-text);
}

/* ===== Connections (compact strip — labels only, no subtitles) ===== */
.connections {
  background: var(--lb-teal);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.connections-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.conn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.conn-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--lb-gold);
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 86px;
}
.connections .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.connections .chip {
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.connections .chip:hover {
  border-color: var(--lb-gold-soft);
  color: var(--lb-gold);
  background: rgba(245, 200, 66, 0.06);
}
.connections .chip .num {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--lb-gold);
}
.connections .chip-workflow {
  background: rgba(89, 227, 149, 0.10);
  border-color: rgba(89, 227, 149, 0.35);
  color: var(--lb-green);
}
.connections .chip-workflow:hover {
  border-color: var(--lb-green);
  color: var(--lb-green);
  background: rgba(89, 227, 149, 0.16);
}

/* ===== Under the hood (collapsible, full-width tinted band) ===== */
.under-hood {
  background: var(--lb-bg-cool);
  border-bottom: 1px solid var(--lb-border);
  padding: 24px 40px 30px;
  width: 100%;
}
.under-hood details {
  max-width: 1020px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--lb-border);
  border-left: 3px solid var(--lb-teal-2);
  border-radius: 2px;
  overflow: hidden;
}
.under-hood summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--lb-teal-2);
  text-transform: uppercase;
  background: var(--lb-bg-cool);
  transition: background 160ms ease;
}
.under-hood summary::-webkit-details-marker { display: none; }
.under-hood summary:hover { background: rgba(0, 98, 110, 0.06); }
.under-hood summary .twist {
  font-size: 14px;
  color: var(--lb-teal-2);
  transition: transform 200ms ease;
}
.under-hood details[open] summary .twist { transform: rotate(45deg); }
.under-hood .hood-body {
  padding: 18px 22px 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--lb-text);
}
.under-hood .hood-body p + p { margin-top: 8px; }
.under-hood .hood-body p strong { color: var(--lb-teal); font-weight: 600; }
.under-hood .hood-body ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.under-hood .hood-body li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dashed var(--lb-border);
}
.under-hood .hood-body li:last-child { border-bottom: none; }
.under-hood .hood-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--lb-teal-2);
  border-radius: 50%;
}
.under-hood .hood-body li strong {
  font-weight: 600;
  color: var(--lb-teal);
}

/* Pipeline / flow diagrams (used inside .hood-body for rich tools) */
.flow-diagram {
  margin: 4px 0 18px;
  padding: 14px 14px 12px;
  background: var(--lb-bg-cool);
  border: 1px solid var(--lb-border);
  border-radius: 4px;
  overflow-x: auto;
}
.flow-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 4px 2px 2px;
}
.flow-node {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 100px;
}
.flow-box {
  background: white;
  border: 1px solid var(--lb-teal-2);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lb-teal);
  letter-spacing: -0.1px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 61, 69, 0.04);
}
.flow-box.input {
  background: white;
  border-style: dashed;
  border-color: var(--lb-border);
  color: var(--lb-muted);
}
.flow-box.output {
  background: rgba(89, 227, 149, 0.10);
  border-color: var(--lb-green);
  color: var(--lb-teal);
}
.flow-annot {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 9.5px;
  color: var(--lb-muted);
  letter-spacing: 0.2px;
  line-height: 1.3;
  max-width: 130px;
}
.flow-arrow {
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lb-teal-2);
  font-size: 14px;
  font-weight: 700;
  height: 32px;
}
.flow-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--lb-muted);
  font-style: italic;
  line-height: 1.45;
}
.flow-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 4px 0 14px;
}
.flow-stat {
  background: white;
  border: 1px solid var(--lb-border);
  border-left: 3px solid var(--lb-gold);
  border-radius: 2px;
  padding: 9px 12px 10px;
}
.flow-stat .num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--lb-teal);
  display: block;
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.flow-stat .lab {
  font-size: 10.5px;
  color: var(--lb-muted);
  letter-spacing: 0.2px;
  margin-top: 3px;
  display: block;
  line-height: 1.35;
}
.hood-sub {
  font-size: 10.5px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--lb-teal-2);
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.hood-sub:first-child { margin-top: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--lb-teal);
  color: rgba(255,255,255,0.6);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: auto;
}
.footer a { color: var(--lb-gold); font-weight: 500; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .examples-grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 24px 14px; }
  .back-strip { padding: 16px 24px 0; }
  .header { padding: 14px 24px; }
  .footer { padding: 14px 24px; }
  .examples { padding: 16px 24px 20px; }
  .connections-inner { padding: 0 24px; }
  .under-hood { padding: 22px 24px 26px; }
  .hero h1 { font-size: 26px; }
  .flow-stats { grid-template-columns: 1fr 1fr; }
}
