:root {
  color-scheme: light;
  --ink: #333333;
  --muted: #626b76;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  height: 100%;
  overflow: hidden;
  background: #26313d;
}

body {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: #26313d;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.theme-expired {
  --accent: #b77905;
  --accent-dark: #925b00;
  --accent-soft: rgba(183, 121, 5, 0.1);
}

body.theme-maintenance {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
}

body.theme-suspended {
  --accent: #c0392b;
  --accent-dark: #962d22;
  --accent-soft: rgba(192, 57, 43, 0.1);
}

body.theme-construction {
  --accent: #6d4bc3;
  --accent-dark: #55379f;
  --accent-soft: rgba(109, 75, 195, 0.1);
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #26313d;
}

.background-photo {
  position: absolute;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  max-width: none;
  border: 0;
  object-fit: cover;
  object-position: center;
  animation: background-drift 24s ease-in-out infinite alternate;
  will-change: transform;
}

.background-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 18, 28, 0.16), rgba(10, 18, 28, 0.34));
}

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  place-items: center;
  padding: clamp(12px, 4vh, 48px) 24px;
}

.status-card {
  position: relative;
  width: min(100%, 780px);
  max-height: 100%;
  padding: clamp(34px, 6vh, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: card-enter 0.75s ease-out both;
}

.status-card::before {
  position: absolute;
  top: 0;
  left: 42px;
  width: 58px;
  height: 4px;
  content: "";
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}

.icon-wrap {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.icon-wrap svg {
  width: 34px;
  height: 34px;
  animation: icon-float 4s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #222222;
  font-size: clamp(2rem, 6vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.message {
  max-width: 620px;
  margin: 18px 0 26px;
  color: #505964;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.65;
}

.domain-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.domain-box > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--accent);
}

.domain-copy {
  min-width: 0;
}

.domain-label {
  display: block;
  margin-bottom: 3px;
  color: #7b838c;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.domain {
  display: block;
  overflow-wrap: anywhere;
  color: #29313b;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #6b737d;
  font-size: 0.86rem;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #29313b;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.company-link svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.company-link:hover {
  color: var(--accent-dark);
}

.company-link:hover svg {
  transform: translate(2px, -2px);
}

.company-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--accent-soft);
  outline-offset: 4px;
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.team {
  color: #6b737d;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes background-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06) translate3d(0.5%, -0.5%, 0); }
}

@media (max-width: 540px) {
  .stage {
    padding: 18px 14px;
  }

  .status-card {
    padding: 26px 22px;
  }

  .status-card::before {
    left: 22px;
  }

  .icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 15px;
  }

  .icon-wrap svg {
    width: 29px;
    height: 29px;
  }

  .message {
    margin: 14px 0 20px;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
    padding-top: 16px;
  }

  .footer-divider {
    display: none;
  }
}

@media (max-height: 560px) {
  .stage {
    padding: 10px 16px;
  }

  .status-card {
    padding: 20px 28px;
  }

  .status-card::before {
    left: 28px;
    height: 3px;
  }

  .icon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .icon-wrap svg {
    width: 23px;
    height: 23px;
  }

  .eyebrow {
    margin-bottom: 4px;
    font-size: 0.6rem;
  }

  h1 {
    font-size: clamp(1.45rem, 6vh, 2rem);
  }

  .message {
    margin: 8px 0 12px;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .domain-box {
    padding: 9px 12px;
  }

  .domain-label {
    font-size: 0.56rem;
  }

  .domain {
    font-size: 0.85rem;
  }

  .card-footer {
    gap: 8px 12px;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 0.75rem;
  }
}

@media (max-height: 420px) {
  .status-card {
    padding: 15px 24px;
  }

  .status-card::before {
    left: 24px;
  }

  .icon-wrap {
    display: none;
  }

  .message {
    margin: 6px 0 9px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .domain-box {
    padding: 7px 10px;
  }

  .card-footer {
    margin-top: 9px;
    padding-top: 8px;
  }
}

@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;
  }
}
