:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --black: #111111;
  --muted: #6b6b6b;
  --muted-on-dark: #a0a0a0;
  --paper: #f7f6f3;
  --line: #e5e5e5;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --page-pad: 64px;
  --section-y: 120px;
  --content-max: 1312px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  border-bottom: 1px solid var(--line);
  padding: 32px var(--page-pad);
  background: var(--bg);
}

.brand {
  flex: 0 0 auto;
}

.brand img,
.footer-brand > img {
  width: 56px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:not(.button):hover,
.site-nav summary:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--black);
}

.site-nav .active {
  color: var(--ink);
  font-weight: 600;
}

.projects-menu {
  position: relative;
}

.projects-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

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

.projects-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.projects-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.projects-menu__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 20;
  display: grid;
  min-width: 190px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  background: var(--bg);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.12);
}

.projects-menu__panel a {
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
}

.projects-menu__panel a:hover,
.projects-menu__panel a.active {
  background: var(--paper);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.333;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.button img {
  width: 16px;
  height: 16px;
}

.button:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.button--dark {
  background: #000000;
  color: #ffffff;
}

.button--dark:hover {
  background: #2a2a2a;
}

.button--light {
  background: #ffffff;
  color: var(--black);
}

.button--light:hover {
  background: #e9e9e9;
}

.button--outline {
  border: 1px solid #ffffff;
  background: #0d0d0d;
  color: #ffffff;
}

.button--outline:hover {
  background: #1c1c1c;
}

.button--large {
  min-height: 63px;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
}

.section-dark {
  background: var(--black);
  color: #ffffff;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  min-height: 502px;
  padding: 100px var(--page-pad) 120px;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 120px;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(900px, 100%);
  text-align: center;
}

.hero h1,
.vision h2,
.community h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

.hero h1 {
  color: #ffffff;
  font-size: 72px;
  line-height: 1.05;
}

.hero__summary {
  width: min(720px, 100%);
  margin-top: 24px;
  color: var(--muted-on-dark);
  font-size: 20px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.hero__note {
  width: min(720px, 100%);
  margin-top: 24px;
  color: var(--muted-on-dark);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: var(--section-y) var(--page-pad);
}

.section-muted {
  background: var(--paper);
}

.section__inner {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.section-intro {
  margin-bottom: 48px;
}

.section-intro h2,
.section-heading h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
}

.section-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.product-grid,
.step-grid,
.roadmap-grid {
  display: grid;
  gap: 24px;
}

.product-grid,
.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.product-card {
  display: flex;
  min-height: 359px;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
}

.icon-box,
.small-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: #ffffff;
}

.icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.icon-box img {
  width: 16px;
  height: 16px;
}

.kicker,
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.333;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.card-subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.product-card > p:not(.kicker):not(.card-subtitle) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.333;
}

.text-link img {
  width: 16px;
  height: 16px;
}

.vision {
  display: flex;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.vision__content {
  display: flex;
  width: min(900px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.vision .eyebrow {
  font-size: 14px;
}

.vision h2 {
  width: min(900px, 100%);
  color: var(--ink);
  font-size: 56px;
}

.vision p:not(.eyebrow) {
  width: min(720px, 100%);
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
  font-size: 14px;
}

.section-heading h2 {
  font-size: 48px;
}

.info-card {
  padding: 32px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.small-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.small-icon img {
  width: 12px;
  height: 12px;
}

.info-card p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.community {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 120px var(--page-pad);
  text-align: center;
}

.community__content {
  width: min(var(--content-max), 100%);
}

.community h2 {
  color: #ffffff;
  font-size: 56px;
}

.community p {
  width: min(720px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1.6;
}

.site-footer {
  padding: 80px var(--page-pad);
  background: #ffffff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.footer-brand {
  width: 420px;
}

.footer-brand p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.footer-brand .small {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 80px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.286;
  white-space: nowrap;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h2 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.286;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--content-max), 100%);
  margin: 64px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.286;
}

.subhero {
  position: relative;
  overflow: hidden;
  padding: 120px var(--page-pad);
}

.subhero--center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.subhero__glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.subhero__glow--right {
  left: 55%;
}

.subhero__content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.subhero__content--center {
  width: min(800px, 100%);
}

.subhero h1,
.blog-hero h1,
.simple-callout h2,
.run-panel h2,
.narrow-copy h2,
.featured-post h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
}

.subhero h1 {
  margin-top: 24px;
  color: #ffffff;
  font-size: 72px;
}

.subhero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin-top: 24px;
  color: var(--muted-on-dark);
  font-size: 20px;
  line-height: 1.6;
}

.honey-accent {
  color: #f59e0b;
}

.align-left {
  justify-content: flex-start;
}

.button-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

.page-heading {
  margin-bottom: 56px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.simple-callout,
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 100px var(--page-pad);
  text-align: center;
}

.simple-callout h2,
.run-panel h2 {
  color: var(--ink);
  font-size: 36px;
}

.feature-list {
  border: 1px solid var(--line);
}

.feature-list article {
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding: 32px;
}

.feature-list article:last-child {
  border-bottom: 0;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.feature-list img {
  width: 24px;
  height: 24px;
}

.feature-list h3 {
  font-size: 18px;
  line-height: 1.3;
}

.feature-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.narrow-copy {
  width: min(800px, 100%);
  margin-bottom: 64px;
}

.narrow-copy h2 {
  font-size: 48px;
}

.narrow-copy p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.run-panel {
  padding: 120px var(--page-pad);
}

.run-panel h2 {
  color: #ffffff;
  font-size: 56px;
}

.run-panel > p {
  width: min(700px, 100%);
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1.45;
}

.blog-hero {
  padding: 100px var(--page-pad) 120px;
  text-align: center;
}

.blog-hero h1 {
  margin-top: 24px;
  font-size: 72px;
}

.blog-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 580px;
  align-items: center;
  gap: 64px;
}

.featured-post h2 {
  margin-top: 24px;
  font-size: 56px;
  color: var(--ink);
}

.featured-post p:not(.eyebrow):not(.post-meta) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.post-meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.featured-post img {
  width: 580px;
  height: 380px;
  border-radius: 24px;
  object-fit: cover;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.post-grid article {
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.post-grid p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-grid p img {
  width: 20px;
  height: 20px;
}

.post-grid h3 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.post-grid span {
  display: block;
  margin-top: 12px;
  color: #9b9b9b;
  font-size: 12px;
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
}

.newsletter p {
  width: min(720px, 100%);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.newsletter form {
  display: flex;
  width: min(480px, 100%);
  gap: 16px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 24px;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

.post-page {
  width: min(860px, calc(100% - (2 * var(--page-pad))));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.post-page h1 {
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
}

.post-body {
  margin-top: 48px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.post-body p + p {
  margin-top: 24px;
}

.post-body h2 {
  margin-top: 48px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
}

.post-body h2 + p,
.post-body h2 + ul {
  margin-top: 16px;
}

.post-body ul {
  margin: 24px 0 0;
  padding-left: 1.4em;
}

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

.post-body li::marker {
  color: var(--ink);
}

@media (max-width: 1100px) {
  :root {
    --page-pad: 40px;
  }

  .site-nav {
    gap: 22px;
  }

  .product-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post img {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 24px;
    --section-y: 80px;
  }

  .site-header {
    align-items: flex-start;
    min-height: auto;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .brand img {
    width: 42px;
    height: 48px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .site-nav .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero__glow {
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translate(-50%, -50%);
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero__summary {
    font-size: 18px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section-intro h2,
  .section-heading h2 {
    font-size: 38px;
  }

  .product-card {
    min-height: auto;
    padding: 32px;
  }

  .vision__content {
    align-items: flex-start;
    gap: 32px;
  }

  .vision h2,
  .community h2 {
    font-size: 42px;
  }

  .vision p:not(.eyebrow),
  .community p {
    font-size: 18px;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .button--large {
    width: 100%;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    white-space: normal;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subhero h1,
  .blog-hero h1 {
    font-size: 48px;
  }

  .subhero p:not(.eyebrow),
  .blog-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .feature-list article {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .newsletter form {
    flex-direction: column;
  }

  .post-page h1 {
    font-size: 44px;
  }

  .post-body {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  :root {
    --page-pad: 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section-intro h2,
  .section-heading h2,
  .vision h2,
  .community h2 {
    font-size: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
