:root {
  color-scheme: light;
  --red: #e30613;
  --gray: #6d6e71;
  --ink: #29292b;
  --muted: #77787b;
  --line: #e7e7e6;
  --surface: #fff;
  --background: #f7f7f6;
  --font: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 28px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% 55%, #ededeb 0, transparent 39%),
    var(--background);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.maintenance-page {
  display: flex;
  width: min(1240px, 100%);
  min-height: calc(100vh - 56px);
  flex-direction: column;
  margin-inline: auto;
  padding-inline: clamp(24px, 7.3vw, 106px);
  border: 1px solid #ffffff;
  background: var(--surface);
  box-shadow: 0 20px 70px #29292b0b;
}

.page-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.wordmark-dot {
  width: 7px;
  height: 7px;
  margin: 0 0 0 4px;
  border-radius: 50%;
  background: var(--red);
}

.header-label {
  color: var(--gray);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.notice {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 5%;
  padding-block: 48px;
}

.notice-copy {
  max-width: 490px;
  padding-block: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: var(--red);
}

h1 {
  max-width: 510px;
  margin: 0 0 19px;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -3px;
  line-height: 1.16;
}

h1 span {
  color: var(--red);
}

.notice-description {
  max-width: 425px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.status-message {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 10px;
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #e3061314;
}

.support-note {
  margin-top: 30px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.notice-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 380px;
  place-items: center;
  isolation: isolate;
}

.visual-grid {
  position: absolute;
  z-index: -2;
  inset: 3%;
  background-image: linear-gradient(#e9e9e9 1px, transparent 1px), linear-gradient(90deg, #e9e9e9 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 73%);
}

.orbit {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
}

.orbit-outer {
  width: min(88%, 380px);
}

.orbit-inner {
  width: min(66%, 282px);
  border-style: dashed;
  border-color: #dedede;
}

.visual-card {
  display: flex;
  width: min(228px, 64%);
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  border: 1px solid #ededed;
  background: var(--surface);
  box-shadow: 0 18px 55px #29292b12;
}

.tool-icon {
  width: 77px;
  height: 77px;
  margin: 6px 0 17px;
  padding: 17px;
  background: #fff1f1;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.card-caption {
  color: var(--gray);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.progress-track {
  width: 100%;
  height: 3px;
  margin-top: 24px;
  background: #ededed;
}

.progress-track span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--red);
}

.card-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.visual-label {
  position: absolute;
  color: #929295;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.label-top {
  top: 16%;
  left: 3%;
}

.label-bottom {
  right: 0;
  bottom: 13%;
  left: 0;
  text-align: center;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--surface);
}

.dot-one {
  top: 24%;
  right: 13%;
}

.dot-two {
  bottom: 25%;
  left: 13%;
  border-color: #b7b7b8;
}

.page-footer {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #f0f0f0;
  color: var(--muted);
  font-size: 9px;
}

.footer-divider {
  width: 1px;
  height: 12px;
  background: #d7d7d7;
}

@media (max-width: 760px) {
  body {
    padding: 14px;
  }

  .maintenance-page {
    min-height: calc(100vh - 28px);
    padding-inline: clamp(20px, 6vw, 40px);
  }

  .page-header {
    min-height: 72px;
  }

  .notice {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 45px 28px;
  }

  .notice-copy {
    max-width: 540px;
    padding-block: 0;
  }

  h1 {
    max-width: 470px;
    font-size: clamp(42px, 9vw, 58px);
  }

  .notice-visual {
    width: min(100%, 470px);
    min-height: 310px;
    justify-self: center;
  }

  .visual-card {
    width: 200px;
    min-height: 235px;
    padding: 18px;
  }

  .tool-icon {
    width: 68px;
    height: 68px;
    margin-top: 3px;
  }

  .label-top {
    top: 12%;
  }

  .label-bottom {
    bottom: 8%;
  }
}

@media (max-width: 420px) {
  body {
    padding: 0;
    background: var(--surface);
  }

  .maintenance-page {
    min-height: 100vh;
    border: 0;
    box-shadow: none;
  }

  .wordmark {
    font-size: 26px;
  }

  .header-label {
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .notice {
    padding-top: 38px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(39px, 10.4vw, 48px);
    letter-spacing: -2px;
  }

  .notice-description {
    font-size: 12px;
  }

  .support-note {
    font-size: 9px;
  }

  .notice-visual {
    min-height: 275px;
  }

  .visual-card {
    width: 183px;
    min-height: 218px;
    padding: 16px;
  }

  .tool-icon {
    width: 62px;
    height: 62px;
    padding: 13px;
  }

  .label-top,
  .label-bottom {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
