:root {
  --bg: #0e0c0b;
  --panel: #181513;
  --line: #2e2925;
  --text: #f3efe8;
  --muted: #8f877e;
  --accent: #ff4d2e;
  --accent-hover: #ff6a4f;
  --accent-text: #ff4d2e;
  --on-accent: #0e0c0b;
  --rail: #4a423b;
  --paper: #f3efe8;
  --paper-ink: #0e0c0b;
  --paper-muted: #5f574f;
  --paper-rule: #c9c1b6;
  --paper-edge: transparent;
  --stamp: #c6300f;
  --glow: rgba(255, 77, 46, 0.32);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f0ece5;
    --panel: #ffffff;
    --line: #ddd6cc;
    --text: #161311;
    --muted: #6b645c;
    --accent-text: #c6300f;
    --rail: #b3aa9f;
    --paper: #ffffff;
    --paper-edge: rgba(22, 19, 17, 0.22);
    --glow: rgba(255, 77, 46, 0.22);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #f0ece5;
  --panel: #ffffff;
  --line: #ddd6cc;
  --text: #161311;
  --muted: #6b645c;
  --accent-text: #c6300f;
  --rail: #b3aa9f;
  --paper: #ffffff;
  --paper-edge: rgba(22, 19, 17, 0.22);
  --glow: rgba(255, 77, 46, 0.22);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.figures { font-variant-numeric: tabular-nums; }

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.lockup svg { flex: none; width: 26px; height: 26px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.site-nav__links a:not(.button) {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__links a:not(.button):hover,
.site-nav__links a[aria-current="page"] { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button--primary:hover { background: var(--accent-hover); }

.button--quiet {
  border-color: var(--line);
  color: var(--text);
}

.button--quiet:hover { border-color: var(--muted); }

.button--large {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.display {
  margin: 0;
  font-weight: 600;
  font-size: clamp(42px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.heading {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

.band {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

.band__intro {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.faq { max-width: 760px; }

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-weight: 400;
  transition: transform 150ms ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin: 0;
  padding-bottom: 24px;
  max-width: 62ch;
  color: var(--muted);
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.theme-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.theme-toggle button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.theme-toggle button:hover { color: var(--text); }

.theme-toggle button[aria-pressed="true"] {
  background: var(--panel);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.theme-toggle svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  .lockup { font-size: 19px; gap: 8px; }
  .lockup svg { width: 22px; height: 22px; }
  .site-nav { gap: 14px; }
  .site-nav__links { gap: 14px; }
  .site-footer__row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 379px) {
  .site-nav__links .hide-narrow { display: none; }
}

.site-header { position: relative; z-index: 20; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 28px;
  background: var(--bg);
  min-height: calc(100dvh - 88px);
  overflow-y: auto;
  animation: menu-open 200ms ease-out;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__links {
  display: grid;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.mobile-menu__links a[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--muted);
}

.site-header.is-menu-open .site-nav__links .button { visibility: hidden; }

html.menu-open { overflow: hidden; }

.mobile-menu__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.mobile-menu__theme .theme-toggle button { width: 40px; height: 40px; }

.mobile-menu .button { width: 100%; }

@keyframes menu-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .site-nav__links { gap: 12px; }
  .site-nav__links > a:not(.button),
  .site-nav__links > .theme-toggle { display: none; }
  .site-nav__links .button { min-height: 40px; padding: 0 16px; }
  .menu-toggle { display: grid; }
  .site-footer__links { gap: 4px 24px; }
  .site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (min-width: 721px) {
  .mobile-menu { display: none !important; }
}
