:root {
  color-scheme: dark;
  --background: #090d0d;
  --surface: #111817;
  --surface-raised: #17201e;
  --border: rgba(181, 215, 207, 0.2);
  --text: #f5f8f7;
  --secondary: #b7c9c4;
  --muted: #91a49f;
  --teal: #4ed8c4;
  --teal-strong: #73ead8;
  --teal-dark: #123936;
  --danger: #ff8178;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

* { box-sizing: border-box; }

html { background: var(--background); scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(78, 216, 196, 0.14), transparent 35rem),
    var(--background);
}

a { color: var(--teal); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.14em; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--background);
  background: var(--teal);
  border-radius: 999px;
  font-weight: 750;
  transform: translateY(-180%);
}

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

.shell { width: min(100% - 2rem, 76rem); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(61, 86, 88, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  overflow: hidden;
  background: #07100f;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  box-shadow: 0 0.5rem 1.5rem rgba(78, 216, 196, 0.16);
}

.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); }
.brand-copy { display: grid; gap: 0.05rem; line-height: 1.05; }
.brand-copy strong { font-size: 1.05rem; }
.brand-copy small { color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

nav { display: flex; flex-wrap: wrap; gap: 0.9rem; }
nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 650;
}
nav a[aria-current="page"] { color: var(--teal-strong); }

main { padding: clamp(2.5rem, 7vw, 6rem) 0; }

.hero { max-width: 54rem; margin-bottom: 3rem; }
.eyebrow { margin: 0 0 0.6rem; color: var(--teal); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -0.045em; }
.lede { max-width: 46rem; margin: 1.25rem 0 0; color: var(--secondary); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.updated { color: var(--muted); font-size: 0.86rem; }

.layout { display: grid; grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contents { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); padding: 1.25rem; overflow: auto; background: rgba(17, 24, 23, 0.94); border: 1px solid var(--border); border-radius: 1.3rem; }
.contents strong { display: block; margin-bottom: 0.6rem; }
.contents ol { margin: 0; padding-left: 1.3rem; }
.contents li + li { margin-top: 0.3rem; }
.contents a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: var(--secondary);
  font-size: 0.85rem;
}

article { min-width: 0; }
section { scroll-margin-top: 1.5rem; }
section + section { margin-top: 3.25rem; padding-top: 3.25rem; border-top: 1px solid rgba(61, 86, 88, 0.65); }
h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.2; }
h3 { margin: 1.8rem 0 0.5rem; font-size: 1.08rem; }
p, ul, ol { max-width: 48rem; }
li + li { margin-top: 0.45rem; }

.callout {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  background: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: 1.1rem;
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1.2rem; }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.6rem 1.1rem;
  color: var(--background);
  background: var(--teal);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

details { margin: 1rem 0; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; }
summary { cursor: pointer; font-weight: 750; }

footer { padding: 2rem 0 3rem; color: var(--muted); border-top: 1px solid rgba(61, 86, 88, 0.75); font-size: 0.82rem; }
footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

.landing-main { padding-top: clamp(2.5rem, 6vw, 5rem); }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: min(44rem, 78vh);
  padding: 0 0 clamp(4rem, 9vw, 7rem);
}
.landing-hero h1 { max-width: 52rem; }
.landing-card {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--secondary);
  background: linear-gradient(145deg, rgba(23, 32, 30, 0.98), rgba(10, 15, 14, 0.98));
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.38);
  transform: rotate(1.5deg);
}
.landing-card strong { color: var(--text); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.landing-status { color: var(--teal); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.landing-divider { height: 1px; margin: 0.35rem 0; background: var(--border); }
.landing-grid { margin-top: 1.5rem; }
.landing-fallback { max-width: 48rem; }

@media (max-width: 760px) {
  :root { font-size: 17px; }
  header { align-items: flex-start; flex-direction: column; }
  .layout { grid-template-columns: 1fr; }
  .contents { position: static; }
  .grid { grid-template-columns: 1fr; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; }
  .landing-card { transform: none; }
}

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

@media (forced-colors: active) {
  .brand-mark, .action { border: 1px solid ButtonText; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #111f1b; background: #fff; }
  header, footer, .contents, .action { display: none; }
  main { width: 100%; padding: 0; }
  .layout { display: block; }
  article { max-width: none; }
  section + section { break-before: auto; }
  a { color: inherit; text-decoration: underline; }
}
