.landing-modern {
  color-scheme: dark;
  --bg: #111416;
  --surface: #181b1d;
  --surface-raised: #1a1e20;
  --surface-strong: #252a2c;
  --text: rgba(247, 248, 245, .92);
  --text-soft: #aeb4b5;
  --text-faint: #7e8789;
  --border: rgba(255, 255, 255, .14);
  --border-strong: rgba(255, 255, 255, .3);
  --accent: #f4d914;
  --accent-hover: #f8e34a;
  --accent-ink: #111;
  --accent-soft: #d2bd2f;
  --shadow: 0 24px 52px rgba(0, 0, 0, .3);
  --radius: 4px;
  --control-radius: 6px;
  background: var(--bg);
}

.landing-modern body {
  background: var(--bg);
  color: var(--text);
}

.landing-modern ::selection {
  color: #111;
  background: var(--accent);
}

.landing-modern .site-header {
  border-bottom-color: var(--border);
  background: rgba(17, 20, 22, .94);
  color: var(--text);
}

.landing-modern .brand-mark {
  filter: invert(1);
}

.landing-modern .site-header .nav-links a,
.landing-modern .footer-links a {
  color: var(--text-soft);
}

.landing-modern .site-header .nav-links a:hover,
.landing-modern .footer-links a:hover,
.landing-modern .site-header .nav-links [aria-current="page"] {
  color: var(--text);
}

.landing-modern .site-header .nav-links [aria-current="page"] {
  padding: 6px 0;
  background: transparent;
}

.landing-modern .site-header .nav-actions .button {
  border-color: transparent;
  color: var(--text);
  background: transparent;
  font-weight: 500;
}

.landing-modern .site-header .nav-actions .button:hover {
  color: var(--accent);
  background: transparent;
}

.landing-modern .site-header .menu-toggle {
  border-color: var(--border);
}

.landing-modern .site-header .menu-toggle span {
  background: var(--text);
}

.landing-modern .site-header .nav-links {
  border-bottom-color: var(--border);
  background: var(--bg);
}

.landing-modern .button {
  border-radius: var(--control-radius);
  font-weight: 600;
}

.landing-modern .text-link,
.landing-modern .resource-links a,
.landing-modern .community-crew a {
  color: var(--accent);
}

.landing-modern .product-hero {
  min-height: 0;
  display: block;
  padding: 64px 0 58px;
  overflow: hidden;
}

.landing-modern .product-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-modern .product-hero-heading {
  max-width: 1040px;
  text-align: center;
}

.landing-modern .product-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.landing-modern .product-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(244, 217, 20, .36);
}

.landing-modern .product-hero h1 {
  max-width: 1040px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.landing-modern .product-hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

.landing-modern .product-hero .hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.8;
}

.landing-modern .product-hero .hero-actions {
  gap: 12px;
}

.landing-modern .product-hero .hero-download-button {
  min-height: 52px;
  padding: 6px 20px 6px 16px;
  border-radius: 6px;
  box-shadow: none;
}

.landing-modern .hero-download-copy strong {
  font-weight: 600;
}

.landing-modern .product-hero .trending-badge {
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: none;
}

.landing-modern .product-hero .trending-badge::after {
  display: none;
}

.landing-modern .product-hero .trending-badge:hover {
  border-color: rgba(244, 217, 20, .42);
  box-shadow: none;
  transform: none;
}

.landing-modern .trending-rank {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
}

.landing-modern .product-hero .trending-copy strong {
  font-weight: 500;
}

.landing-modern .product-hero-proof {
  margin: 20px 0 0;
  color: var(--text-faint);
  font-size: 13px;
}

.landing-modern .product-hero-proof strong {
  color: var(--text-soft);
  font-weight: 500;
}

.landing-modern .product-hero-visual {
  width: 100%;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #0c0f10;
  box-shadow: var(--shadow);
}

.landing-modern .product-window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  background: var(--surface);
  font-size: 12px;
}

.landing-modern .product-window-dots {
  display: flex;
  gap: 6px;
}

.landing-modern .product-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3c4244;
}

.landing-modern .product-window-dots i:first-child {
  background: var(--accent);
}

.landing-modern .product-window-status {
  justify-self: end;
  color: var(--text-faint);
}

.landing-modern .product-hero-visual > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1641 / 829;
  object-fit: contain;
}

.landing-modern .product-hero-capabilities {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 13px;
}

.landing-modern .product-hero-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-left: 1px solid var(--border);
}

.landing-modern .product-hero-capabilities span:first-child {
  border-left: 0;
}

.landing-modern .product-hero-capabilities span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.landing-modern .section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.landing-modern .section-heading,
.landing-modern .section-heading.narrow {
  max-width: 720px;
  margin-bottom: 36px;
}

.landing-modern .section-heading h2,
.landing-modern .showcase-side h2,
.landing-modern .final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.landing-modern .section-heading h2 em,
.landing-modern .showcase-side h2 em,
.landing-modern .final-cta h2 em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.landing-modern .section-heading p,
.landing-modern .workbench .section-heading p,
.landing-modern .models-cases .section-heading p,
.landing-modern .inside-app .section-heading p:not(.inside-eyebrow) {
  font-size: 15px;
  line-height: 1.8;
}

.landing-modern .product-stage {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #0c0f10;
}

.landing-modern .wb-window {
  --wb-accent: #f4d914;
  --wb-accent-soft: rgba(244, 217, 20, .12);
  border-color: var(--border);
  border-radius: 4px;
  box-shadow: none;
}

.landing-modern .showcase {
  padding-bottom: 76px;
}

.landing-modern .showcase-sticky {
  grid-template-columns: 230px minmax(0, 1fr);
}

.landing-modern .showcase-side h2 {
  margin-bottom: 24px;
}

.landing-modern:lang(zh-CN) .showcase-side h2 em {
  display: block;
}

.landing-modern .showcase-tabs button {
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 500;
}

.landing-modern .showcase-tabs [aria-selected="true"] {
  border-color: rgba(244, 217, 20, .35);
  color: var(--accent);
  background: transparent;
}

.landing-modern .showcase-all {
  border-radius: 4px;
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 600;
}

.landing-modern .showcase-visual {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.landing-modern .sc-media {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .34);
}

.landing-modern .bento-card,
.landing-modern .model-case {
  border-color: var(--border);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: none;
}

.landing-modern .bento-card:hover,
.landing-modern .model-case:hover {
  border-color: rgba(244, 217, 20, .3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  transform: none;
}

.landing-modern .bento-local {
  background: var(--surface);
}

.landing-modern .bento-copy h3,
.landing-modern .model-case-body h3,
.landing-modern .model-case-wide .model-case-body h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.landing-modern .bento-icon {
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent);
  background: transparent;
}

.landing-modern .bento-marquee figure,
.landing-modern .skill-list li {
  border-radius: 4px;
}

.landing-modern .skill-list li {
  background: var(--bg);
}

.landing-modern .bento-chat p {
  border-radius: 4px;
}

.landing-modern .bento-chat-user {
  color: var(--accent-ink);
  background: var(--accent);
}

.landing-modern .bento-chat-agent {
  background: var(--bg);
}

.landing-modern .model-case-tag {
  color: var(--accent);
}

.landing-modern .model-case-wave {
  background: var(--surface-strong);
}

.landing-modern .wave-bars i {
  background: var(--accent);
}

.landing-modern .model-roster {
  border-top-color: var(--border);
}

.landing-modern .model-roster h3 {
  color: var(--text);
  font-weight: 500;
}

.landing-modern .model-group-note {
  color: var(--text-faint);
}

.landing-modern .community {
  background: var(--bg);
}

.landing-modern .community-heading {
  margin-bottom: 36px;
}

.landing-modern .community-actions {
  gap: 10px;
  margin-top: 0;
}

.landing-modern .community-contribute-button,
.landing-modern .community-star-button {
  min-height: 46px;
  border-radius: 6px;
}

.landing-modern .community-star-button {
  color: var(--accent-ink);
  background: var(--accent);
}

.landing-modern .community-star-button img {
  filter: brightness(0);
}

.landing-modern .community-canvas {
  min-height: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.landing-modern .community-glass {
  width: 100%;
  padding: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-modern .community-stats div,
.landing-modern .community-stats div:first-child,
.landing-modern .community-crew {
  border-color: var(--border);
}

.landing-modern .community-stats dd {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
}

.landing-modern .community-stats div:first-child dd {
  color: var(--accent);
}

.landing-modern .community-crew .community-avatar {
  border-color: var(--surface);
}

.landing-modern .faq {
  background: var(--bg);
}

.landing-modern .faq-list,
.landing-modern .faq-item {
  border-color: var(--border);
}

.landing-modern .faq-item summary {
  min-height: 68px;
  font-size: 17px;
  font-weight: 500;
}

.landing-modern .faq-item summary::after,
.landing-modern .faq-item summary:hover::after {
  color: var(--accent);
}

.landing-modern .faq-answer a {
  color: var(--accent);
}

.landing-modern .final-cta {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

.landing-modern .final-cta-inner {
  gap: 20px;
}

.landing-modern .final-cta h2 {
  max-width: 760px;
  color: var(--text);
}

.landing-modern .final-cta-lede {
  font-size: 15px;
}

.landing-modern .final-download svg {
  stroke: var(--accent-ink);
}

.landing-modern .final-github {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.landing-modern .final-github:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.landing-modern .final-github-count {
  color: var(--text-soft);
  background: var(--surface-strong);
}

.landing-modern .site-footer {
  border-top-color: var(--border);
  background: var(--bg);
}

.landing-modern .language-switch {
  border-color: var(--border);
  background: var(--surface);
}

.landing-modern .language-switch [aria-current="page"] {
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: none;
}

.landing-modern .language-switch a:hover {
  color: var(--text);
  background: var(--surface-strong);
}

@media (max-width: 1100px) {
  .landing-modern .product-hero {
    padding-top: 52px;
  }

  .landing-modern .product-hero h1 {
    font-size: clamp(44px, 6.4vw, 64px);
  }

  .landing-modern .community-actions {
    justify-content: flex-start;
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  .landing-modern .product-hero {
    padding: 40px 0 44px;
  }

  .landing-modern .product-eyebrow {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .landing-modern .product-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.2;
  }

  .landing-modern .product-hero .hero-lede {
    font-size: 15px;
  }

  .landing-modern .product-hero-visual {
    margin-top: 36px;
  }

  .landing-modern .product-window-status {
    display: none;
  }

  .landing-modern .product-window-bar {
    grid-template-columns: 1fr auto 1fr;
  }

  .landing-modern .product-hero-capabilities span {
    padding: 0 12px;
    font-size: 12px;
  }

  .landing-modern .section {
    padding: 56px 0;
  }

  .landing-modern .section-heading h2,
  .landing-modern .showcase-side h2,
  .landing-modern .final-cta h2 {
    font-size: 30px;
  }

  .landing-modern .product-stage {
    margin-inline: -8px;
    padding: 8px;
  }

  .landing-modern .showcase {
    padding-bottom: 56px;
  }

  .landing-modern .community-glass {
    padding: 24px 18px;
  }

  .landing-modern .final-cta {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .landing-modern .product-hero .hero-actions {
    width: 100%;
  }

  .landing-modern .product-hero .hero-download-button,
  .landing-modern .product-hero .trending-badge {
    width: 100%;
    justify-content: center;
  }

  .landing-modern .product-hero-proof {
    max-width: 300px;
    line-height: 1.7;
  }

  .landing-modern .product-hero-capabilities {
    gap: 12px 0;
  }

  .landing-modern .product-hero-capabilities span {
    border-left: 0;
  }

  .landing-modern .product-window-bar {
    height: 36px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .landing-modern .community-actions,
  .landing-modern .community-actions .button {
    width: 100%;
  }

  .landing-modern .final-cta-actions,
  .landing-modern .final-cta-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-modern .product-hero-visual,
  .landing-modern .bento-card,
  .landing-modern .model-case,
  .landing-modern .trending-badge {
    transition: none;
  }
}
