:root {
  color-scheme: light;
  --page: #d8dfe0;
  --page-deep: #c9d3d5;
  --surface: rgba(244, 247, 246, 0.82);
  --surface-solid: #eef2f1;
  --ink: #213037;
  --ink-soft: #5f7077;
  --brand: #4c626b;
  --brand-deep: #3d535c;
  --brand-light: #82959c;
  --line: rgba(54, 75, 83, 0.16);
  --white: #f7f9f8;
  --white-muted: #cbd5d7;
  --accent: #afc8ba;
  --shadow: 0 28px 80px rgba(41, 58, 64, 0.17);
  --radius-large: 2rem;
  --radius-medium: 1.25rem;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 8%, rgba(255, 255, 255, 0.72), transparent 28rem),
    radial-gradient(circle at 94% 92%, rgba(76, 98, 107, 0.2), transparent 34rem),
    linear-gradient(145deg, var(--page) 0%, var(--page-deep) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(61, 83, 92, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 83, 92, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  color: var(--white);
  background: var(--brand-deep);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  display: grid;
  width: min(1180px, calc(100% - clamp(2rem, 8vw, 7rem)));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding-block: clamp(1.5rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(61, 83, 92, 0.18);
  place-items: center;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  display: block;
  content: "";
}

.brand-mark::before {
  bottom: 0.58rem;
  left: 0.58rem;
  width: 0.58rem;
  height: 1.05rem;
  background: var(--white);
}

.brand-mark::after {
  right: 0.58rem;
  bottom: 0.58rem;
  width: 0.58rem;
  height: 1.48rem;
  background: var(--white);
}

.brand-mark span:first-child {
  right: 0.58rem;
  bottom: 1.85rem;
  left: 0.58rem;
  height: 0.22rem;
  background: var(--accent);
}

.brand-mark span:last-child {
  bottom: 0.58rem;
  left: 50%;
  width: 0.22rem;
  height: 0.72rem;
  background: var(--accent);
  transform: translateX(-50%);
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 0.93rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand-copy small {
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.045em;
}

.environment-label {
  flex: 0 0 auto;
  margin-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(2.6rem, 7vw, 6.4rem);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.8fr);
}

.intro,
.system-panel {
  min-width: 0;
}

.intro {
  animation: reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 0 1.35rem;
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid rgba(76, 98, 107, 0.24);
  border-radius: 999px;
  background: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(76, 98, 107, 0.1);
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.85rem, 5.7vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 span {
  color: var(--brand);
}

.lead {
  max-width: 39rem;
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  line-height: 1.75;
}

.notice {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 0.8rem 1rem 0.8rem 0.82rem;
  border: 1px solid rgba(76, 98, 107, 0.14);
  border-radius: 1rem;
  background: rgba(247, 249, 248, 0.58);
  box-shadow: 0 14px 30px rgba(55, 75, 83, 0.07);
  backdrop-filter: blur(12px);
}

.notice-icon {
  position: relative;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: rgba(76, 98, 107, 0.12);
  place-items: center;
}

.notice-icon::before,
.notice-icon::after,
.notice-icon span {
  position: absolute;
  display: block;
  content: "";
}

.notice-icon::before {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.notice-icon::after {
  top: 0.64rem;
  left: 50%;
  width: 0.12rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand);
  transform: translateX(-50%);
}

.notice-icon span {
  top: 50%;
  left: 50%;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, 0.26rem);
}

.notice > span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.notice strong,
.notice small {
  overflow-wrap: anywhere;
}

.notice strong {
  font-size: 0.84rem;
}

.notice small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.system-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3.6vw, 2.15rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-large);
  color: var(--white);
  background:
    radial-gradient(circle at 110% -10%, rgba(175, 200, 186, 0.22), transparent 42%),
    linear-gradient(145deg, #526b74 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow);
  animation: reveal 620ms 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.system-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}

.panel-header,
.panel-line,
.readiness-list,
.panel-footer {
  position: relative;
  z-index: 1;
}

.panel-header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-header p {
  margin: 0 0 0.35rem;
  color: var(--white-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-header h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.panel-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--white-muted);
  background: rgba(20, 35, 41, 0.14);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.panel-status span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(175, 200, 186, 0.13);
}

.panel-line {
  height: 1px;
  margin-block: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.12);
}

.panel-line span {
  position: absolute;
  top: -1px;
  left: 0;
  width: 34%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.readiness-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-list li {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.readiness-list li:first-child {
  padding-top: 0;
}

.item-number {
  color: rgba(247, 249, 248, 0.46);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.item-copy {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.item-copy strong,
.item-copy small {
  overflow-wrap: anywhere;
}

.item-copy strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.item-copy small {
  color: var(--white-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.item-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.panel-footer {
  display: grid;
  align-items: center;
  gap: 0.7rem;
  padding-top: clamp(1.4rem, 3vw, 2rem);
  color: var(--white-muted);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  grid-template-columns: auto minmax(2.5rem, 1fr) auto;
}

.panel-footer strong {
  color: var(--white);
  font-weight: 650;
}

.progress-track {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.progress-track span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem 1.7rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(76, 98, 107, 0.5);
  outline-offset: 4px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(44rem, calc(100% - 3rem));
  }

  .hero {
    align-content: center;
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 1.75rem);
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-copy small {
    max-width: 13.5rem;
  }

  .environment-label {
    display: none;
  }

  .hero {
    gap: 2.5rem;
    padding-block: 3rem;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
    line-height: 1.01;
  }

  .lead {
    line-height: 1.65;
  }

  .notice {
    width: 100%;
    align-items: flex-start;
  }

  .system-panel {
    border-radius: 1.5rem;
  }

  .panel-header {
    display: grid;
  }

  .panel-status {
    width: fit-content;
  }

  .panel-footer {
    gap: 0.5rem;
    grid-template-columns: 1fr auto;
  }

  .panel-footer > span:first-child {
    display: none;
  }

  .site-footer {
    display: grid;
    justify-content: start;
    gap: 0.35rem;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: calc(100% - 1.25rem);
  }

  .brand-mark {
    width: 2.4rem;
    height: 2.4rem;
  }

  .brand-copy small {
    max-width: 11.5rem;
    font-size: 0.66rem;
  }

  .hero {
    padding-block: 2.5rem;
  }

  .notice {
    padding-right: 0.75rem;
  }

  .system-panel {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
