:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --bg-raised: #ffffff;
  --bg-soft: #f1f4f0;
  --ink: #121417;
  --ink-muted: #5d646b;
  --ink-soft: #7d858d;
  --line: #dfe4e8;
  --line-strong: #c8d0d6;
  --blue: #0878ff;
  --blue-dark: #075dcb;
  --green: #18a76f;
  --mint: #dff8ec;
  --amber: #f3a712;
  --shadow: 0 22px 70px rgba(20, 31, 43, 0.14);
  --shadow-soft: 0 12px 34px rgba(20, 31, 43, 0.1);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(204, 213, 220, 0.68);
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav {
  width: min(100% - 32px, var(--content));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(11, 23, 32, 0.18);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.nav-download {
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(18, 20, 23, 0.06);
  color: var(--ink);
}

.nav-download {
  background: var(--ink);
  color: white;
}

.nav-download:hover,
.nav-download:focus-visible {
  background: #2a3036;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  background: #eef3f5;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.24);
}

.hero-content {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 86px 0 72px;
  max-width: 1180px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.12;
  color: #1a1d21;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #30363c;
  font-size: 19px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  white-space: nowrap;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(8, 120, 255, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: rgba(18, 20, 23, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(18, 20, 23, 0.24);
  background: white;
}

.hero-meta {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 650;
}

.mode-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-raised);
}

.mode-grid {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mode-grid a,
.model-grid article,
.runtime-points > div,
.requirements {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.mode-grid a {
  min-height: 92px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.mode-grid a:hover,
.mode-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.mode-grid span {
  margin-bottom: 4px;
  font-weight: 760;
}

.mode-grid small {
  color: var(--ink-muted);
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.section-intro {
  padding-bottom: 72px;
}

.intro-grid,
.runtime-grid,
.download-grid,
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.section h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid > p,
.download-grid p,
.runtime-points p,
.showcase-copy p,
.section-heading p:not(.section-kicker),
.model-grid p,
.site-footer p {
  color: var(--ink-muted);
}

.intro-grid > p,
.download-grid > div > p {
  margin: 33px 0 0;
  font-size: 19px;
}

.section-showcase {
  background: #f6f8f7;
}

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

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--ink-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
}

.tab:hover,
.tab:focus-visible {
  border-color: var(--line-strong);
  color: var(--ink);
}

.tab.is-active {
  border-color: rgba(8, 120, 255, 0.36);
  background: rgba(8, 120, 255, 0.08);
  color: var(--blue-dark);
}

.showcase-panel {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.showcase-panel[hidden] {
  display: none;
}

.showcase-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 22px;
}

.showcase-copy h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.showcase-copy p {
  margin-bottom: 0;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #eef2f4;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.runtime-grid {
  align-items: center;
}

.runtime-points {
  display: grid;
  gap: 12px;
}

.runtime-points > div {
  padding: 20px;
}

.runtime-points h3,
.model-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.runtime-points p,
.model-grid p {
  margin-bottom: 0;
}

.section-demo {
  padding-top: 0;
}

.demo-grid {
  align-items: center;
}

.demo-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #101418;
  box-shadow: var(--shadow);
}

.section-models {
  background: #f4f2ec;
}

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

.model-grid article {
  min-height: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.model-grid span {
  align-self: flex-start;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--mint);
  color: #146649;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.model-grid small {
  margin-top: auto;
  color: var(--ink-soft);
  font-weight: 700;
}

.section-download {
  background: #eef4f8;
}

.download-grid {
  align-items: center;
}

.download-grid .download-actions {
  margin-top: 28px;
}

.requirements {
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.requirements div {
  border-radius: 7px;
  background: #f9fbfc;
  padding: 16px;
}

.requirements dt {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.requirements dd {
  margin: 0;
  font-weight: 760;
}

.site-footer {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-muted);
}

.site-footer p {
  margin: 8px 0 0;
}

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

.footer-links a {
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(18, 20, 23, 0.06);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(8, 120, 255, 0.32);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding: 64px 0 58px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-lede {
    font-size: 27px;
  }

  .hero-copy,
  .intro-grid > p,
  .download-grid > div > p {
    font-size: 17px;
  }

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

  .intro-grid,
  .runtime-grid,
  .download-grid,
  .demo-grid,
  .showcase-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section h2 {
    font-size: 35px;
  }

  .showcase-copy {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, var(--content));
  }

  .brand span {
    display: none;
  }

  .nav-download {
    margin-left: auto;
  }

  .hero-image {
    object-position: left center;
  }

  .hero-scrim {
    background: rgba(255, 255, 255, 0.62);
  }

  .hero-content,
  .section-inner,
  .mode-grid,
  .site-footer {
    width: min(100% - 24px, var(--content));
  }

  h1 {
    font-size: 52px;
  }

  .hero-lede {
    font-size: 24px;
  }

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

  .button {
    width: 100%;
  }

  .mode-grid,
  .model-grid,
  .requirements {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 30px;
  }

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

  .tab {
    width: 100%;
  }

  .screenshot-frame,
  .demo-video {
    aspect-ratio: 4 / 3;
  }

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

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