:root {
  color-scheme: dark;
  --background: #090b0e;
  --surface: #11161b;
  --surface-quiet: #0d1216;
  --border: #26333d;
  --text: #f4f7f9;
  --secondary: #b7c1c9;
  --accent: #6ad3e6;
  --accent-soft: #b7f2fc;
  --danger: #ff9c8c;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgb(106 211 230 / 10%), transparent 32rem),
    var(--background);
}

a {
  color: var(--accent-soft);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--secondary);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--text);
}

main {
  padding-block: clamp(56px, 10vw, 112px) 72px;
}

.hero {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.compact {
  min-height: 0;
  padding-block: 32px 50px;
  border-bottom: 1px solid var(--border);
}

.thread-mark {
  display: grid;
  grid-template-columns: 18px minmax(100px, 180px) 12px;
  align-items: center;
  width: fit-content;
  margin-bottom: 34px;
  filter: drop-shadow(0 0 12px rgb(106 211 230 / 42%));
}

.thread-core,
.thread-touch {
  display: block;
  border-radius: 50%;
  background: var(--accent-soft);
}

.thread-core {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 20px rgb(106 211 230 / 80%);
}

.thread-touch {
  width: 10px;
  height: 10px;
}

.thread-line {
  height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
}

h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.7rem, 9vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.compact h1 {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
}

.lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--secondary);
  font-size: clamp(1.12rem, 3vw, 1.35rem);
}

.effective-date {
  margin-top: 20px;
  color: var(--secondary);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #061013;
  background: var(--accent-soft);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #061013;
  background: #ffffff;
}

.text-link {
  font-weight: 650;
}

.panel {
  margin-top: 28px;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.panel.quiet {
  background: var(--surface-quiet);
}

.panel h2,
.article h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  letter-spacing: -0.025em;
}

.panel p {
  color: var(--secondary);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(106 211 230 / 60%);
}

.article {
  max-width: 68ch;
  margin-top: 46px;
}

.article h2 {
  margin-top: 52px;
}

.article h3 {
  margin: 34px 0 8px;
  font-size: 1.22rem;
}

.article p,
.article li {
  color: var(--secondary);
}

.article strong {
  color: var(--text);
}

.article ul,
.article ol {
  display: grid;
  gap: 10px;
  padding-left: 1.35rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 38px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 540px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .site-header {
    min-height: 68px;
  }

  nav {
    gap: 16px;
  }

  main {
    padding-top: 46px;
  }

  .hero {
    min-height: 48vh;
  }

  .panel {
    border-radius: 18px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
