:root {
  color-scheme: light dark;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --cyan-500: #06b6d4;
  --coral-500: #f45d48;
  --ink-950: #0b0f0c;
  --ink-900: #111713;
  --ink-800: #1b241e;
  --ink-700: #334039;
  --ink-500: #637068;
  --line-dark: #2a352e;
  --line-light: #dbe4de;
  --paper: #f8faf8;
  --white: #ffffff;
  --shell: 1180px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter,
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  margin-bottom: 22px;
  font-size: 48px;
  font-weight: 730;
}

h3 {
  font-size: 19px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink-950);
  background: var(--green-500);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  color: var(--white);
  background: rgba(11, 15, 12, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 17px;
  font-weight: 720;
}

.brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  color: #c8d1cb;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-github {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink-950) !important;
  background: var(--green-500);
  border-radius: 6px;
}

.nav-github:hover {
  background: #4ade80;
}

.nav-github svg,
.mobile-menu svg {
  width: 17px;
  height: 17px;
}

.mobile-menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  place-items: center;
}

.mobile-nav {
  display: grid;
  gap: 0;
  padding-block: 8px 14px;
  color: #dce4df;
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding-block: 11px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  height: calc(100svh - 116px);
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--ink-950);
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/machboost-app.webp");
  background-repeat: no-repeat;
  background-position: 80% center;
  background-size: cover;
  opacity: 0.28;
  transform: scale(1.035);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(7, 10, 8, 0.66);
}

.hero-content {
  padding-block: 60px;
}

.eyebrow,
.kicker {
  margin-bottom: 20px;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e3ebe6;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 92px;
  font-weight: 780;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 34px;
  color: #d6ded9;
  font-size: 23px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 720;
  border: 1px solid transparent;
  border-radius: 6px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #061109;
  background: var(--green-500);
}

.button-primary:hover {
  background: #4ade80;
}

.button-secondary {
  color: var(--white);
  background: rgba(11, 15, 12, 0.78);
  border-color: #647068;
}

.button-secondary:hover {
  background: var(--ink-800);
  border-color: #909c94;
}

.release-status {
  margin: 17px 0 0;
  color: #aeb9b1;
  font-size: 13px;
}

.signal-band {
  color: var(--white);
  background: var(--ink-900);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid > div {
  display: flex;
  min-height: 124px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  border-left: 1px solid var(--line-dark);
}

.signal-grid > div:last-child {
  border-right: 1px solid var(--line-dark);
}

.signal-grid strong {
  color: var(--green-500);
  font-size: 31px;
  line-height: 1;
}

.signal-grid span {
  margin-top: 9px;
  color: #aeb8b1;
  font-size: 13px;
}

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

.section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 18px;
}

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

.app-preview {
  margin: 64px 0 0;
}

.app-preview img {
  width: 100%;
  border: 1px solid #bdc8c0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(26, 43, 31, 0.16);
}

.app-preview figcaption {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 13px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 68px;
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  list-style: none;
}

.feature-list li {
  min-width: 0;
  padding: 32px 28px 32px 0;
}

.feature-list li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line-light);
}

.feature-list svg {
  width: 23px;
  height: 23px;
  margin-bottom: 20px;
  color: var(--green-600);
  stroke-width: 1.8;
}

.feature-list h3 {
  margin-bottom: 12px;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 14px;
}

.team-section {
  color: var(--ink-900);
  background: var(--green-50);
  border-top: 1px solid #c9ead4;
  border-bottom: 1px solid #c9ead4;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 88px;
  align-items: center;
}

.team-copy > p:not(.kicker) {
  max-width: 650px;
  color: var(--ink-700);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--green-600);
  font-weight: 700;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.team-console {
  overflow: hidden;
  color: #ecf7ef;
  background: var(--ink-900);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(19, 45, 28, 0.16);
}

.team-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
}

.team-console-header span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.team-console-header svg {
  width: 18px;
}

.team-console-header strong {
  color: var(--green-500);
  font-size: 12px;
  text-transform: uppercase;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.team-stats div {
  padding: 17px 18px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.team-stats dt {
  color: #91a198;
  font-size: 12px;
}

.team-stats dd {
  margin: 3px 0 0;
  font-weight: 680;
}

.team-console pre {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  color: #a7f3bf;
  font-size: 13px;
}

.team-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid #b9ddc5;
}

.team-capabilities > div {
  padding: 30px 28px 0 0;
}

.team-capabilities > div + div {
  padding-left: 28px;
  border-left: 1px solid #b9ddc5;
}

.team-capabilities svg {
  width: 22px;
  margin-bottom: 16px;
  color: var(--green-600);
}

.team-capabilities h3 {
  margin-bottom: 10px;
}

.team-capabilities p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
}

.benchmarks-section {
  color: var(--white);
  background: var(--ink-950);
}

.section-heading-light > p:last-child {
  color: #aeb9b1;
}

.benchmark-table-wrap {
  margin-top: 58px;
  overflow-x: auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 20px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}

th {
  color: #8f9b93;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

td {
  color: #dce4df;
  font-size: 14px;
}

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

.speedup {
  color: var(--green-500);
  font-size: 20px;
  font-weight: 760;
}

.control-row td {
  color: #8d9991;
}

.benchmark-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.benchmark-notes p {
  max-width: 720px;
  margin: 0;
  color: #89968d;
  font-size: 13px;
}

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.artifact-links a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 680;
}

.artifact-links a:hover {
  color: #6ee7a0;
}

.artifact-links svg {
  width: 14px;
  height: 14px;
}

.workflow-section {
  background: var(--white);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.workflow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.workflow li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding-block: 27px;
  border-bottom: 1px solid var(--line-light);
}

.workflow > li > span {
  color: var(--green-600);
  font-size: 13px;
  font-weight: 760;
}

.workflow h3 {
  margin-bottom: 8px;
}

.workflow p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-500);
  font-size: 15px;
}

.install-section {
  background: var(--green-50);
  border-top: 1px solid #c9ead4;
  border-bottom: 1px solid #c9ead4;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 90px;
  align-items: start;
  margin-top: 64px;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #b9d9c4;
}

.install-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: 23px;
  border-bottom: 1px solid #b9d9c4;
}

.install-steps > li > span {
  display: grid;
  width: 32px;
  height: 32px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 760;
  place-items: center;
}

.install-steps h3 {
  margin-bottom: 7px;
}

.install-steps p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
}

.download-panel {
  padding: 32px;
  background: var(--white);
  border: 1px solid #b9d9c4;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(22, 101, 52, 0.1);
}

.download-panel > img {
  margin-bottom: 26px;
  border-radius: 8px;
}

.download-label {
  margin-bottom: 6px;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.download-panel h3 {
  margin-bottom: 24px;
  font-size: 26px;
}

.download-panel dl {
  margin: 0 0 26px;
}

.download-panel dl div {
  display: flex;
  justify-content: space-between;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-light);
}

.download-panel dt,
.download-panel dd {
  margin: 0;
  font-size: 13px;
}

.download-panel dt {
  color: var(--ink-500);
}

.download-panel dd {
  font-weight: 680;
}

.button-wide {
  width: 100%;
}

.checksum-link {
  display: block;
  margin-top: 15px;
  color: var(--ink-500);
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.developer-section {
  color: var(--white);
  background: var(--ink-900);
}

.developer-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 82px;
}

.code-samples {
  display: grid;
  gap: 18px;
}

.code-block {
  overflow: hidden;
  background: #090d0a;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px 0 16px;
  color: #98a49c;
  background: #151b17;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
  font-weight: 680;
}

.copy-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #9da9a1;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  place-items: center;
}

.copy-button:hover {
  color: var(--white);
  background: var(--ink-700);
}

.copy-button svg {
  width: 16px;
  height: 16px;
}

pre {
  max-width: 100%;
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #dce4df;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  tab-size: 4;
}

code {
  font-family: inherit;
}

footer {
  color: #aeb8b1;
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 42px;
  align-items: center;
  min-height: 150px;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--white);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--green-500);
}

.footer-layout > p {
  margin: 0;
}

@media (max-width: 980px) {
  h2 {
    font-size: 42px;
  }

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

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

  .signal-grid > div:nth-child(3) {
    border-top: 1px solid var(--line-dark);
  }

  .signal-grid > div:nth-child(4) {
    border-top: 1px solid var(--line-dark);
    border-right: 1px solid var(--line-dark);
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-list li:nth-child(3) {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .feature-list li:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .benchmark-notes,
  .workflow-layout,
  .developer-layout,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .team-layout {
    gap: 48px;
  }

  .artifact-links {
    justify-content: flex-start;
  }

  .install-grid {
    grid-template-columns: 1fr 340px;
    gap: 50px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section {
    padding-block: 80px;
  }

  h2 {
    font-size: 36px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: grid;
  }

  .site-header:has(.mobile-nav:not([hidden])) {
    height: auto;
  }

  .hero {
    min-height: 650px;
    height: calc(100svh - 92px);
    max-height: 780px;
  }

  .hero-backdrop {
    background-position: 70% center;
  }

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

  .hero-copy {
    font-size: 19px;
  }

  .button {
    min-height: 46px;
  }

  .signal-grid > div {
    min-height: 105px;
    padding: 20px 16px;
  }

  .signal-grid strong {
    font-size: 27px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .feature-list li,
  .feature-list li + li {
    padding: 25px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .feature-list li:first-child {
    border-top: 0;
  }

  .team-capabilities {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .team-capabilities > div,
  .team-capabilities > div + div {
    padding: 24px 0;
    border-top: 1px solid #b9ddc5;
    border-left: 0;
  }

  .team-capabilities > div:first-child {
    border-top: 0;
  }

  .benchmark-table-wrap {
    width: calc(100% + 16px);
  }

  .benchmark-notes {
    gap: 25px;
  }

  .workflow-layout {
    gap: 40px;
  }

  .install-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .download-panel {
    max-width: 430px;
  }

  .developer-layout {
    gap: 40px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 42px;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: 68px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: 610px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-grid strong {
    font-size: 25px;
  }

  .signal-grid span {
    font-size: 12px;
  }

  .app-preview {
    margin-top: 45px;
  }

  .download-panel {
    padding: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
