:root {
  --bg: #07080a;
  --bg-2: #0d0f13;
  --surface: #12151b;
  --surface-2: #181c24;
  --line: #2a2e36;
  --line-2: #3a3f4a;
  --text: #f2f0ea;
  --muted: #9a9588;
  --amber: #e8a54b;
  --amber-2: #f3c57a;
  --mint: #7ee0c8;
  --risk: #e25b4a;
  --ok: #6fcf97;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --sans: "Syne", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); }
body { min-height: 100vh; letter-spacing: -0.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,165,75,0.12), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .4s;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(7,8,10,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}
.mark { width: 28px; height: 28px; color: var(--text); }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; }
.menu-btn span { display: block; height: 1px; background: var(--text); margin: 7px 8px; }

.btn {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
}
.btn.primary { background: var(--amber); color: #1a1206; border-color: var(--amber); }
.btn.primary:hover { background: var(--amber-2); }
.btn.ghost { color: var(--text); }
.btn.ghost:hover { border-color: var(--text); }
.btn.lg { padding: 14px 22px; font-size: 15px; }
.btn.sm { padding: 8px 12px; font-size: 12px; }

.mobile-nav {
  display: none;
  position: sticky;
  top: 69px;
  z-index: 35;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav.open { display: flex; }

.view { display: none; padding: 28px 32px 80px; position: relative; z-index: 1; }
.view.active { display: block; animation: rise .45s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--amber-2); }
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}
h3 { font-size: 20px; font-weight: 650; }
.lede {
  max-width: 640px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

.hero { padding: 36px 0 20px; max-width: 1280px; margin: 0 auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.split-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.door {
  text-align: left;
  background: linear-gradient(180deg, var(--surface), #0c0e12);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: .25s ease;
}
.door:hover { border-color: var(--amber); transform: translateY(-2px); }
.door-kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.door strong { display: block; font-size: 24px; margin: 12px 0 8px; }
.door p { color: var(--muted); line-height: 1.5; letter-spacing: 0; }
.door-link { display: inline-block; margin-top: 18px; color: var(--amber); font-size: 14px; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  margin: 56px -32px 0;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: slide 36s linear infinite;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
@keyframes slide { to { transform: translateX(-50%); } }

.band { max-width: 1280px; margin: 72px auto 0; }
.band.tight { margin-top: 48px; }
.band-head { max-width: 720px; margin-bottom: 36px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-grid article, .card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.idx { font-family: var(--mono); color: var(--amber); font-size: 12px; }
.problem-grid h3, .card h3 { margin: 12px 0 10px; }
.problem-grid p, .card p, .panel p { color: var(--muted); line-height: 1.5; letter-spacing: 0; font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stats div {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  margin-bottom: 8px;
}
.stats span { color: var(--muted); font-size: 14px; letter-spacing: 0; }

.page-hero { max-width: 980px; padding: 20px 0 36px; }
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  max-width: 1280px;
}
.two-col p { color: var(--muted); line-height: 1.6; letter-spacing: 0; margin: 12px 0 18px; }
.check { list-style: none; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 22px; color: var(--text); letter-spacing: 0; line-height: 1.45; }
.check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.check.compact { margin-top: 24px; color: var(--muted); }
.panel-label { font-family: var(--mono); font-size: 11px; color: var(--mint); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.panel blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.25; margin-bottom: 16px; }
.fine { color: var(--muted); font-size: 13px; letter-spacing: 0; line-height: 1.5; }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1280px; margin-top: 32px; }

.sectors { max-width: 1280px; margin: 8px 0 40px; }
.sector-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sector-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
}
.timeline div {
  border-top: 1px solid var(--amber);
  padding-top: 16px;
}
.timeline span { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.timeline p { margin-top: 10px; color: var(--muted); letter-spacing: 0; line-height: 1.5; font-size: 14px; }

.service-list { max-width: 980px; display: grid; gap: 0; }
.service-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.service-list p { color: var(--muted); letter-spacing: 0; line-height: 1.55; margin-top: 8px; }

.steps { max-width: 860px; list-style: none; display: grid; gap: 22px; }
.steps li { padding-left: 8px; border-left: 2px solid var(--line); padding: 4px 0 4px 20px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); letter-spacing: 0; line-height: 1.5; }
.rates { max-width: 720px; margin-top: 56px; }
.rates table { width: 100%; border-collapse: collapse; margin: 20px 0 12px; }
.rates th, .rates td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rates th { color: var(--muted); font-weight: 500; font-size: 12px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

.engage-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.engage-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.progress { display: flex; gap: 8px; margin-bottom: 22px; }
.dot { width: 100%; height: 3px; background: var(--line); border-radius: 99px; }
.dot.on { background: var(--amber); }
.step-panel { display: none; border: 0; }
.step-panel.on, .step-panel.success { display: block; }
.step-panel legend { font-size: 22px; font-weight: 650; margin-bottom: 16px; }
.choice {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--amber); background: rgba(232,165,75,0.06); }
.choice input { margin-top: 4px; accent-color: var(--amber); }
.choice span { letter-spacing: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.choice strong { display: block; color: var(--text); margin-bottom: 2px; font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.form-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.legal { display: flex; gap: 10px; font-size: 12px; color: var(--muted); letter-spacing: 0; line-height: 1.45; margin: 8px 0 16px; }
.legal input { accent-color: var(--amber); margin-top: 3px; }
.ref { font-family: var(--mono); color: var(--mint); margin: 18px 0; }

.app-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 78vh;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-2);
}
.app-rail {
  background: #0a0c10;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand.mini { gap: 8px; display: flex; align-items: center; font-weight: 700; margin-bottom: 18px; }
.brand.mini .mark { width: 22px; height: 22px; }
.rail-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin: 6px 8px; }
.rail-item {
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}
.rail-item.on, .rail-item:hover { background: var(--surface); color: var(--text); }
.rail-foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 8px 4px;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber); color: #1a1206;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.rail-foot strong { display: block; font-size: 13px; }
.rail-foot span { color: var(--muted); font-size: 11px; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 24px 8px;
}
.app-main { min-width: 0; }
.pane { display: none; padding: 12px 24px 28px; }
.pane.on { display: block; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.kpi span { color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-size: 28px; margin-top: 6px; }
.kpi.warn strong { color: var(--risk); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.app-card.wide { margin-top: 12px; }
.app-card header { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.app-card p { color: var(--muted); font-size: 13px; letter-spacing: 0; margin: 8px 0 14px; line-height: 1.4; }
.pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: 4px 8px;
  color: var(--muted);
}
.pill.live { color: var(--mint); border-color: rgba(126,224,200,0.4); }
.pill.risk { color: var(--risk); border-color: rgba(226,91,74,0.45); }
.bar { height: 4px; background: #242830; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--mint); }
.bar.risk i { background: var(--risk); }
.app-card footer { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 12px; }
.feed { list-style: none; display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: 48px 1fr; color: var(--muted); letter-spacing: 0; font-size: 14px; }
.feed span { font-family: var(--mono); color: var(--amber); font-size: 12px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.app-table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 11px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.app-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.mini-form { max-width: 520px; }
.doc-list, .checklist { list-style: none; display: grid; gap: 10px; }
.doc-list li, .checklist li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.doc-list li { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; align-items: center; }
.doc-list span { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.doc-list em { color: var(--muted); font-style: normal; font-size: 12px; }
.checklist li { padding-left: 42px; position: relative; }
.checklist li::before {
  content: "";
  width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid var(--line-2);
  position: absolute; left: 16px; top: 16px;
}
.checklist li.done::before { background: var(--mint); border-color: var(--mint); }
.checklist li.done { color: var(--muted); }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; max-width: 720px; }
.report header { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); }
.report p { letter-spacing: 0; line-height: 1.55; margin-bottom: 10px; color: var(--muted); }
.report strong { color: var(--text); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 32px 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
}
.site-foot strong { color: var(--text); display: block; margin-bottom: 8px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .split-doors, .problem-grid, .stats, .two-col, .card-row, .timeline, .engage-wrap, .app-shell, .kpi-row, .app-grid, .doc-list li, .service-list article {
    grid-template-columns: 1fr;
  }
  .view { padding: 20px 18px 64px; }
  .ticker { margin-inline: -18px; }
  .doc-list li { grid-template-columns: 1fr; }
}
