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

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

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus_jakarta_sans_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus_jakarta_sans_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains_mono_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #0d0d0f;
  --surface: #18181c;
  --elevated: #222228;
  --text: #f5f5f7;
  --muted: #9e9ea8;
  --crimson: #d91e36;
  --ember: #ff6b1a;
  --gold: #ffb800;
  --rule: rgba(245, 245, 247, 0.12);
  --soft: rgba(245, 245, 247, 0.04);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --canvas: #f8f7f4;
    --surface: #ffffff;
    --elevated: #efece6;
    --text: #111114;
    --muted: #5c5c66;
    --rule: rgba(17, 17, 20, 0.14);
    --soft: rgba(17, 17, 20, 0.035);
  }
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--ember);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--ember);
}

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

::selection {
  background: var(--crimson);
  color: #ffffff;
}

.wrap {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
}

.landing .wrap {
  width: min(100% - 48px, 1120px);
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 170px;
  height: auto;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

main {
  padding-block: 88px 96px;
}

.landing main {
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--ember);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 16ch;
}

.hero h1 {
  margin-bottom: clamp(28px, 3vw, 40px);
  font-size: clamp(3.2rem, 9.5vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 17ch;
  text-wrap: balance;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  margin: 40px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.lede {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.hero {
  padding-bottom: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--rule);
}

.features {
  display: grid;
  gap: 0;
  padding-top: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 24px;
  padding-block: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.feature::before {
  content: "";
  display: block;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--crimson), var(--ember));
}

.feature h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}

.feature p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.feature .eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.cta {
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.cta p {
  margin: 0 0 20px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(100deg, var(--crimson), var(--ember));
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  filter: brightness(1.1);
}

.prose {
  max-width: 66ch;
}

.prose h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  max-width: 20ch;
}

.prose h2 {
  margin-top: 52px;
  padding-top: 4px;
}

.prose p,
.prose ul {
  color: var(--muted);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 24px;
  font-size: 15px;
}

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

.prose th {
  color: var(--text);
  font-weight: 600;
}

.prose td {
  color: var(--muted);
}

.notice {
  margin-bottom: 48px;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.notice strong {
  color: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 32px 48px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

@media (max-width: 640px) {
  .site-header .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 20px;
  }

  .site-nav ul {
    gap: 18px;
  }

  main {
    padding-block: 56px 64px;
  }

  .landing main {
    padding-block: 56px 64px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .prose table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
