:root {
  --ink: #17212b;
  --muted: #61707e;
  --line: #dce6eb;
  --paper: #f7fbfb;
  --white: #ffffff;
  --teal: #0f9f9a;
  --teal-dark: #08706d;
  --coral: #f26f63;
  --yellow: #f5bf45;
  --shadow: 0 24px 70px rgba(18, 38, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 111, 99, 0.2), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(15, 159, 154, 0.2), transparent 30%),
    linear-gradient(135deg, #f7fbfb 0%, #ecf5f2 48%, #fff8ed 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.maintenance-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.hero-panel {
  width: 100%;
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.content {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  font-size: 0.95rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 159, 154, 0.28);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(15, 159, 154, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(15, 159, 154, 0.46);
  animation: pulse 1.8s infinite;
}

h1 {
  max-width: 650px;
  margin: 18px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.timer {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 120px));
  gap: 12px;
  margin: 34px 0;
}

.timer div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.timer strong {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1;
}

.timer span,
.system-card span,
.notify-form label,
.form-message {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.notify-form {
  max-width: 520px;
}

.notify-form label {
  display: block;
  margin-bottom: 10px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
button {
  min-height: 52px;
  border-radius: 8px;
  font: inherit;
}

input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 159, 154, 0.14);
}

button {
  border: 0;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--teal-dark);
}

.support-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.support-row span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.visual-wrap {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-image {
  width: min(100%, 640px);
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(23, 33, 43, 0.2);
}

.system-card {
  position: absolute;
  display: grid;
  gap: 8px;
  min-width: 176px;
  padding: 16px;
  border: 1px solid rgba(220, 230, 235, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(18, 38, 48, 0.14);
  backdrop-filter: blur(14px);
}

.system-card strong {
  font-size: 1.55rem;
}

.uptime {
  top: 44px;
  right: 10px;
}

.progress {
  left: 0;
  bottom: 54px;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef0;
}

.bar i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--coral));
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(15, 159, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 159, 154, 0);
  }
}

@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .brand {
    margin-bottom: 32px;
  }

  .visual-wrap {
    min-height: 420px;
    order: -1;
  }

  .hero-image {
    width: min(100%, 560px);
  }
}

@media (max-width: 620px) {
  .maintenance-shell {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
  }

  .hero-panel {
    min-height: calc(100vh - 20px);
    padding: 20px;
  }

  .visual-wrap {
    min-height: 300px;
  }

  .system-card {
    min-width: 142px;
    padding: 12px;
  }

  .uptime {
    top: 10px;
    right: 0;
  }

  .progress {
    bottom: 8px;
  }

  .timer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timer div {
    min-height: 82px;
    padding: 10px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}
