:root {
  --ink: #f5f8ff;
  --muted: #aabdd4;
  --bg: #071222;
  --panel: #0a1b30;
  --line: #263f5a;
  --blue: #6ed2ff;
  --action: #0969db;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.58 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #a7e3ff; }
:where(a, summary, button):focus-visible { outline: 2px solid #84d7ff; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
.shell,
.nav { width: min(1336px, calc(100% - 64px)); margin-inline: auto; }

.ob-skip {
  position: absolute;
  z-index: 110;
  left: 16px;
  top: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--panel);
  transform: translateY(-140%);
}
.ob-skip:focus { transform: translateY(0); }
.nav-wrap { position: relative; z-index: 5; border-bottom: 1px solid #1a2a3e; }
.nav {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.brand { justify-self: start; }
.brand img { width: 104px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); }
.nav-links a { color: #d4deec; font-size: .93rem; font-weight: 600; }
.nav-links a:hover { color: #8cd9ff; }
.nav-links .mobile-demo, .menu-btn { display: none; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
.btn:hover { border-color: #6da4d6; color: #fff; background: #142b46; }
.btn-primary { background: var(--action); border-color: #3d91ff; color: white; }
.btn-primary:hover { background: #0a5fc3; }
.nav-cta { justify-self: end; }
.nav-arrow { position: relative; width: 12px; height: 12px; color: #8ed9ff; }
.nav-arrow::before, .nav-arrow::after { content: ""; position: absolute; }
.nav-arrow::before { top: 1px; right: 1px; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.nav-arrow::after { top: 6px; left: 0; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }

.ob-hero {
  position: relative;
  padding: 0 0 76px;
  background:
    linear-gradient(90deg, #071222 10%, #071222cb 49%, #07122272 94%),
    linear-gradient(0deg, #071222 4%, transparent 65%),
    url("/assets/opsbility-workflow-banner.webp") center right / cover no-repeat;
}
.ob-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 30px; color: var(--muted); font-size: .86rem; }
.ob-breadcrumb a { color: #b9d9f5; }
.ob-breadcrumb a:hover { text-decoration: underline; }
.ob-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-top: 20px;
}
.ob-overline { color: var(--blue); font-size: .9rem; font-weight: 720; }
.ob-hero h1 {
  margin: 17px 0 20px;
  max-width: 740px;
  font-size: clamp(2.6rem, 4.65vw, 4.8rem);
  letter-spacing: -.052em;
  font-weight: 790;
  overflow-wrap: break-word;
}
.ob-hero h1 span { display: block; color: var(--blue); }
.ob-hero-summary { max-width: 610px; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.ob-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.ob-workflow {
  align-self: start;
  padding: clamp(14px, 2vw, 25px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a1b30;
  box-shadow: 0 20px 52px #020b186e;
  scroll-margin-top: 14px;
}
.ob-workflow h2 { font-size: clamp(1.3rem, 2.3vw, 1.9rem); margin: 5px 0 15px; }
.ob-workflow-step { border-top: 1px solid #203a55; }
.ob-workflow-step:last-child { border-bottom: 1px solid #203a55; }
.ob-workflow-step summary {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 6px 7px;
  list-style: none;
  cursor: pointer;
  border-radius: 5px;
}
.ob-workflow-step summary::-webkit-details-marker { display: none; }
.ob-workflow-step summary::after { content: "+"; color: #91b7d9; text-align: right; }
.ob-workflow-step[open] summary::after { content: "−"; color: var(--blue); }
.ob-workflow-step summary:hover { background: #102946; }
.ob-workflow-step[open] summary { background: #143758; color: #fff; }
.ob-workflow-step strong { font-size: .94rem; font-weight: 650; line-height: 1.25; }
.ob-step-number { font-variant-numeric: tabular-nums; font-size: .75rem; color: var(--blue); }
.ob-step-role { font-size: .75rem; color: var(--muted); text-align: right; }
.ob-workflow-step p { margin: 7px 0; padding: 10px 11px; border: 1px solid #253e58; border-radius: 6px; background: #071425; color: var(--muted); font-size: .89rem; }

.ob-section { padding-block: clamp(29px, 5vw, 80px); }
.ob-pain { border-top: 1px solid var(--line); }
.ob-section h2 { margin-bottom: 1.1rem; font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.022em; }
.ob-cards, .ob-trust-grid, .ob-directory { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ob-use-cases .ob-cards,
.ob-trust-grid,
.ob-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob-card {
  min-width: 0;
  padding: clamp(17px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ob-cards .ob-card::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 0 15px;
  background: var(--blue);
}
.ob-card h2, .ob-card h3 { margin-bottom: .6rem; font-size: clamp(1.12rem, 1.7vw, 1.45rem); letter-spacing: 0; }
.ob-card p, .ob-faq p, .ob-final p { color: var(--muted); }
.ob-product-visual { width: min(950px, 100%); border: 1px solid var(--line); border-radius: 12px; margin: auto; }
.ob-text-link { display: inline-block; margin-top: .85rem; color: #8cdaff; font-weight: 650; }
.ob-text-link:hover { text-decoration: underline; }
.ob-faq { max-width: 960px; margin-left: max(32px, (100% - 1336px) / 2); }
.ob-faq details { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ob-faq summary { min-height: 40px; padding: 8px; cursor: pointer; }
.ob-faq p { padding: 2px 8px 8px; }
.ob-final {
  padding: clamp(22px, 5vw, 58px);
  border: 1px solid #2c5376;
  border-radius: 16px;
  background: linear-gradient(120deg, #0a1b30, #102f53);
}
.ob-final h2 { margin-bottom: .5rem; }
.ob-final .btn { margin-top: 1.2rem; }

.ob-index-hero { border-bottom: 1px solid #20344a; }
.ob-index-hero h1 { max-width: none; margin-top: 16px; }
.ob-directory { padding-top: 34px; gap: 25px; }
.ob-directory-group h2 { margin-bottom: 10px; font-size: 1.1rem; color: var(--muted); }
.ob-directory-cards { display: grid; gap: 12px; }
.ob-directory-card:hover { background: #112e4b; border-color: #5188be; }
.ob-footer { border-top: 1px solid var(--line); padding: 17px 0; color: var(--muted); font-size: .88rem; }
.ob-footer-row, .ob-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ob-footer-row { justify-content: space-between; }
.ob-footer a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .shell, .nav { width: calc(100% - 36px); }
  .nav { min-height: 71px; grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
  .brand img { width: 80px; }
  .nav-cta { display: none; }
  .menu-btn {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 46px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 20px; height: 1.5px; background: currentColor; display: block; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset: auto 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 13px 13px;
    background: #091b31;
    border: 1px solid var(--line);
    border-radius: 9px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.mobile-demo) { display: flex; align-items: center; min-height: 44px; }
  .nav-links .mobile-demo { display: inline-flex; margin-top: 6px; color: #fff; }
  .ob-hero { padding-bottom: 40px; background-position: center, center, 65% top; }
  .ob-hero-grid { grid-template-columns: 1fr; padding-top: 0; }
  .ob-hero h1 { max-width: 100%; font-size: clamp(2.3rem, 7.9vw, 4rem); }
  .ob-faq { margin-inline: auto; }
  .ob-footer-row { align-items: flex-start; }
}
@media (max-width: 600px) {
  .ob-cards, .ob-use-cases .ob-cards, .ob-trust-grid, .ob-directory { grid-template-columns: 1fr; }
  .ob-actions { align-items: flex-start; }
  .ob-step-role { display: none; }
  .ob-workflow-step summary { grid-template-columns: 2.1em minmax(0, 1fr) 12px; }
  .ob-breadcrumb { padding-bottom: 22px; }
  .ob-footer-row { flex-direction: column; gap: 6px; }
}
