:root {
  --bg: #0c0e0c;
  --fg: #eceae4;
  --muted: #a9a69c;
  --line: rgba(236, 234, 228, 0.16);
  --accent: #cfc8b6;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
  color: var(--fg);
  background:
    radial-gradient(ellipse 90% 55% at 50% 38%, #171b16 0%, var(--bg) 68%);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

[data-panel]:focus,
[data-panel]:focus-visible {
  outline: none;
}

header {
  padding: 1.5rem 2rem 0.75rem;
}

.mark {
  display: inline-flex;
  color: var(--fg);
  text-decoration: none;
}

.mark svg {
  display: block;
}

.tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: stretch;
  gap: 0.15rem 1.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 1.5rem 1px;
  border: 0;
  box-shadow: none;
  background-image: linear-gradient(var(--line), var(--line));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

.tabs a {
  flex: 0 0 auto;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.75rem 0;
  border: 0;
  white-space: nowrap;
}

.tabs a.is-active,
.tabs a[aria-selected="true"] {
  color: var(--fg);
  box-shadow: 0 1px 0 0 var(--accent);
}

[data-panels] section {
  text-align: center;
  padding: 4rem 1.5rem;
  scroll-margin-top: 1.25rem;
}

html:not(.js) [data-panels] section + section {
  border-top: 1px solid var(--line);
}

h1,
h2 {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.tagline,
.lede {
  margin-top: 1.15rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.status {
  margin-top: 2.6rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

footer {
  margin-top: -1px;
  padding: 1.5rem 1.5rem 2.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  border: 0;
  box-shadow: none;
  background-color: var(--bg);
}

.js body {
  min-height: 100vh;
  min-height: 100dvh;
}

.js [data-panels] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.js [data-panels] section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 0;
  padding: 2.5rem 1.5rem 4rem;
  width: 100%;
}

.js [data-panels] section[hidden] {
  display: none;
}

@media (max-width: 640px) {
  header {
    padding: 1.15rem 1.25rem 0.5rem;
  }

  .tabs {
    justify-content: flex-start;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  footer {
    padding: 1.35rem 1.25rem 1.75rem;
  }

  [data-panels] section {
    padding: 3rem 1.25rem;
  }

  .js [data-panels] section {
    padding: 2.2rem 1.25rem 3.25rem;
  }
}
