@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-grotesk-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-medium.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --text: #ededed;
  --dim: #a3a3a3;
  --muted: #929292;
  --surface: rgb(255 255 255 / 3%);
  --border: rgb(255 255 255 / 8%);
  --border-hover: rgb(255 255 255 / 22%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 70% 540px at 50% -5%, rgb(255 255 255 / 6%), transparent) no-repeat;
  color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 16px;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--bg);
}

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

.page {
  width: min(100%, 728px);
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.page--compact {
  max-width: 588px;
}

.hero {
  margin-bottom: 32px;
  text-align: center;
}

.brand {
  display: inline-block;
  border-radius: 50%;
  line-height: 0;
}

.logo {
  display: block;
  width: 88px;
  height: 88px;
}

.brand-name {
  margin: 12px 0 24px;
  color: var(--dim);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-wrap: balance;
}

.tagline {
  margin: 14px auto 0;
  max-width: 440px;
  color: var(--dim);
  line-height: 1.6;
  text-wrap: balance;
}

.page-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(10 10 10 / 70%);
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms, background 160ms;
}

.page-nav a:hover {
  background: var(--surface);
  color: #fff;
}

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

.panel {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.document {
  color: var(--dim);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.document h2,
.support-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
}

.document section + section {
  margin-top: 28px;
}

.document p {
  margin: 0 0 12px;
}

.document p:last-child {
  margin-bottom: 0;
}

.document ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.document li + li {
  margin-top: 8px;
}

.document strong {
  color: var(--text);
  font-weight: 500;
}

.document a {
  color: var(--text);
  text-decoration-color: rgb(255 255 255 / 35%);
}

.updated {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.summary {
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 2px solid rgb(255 255 255 / 25%);
}

.support-panel > p {
  margin: 0;
  color: var(--dim);
  font-size: 0.94rem;
}

.email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: background 160ms, border-color 160ms;
}

.email-card:hover {
  border-color: var(--border-hover);
  background: rgb(255 255 255 / 6%);
}

.email-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgb(255 255 255 / 6%);
  color: var(--dim);
}

.email-icon svg {
  width: 20px;
  height: 20px;
}

.email-text {
  min-width: 0;
}

.email-address,
.email-label {
  display: block;
}

.email-address {
  font-size: 1.05rem;
  font-weight: 500;
}

.email-label {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.arrow {
  margin-left: auto;
  color: var(--dim);
}

.support-panel .support-note {
  font-size: 0.82rem;
}

.footer {
  margin-top: 32px;
  text-align: center;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--dim);
  font-size: 0.85rem;
  text-decoration: none;
}

.signature {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.redirect {
  display: grid;
  min-height: 100vh;
  place-content: center;
  padding: 32px 24px;
  text-align: center;
}

.redirect .hero {
  margin: 0;
}

.redirect a.home-link {
  margin-top: 24px;
}

@media (max-width: 480px) {
  .page {
    padding: 48px 18px 32px;
  }

  .logo {
    width: 72px;
    height: 72px;
  }

  .brand-name {
    margin-bottom: 20px;
  }

  .panel {
    padding: 24px 20px;
  }

  .page-nav {
    gap: 2px;
  }

  .page-nav a {
    min-height: 44px;
    padding: 8px 11px;
    font-size: 0.75rem;
  }

  .email-card {
    gap: 12px;
    padding: 14px 12px;
  }

  .email-address {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .page-nav {
    flex-wrap: nowrap;
  }

  .page-nav a {
    padding-inline: 8px;
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --text: #111;
    --dim: #333;
    --muted: #444;
    --border: #ddd;
  }

  html,
  body {
    background: #fff;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .brand,
  .page-nav,
  .skip-link,
  .footer {
    display: none;
  }

  h1,
  .document h2 {
    color: #111;
  }

  .panel {
    padding: 0;
    border: 0;
    background: none;
  }
}
