:root {
  --color-brand: #0A0A0F;
  --color-cta: #C6F432;
  --cta-darker: #b3df1a;
  --bg-base: #0A0A0F;
  --bg-elev: #15151D;
  --bg-elev-2: #1D1D27;
  --text-main: #E8E8EE;
  --text-on-cta: #0A0A0F;
  --muted: #8B8B96;
  --soft-line: #2A2A35;
  --soft-line-strong: #3A3A47;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-base);
}
a { color: var(--text-main); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--soft-line-strong); }
a:hover { color: var(--color-cta); text-decoration-color: var(--color-cta); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

.site-head {
  background: var(--bg-base);
  color: var(--text-main);
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.head-inner {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mark-logo {
  height: 34px;
  width: auto;
  display: block;
  filter: invert(1) hue-rotate(180deg);
}

.section-image {
  margin: 28px auto 36px;
  max-width: 1100px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  overflow: hidden;
}
.section-image img { width: 100%; height: auto; display: block; opacity: 0.95; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
  text-decoration-color: transparent;
  transition: opacity 0.18s ease, color 0.18s ease;
}
.main-nav a:hover { opacity: 1; color: var(--text-main); }

.cta-button {
  display: inline-block;
  background: var(--color-cta);
  color: var(--text-on-cta);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 0 0 1px var(--color-cta), 0 4px 18px rgba(198, 244, 50, 0.25);
  border: 0;
  cursor: pointer;
}
.cta-button:hover {
  background: var(--cta-darker);
  color: var(--text-on-cta);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--cta-darker), 0 8px 28px rgba(198, 244, 50, 0.4);
}
.cta-button--small {
  padding: 9px 16px;
  font-size: 12px;
  box-shadow: 0 0 0 1px var(--color-cta);
}

.menu-toggle { position: absolute; left: -9999px; }
.menu-burger {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  cursor: pointer;
}
.menu-burger span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.menu-burger span:nth-child(1) { top: 0; }
.menu-burger span:nth-child(2) { top: 10px; }
.menu-burger span:nth-child(3) { top: 20px; }
.menu-toggle:checked ~ .menu-burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle:checked ~ .menu-burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .menu-burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.hero {
  background: var(--bg-base);
  color: var(--text-main);
  padding: 88px 0 84px;
  border-bottom: 1px solid var(--soft-line);
}
.hero-inner {
  width: 92%;
  max-width: 1080px;
  margin: 0 auto;
}
.hero-line {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero-h1 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-deck {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-main);
  opacity: 0.82;
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 36px;
}
.hero--inner { padding: 64px 0 56px; }
.hero--inner .hero-h1 { font-size: clamp(28px, 4.6vw, 44px); }

.band { padding: 80px 0; background: var(--bg-base); }
.band--alt { background: var(--bg-elev); }
.band--stat {
  padding: 28px 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--soft-line);
}
.band--cta {
  background: var(--color-cta);
  color: var(--text-on-cta);
  padding: 72px 0;
  text-align: center;
}
.band--cta h2 { color: var(--text-on-cta); }
.band--cta p { color: var(--text-on-cta); opacity: 0.82; margin-bottom: 28px; }
.band--cta .cta-button {
  background: var(--text-on-cta);
  color: var(--color-cta);
  box-shadow: 0 0 0 1px var(--text-on-cta);
}
.band--cta .cta-button:hover {
  background: #1a1a24;
  color: var(--color-cta);
  box-shadow: 0 0 0 1px #1a1a24, 0 8px 24px rgba(0,0,0,0.4);
}

.wrap { width: 92%; max-width: 1280px; margin: 0 auto; }
.wrap--narrow { max-width: 820px; }

h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: 0;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.65;
}
p { margin-bottom: 16px; line-height: 1.65; }
.lead {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 32px;
  max-width: 880px;
}

.stat-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.stat-row li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--soft-line);
  padding-left: 18px;
}
.stat-row li:first-child { border-left: 0; padding-left: 0; }
.stat-lbl {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--soft-line);
  background: var(--bg-elev);
}
.data-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.data-cell:last-child { border-bottom: 0; }
.data-k {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
}
.data-v {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.65;
}

.ptable {
  margin-top: 18px;
  border: 1px solid var(--soft-line);
  background: var(--bg-base);
}
.ptable-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr 1.6fr;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--soft-line);
  font-size: 14px;
  align-items: center;
}
.ptable-row:last-child { border-bottom: 0; }
.ptable-row--head {
  background: var(--bg-elev-2);
  font-weight: 700;
  color: var(--text-main);
  font-size: 13px;
}
.ptable-row span:first-child { font-weight: 700; color: var(--text-main); }

.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--soft-line);
}
.schedule th {
  text-align: left;
  padding: 14px 18px;
  background: var(--bg-elev-2);
  font-weight: 700;
  color: var(--text-main);
  font-size: 13px;
  border-bottom: 1px solid var(--soft-line);
}
.schedule td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--soft-line);
  color: var(--text-main);
  vertical-align: top;
}
.schedule tr:last-child td { border-bottom: 0; }
.schedule td:first-child { font-weight: 700; }

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.route-card {
  background: var(--bg-base);
  border: 1px solid var(--soft-line);
  padding: 28px 26px;
  border-radius: 4px;
}
.route-card--ok { border-color: var(--soft-line-strong); }
.route-card--bad { opacity: 0.78; }
.route-tag {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 8px;
}
.route-card h3 {
  margin-bottom: 16px;
  font-size: 19px;
}
.route-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.route-list li {
  font-size: 14px;
  color: var(--text-main);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--soft-line);
}
.route-list li:last-child { border-bottom: 0; }
.route-list li::before {
  content: '/';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--muted);
  font-weight: 700;
}
.route-foot { margin-top: 14px; font-size: 13px; color: var(--muted); margin-bottom: 0; }
.route-card--bad .route-list li::before { color: var(--muted); content: 'x'; }

.log-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.log-list li {
  background: var(--bg-elev);
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  padding: 20px 24px;
}
.log-h {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 6px;
}
.log-list p:not(.log-h) {
  font-size: 14px;
  color: var(--text-main);
  opacity: 0.78;
  margin-bottom: 0;
}

.band--alt details {
  background: var(--bg-base);
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: border-color 0.18s ease;
}
.band--alt details[open] { border-color: var(--soft-line-strong); }
.band--alt summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.band--alt summary::-webkit-details-marker { display: none; }
.band--alt summary::after {
  content: '+';
  font-size: 22px;
  color: var(--color-cta);
  font-weight: 700;
  margin-left: 12px;
  line-height: 1;
}
.band--alt details[open] summary::after { content: '-'; }
.band--alt details p { margin-top: 12px; font-size: 14px; color: var(--text-main); opacity: 0.78; margin-bottom: 0; }

.article { padding: 64px 0; }
.article h2 { margin-top: 36px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 28px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article ul li, .article ol li { margin-bottom: 6px; }

.site-foot {
  background: var(--bg-base);
  color: var(--text-main);
  padding: 60px 0 0;
  border-top: 1px solid var(--soft-line);
}
.foot-inner {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
}
.foot-col { font-size: 14px; }
.foot-mark { font-weight: 700; color: var(--text-main); font-size: 17px; margin-bottom: 8px; }
.foot-tag { color: var(--muted); line-height: 1.65; }
.foot-h { font-weight: 700; color: var(--text-main); margin-bottom: 14px; font-size: 15px; }
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 6px; }
.foot-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.foot-list a:hover { color: var(--text-main); }
.foot-cta-wrap { margin-top: 6px; }
.foot-base {
  margin-top: 52px;
  padding: 26px 0 22px;
  border-top: 1px solid var(--soft-line);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}
.foot-base p { margin-bottom: 8px; }
.foot-base p:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .ptable-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .ptable-row--head { display: none; }
  .foot-inner { grid-template-columns: 1fr; gap: 36px; }
  .stat-row li { border-left: 0; padding-left: 0; padding-bottom: 12px; border-bottom: 1px solid var(--soft-line); }
  .stat-row li:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  .head-inner { flex-wrap: wrap; gap: 14px; }
  .menu-burger { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    width: 100%;
    order: 99;
    margin-left: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 14px;
    padding: 14px 0 6px;
  }
  .menu-toggle:checked ~ .main-nav { display: block; }
  .head-inner .cta-button--small { display: none; }
  .band { padding: 60px 0; }
  .data-cell { border-right: 0; }
}
