:root {
  color-scheme: dark;
  --page: #0d1110;
  --panel: #151b18;
  --panel-strong: #1a211d;
  --text: #f1f6f2;
  --muted: #a7b4ac;
  --line: rgba(218, 235, 223, 0.14);
  --accent: #a9ef4d;
  --accent-strong: #7ccd22;
  --accent-soft: rgba(169, 239, 77, 0.12);
  --code: #0a0e0c;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, rgba(124, 205, 34, 0.13), transparent 30rem),
    radial-gradient(circle at 8% 32%, rgba(92, 148, 104, 0.09), transparent 26rem),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

figure {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #102006;
  background: var(--accent);
  font-weight: 780;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid transparent;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(169, 239, 77, 0.45);
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.top-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.topnav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.topnav a,
.footer-nav a {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.topnav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.language-switch a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--text);
}

.language-switch a[aria-current="page"] {
  color: #102006;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 660px;
  padding: 58px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
  content: "";
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(47px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(169, 239, 77, 0.52);
}

.button.primary {
  border-color: var(--accent);
  color: #102006;
  background: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #bbff62;
}

.release-line {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.024) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.024) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.024) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.024) 75%),
    radial-gradient(circle at 50% 58%, rgba(169, 239, 77, 0.17), transparent 48%),
    #101512;
  background-position: 0 0, 16px 16px, center;
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: auto 22px 20px;
  color: rgba(241, 246, 242, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-align: right;
  text-transform: uppercase;
  content: attr(data-render-details);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.55));
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.card-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.card p,
.demo-copy p,
.skill-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.media-card figcaption {
  padding: 19px 22px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.pose-card {
  margin-top: 18px;
}

.pose-card img {
  aspect-ratio: auto;
  background: #eef1ef;
}

.demo-stack {
  display: grid;
  gap: 18px;
}

.demo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.mesh-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: var(--radius);
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.formats li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce6df;
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.skill-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.code-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--code);
  box-shadow: var(--shadow);
}

.code-title {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 23px;
  color: #dfffc0;
  font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prompt-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.prompt-list li {
  padding: 13px 15px;
  border-left: 2px solid var(--accent-strong);
  color: #dce6df;
  background: rgba(169, 239, 77, 0.055);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 55px);
  border: 1px solid rgba(169, 239, 77, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(169, 239, 77, 0.18), transparent 22rem),
    var(--panel);
}

.download-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.checksum {
  display: block;
  max-width: 100%;
  margin-top: 20px;
  overflow-wrap: anywhere;
  color: #809087;
  font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

footer {
  padding: 42px 0 56px;
  color: #87948c;
  font-size: 13px;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 36px;
  align-items: start;
}

.footer-copy {
  display: grid;
  gap: 5px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

@media (max-width: 920px) {
  .hero,
  .skill-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }

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

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

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 0;
  }

  .top-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .topnav {
    overflow-x: auto;
    padding: 5px 3px 7px;
    scrollbar-width: none;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .topnav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

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

  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .actions .button {
    width: 100%;
  }

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

  .section {
    padding: 72px 0;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel .button {
    width: 100%;
  }

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

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

  .footer-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

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

  .button {
    transition: none;
  }
}
