/* IntelOpus beta site. Dark, quiet, one warm accent (references: Darken, AI Design Patterns, Orion map). */
:root {
  --bg: #07080b;
  --bg-2: #0d0f14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f2efe9;
  --ink-2: #c9c5bd;
  --muted: #8d8a85;
  --accent: #ff6a2b;
  --accent-2: #ffb35c;
  --observed: #3a4d6b;
  --moving: #ff7a3d;
  --land: #1b1f28;
  --radius: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 9%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 27%, rgba(255,255,255,.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 41%, rgba(255,255,255,.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 36%, rgba(255,255,255,.22) 50%, transparent 51%),
    radial-gradient(900px 500px at 50% -10%, rgba(255,106,43,.10), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.accent {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 10; padding: 14px 16px 0; }
.nav {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 11, 15, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.mark { width: 22px; height: 22px; }
.chip {
  font-size: 11px; font-weight: 500; color: var(--accent-2); border: 1px solid rgba(255,179,92,.35);
  padding: 1px 8px; border-radius: 999px; letter-spacing: .02em;
}
.links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font: 500 14px/1 var(--sans); padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--ink); color: #0a0a0a; }
.btn-accent { background: linear-gradient(180deg, #ff7a3d, #f45a1c); color: #fff; box-shadow: 0 8px 30px rgba(255,106,43,.25); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-block { width: 100%; padding: 14px; }

/* hero */
.hero { max-width: 860px; margin: 0 auto; padding: 92px 16px 36px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--panel); padding: 6px 14px; border-radius: 999px;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,43,.18); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; margin: 26px 0 22px; }
.lede { font-size: clamp(16px, 2vw, 18px); color: var(--ink-2); max-width: 640px; margin: 0 auto; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* map */
.map-panel { position: relative; max-width: 1120px; margin: 24px auto 0; padding: 0 16px; }
.horizon {
  position: absolute; left: 50%; top: -40px; width: min(1100px, 120%); height: 220px; transform: translateX(-50%);
  border-radius: 50%; border-top: 2px solid rgba(255,140,70,.75);
  box-shadow: 0 -18px 60px rgba(255,106,43,.35), inset 0 22px 60px rgba(255,106,43,.18);
  pointer-events: none;
}
.panel {
  position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 20px 20px 18px;
  background: linear-gradient(180deg, rgba(17,19,26,.92), rgba(9,10,14,.96));
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.panel-head h2 { font-size: 15px; letter-spacing: 0; color: var(--ink-2); }
.panel-head .muted { font-size: 13px; }
.worldmap { display: block; width: 100%; height: auto; }
.hx-land { fill: var(--land); }
.hx-observed { fill: var(--observed); }
.hx-m1 { fill: #6b4a3c; }
.hx-m2 { fill: #b0593a; }
.hx-m3 { fill: var(--moving); filter: drop-shadow(0 0 2px rgba(255,122,61,.8)); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.sw-observed { background: var(--observed); }
.sw-moving { background: linear-gradient(90deg, #6b4a3c, #b0593a, var(--moving)); width: 30px; }
.sw-land { background: var(--land); border: 1px solid var(--line-strong); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; max-width: 760px; }

/* stats */
.stats {
  max-width: 1080px; margin: 56px auto 0; padding: 0 16px; display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-size: clamp(28px, 4vw, 38px); font-weight: 500; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* sections */
.section { max-width: 1080px; margin: 0 auto; padding: 104px 16px 0; }
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255,140,70,.3); background: rgba(255,106,43,.08);
}
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.split .muted { margin-top: 14px; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.principles li {
  border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 12px; padding: 14px 18px;
  background: var(--panel); color: var(--ink-2); font-size: 15px;
}
.principles b { color: var(--ink); font-weight: 600; }

/* hero ripple card: signal -> pulsing core -> impact */
.ripple {
  margin: 34px auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch;
  text-align: left;
}
.ripple .end {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 3px; align-content: start;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.ripple .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ripple b { font-size: 19px; font-weight: 500; }
.ripple .what { color: var(--accent-2); font-size: 14px; }
.ripple .detail { color: var(--ink-2); font-size: 14px; }
.ripple .when { color: var(--muted); font-size: 12px; }
.ripple .st { margin-top: 6px; justify-self: start; }
.core { position: relative; display: grid; place-items: center; }
.core::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px;
  background: linear-gradient(90deg, rgba(255,179,92,.1), rgba(255,122,61,.9), rgba(255,179,92,.1)); }
.core i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 18px rgba(255,106,43,.9); }
.core i:nth-child(2), .core i:nth-child(3) { background: transparent; border: 1px solid rgba(255,122,61,.7); box-shadow: none;
  animation: pulse 2.4s ease-out infinite; }
.core i:nth-child(3) { animation-delay: 1.2s; }
@keyframes pulse { from { width: 12px; height: 12px; opacity: 1; } to { width: 90px; height: 90px; opacity: 0; } }

/* map hover ripple */
.worldmap .rp { fill: none; stroke: rgba(255,140,70,.8); stroke-width: 1.2; animation: rp 1.4s ease-out forwards; pointer-events: none; }
@keyframes rp { from { r: 2; opacity: .9; } to { r: 70; opacity: 0; } }

/* moving today and connections */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.head-row .muted { font-size: 13.5px; }
.moves { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.moves li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: linear-gradient(180deg, var(--panel-strong), var(--panel)); display: grid; gap: 4px; }
.moves b { font-size: 18px; font-weight: 500; }
.moves .what { color: var(--accent-2); font-size: 14px; }
.moves .detail { color: var(--ink-2); font-size: 14.5px; }
.dir-up::before { content: "↑ "; color: var(--accent-2); }
.dir-down::before { content: "↓ "; color: var(--accent-2); }
.moves .when { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.chains { margin-top: 30px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chain { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--panel);
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 12px; }
.chain .from, .chain .to { font-size: 17px; }
.chain .arrow { color: var(--accent); font-size: 18px; }
.chain .st { grid-column: 1 / -1; justify-self: start; }
.st { font-style: normal; font-size: 12px; width: fit-content; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.st-published, .st-supported { border-color: rgba(143,214,168,.45); color: #8fd6a8; }
.st-review { border-color: rgba(255,179,92,.45); color: var(--accent-2); }
.section .note { margin-top: 16px; }

/* indicators and FAQ */
.track .muted { margin-top: 14px; max-width: 680px; font-size: 17px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink-2); }
.faq-list { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); font-size: 15px; padding-bottom: 14px; }

/* notify */
.notify { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.notify-copy .muted { margin-top: 14px; max-width: 420px; }
.form {
  border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.field em { color: var(--muted); font-style: normal; }
.field input, .field select {
  font: 15px var(--sans); color: var(--ink); background: rgba(0,0,0,.35); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; outline: none; width: 100%;
}
.field input:focus, .field select:focus { border-color: rgba(255,140,70,.6); box-shadow: 0 0 0 3px rgba(255,106,43,.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; min-height: 1.4em; color: var(--ink-2); }
.form-status.ok { color: #8fd6a8; }
.form-status.err { color: #ff9a7a; }

/* footer */
.footer {
  max-width: 1080px; margin: 80px auto 0; padding: 26px 16px 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--ink-2);
}
.footer-links { display: flex; gap: 18px; }
.footer .muted { flex-basis: 100%; }

/* text pages */
.doc { max-width: 720px; margin: 0 auto; padding: 80px 16px 0; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }

/* small screens */
@media (max-width: 700px) {
  .ripple { grid-template-columns: 1fr; gap: 0; }
  .ripple .core { height: 70px; }
  .core::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto;
    background: linear-gradient(180deg, rgba(255,179,92,.1), rgba(255,122,61,.9), rgba(255,179,92,.1)); }
}
@media (max-width: 900px) {
  .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chains { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .notify { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .links { display: none; }
  .nav .btn { margin-left: auto; padding: 10px 14px; }
  .hero { padding-top: 64px; }
  .cards, .moves { grid-template-columns: 1fr; }
  .section { padding-top: 76px; }
  .horizon { top: -24px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .core i, .worldmap .rp { animation: none; } }
@media (max-width: 560px) { .br-wide { display: none; } }

/* calls page */
.doc-wide { max-width: 1000px; }
.lede-doc { color: var(--ink-2); font-size: 17px; margin-top: 10px; max-width: 760px; }
.howto { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 16px 20px; margin: 26px 0 14px; }
.howto h2 { font-size: 16px; margin: 0 0 6px; }
.howto p { font-size: 14.5px; }
.small { font-size: 13px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--ink-2); word-break: break-all; }
.calls-month { margin-top: 44px; }
.calls-month h2 { font-size: 22px; margin: 0; }
.fp { font-size: 13px; color: var(--muted); margin: 8px 0 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.calls { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.calls th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.calls td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.calls tr:last-child td { border-bottom: 0; }
.calls td:first-child { color: var(--ink); white-space: nowrap; }
.calls td.num { color: var(--accent-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

.stat-link { text-decoration: none; transition: border-color .15s ease; }
.stat-link:hover { border-color: rgba(255,140,70,.5); }
.stat-link span { color: var(--accent-2); }
.for-whom { margin-top: 10px; max-width: 640px; }

/* calls report */
.question { margin: 10px 0 18px; color: var(--ink-2); font-size: 15px; max-width: 820px; }
.question b { color: var(--ink); font-weight: 500; }
.bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.band { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--panel); border-top-width: 3px; }
.band b { display: block; font-size: 30px; font-weight: 500; }
.band span { font-size: 13px; color: var(--muted); }
.band-p3 { border-top-color: #ff5a1f; } .band-p2 { border-top-color: #ff9a4d; } .band-p1 { border-top-color: #c9a46a; } .band-p0 { border-top-color: #3a4d6b; }
.viz-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.viz-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: linear-gradient(180deg, rgba(17,19,26,.92), rgba(9,10,14,.96)); margin-top: 12px; }
.viz-grid .viz-card { margin-top: 0; }
.viz-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.cm-none path { fill: #171b23; } .cm-p0 path { fill: #3a4d6b; } .cm-p1 path { fill: #c9a46a; }
.cm-p2 path { fill: #ff9a4d; } .cm-p3 path { fill: #ff5a1f; filter: drop-shadow(0 0 3px rgba(255,90,31,.9)); }
.cm:hover path { fill: var(--ink); }
.sw-p3 { background: #ff5a1f; } .sw-p2 { background: #ff9a4d; } .sw-p1 { background: #c9a46a; } .sw-p0 { background: #3a4d6b; }
.sw-none { background: #171b23; border: 1px solid var(--line-strong); }
.bars { width: 100%; height: auto; display: block; }
.bars .bl { fill: var(--ink-2); font-size: 12px; } .bars .bv { fill: var(--ink); font-size: 11.5px; }
.bars .bt { fill: rgba(255,255,255,.05); }
.bf-p3 { fill: #ff5a1f; } .bf-p2 { fill: #ff9a4d; } .bf-p1 { fill: #c9a46a; } .bf-p0 { fill: #3a4d6b; }
.timeline { width: 100%; height: auto; display: block; max-width: 760px; }
.timeline .tl { stroke: var(--line-strong); stroke-width: 2; } .timeline .tl-done { stroke: var(--accent); stroke-width: 3; }
.timeline .tp { fill: var(--bg-2); stroke: var(--ink-2); stroke-width: 2; }
.timeline .tnow { fill: var(--accent); } .timeline .tnow-l { fill: var(--accent-2); font-size: 12px; }
.timeline .tt { fill: var(--ink); font-size: 13px; } .timeline .tw { fill: var(--muted); font-size: 12px; }
.all-calls { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 4px 18px; }
.all-calls summary { cursor: pointer; padding: 12px 0; font-weight: 500; }
.all-calls ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.all-calls li { display: grid; grid-template-columns: 12px 150px 54px 1fr 70px; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.all-calls li b { color: var(--ink); font-weight: 500; }
.all-calls .pc { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.all-calls .ss { color: var(--muted); text-align: right; }
.dotb { width: 9px; height: 9px; border-radius: 50%; }
.dotb-p3 { background: #ff5a1f; } .dotb-p2 { background: #ff9a4d; } .dotb-p1 { background: #c9a46a; } .dotb-p0 { background: #3a4d6b; }
@media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } .bands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .all-calls li { grid-template-columns: 12px 1fr 54px; } .all-calls .cl { grid-column: 2 / -1; } .all-calls .ss { grid-column: 2 / -1; text-align: left; } }
.note-end { margin-top: 10px; }
.cm.isle circle { fill: currentColor; }
.cm-p3.isle { color: #ff5a1f; } .cm-p2.isle { color: #ff9a4d; } .cm-p1.isle { color: #c9a46a; }
.cm.isle .isle-ring { fill: none; stroke: currentColor; stroke-width: 1.5; }
.verify { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 16px 20px; margin-top: 12px; }
.verify h3 { font-size: 16px; margin-bottom: 6px; }
.verify p { font-size: 14px; color: var(--ink-2); }
.verify-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.fp-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.fp-code { font-size: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
