:root {
  color-scheme: light;
  --color-primary: #123b5d;
  --color-primary-strong: #0b2c47;
  --color-accent: #2e7d68;
  --color-accent-soft: #e7f3ef;
  --color-text: #17232d;
  --color-muted: #52616d;
  --color-surface: #ffffff;
  --color-border: #dfe6eb;
  --shadow-card: 0 18px 48px rgba(18, 59, 93, 0.14), 0 3px 10px rgba(18, 59, 93, 0.08);
}

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

html {
  min-width: 320px;
  background: #edf3f7;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 125, 104, 0.1) 0 12rem, transparent 12.1rem),
    radial-gradient(circle at 88% 82%, rgba(18, 59, 93, 0.08) 0 16rem, transparent 16.1rem),
    linear-gradient(145deg, #f7fafc 0%, #e8f0f5 100%);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-header {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-strong);
  text-decoration: none;
}

.brand:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(46, 125, 104, 0.45);
  outline-offset: 5px;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 4px 12px rgba(18, 59, 93, 0.22);
  font-size: 1.125rem;
  font-weight: 750;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-content {
  display: grid;
  width: min(100% - 48px, 760px);
  margin-inline: auto;
  padding-block: 28px 52px;
  place-items: center;
}

.maintenance-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 52px 56px 48px;
  border: 1px solid rgba(223, 230, 235, 0.9);
  border-radius: 24px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.maintenance-card__accent {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.maintenance-icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.maintenance-icon svg {
  width: 48px;
  height: 48px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
}

.maintenance-icon circle {
  fill: currentColor;
  stroke: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--color-primary-strong);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.message {
  max-width: 580px;
  margin-inline: auto;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.message p {
  margin: 0;
}

.message p + p {
  margin-top: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 11px 16px;
  border: 1px solid #cce0d9;
  border-radius: 999px;
  color: #205d4e;
  background: #f2f8f6;
  font-size: 0.875rem;
  font-weight: 650;
}

.status__indicator {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(46, 125, 104, 0.14);
}

.site-footer {
  padding: 0 24px 26px;
  color: #657581;
  font-size: 0.8125rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 32px, 1180px);
    padding-block: 18px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .main-content {
    width: min(100% - 32px, 760px);
    padding-block: 16px 36px;
  }

  .maintenance-card {
    padding: 40px 24px 34px;
    border-radius: 20px;
  }

  .maintenance-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
  }

  .maintenance-icon svg {
    width: 42px;
    height: 42px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 9vw, 2.125rem);
  }

  .message {
    font-size: 1rem;
  }

  .status {
    align-items: flex-start;
    margin-top: 28px;
    border-radius: 16px;
    text-align: left;
  }

  .status__indicator {
    margin-top: 0.35rem;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .site-header {
    padding-block: 18px;
  }

  .main-content {
    padding-block: 14px 28px;
  }

  .maintenance-card {
    padding-block: 38px 34px;
  }

  .maintenance-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .maintenance-icon svg {
    width: 40px;
    height: 40px;
  }

  .message p + p {
    margin-top: 8px;
  }

  .status {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
