:root {
  color-scheme: dark;
  font-family:
    'Segoe UI',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #f1efe8;
  background: #0b1015;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #a5b5c0;
  --line: #293946;
  --amber: #e9b870;
}

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

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--amber);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

a:hover {
  color: #f6d5a5;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 10px 18px;
  background: #182530;
  transform: translateY(-180%);
}

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

.site-header,
.site-footer {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: #f1efe8;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--amber);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.app-link {
  gap: 10px;
}

.document {
  max-width: 780px;
  margin: 64px auto 80px;
  padding-inline: 24px;
  overflow-wrap: anywhere;
}

.document:focus {
  outline: none;
}

.eyebrow {
  color: #80c9b5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 12px 0 20px;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 16px;
}

.lede {
  color: #c6d0d7;
  font-size: 1.15rem;
  line-height: 1.6;
}

.version,
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  margin: 32px 0 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  background: #121c25;
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
}

.notice p,
section p:last-child {
  margin-bottom: 0;
}

section {
  margin-top: 32px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121c25;
}

.contact-card .muted {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid #536774;
  border-radius: 8px;
  background: #182530;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: #1d2d38;
  border-color: var(--amber);
}

.document-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 480px) {
  .site-header,
  .site-footer {
    width: calc(100% - 32px);
    gap: 12px;
  }

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

  nav {
    gap: 16px;
    font-size: 0.875rem;
  }

  .brand {
    font-size: 21px;
  }

  .document {
    margin-block: 40px 56px;
    padding-inline: 20px;
  }

  .notice,
  .contact-card {
    padding: 20px;
  }

  .document-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
}
