:root {
  color-scheme: light;
  --paper: #f3f5f2;
  --ink: #182b26;
  --muted: #64736d;
  --green: #245c49;
  --lime: #d3ef75;
  --line: #dce2dc;
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.maintenance-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 0 7.2vw;
  overflow: hidden;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.topbar-note { color: var(--muted); font-size: 12px; }

.content {
  display: grid;
  width: min(1120px, 100%);
  flex: 1;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
  margin: 0 auto;
  padding: 72px 0 82px;
}

.copy { position: relative; z-index: 1; padding: 20px 0; }

h1 {
  margin: 0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: clamp(48px, 6.1vw, 78px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 span { color: var(--green); }

.description {
  max-width: 390px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 37px;
}

.status-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #cbd9ce;
  border-radius: 50%;
}

.status-icon span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--green);
  border-top-color: transparent;
  border-radius: 50%;
  animation: rotate 1.8s linear infinite;
}

.status small { color: var(--muted); font-size: 12px; }

.visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  isolation: isolate;
}

.visual-grid {
  position: absolute;
  z-index: -2;
  inset: 5% 0;
  background-image: linear-gradient(#dce2dc 1px, transparent 1px), linear-gradient(90deg, #dce2dc 1px, transparent 1px);
  background-position: center;
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}

.sun-disc {
  position: absolute;
  z-index: -1;
  width: min(72%, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(3%, -2%);
}

.orbit {
  position: absolute;
  z-index: -1;
  width: min(88%, 410px);
  aspect-ratio: 1;
  border: 1px solid #9aae9f;
  border-radius: 50%;
}

.orbit-one { transform: rotate(28deg) scaleY(.47); }
.orbit-two { transform: rotate(-35deg) scaleY(.55); border-color: #b7c5b9; }

.tool-card {
  width: min(76%, 340px);
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 1px solid #dfe6df;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 25px 65px #193c2b24, 0 3px 8px #193c2b0d;
  transform: rotate(-5deg);
  animation: arrive .8s cubic-bezier(.2, .8, .2, 1) both;
}

.tool-card-top {
  display: flex;
  height: 37px;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border-bottom: 1px solid #e8ede8;
}

.tool-card-top > span { width: 5px; height: 5px; border-radius: 50%; background: #d8ded8; }
.tool-card-top > span:first-child { background: #e19c78; }
.tool-card-top i { width: 36%; height: 5px; margin-left: 21px; border-radius: 5px; background: #edf0ec; }

.tool-card-body { display: grid; height: calc(100% - 37px); grid-template-columns: .8fr 1.2fr; align-items: center; gap: 16px; padding: 25px; }
.tool-lines { display: grid; gap: 9px; }
.tool-lines b { height: 6px; border-radius: 5px; background: #dce5dc; }
.tool-lines b:first-child { width: 70%; height: 10px; background: var(--green); }
.tool-lines b:last-child { width: 78%; }

.tool-window {
  display: grid;
  aspect-ratio: 1;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 8px;
  padding: 17px;
  border-radius: 3px;
  background: #f0f4ee;
}

.tool-window span { aspect-ratio: 1.3; border-radius: 2px; background: #d2e0d1; }
.tool-window span:nth-child(2) { background: #d6ed79; }
.tool-window span:nth-child(3) { background: #b8d0bb; }
.tool-window span:nth-child(4) { background: var(--green); }

.spark { position: absolute; color: var(--green); font-family: 'Trebuchet MS', 'Segoe UI', sans-serif; font-size: 35px; font-weight: 400; }
.spark-one { top: 17%; right: 12%; }
.spark-two { bottom: 17%; left: 11%; color: #a4b662; font-size: 26px; }
.footer {
  min-height: 67px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-index { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.footer-index b { padding: 0 5px; color: #91a47f; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes arrive { from { opacity: 0; transform: translateY(12px) rotate(-5deg); } to { opacity: 1; transform: translateY(0) rotate(-5deg); } }

@media (max-width: 760px) {
  .maintenance-page { padding: 0 7vw; }
  .topbar { min-height: 76px; }
  .topbar-note { font-size: 11px; }
  .content { grid-template-columns: 1fr; gap: 15px; padding: 58px 0 48px; }
  .copy { padding: 0; }
  h1 { font-size: clamp(48px, 12vw, 68px); }
  .description { max-width: 440px; margin-top: 19px; font-size: 15px; }
  .status { margin-top: 25px; }
  .visual { min-height: 310px; }
  .sun-disc { width: min(64%, 250px); }
  .orbit { width: min(83%, 330px); }
  .tool-card { width: min(69%, 290px); }
}

@media (max-width: 420px) {
  .topbar-note { max-width: 105px; text-align: right; }
  .visual { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}