/* DBFComp — clean, technical software site. IBM Plex type, light theme, single green accent. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-tint: #f0f6f3;
  --ink: #14171c;
  --muted: #59616c;
  --faint: #828a94;
  --line: #e5e8ec;
  --line-strong: #d4d9df;
  --accent: #0e7a58;        /* "verified / match" green */
  --accent-deep: #0a5d43;
  --accent-tint: #e3f1ea;
  --danger: #c0392b;
  --code-bg: #15181e;
  --code-ink: #e7eaef;
  --code-faint: #8b94a1;
  --radius: 10px;
  --maxw: 1080px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ---- header ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-weight: 600; font-size: 16px;
  color: var(--ink); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent); position: relative; flex: none;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 2px solid #fff; border-radius: 50%;
}
.nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav .links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav .links a:hover { color: var(--ink); text-decoration: none; }
.nav .links a.ghbtn {
  border: 1px solid var(--line-strong); padding: 6px 13px; border-radius: 7px; color: var(--ink);
}
.nav .links a.ghbtn:hover { border-color: var(--faint); background: var(--bg-soft); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: 7px; padding: 6px 10px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--faint); }

/* ---- hero ---- */
.hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 78% -8%, var(--bg-tint), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--accent-deep); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); padding: 5px 11px; border-radius: 99px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18.5px; color: var(--muted); max-width: 30em; margin-bottom: 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 13px; color: var(--faint); font-family: var(--mono); }

/* faux alert card */
.alert-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20,23,28,.04), 0 18px 40px -22px rgba(20,23,28,.22);
  overflow: hidden;
}
.alert-head {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.alert-head .dot { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); flex: none; position: relative; }
.alert-head .dot::after { content:""; position:absolute; inset:7px; border:2px solid #fff; border-radius:50%; }
.alert-head b { font-weight: 600; }
.alert-head .badge { font-family: var(--mono); font-size: 11px; color: #fff; background: #5865f2;
  padding: 1px 6px; border-radius: 4px; }
.alert-head time { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.alert-photo {
  height: 220px; position: relative;
  background:
    radial-gradient(120px 140px at 50% 42%, #cdd8e2, #9fb0bf 60%, #7e8fa0 100%);
}
.alert-photo svg { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); opacity: .82; }
.alert-photo .live { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 11px;
  background: rgba(14,122,88,.92); color: #fff; padding: 3px 8px; border-radius: 6px; }
.alert-cap { padding: 13px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.5; }
.alert-cap .ok { color: var(--accent-deep); font-weight: 600; }
.alert-cap .meta { color: var(--faint); }

/* ---- sections ---- */
section.block { padding: 70px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 36em; margin-bottom: 40px; }
.section-head .kicker { font-family: var(--mono); font-size: 12.5px; color: var(--accent-deep);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.section-head h2 { font-size: 30px; letter-spacing: -0.02em; margin: 10px 0 12px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: #fff; transition: border-color .15s ease, transform .15s ease; }
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature .ic { width: 34px; height: 34px; border-radius: 8px; background: var(--accent-tint);
  color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 22px; position: relative; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 2px;
  color: var(--line-strong); font-size: 18px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); font-weight: 600; }
.step h3 { font-size: 16px; margin: 8px 0 6px; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); }

/* tiers table */
.tiers { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tiers th, .tiers td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.tiers th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
  color: var(--faint); font-weight: 500; }
.tiers td code { font-family: var(--mono); font-size: 13px; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.tiers tr:last-child td { border-bottom: none; }

/* code */
pre { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius);
  padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.7;
  border: 1px solid #20242c; }
pre .c { color: var(--code-faint); }
pre .g { color: #7ee0b8; }
:not(pre) > code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-soft);
  border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

/* privacy callout */
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-tint);
  border: 1px solid var(--accent-tint); border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 18px 20px; }
.callout .ic { color: var(--accent-deep); flex: none; margin-top: 2px; }
.callout p { font-size: 14.5px; color: #2c4a3e; }

/* ---- footer ---- */
footer.site { padding: 40px 0; color: var(--faint); font-size: 13.5px; }
footer.site .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* ---- docs ---- */
.docs { display: grid; grid-template-columns: 232px 1fr; gap: 48px; align-items: start;
  padding: 40px 0 80px; }
.docs nav.side { position: sticky; top: 84px; font-size: 14px; }
.docs nav.side .grp { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--faint); margin: 18px 0 8px; }
.docs nav.side a { display: block; color: var(--muted); padding: 5px 0; border-left: 2px solid transparent;
  padding-left: 12px; margin-left: -2px; }
.docs nav.side a:hover { color: var(--ink); text-decoration: none; }
.docs nav.side a.active { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 600; }
.docs .content { min-width: 0; max-width: 720px; }
.docs .content h1 { font-size: 34px; letter-spacing: -0.025em; margin-bottom: 8px; }
.docs .content > p.intro { color: var(--muted); font-size: 17px; margin-bottom: 8px; }
.docs .content h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 14px; padding-top: 8px;
  scroll-margin-top: 80px; }
.docs .content h3 { font-size: 16.5px; margin: 26px 0 10px; }
.docs .content p, .docs .content li { font-size: 15px; color: #2a2f37; }
.docs .content ul, .docs .content ol { margin: 0 0 14px 22px; }
.docs .content li { margin: 5px 0; }
.docs .content pre { margin: 14px 0; }
.docs .content p { margin-bottom: 12px; }
.docs .content hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .step:nth-child(2)::after { content: none; }
  .docs { grid-template-columns: 1fr; }
  .docs nav.side { position: static; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
  .nav .links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; gap: 4px; align-items: stretch; }
  .nav .links.open { display: flex; }
  .nav .links a { padding: 10px 0; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { content: none !important; }
  .hero h1 { font-size: 32px; }
}
