:root {
  --bg: #121315;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.18);
  --text: #f4f1eb;
  --muted: rgba(244, 241, 235, 0.72);
  --faint: rgba(244, 241, 235, 0.48);
  --gold: #d7a84c;
  --red: #e51919;
  --radius: 32px;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(229, 25, 25, 0.26), transparent 25rem),
    radial-gradient(circle at 76% 8%, rgba(215, 168, 76, 0.22), transparent 24rem),
    linear-gradient(135deg, #111214 0%, #181a1e 45%, #0d0e10 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 72%);
}

a {
  color: inherit;
}

.maintenance-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 44px 0;
  align-items: center;
}

.card,
.signal-panel {
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(18, 19, 21, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius);
}

.card::after {
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  content: '';
  border: 1px solid rgba(215, 168, 76, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 52px rgba(215, 168, 76, 0.035);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.brand-row img {
  width: 78px;
  height: 46px;
  object-fit: contain;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.brand-row span,
.status,
.directions span,
.signal-panel span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-row span {
  color: var(--text);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gold);
  border: 1px solid rgba(215, 168, 76, 0.32);
  border-radius: 999px;
  background: rgba(215, 168, 76, 0.08);
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(215, 168, 76, 0.12);
}

h1 {
  max-width: 10ch;
  margin: 26px 0 0;
  font-size: clamp(3.5rem, 7.2vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 760px;
  margin: 34px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #151515;
  background: var(--gold);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.075);
}

.directions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 54px;
}

.directions span {
  padding: 11px 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.signal-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 26px;
}

.signal-panel div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.signal-panel span {
  display: block;
  color: var(--gold);
}

.signal-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 1.22rem;
  line-height: 1.24;
}

@media (max-width: 920px) {
  .maintenance-shell {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .card {
    min-height: auto;
  }

  .brand-row {
    margin-bottom: 52px;
  }

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 560px) {
  .maintenance-shell {
    width: min(100% - 24px, 1160px);
  }

  .card {
    padding: 22px;
    border-radius: 24px;
  }

  .brand-row {
    margin-bottom: 40px;
  }

  .brand-row img {
    width: 66px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .actions {
    display: grid;
  }
}
