@font-face {
  font-family: "Energy Sans";
  src: local("Inter"), local("Arial");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090b0d;
  --surface: #111418;
  --surface-soft: #171b20;
  --line: #2a3037;
  --text: #f4f2ed;
  --muted: #a8afb7;
  --orange: #ff6b1a;
  --orange-soft: #ff9b62;
  --green: #66d19e;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 107, 26, 0.13), transparent 28rem),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 36px 36px, 36px 36px, auto;
  font-family: "Energy Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 13, 0.84);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--orange);
  color: #111;
  font-size: 14px;
  letter-spacing: -0.08em;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(102, 209, 158, 0.1);
}

main { padding: 82px 0 96px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(42px, 8vw, 108px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(48px, 7.3vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: #d6d9dd;
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.48;
}

.future {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.status-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(29, 34, 40, 0.95), rgba(15, 18, 22, 0.96));
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--orange);
}

.status-card h2 {
  margin: 0;
  padding: 28px 30px 20px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.status-list {
  margin: 0;
  padding: 0 30px 18px;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.status-list strong {
  color: var(--text);
  text-align: right;
  font-weight: 720;
}

.contact-note {
  margin: 8px 18px 18px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.045);
}

.contact-note p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.contact-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--orange);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a { text-underline-offset: 4px; }

.legal-main {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-main h1 {
  font-size: clamp(42px, 7vw, 70px);
  line-height: 1;
}

.legal-card {
  margin-top: 38px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #c9ced3; }
.legal-card ul { padding-left: 20px; }
.back-link { display: inline-flex; margin-top: 32px; text-underline-offset: 5px; }

.error-wrap {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.error-wrap h1 { margin-top: 18px; }
.error-wrap p { max-width: 540px; margin: 24px auto; color: var(--muted); font-size: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  main { padding-top: 62px; }
  h1 { letter-spacing: -0.052em; }
  .status-card { max-width: 620px; }
}

@media (max-width: 560px) {
  .shell, .legal-main { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .header-status { font-size: 11px; letter-spacing: 0.055em; }
  .brand-mark { width: 31px; height: 31px; }
  main { padding: 48px 0 70px; }
  h1 { font-size: clamp(43px, 14.5vw, 66px); }
  .lead { margin-top: 26px; font-size: 18px; }
  .status-list li { grid-template-columns: 1fr; gap: 4px; }
  .status-list strong { text-align: left; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse {
    0%, 45% { box-shadow: 0 0 0 5px rgba(102, 209, 158, 0.1); }
    75%, 100% { box-shadow: 0 0 0 11px rgba(102, 209, 158, 0); }
  }
}
