:root {
  color-scheme: dark;
  --color-bg: #071017;
  --color-bg-strong: #03070b;
  --color-panel: rgba(18, 28, 38, 0.74);
  --color-panel-solid: #101a24;
  --color-panel-soft: rgba(255, 255, 255, 0.055);
  --color-border: rgba(211, 230, 242, 0.18);
  --color-border-strong: rgba(211, 230, 242, 0.28);
  --color-text: #f4f8fb;
  --color-muted: #b7c4ce;
  --color-subtle: #8496a3;
  --color-accent: #8ee6d2;
  --color-accent-strong: #c3f7ea;
  --color-warm: #f1cf8d;
  --shadow-panel: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius-card: 8px;
  --radius-lg: var(--radius-card);
  --radius-md: 7px;
  --shell-width: 1080px;
  --space-shell-x: clamp(1rem, 4vw, 3rem);
  --space-shell-y: clamp(1.85rem, 5.5vh, 4.8rem);
  --space-section: clamp(1rem, 2.8vw, 1.75rem);
  --space-card: clamp(1rem, 2.2vw, 1.4rem);
  --space-page: var(--space-shell-x);
  --focus-ring: 0 0 0 3px rgba(142, 230, 210, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--color-bg);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(82, 143, 166, 0.2), transparent 25rem),
    radial-gradient(circle at 82% 10%, rgba(142, 230, 210, 0.11), transparent 24rem),
    linear-gradient(145deg, var(--color-bg-strong) 0%, #0b151d 46%, #11161a 100%);
  color: var(--color-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

body::before,
body::after {
  position: fixed;
  inset: auto;
  z-index: -1;
  width: min(34rem, 88vw);
  height: min(34rem, 88vw);
  pointer-events: none;
  content: "";
  filter: blur(14px);
  opacity: 0.68;
}

body::before {
  top: -15rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(103, 176, 190, 0.2), transparent 68%);
}

body::after {
  bottom: -15rem;
  left: -13rem;
  background: radial-gradient(circle, rgba(241, 207, 141, 0.12), transparent 67%);
}

a,
button,
[tabindex]:not([tabindex="-1"]) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  box-shadow: var(--focus-ring);
}

.site-shell {
  width: min(100% - (var(--space-shell-x) * 2), var(--shell-width));
  min-height: auto;
  margin: 0 auto;
  padding: var(--space-shell-y) 0 clamp(1.25rem, 4vh, 3rem);
  display: grid;
  align-items: start;
}

.hero {
  width: 100%;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 clamp(0.85rem, 2vw, 1.45rem);
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(142, 230, 210, 0.26);
  border-radius: 999px;
  background: rgba(142, 230, 210, 0.08);
  color: var(--color-accent-strong);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  gap: clamp(1.35rem, 4vw, 3.4rem);
  align-items: center;
}

.hero-copy {
  max-width: 44rem;
}

.brand-mark {
  margin: 0 0 clamp(0.45rem, 1.2vw, 0.7rem);
  color: var(--color-subtle);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
  font-size: clamp(2.45rem, 6.4vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
}

.glass-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--color-panel-solid);
  box-shadow: var(--shadow-panel);
}

@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .glass-card {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
      var(--color-panel);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
  }
}

.status-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 23rem);
  justify-self: end;
  padding: var(--space-card);
}

.status-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(142, 230, 210, 0.08), transparent),
    radial-gradient(circle at 18% 0%, rgba(142, 230, 210, 0.11), transparent 12rem);
}

.status-card__header,
.status-list,
.module-card > * {
  position: relative;
}

.status-card__header {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: clamp(0.8rem, 1.8vw, 1.1rem);
}

.status-pulse {
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(142, 230, 210, 0.5);
  animation: pulse 2.7s ease-out infinite;
}

h2 {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.status-list {
  display: grid;
  gap: clamp(0.6rem, 1.4vw, 0.76rem);
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: 0.85rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.status-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--color-warm);
  box-shadow: 0 0 0 0.24rem rgba(241, 207, 141, 0.1);
}

.module-card {
  max-width: 42rem;
  margin-top: var(--space-section);
  padding: var(--space-card);
  box-shadow: var(--shadow-soft);
}

.module-label {
  margin-bottom: 0.42rem;
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.module-card p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.7vw, 1.04rem);
}

.site-footer {
  width: min(100% - (var(--space-shell-x) * 2), var(--shell-width));
  margin: clamp(0.5rem, 2vh, 1.25rem) auto 0;
  padding: 0 0 clamp(1.25rem, 4vw, 2rem);
  color: var(--color-subtle);
  font-size: 0.86rem;
}

.site-footer p {
  margin-bottom: 0.2rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(142, 230, 210, 0.45);
  }

  70% {
    box-shadow: 0 0 0 0.7rem rgba(142, 230, 210, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(142, 230, 210, 0);
  }
}

@media (min-width: 1200px) {
  :root {
    --space-shell-y: clamp(3.5rem, 6vh, 4.5rem);
  }

  .site-shell {
    min-height: auto;
    align-items: start;
  }
}

@media (max-width: 1199px) {
  :root {
    --shell-width: 980px;
    --space-shell-y: clamp(3rem, 6.4vh, 4.6rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
    gap: clamp(1.25rem, 3vw, 2.4rem);
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 6vw, 4.9rem);
  }

  .status-card {
    width: min(100%, 21rem);
  }
}

@media (max-width: 1023px) {
  :root {
    --shell-width: 760px;
    --space-shell-y: clamp(2.35rem, 5vh, 3.5rem);
    --space-section: clamp(0.95rem, 2.5vw, 1.35rem);
  }

  .site-shell {
    padding-bottom: clamp(0.95rem, 3vh, 1.8rem);
  }

  .hero-grid {
    gap: var(--space-section);
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.45rem, 6.8vw, 4.15rem);
  }

  .hero-text {
    max-width: 41rem;
  }
}

@media (max-width: 899px) {
  .site-shell {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  h1 {
    max-width: 16ch;
  }

  .status-card {
    justify-self: start;
    width: min(100%, 39rem);
  }

  .module-card {
    width: min(100%, 39rem);
  }
}

@media (max-width: 767px) {
  :root {
    --space-shell-y: clamp(1.7rem, 4.6vh, 2.65rem);
    --space-section: clamp(0.9rem, 3vw, 1.15rem);
    --space-card: clamp(0.9rem, 3.2vw, 1.12rem);
  }

  body {
    background:
      radial-gradient(circle at 18% 2rem, rgba(82, 143, 166, 0.18), transparent 17rem),
      radial-gradient(circle at 88% 2.5rem, rgba(142, 230, 210, 0.1), transparent 16rem),
      linear-gradient(145deg, var(--color-bg-strong) 0%, #0b151d 52%, #10161a 100%);
  }

  body::before {
    top: -18rem;
    right: -16rem;
    opacity: 0.52;
  }

  .eyebrow {
    margin-bottom: 0.75rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.72rem;
  }

  .brand-mark {
    margin-bottom: 0.36rem;
    font-size: 0.84rem;
  }

  h1 {
    max-width: 14.5ch;
    margin-bottom: 0.75rem;
    font-size: clamp(2.25rem, 9.4vw, 3.55rem);
    line-height: 1;
  }

  .hero-text {
    font-size: clamp(0.96rem, 3.45vw, 1rem);
  }

  .status-card,
  .module-card {
    width: 100%;
  }

  .site-footer {
    margin-top: clamp(0.15rem, 1.2vh, 0.8rem);
  }
}

@media (max-width: 640px) {
  .status-card,
  .module-card {
    max-width: none;
  }
}

@media (max-width: 479px) {
  :root {
    --space-shell-x: clamp(0.9rem, 4.8vw, 1.08rem);
    --space-shell-y: clamp(1.35rem, 4vh, 2rem);
    --space-section: 0.85rem;
    --space-card: 0.88rem;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  h1 {
    max-width: 13.5ch;
    font-size: clamp(2.05rem, 11.8vw, 2.85rem);
    line-height: 1.01;
  }

  .status-card__header {
    gap: 0.58rem;
    margin-bottom: 0.72rem;
  }

  .hero-text,
  .module-card p:last-child,
  .status-list {
    font-size: 0.95rem;
  }

  .status-list {
    gap: 0.58rem;
  }

  .status-list li {
    grid-template-columns: 0.72rem minmax(0, 1fr);
    gap: 0.55rem;
  }
}

@media (max-width: 360px) {
  :root {
    --space-shell-x: 0.9rem;
    --space-shell-y: 1.2rem;
    --space-card: 0.82rem;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(1.95rem, 11.3vw, 2.35rem);
  }

  .hero-text,
  .module-card p:last-child,
  .status-list {
    font-size: 0.9rem;
  }
}

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