:root {
  --ink: #17181d;
  --muted: #626872;
  --line: rgba(23, 24, 29, 0.14);
  --paper: #f6f3ed;
  --surface: #f6f3ed;
  --blue: #315f8d;
  --green: #4f7f68;
  --red: #9f4f47;
  --gold: #8d6f3f;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: "Monaspace Neon", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@font-face {
  font-family: "Monaspace Neon";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/githubnext/monaspace@main/fonts/Web%20Fonts/Variable%20Web%20Fonts/Monaspace%20Neon/Monaspace%20Neon%20Var.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@release/WOFF2/VF/SourceSans3VF-Upright.ttf.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(49, 95, 141, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  align-items: center;
  background: var(--paper);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 84px;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.site-nav {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  text-decoration: none;
}

.brand span {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 660;
  line-height: 1;
}

.brand img {
  display: block;
  height: 25px;
  width: 25px;
}

.site-nav {
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 24px;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
}

.home-page {
  min-height: 100svh;
}

.home-page .site-header {
  min-height: 106px;
  padding: 26px clamp(28px, 3.2vw, 52px);
  position: static;
}

.home-page .brand {
  gap: 14px;
}

.home-page .brand img {
  height: 38px;
  width: 38px;
}

.home-page .brand span {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.beta-hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 106px);
  padding: 24px clamp(24px, 6vw, 96px) clamp(92px, 12vh, 148px);
  text-align: center;
}

.beta-lede {
  color: var(--muted);
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  font-weight: 400;
  line-height: 1.34;
  margin: 0;
  max-width: 1000px;
}

.beta-download {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-size: 1.12rem;
  font-weight: 760;
  justify-content: center;
  margin-top: 44px;
  min-height: 68px;
  min-width: 344px;
  padding: 16px 30px;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.beta-download:hover {
  background: #2b2d33;
  transform: translateY(-1px);
}

.beta-download:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(38px, 7vw, 86px);
  justify-content: flex-start;
  min-height: calc(100svh - 68px);
  overflow: clip;
  padding: clamp(56px, 9vw, 112px) 0 clamp(42px, 7vw, 88px);
}

.hero-media {
  align-items: center;
  display: flex;
  height: auto;
  justify-content: center;
  order: 2;
  padding: 0 clamp(20px, 5vw, 72px);
  position: relative;
  width: 100%;
}

.hero-media img {
  border: 1px solid rgba(23, 24, 29, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(23, 24, 29, 0.16);
  height: auto;
  max-height: 58vh;
  max-width: 1180px;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.hero-content {
  color: var(--ink);
  font-family: var(--font-heading);
  margin: 0 auto;
  max-width: 980px;
  order: 1;
  padding: 0 clamp(20px, 5vw, 72px);
  position: relative;
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1,
.page-header h1,
.section-heading h2,
.split-band h2 {
  font-family: var(--font-heading);
  line-height: 1;
  margin: 0;
}

.hero h1 {
  font-size: clamp(5.4rem, 16vw, 13.5rem);
  font-weight: 760;
  letter-spacing: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.22rem, 2.3vw, 1.85rem);
  line-height: 1.22;
  margin: 22px auto 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid rgba(23, 24, 29, 0.2);
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  color: var(--ink);
}

.download-button {
  min-width: 230px;
}

.download-menu {
  position: relative;
}

.download-menu summary {
  cursor: pointer;
  gap: 10px;
  list-style: none;
}

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

.menu-arrow {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: inline-block;
  height: 7px;
  margin-top: -3px;
  transform: rotate(45deg);
  width: 7px;
}

.download-options {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 18px 44px rgba(23, 24, 29, 0.13);
  display: grid;
  gap: 2px;
  left: 0;
  min-width: 230px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 20;
}

.download-options a {
  border-radius: 5px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
}

.download-options a:hover {
  background: rgba(23, 24, 29, 0.07);
}

.feature-band,
.notes-band,
.split-band,
.page-shell {
  margin: 0 auto;
  max-width: 1160px;
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 56px);
}

.intro-band {
  padding-top: clamp(64px, 8vw, 96px);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.split-band h2,
.page-header h1 {
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  max-width: 850px;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.feature-grid article {
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  padding: 28px 28px 34px 0;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.feature-grid h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.feature-grid p,
.split-band p,
.prose p,
.summary {
  color: var(--muted);
}

.split-band {
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
}

.split-band p {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  margin: 30px 0 0;
}

.article-list {
  display: grid;
  border-top: 1px solid var(--line);
  gap: 0;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.article-list li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding: 24px 0;
}

.article-list time {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-list a {
  font-size: 1.3rem;
  font-weight: 780;
  text-decoration: none;
}

.article-list .summary p {
  margin: 0;
}

.archive-list li {
  align-items: center;
  grid-template-columns: 150px minmax(0, 1fr);
}

.page-shell {
  max-width: 900px;
}

.page-header {
  margin-bottom: 42px;
}

.prose {
  font-size: 1.08rem;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  margin: 38px 0 10px;
}

code,
pre,
kbd,
samp {
  font-family: var(--font-code);
}

code {
  background: rgba(23, 24, 29, 0.07);
  border: 1px solid rgba(23, 24, 29, 0.1);
  border-radius: 5px;
  font-size: 0.92em;
  padding: 0.08em 0.28em;
}

pre {
  background: #111319;
  border-radius: 7px;
  color: #eef2f7;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-x: auto;
  padding: 18px;
}

pre code {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  padding: 0;
}

.prose p {
  margin: 0 0 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 56px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    position: static;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 760px;
    padding-top: 44px;
  }

  .brand span {
    font-size: 2rem;
  }

  .brand img {
    height: 22px;
    width: 22px;
  }

  .feature-grid article,
  .feature-grid article + article {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .feature-grid,
  .split-band,
  .archive-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 690px;
  }

  .home-page .site-header {
    min-height: 88px;
    padding: 22px 24px;
  }

  .home-page .brand img {
    height: 30px;
    width: 30px;
  }

  .home-page .brand span {
    font-size: 2rem;
  }

  .beta-hero {
    justify-content: flex-start;
    min-height: calc(100svh - 88px);
    padding: 20vh 24px 72px;
  }

  .beta-lede {
    font-size: 1.48rem;
    line-height: 1.4;
  }

  .beta-download {
    margin-top: 36px;
    min-height: 58px;
    min-width: 0;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .feature-grid article,
  .article-list li {
    padding: 22px;
  }
}
