@font-face {
  font-family: Jakarta;
  src: url("assets/jakarta-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #18231d;
  --muted: #606960;
  --green: #24563c;
  --yellow: #f5df4d;
  --pale: #fbf9df;
  --line: #dfe4df;
  --light: #f4f5f3;
  --max: 1280px;
  --gutter: 48px;
  --radius: 8px;
  --media-shadow: 0 18px 42px #18231d26;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  scrollbar-color: var(--green) var(--light);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.65 Jakarta, sans-serif;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

a {
  color: var(--green);
  text-underline-offset: 5px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

p {
  margin: 0 0 20px;
  max-width: 72ch;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 750;
}

h3 {
  font-size: 25px;
  letter-spacing: -.025em;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: 88px;
}

.header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}

.wordmark img {
  width: 34px;
  height: 34px;
}

.header nav, .footer nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.header nav a:hover, .footer nav a:hover {
  text-decoration: underline;
}

.github-link {
  gap: 9px;
}

.github-link svg {
  width: 23px;
  height: 23px;
  stroke: none;
}

.hero.wrap, .setup.wrap {
  width: 100%;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}

.hero {
  padding-top: 64px;
  padding-bottom: 30px;
  background: var(--yellow);
}

.hero-top {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 64px;
}

.hero-top > * {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 6.25vw, 88px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy p {
  max-width: 49ch;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 15px 21px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease;
}

.primary {
  color: #fff;
  background: var(--green);
}

.primary:hover {
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

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

.hero-brand > a {
  display: block;
  width: 210px;
  margin-bottom: 23px;
}

.hero-brand > a img {
  width: 100%;
}

.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  font-size: 12px;
  white-space: nowrap;
}

.flow span, .flow strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--pale);
  font-weight: 500;
}

.flow strong {
  color: #fff;
  background: var(--green);
  font-weight: 750;
}

.flow svg {
  width: 20px;
  height: 20px;
}

.desktop {
  margin: 0;
}

.desktop > img {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--media-shadow);
}

.desktop img {
  width: 100%;
}

.desktop figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 20px;
  margin-top: 14px;
  color: var(--green);
  font-size: 11px;
  line-height: 1.6;
}



.desktop figcaption button {
  min-height: 36px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font: 600 12px Jakarta, sans-serif;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.preview-note {
  max-width: none;
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid #24563c40;
  color: var(--green);
  font-size: 12px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 92px;
  margin-bottom: 44px;
}

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

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.stages > div {
  padding-top: 25px;
  border-top: 1px solid var(--green);
}

.stages h3 {
  margin-bottom: 14px;
}

.stages p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.results {
  color: #fff;
  background: var(--green);
}

.results a {
  color: var(--yellow);
}

.results :focus-visible {
  outline-color: var(--yellow);
}

.result-columns {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 96px;
}

.result-summary h2 {
  font-size: 40px;
}

.big-number {
  margin: 24px 0 14px;
  color: var(--yellow);
  font-size: clamp(72px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.result-summary p {
  margin: 0;
  font-size: 20px;
}

.round {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.round-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
}

.bar-row {
  display: grid;
  grid-template-columns: 80px minmax(45px, 1fr) 60px;
  align-items: center;
  gap: 12px;
  min-height: 31px;
  font-size: 12px;
}

.bar-row > span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  height: 16px;
}

.bar-track i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: 2px;
}

.bar-track .gpu {
  background: var(--line);
}

.bar-track .npu {
  background: var(--yellow);
}

.chart-note {
  margin: 0;
  text-align: right;
  font-size: 12px;
}

.result-context {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid #ffffff50;
}

.result-context p {
  max-width: 90ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}

.result-context .text-link {
  font-size: 13px;
  white-space: nowrap;
}

.model-results {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #ffffff50;
}

.model-results h3 {
  margin-bottom: 15px;
  font-size: 29px;
}

.model-results > p {
  max-width: 83ch;
  font-size: 15px;
  line-height: 1.8;
}

.model-table-scroll {
  overflow-x: auto;
  scrollbar-color: var(--yellow) var(--green);
}

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

caption {
  padding-bottom: 15px;
  text-align: left;
  font-size: 12px;
}

th, td {
  padding: 19px 14px;
  border-bottom: 1px solid #ffffff40;
  text-align: right;
  vertical-align: middle;
}

th:first-child, td:first-child {
  padding-left: 0;
  text-align: left;
}

thead th {
  font-size: 12px;
  font-weight: 600;
}

tbody th {
  font-weight: 600;
}

td:last-child {
  color: var(--yellow);
}

td strong {
  font-size: 22px;
  letter-spacing: -.025em;
}

table small {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}



.setup {
  background: var(--pale);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr 310px;
  align-items: start;
  gap: 28px;
  padding-block: 30px;
  border-bottom: 1px solid #24563c40;
}

.step-number {
  color: var(--green);
  font-size: 34px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.steps h3 {
  margin-bottom: 12px;
}

.steps p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.steps .text-link {
  margin-top: 1px;
}

.filename {
  display: inline-block;
  justify-self: start;
  margin-top: 1px;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
}

.copy-field {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.copy-field code {
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.copy-field button {
  min-width: 70px;
  min-height: 45px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font: 700 13px Jakarta, sans-serif;
  cursor: pointer;
}

.copy-field button:hover {
  background: var(--ink);
}

.setup-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 24px 0 44px;
  font-size: 13px;
}

.setup-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.compatibility {
  padding-block: 32px;
  border-top: 1px solid #24563c40;
}

.compatibility h3 {
  margin-bottom: 23px;
}

.compat-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.compat-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  border-top: 1px solid #24563c40;
}

.faq details {
  border-bottom: 1px solid #24563c40;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--green);
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq details[open] summary::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
}

.faq details p {
  max-width: 78ch;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 36px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.support-note {
  margin: 0 0 0 auto;
  color: #8a654e;
  font-family: Georgia, serif;
  font-size: 13px;
}

.support-note span {
  margin-right: 6px;
  color: #b95135;
}

.support-note a {
  color: #a44730;
  text-decoration: none;
}

.support-note a:hover {
  text-decoration: underline;
}

.support-note strong {
  text-decoration: underline;
}

.footer nav {
  gap: 22px;
}

.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.footer-logo {
  width: 130px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
}

.skip:focus {
  top: 12px;
}

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

@media (prefers-reduced-motion: no-preference) {
  .flow svg path {
    stroke-dasharray: 36;
    animation: prompt-flow 900ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .flow svg:last-of-type path {
    animation-delay: 150ms;
  }
  @keyframes prompt-flow {
    from {
      stroke-dashoffset: 22;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
}

@media (max-width: 1180px) {
  .hero-top {
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(52px, 5.5vw, 68px);
  }
  .hero-copy p {
    font-size: 17px;
  }
  .actions {
    gap: 14px 22px;
  }
  .hero-brand > a {
    width: 180px;
  }
  .flow {
    gap: 7px;
    font-size: 11px;
  }
  .flow span, .flow strong {
    padding: 9px 10px;
  }
  .section-intro, .result-columns {
    gap: 56px;
  }
  .round {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 20px;
  }
  .steps li {
    grid-template-columns: 46px 1fr 260px;
    gap: 22px;
  }
  .footer {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 32px;
  }
  .header {
    flex-wrap: wrap;
    gap: 0 24px;
    padding-block: 8px 12px;
  }
  .header .support-note {
    order: -1;
    flex-basis: 100%;
    margin: 0;
    padding-block: 6px;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-brand {
    width: 100%;
    max-width: 640px;
  }
  .hero-copy p {
    font-size: 16px;
  }
  .hero-brand > a {
    width: 160px;
  }
  .flow {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
    font-size: 11px;
  }
  .flow span, .flow strong {
    padding: 8px 10px;
  }
  .flow svg {
    width: 16px;
  }
  .section {
    padding-block: 68px;
  }
  .section-intro {
    gap: 36px;
  }
  .section-intro p {
    font-size: 16px;
  }
  .stages {
    gap: 26px;
  }
  .stages h3 {
    font-size: 22px;
  }
  .stages p {
    font-size: 15px;
  }
  .result-columns {
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
  }
  .result-summary h2 {
    font-size: 34px;
  }
  .result-summary p {
    font-size: 17px;
  }
  .result-context {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .steps li {
    grid-template-columns: 40px 1fr;
    gap: 16px 24px;
  }
  .steps li > :last-child {
    grid-column: 2;
  }
  .compat-columns {
    gap: 32px;
  }
  .footer > div {
    width: 100%;
  }
  .footer-logo {
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 24px;
  }
  .header {
    min-height: 76px;
    gap: 0 16px;
  }
  .wordmark {
    gap: 8px;
    font-size: 25px;
  }
  .wordmark img {
    width: 29px;
    height: 29px;
  }
  .header nav {
    gap: 20px;
  }
  .header nav a {
    font-size: 12px;
  }
  .header nav > a:first-child, .github-link span {
    display: none;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 25px;
  }
  .hero-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero h1 {
    margin-bottom: 23px;
    font-size: clamp(49px, 11vw, 68px);
  }
  .hero-copy p {
    max-width: 55ch;
    font-size: 17px;
  }
  .actions {
    gap: 16px 24px;
  }
  .hero-brand > a {
    width: 170px;
    margin-bottom: 19px;
  }
  .flow {
    flex-wrap: nowrap;
    gap: 9px;
    margin-top: 27px;
    font-size: 12px;
  }
  .flow span, .flow strong {
    padding: 10px 14px;
  }
  .flow svg {
    width: 18px;
  }
  .desktop figcaption {
    font-size: 11px;
  }
  .preview-note {
    margin-top: 24px;
    padding-top: 19px;
    font-size: 11px;
  }
  .section {
    padding-block: 56px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 35px;
  }
  .section-intro p {
    font-size: 17px;
  }
  .stages {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .stages > div {
    padding-top: 21px;
  }
  .stages h3 {
    font-size: 24px;
  }
  .stages p {
    font-size: 16px;
  }
  .result-columns {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .result-summary h2 {
    font-size: 36px;
  }
  .big-number {
    margin: 18px 0 10px;
    font-size: 88px;
  }
  .round {
    grid-template-columns: 67px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 25px;
  }
  .bar-row {
    grid-template-columns: 78px minmax(40px, 1fr) 54px;
    gap: 8px;
    font-size: 11px;
  }
  .chart-note {
    text-align: left;
  }
  .result-context {
    margin-top: 30px;
    padding-top: 24px;
  }
  .model-results {
    margin-top: 35px;
    padding-top: 29px;
  }
  .model-results h3 {
    font-size: 25px;
  }
  .model-results > p {
    font-size: 14px;
  }
  .steps li {
    grid-template-columns: 35px 1fr;
    gap: 15px 18px;
    padding-block: 25px;
  }
  .step-number {
    font-size: 29px;
  }
  .steps h3 {
    font-size: 23px;
  }
  .steps p {
    font-size: 15px;
  }
  .compat-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .compatibility h3 {
    font-size: 23px;
  }
  .setup-links {
    gap: 5px 12px;
    margin-bottom: 33px;
    font-size: 12px;
  }
  .setup-links span {
    display: none;
  }
  .faq summary {
    font-size: 16px;
  }
  .footer {
    gap: 22px;
    padding-block: 30px;
  }
  .footer nav {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-logo {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 20px;
  }
  .header nav {
    gap: 16px;
  }
  .hero h1 {
    font-size: clamp(43px, 12vw, 50px);
  }
  .hero-copy p {
    font-size: 16px;
  }
  .actions .button {
    width: 100%;
    font-size: 14px;
  }
  .flow {
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
  }
  .flow span, .flow strong {
    padding: 9px 10px;
  }
  .flow svg {
    width: 16px;
  }
  .round {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .copy-field code {
    font-size: 12px;
  }
  .copy-field button {
    min-width: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
