*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #f27022;
  --brand-dark: #d95f18;
  --brand-light: #fff4ed;
  --brand-glow: rgba(242, 112, 34, 0.22);
  --text: #141414;
  --text-muted: #646464;
  --surface: #ffffff;
  --border: rgba(242, 112, 34, 0.18);
  --shadow: 0 24px 64px rgba(20, 20, 20, 0.06), 0 8px 24px rgba(242, 112, 34, 0.08);
  --radius: 1.25rem;
}

html,
body {
  height: 100%;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.page-bg__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
}

.page-bg__orb--2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(242, 112, 34, 0.12) 0%, transparent 70%);
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 112, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 112, 34, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

/* Layout */
.maintenance {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.maintenance__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 26rem;
  padding: 2.75rem 2rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Logo */
.maintenance__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(180deg, var(--brand-light) 0%, transparent 100%);
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
}

.maintenance__logo {
  display: block;
  max-width: min(200px, 65vw);
  height: auto;
  object-fit: contain;
  animation: logo-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Status pill */
.maintenance__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  margin-bottom: 1.25rem;
  background: var(--brand-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  animation: fade-up 0.6s ease 0.2s both;
}

.maintenance__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--brand-glow);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.maintenance__status-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Typography */
.maintenance__title {
  font-size: clamp(1.5rem, 4.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.6rem;
  animation: fade-up 0.6s ease 0.3s both;
}

.maintenance__text {
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 22ch;
  line-height: 1.55;
  animation: fade-up 0.6s ease 0.4s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Divider */
.maintenance__divider {
  width: 3rem;
  height: 3px;
  margin: 1.75rem 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: fade-up 0.6s ease 0.45s both;
}

/* CTA */
.maintenance__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(242, 112, 34, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fade-up 0.6s ease 0.5s both;
}

.maintenance__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 112, 34, 0.4);
}

.maintenance__cta:active {
  transform: translateY(0);
}

.maintenance__cta-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

@media (max-width: 380px) {
  .maintenance__card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .maintenance__cta {
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
  }
}

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

  .maintenance__status-dot {
    animation: none;
  }
}
