@layer reset {
  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

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

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    text-decoration: inherit;
  }

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

:root {
  --page: #f7faff;
  --surface: #ffffff;
  --ink: #0f1729;
  --muted-ink: #616b80;
  --line: #e5ebf0;
  --primary: #0088ff;
  --link: #0066cc;
  --on-primary: #ffffff;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
}

body {
  color: var(--ink);
  font-family: var(--font-geist-sans);
  line-height: 1.5;
}

::selection {
  background: rgb(0 136 255 / 18%);
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 650;
  transform: translateY(-160%);
}

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

.site-root {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--page);
}

.site-header {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav-link {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition:
    color 150ms ease-out,
    background-color 150ms ease-out;
}

.site-nav-link:hover {
  background: var(--surface);
  color: var(--ink);
}

.site-nav-link:focus-visible,
.site-brand:focus-visible,
.footer-links a:focus-visible,
.footer-list a:focus-visible,
.social-link:focus-visible,
.prose a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.site-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.site-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.site-main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px 96px;
  flex: 1;
}

.site-main--narrow {
  max-width: 808px;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.prose--landing {
  max-width: 800px;
  margin-left: 0;
}

.prose h1 {
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -1.8px;
  line-height: 1.08;
  text-wrap: balance;
}

.prose--landing h1 {
  font-size: 64px;
  letter-spacing: -3.4px;
  line-height: 1.03;
}

.prose h2 {
  margin-top: 56px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.7px;
  line-height: 1.25;
  text-wrap: balance;
}

.prose h3 {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.35px;
  line-height: 1.35;
}

.prose h4,
.prose h5,
.prose h6 {
  margin-top: 28px;
  font-weight: 650;
  line-height: 1.4;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose table {
  margin-top: 18px;
}

.prose h1 + p {
  max-width: 680px;
  margin-top: 26px;
  color: var(--muted-ink);
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li + li {
  margin-top: 9px;
}

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose h1 a,
.prose h2 a,
.prose h3 a {
  color: inherit;
  text-decoration: none;
}

.prose strong {
  font-weight: 650;
}

.prose hr {
  margin: 56px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose blockquote {
  padding: 20px 22px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  color: var(--muted-ink);
}

.prose code {
  border-radius: 5px;
  background: var(--surface);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.prose :not(pre) > code {
  padding: 2px 5px;
  border: 1px solid var(--line);
}

.prose pre {
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.prose pre code {
  background: transparent;
}

.prose table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-spacing: 0;
  background: var(--surface);
  font-size: 14px;
}

.prose th,
.prose td {
  min-width: 140px;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--ink);
  font-weight: 650;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th:last-child,
.prose td:last-child {
  border-right: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 44px;
  display: grid;
  gap: 28px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.6;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 32px;
}

.footer-section {
  min-width: 0;
}

.footer-heading {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-list {
  margin-top: 12px;
  list-style: none;
}

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

.footer-list a,
.footer-links a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-meta {
  display: grid;
  gap: 18px;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.social-link {
  color: var(--link);
}

.social-link:hover {
  color: var(--ink);
}

.status-page {
  display: grid;
  gap: 40px;
}

.status-intro h1 {
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -1.8px;
  line-height: 1.08;
  text-wrap: balance;
}

.status-intro p {
  margin-top: 14px;
  color: var(--muted-ink);
  font-size: 19px;
  line-height: 1.55;
}

.status-card,
.service-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.status-card {
  padding: 28px;
}

.status-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-card h2,
.service-list h2 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.status-card p {
  margin-top: 12px;
  color: var(--muted-ink);
  font-size: 15px;
  line-height: 1.6;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--muted-ink);
}

.service-list h2 {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.service-list ul {
  list-style: none;
}

.service-row {
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-name {
  font-size: 15px;
  font-weight: 650;
}

.service-description {
  margin-top: 3px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.5;
}

.status-token {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .site-header,
  .site-main,
  .site-footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-main {
    padding-top: 104px;
  }

  .prose--landing h1 {
    font-size: 68px;
    letter-spacing: -3.8px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-badge {
    margin-left: auto;
  }

  .site-main {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .prose h1,
  .prose--landing h1,
  .status-intro h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }

  .service-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .status-token {
    grid-column: 2;
    justify-self: start;
  }
}
