
/* Public Signal Data — precision-instrument design system (committed dark theme) */
:root {
  --ink: #0a0e1a;
  --ink-2: #10172a;
  --ink-3: #141c33;
  --line: rgba(158, 178, 222, 0.14);
  --line-strong: rgba(158, 178, 222, 0.28);
  --text: #e9edf6;
  --muted: #9aa6c0;
  --faint: #6b7794;
  --brass: #d4a24e;
  --brass-bright: #eec27a;
  --brass-dim: rgba(212, 162, 78, 0.14);
  --teal: #72c9b6;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --display: "Fraunces", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brass); color: var(--ink); }
a { color: var(--brass-bright); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--teal); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 14.5px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 6px;
  background: var(--brass); color: var(--ink); font-weight: 600; font-size: 15px;
  border: 1px solid var(--brass); transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brass-bright); border-color: var(--brass-bright); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass-bright); background: transparent; }
.btn.small { padding: 7px 14px; font-size: 13.5px; }

/* ---- type roles ---- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 14px;
}
h1, h2, .display { font-family: var(--display); font-weight: 500; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; margin-top: 18px; }
.definition {
  font-size: 1.1rem; color: var(--muted); max-width: 68ch; margin-top: 20px;
  padding-left: 18px; border-left: 2px solid var(--brass);
}
.definition strong { color: var(--text); }

/* ---- layout primitives ---- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.sec-head { margin-bottom: 40px; max-width: 70ch; }
.sec-head p { color: var(--muted); margin-top: 12px; }
.hairline { border: 0; border-top: 1px solid var(--line); }

/* ---- hero ---- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.dial-holder { display: flex; justify-content: center; }
.dial-rete { animation: spin 90s linear infinite; transform-origin: 50% 50%; }
.dial-pointer { animation: spin 240s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .dial-rete, .dial-pointer { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---- fact strip ---- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); font-weight: 500; }
.facts span { font-size: 13.5px; color: var(--faint); }

/* ---- cards ---- */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.card .chip { font-family: var(--mono); font-size: 12.5px; color: var(--teal); white-space: nowrap; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .links { display: flex; gap: 18px; font-size: 14px; padding-top: 4px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--brass-bright); text-decoration: none; }
.card.dim { opacity: 0.75; }
.card.dim:hover { transform: none; }

/* ---- feature rows ---- */
.features { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature h3 { color: var(--text); }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---- code ---- */
.codeblock { background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.codeblock .bar {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-bottom: 1px solid var(--line); font-family: var(--mono);
  font-size: 12px; color: var(--faint); letter-spacing: 0.06em;
}
.codeblock .bar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); opacity: 0.7; }
.codeblock pre { padding: 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #c8d4ee; }
.codeblock pre .k { color: var(--brass-bright); }

/* ---- radio tabs ---- */
.tabs { border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); overflow: hidden; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: flex; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-labels label {
  padding: 12px 20px; font-family: var(--mono); font-size: 13px; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-labels label:hover { color: var(--text); }
.tab-pane { display: none; }
.tab-pane .codeblock { border: 0; border-radius: 0; }
#tab-1:checked ~ .tab-labels label[for="tab-1"],
#tab-2:checked ~ .tab-labels label[for="tab-2"],
#tab-3:checked ~ .tab-labels label[for="tab-3"] { color: var(--brass-bright); border-bottom-color: var(--brass); }
#tab-1:checked ~ .pane-1, #tab-2:checked ~ .pane-2, #tab-3:checked ~ .pane-3 { display: block; }

/* ---- tables ---- */
.tbl-holder { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th {
  text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--ink-2);
}
td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); }
td.num { font-family: var(--mono); color: var(--teal); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- pricing ---- */
.cost-note {
  margin-top: 18px; padding: 16px 20px; border: 1px solid var(--brass-dim);
  background: var(--brass-dim); border-radius: 8px; color: var(--text); font-size: 15px;
}
.cost-note::before { content: "≈ "; font-family: var(--mono); color: var(--brass-bright); }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 34px 18px 0; font-weight: 600; font-size: 16px;
  list-style: none; position: relative; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--brass); font-size: 18px; transition: transform 0.15s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 75ch; }

/* ---- misc ---- */
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--faint); padding-top: 28px; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--brass-bright); }
.cta-band {
  border: 1px solid var(--line); border-radius: 14px; background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 162, 78, 0.1), transparent 55%), var(--ink-2);
  padding: 52px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.usecase-cards .card { min-height: 180px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sticky-side { position: sticky; top: 92px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { padding-left: 28px; position: relative; color: var(--muted); }
.checklist li::before {
  content: "◈"; position: absolute; left: 0; color: var(--brass); font-size: 13px; top: 3px;
}
.checklist li b { color: var(--text); font-weight: 600; }
.prose { max-width: 74ch; }
.prose p { margin-bottom: 16px; color: var(--muted); }
.prose h2 { margin: 48px 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose .codeblock { margin: 18px 0 26px; }
.prose ul { margin: 0 0 16px 20px; color: var(--muted); }
.prose li { margin-bottom: 6px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); font-size: 14px; }
.foot-grid a:hover { color: var(--brass-bright); }
.foot-brand p { color: var(--faint); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dial-holder { display: none; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div { border-top: 1px solid var(--line); }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .cta-band { padding: 36px 28px; }
  .nav-links a:not(.btn) { display: none; }
}
