@font-face {
  font-family: "Droid Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/droid-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "Droid Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/droid-sans-700.ttf") format("truetype");
}

:root {
  --sx-bg: #010503;
  --sx-panel: #051008;
  --sx-panel-strong: #07150a;
  --sx-green: #65ef38;
  --sx-green-soft: #9aff77;
  --sx-text: #eef5ec;
  --sx-muted: #a8b4a5;
  --sx-line: rgba(101, 239, 56, 0.22);
  --sx-line-strong: rgba(101, 239, 56, 0.48);
  --sx-blue: #7bd3ff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--sx-bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(51, 157, 31, 0.11), transparent 30rem),
    radial-gradient(circle at 12% 78%, rgba(27, 112, 131, 0.07), transparent 27rem),
    var(--sx-bg);
  color: var(--sx-text);
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 189, 75, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 189, 75, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 0 26px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 8px 0 22px;
  border-bottom: 1px solid var(--sx-line);
}

.site-logo {
  display: block;
  width: 225px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  background: rgba(4, 18, 7, 0.82);
  color: #cce5c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-state::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sx-green);
  box-shadow: 0 0 14px rgba(101, 239, 56, 0.78);
  content: "";
  animation: statusPulse 2.2s ease-in-out infinite;
}

.maintenance-main {
  padding: 50px 0 36px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid var(--sx-line-strong);
  border-radius: 12px;
  background:
    linear-gradient(118deg, rgba(12, 52, 12, 0.74), rgba(2, 8, 5, 0.94) 58%),
    var(--sx-panel);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    inset 0 0 44px rgba(71, 223, 40, 0.045);
  animation: reveal 600ms ease-out both;
}

.hero::after {
  position: absolute;
  top: -28%;
  right: -8%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(101, 239, 56, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(101, 239, 56, 0.025),
    0 0 0 116px rgba(101, 239, 56, 0.018);
  content: "";
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--sx-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 24px;
  color: #f5fff2;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--sx-green-soft);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 32px;
  color: #c9d4c6;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.status-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(101, 239, 56, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.34);
  color: #b7c3b4;
  font-size: 13px;
}

.status-strip strong {
  color: #ffffff;
}

.status-code {
  color: var(--sx-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.operations {
  padding: 54px 0 18px;
  animation: reveal 600ms 120ms ease-out both;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: #f0f7ee;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-heading p {
  max-width: 520px;
  margin-bottom: 2px;
  color: var(--sx-muted);
  font-size: 14px;
  text-align: right;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--sx-line);
  border-radius: 9px;
  background: rgba(2, 10, 5, 0.76);
  list-style: none;
  overflow: hidden;
}

.operation-grid li {
  position: relative;
  min-height: 190px;
  padding: 28px 28px 24px;
  border-right: 1px solid var(--sx-line);
}

.operation-grid li:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 26px;
  color: var(--sx-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.operation-grid h3 {
  margin-bottom: 10px;
  color: #f0f7ee;
  font-size: 19px;
  line-height: 1.25;
}

.operation-grid p {
  margin-bottom: 0;
  color: var(--sx-muted);
  font-size: 14px;
  line-height: 1.55;
}

.continuity {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 36px;
  margin-top: 36px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--sx-line);
  border-radius: 9px;
  background:
    linear-gradient(125deg, rgba(9, 31, 11, 0.8), rgba(3, 8, 6, 0.92)),
    var(--sx-panel);
  animation: reveal 600ms 220ms ease-out both;
}

.continuity h2 {
  margin-bottom: 14px;
  color: #f2f8f0;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.15;
}

.continuity-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: #b5c0b2;
}

.contact-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

.contact-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid rgba(101, 239, 56, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #e6eee3;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(101, 239, 56, 0.66);
  background: rgba(20, 62, 17, 0.28);
  outline: 0;
  transform: translateX(3px);
}

.contact-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(101, 239, 56, 0.2);
  border-radius: 50%;
  color: var(--sx-green);
  font-size: 12px;
  font-weight: 700;
}

.contact-text {
  min-width: 0;
}

.contact-label,
.contact-value {
  display: block;
}

.contact-label {
  margin-bottom: 2px;
  color: #8e9b8b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-value {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(101, 239, 56, 0.12);
  color: #748071;
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.site-footer p {
  margin-bottom: 0;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.48;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .page {
    width: min(100% - 32px, 720px);
  }

  .maintenance-main {
    padding-top: 32px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-heading p {
    text-align: left;
  }

  .operation-grid {
    grid-template-columns: 1fr;
  }

  .operation-grid li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--sx-line);
  }

  .operation-grid li:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 14px;
  }

  .continuity {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 520px);
    padding-top: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
  }

  .site-logo {
    width: 180px;
    height: 48px;
  }

  .live-state {
    font-size: 10px;
  }

  .hero {
    padding: 28px 20px;
  }

  .hero::after {
    right: -70%;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .status-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .operations {
    padding-top: 38px;
  }

  .operation-grid li {
    padding: 22px 20px;
  }

  .continuity {
    gap: 24px;
    padding: 24px 18px;
  }

  .contact-link {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-right: 10px;
    padding-left: 10px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
  }

  .contact-value {
    font-size: 13px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
