:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0e131a;
  --line: #26303c;
  --ink: #f4f7fb;
  --muted: #a8b3c1;
  --accent: #2187f5;
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
.top {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #252b35;
  background: #090c11;
}
.brand { min-width: 0; display: flex; flex: 0 1 auto; align-items: center; gap: 10px; text-decoration: none; }
.brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .brand > img { width: 32px !important; min-width: 32px; max-width: 32px !important; height: 32px !important; min-height: 32px; max-height: 32px !important; display: block; flex: 0 0 32px; border: 1px solid #2b3440; border-radius: 9px; object-fit: cover; }
.top nav { display: flex; align-items: center; gap: 16px; }
.top nav a { color: #c5ceda; text-decoration: none; }
.top button, .primary, button {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151c26;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.primary:hover { border-color: #0f6fd8; background: #0f6fd8; }
:is(a, button, input, textarea):focus-visible { outline: 3px solid #75b9ff; outline-offset: 2px; }
main { min-height: 70vh; }
.hero { padding: clamp(70px, 12vw, 160px) clamp(18px, 8vw, 130px); border-bottom: 1px solid var(--line); }
.eyebrow { color: #50a4ff; font-size: .75rem; font-weight: 900; letter-spacing: .16em; }
.hero h1, .dashboard h1 { margin: .15em 0; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .84; letter-spacing: -.07em; }
.hero > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hold { max-width: 700px; display: grid; gap: 4px; margin-top: 34px; padding: 17px; border-left: 3px solid var(--accent); background: #0d1724; }
.hold span { color: #b3c2d3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 clamp(18px, 5vw, 72px); }
.steps article { min-height: 300px; padding: 35px 25px; border-right: 1px solid var(--line); }
.steps b, .timeline b { color: #50a4ff; }
.steps h2 { font-size: 1.45rem; }
.steps p, .dashboard header p, .panel p { color: var(--muted); }
.dashboard { padding: clamp(32px, 7vw, 90px) clamp(18px, 6vw, 90px); }
.dashboard > header { max-width: 920px; margin-bottom: 35px; }
.dashboard h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { display: grid; align-content: start; gap: 14px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.panel h2 { margin: 0; font-size: 1.4rem; }
.panel form, label { display: grid; gap: 7px; }
.panel form { gap: 13px; }
.panel input, .panel textarea { width: 100%; padding: 12px; border: 1px solid #344257; background: #080c12; color: var(--ink); font: inherit; }
.panel textarea { min-height: 140px; resize: vertical; }
.project { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.project span, .project small { color: var(--muted); text-transform: capitalize; }
.project div { display: flex; flex-wrap: wrap; gap: 6px; }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.project-row .project { min-width: 0; border-top: 0; }
.danger { border-color: #8b3440; background: #2b1116; color: #ffd9de; }
.danger:hover { border-color: #c64b59; background: #421820; }
.compact { padding: 8px 11px; font-size: .875rem; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); margin: 25px 0; border: 1px solid var(--line); }
.timeline article { display: grid; gap: 10px; padding: 18px; border-right: 1px solid var(--line); }
footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 28px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }
footer strong { color: var(--ink); }
footer span { margin-right: auto; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 620px) {
  .top { min-height: 62px; padding: 9px 12px; gap: 10px; }
  .top .brand > img { width: 28px !important; min-width: 28px; max-width: 28px !important; height: 28px !important; min-height: 28px; max-height: 28px !important; flex-basis: 28px; border-radius: 8px; }
  .brand strong { font-size: 14px; }
  .top nav { gap: 7px; }
  .top nav > a:not(.primary) { display: none; }
  .top nav .primary, .top button { padding: 9px 10px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .project-row { align-items: stretch; grid-template-columns: 1fr; padding-bottom: 14px; }
  .project-row .compact { justify-self: start; }
}
