:root {
  color-scheme: dark;
  --bg: #06080b;
  --panel: #0d1015;
  --panel-2: #121720;
  --fg: #f6f0e7;
  --muted: #9c9992;
  --gold: #e0bd80;
  --green: #6ef2ad;
  --amber: #e7c981;
  --red: #ff7c74;
  --line: rgba(255, 255, 255, .13);
  --max: 1280px;
  font-family: Inter, Arial, "Noto Sans Hebrew", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 189, 128, .12), transparent 34rem),
    radial-gradient(circle at 92% 22%, rgba(84, 122, 190, .14), transparent 32rem),
    var(--bg);
}
a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 11, .86);
  backdrop-filter: blur(20px);
}
.topbar-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; direction: ltr; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0d399, #b9873f);
  color: #080a0d;
  font: 1000 25px/1 Georgia, serif;
}
.brand span { display: grid; gap: 3px; }
.brand b { font-size: 12px; letter-spacing: .13em; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: .15em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: 850 12px/1 inherit;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--fg); color: #080a0d; border-color: transparent; }
.button:hover { border-color: rgba(224, 189, 128, .65); }
.hero { padding: clamp(78px, 10vw, 140px) 0 58px; }
.hero-code { margin: 0 0 16px; color: var(--gold); font-size: 10px; font-weight: 950; letter-spacing: .2em; direction: ltr; }
.hero h1 { max-width: 1050px; margin: 0; font: 850 clamp(55px, 9vw, 128px)/.86 Georgia, serif; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(246, 240, 231, .62); }
.hero > p:not(.hero-code) { max-width: 790px; margin: 26px 0 0; color: #c9c4bc; font-size: clamp(17px, 2vw, 22px); line-height: 1.7; }
.status-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.status-chip { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .035); color: #c7c2ba; font-size: 11px; font-weight: 850; }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px currentColor; }
.status-chip.ready::before { background: var(--green); }
.status-chip.fail::before { background: var(--red); }
.section { padding: 42px 0 84px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font: 800 clamp(34px, 5vw, 62px)/.95 Georgia, serif; letter-spacing: -.045em; }
.section-head p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.65; }
.dashboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.panel { min-height: 210px; padding: 23px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016)); box-shadow: 0 22px 70px rgba(0, 0, 0, .2); }
.panel small { display: block; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .16em; direction: ltr; }
.panel h3 { margin: 38px 0 9px; font: 800 28px/1.05 Georgia, serif; }
.panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.panel .value { margin-top: 12px; color: #fff; font: 800 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.route-row { min-height: 92px; padding: 17px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, .025); text-decoration: none; }
.route-row:hover { border-color: rgba(224, 189, 128, .55); background: rgba(224, 189, 128, .06); }
.route-row b { display: block; font-size: 15px; }
.route-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; direction: ltr; }
.route-state { width: 13px; height: 13px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px rgba(231, 201, 129, .45); }
.route-state.ready { background: var(--green); box-shadow: 0 0 14px rgba(110, 242, 173, .45); }
.route-state.fail { background: var(--red); box-shadow: 0 0 14px rgba(255, 124, 116, .45); }
.ops-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.log { min-height: 310px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #07090d; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #bcb8b0; white-space: pre-wrap; overflow: auto; }
.action-panel { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.action-panel h3 { margin: 0 0 16px; font: 800 28px/1.1 Georgia, serif; }
.action-list { display: grid; gap: 9px; }
.action-list .button { width: 100%; border-radius: 14px; justify-content: space-between; }
.footer { padding: 32px 0 110px; border-top: 1px solid var(--line); color: #716e68; font-size: 10px; letter-spacing: .12em; direction: ltr; }

@media (max-width: 1000px) {
  .dashboard { grid-template-columns: 1fr 1fr; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 24px); }
  .top-actions .button:not(.primary) { display: none; }
  .hero { padding-top: 70px; }
  .dashboard, .route-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .panel { min-height: 180px; }
  .footer { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
