:root {
  --paper: #fff7ec;
  --paper-deep: #fff0dc;
  --text: #12100e;
  --muted: #5f5750;
  --soft: #8a7a6e;
  --line: rgba(225, 175, 118, 0.24);
  --card: rgba(255, 255, 255, 0.62);
  --card-solid: #fffdf8;
  --orange: #e96d2f;
  --orange-strong: #ea5d20;
  --brown: #7a4a23;
  --shadow: 0 22px 60px rgba(158, 100, 44, 0.11);
  --shadow-light: 0 14px 34px rgba(158, 100, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 77% 16%, rgba(238, 156, 70, 0.28), transparent 25%),
    radial-gradient(circle at 24% 9%, rgba(255, 236, 196, 0.9), transparent 27%),
    radial-gradient(circle at 50% 52%, rgba(244, 173, 86, 0.12), transparent 34%),
    linear-gradient(135deg, #fffaf1 0%, #fff4e5 46%, #fff8ee 100%);
}

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

.page-shell {
  width: min(1240px, calc(100% - 88px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.topbar {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  gap: 24px;
  min-height: 42px;
  font-size: 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-weight: 800;
}

.brand-mark {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.14em;
  font-weight: 800;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  color: #171514;
  font-weight: 600;
}

.nav-links a,
.ghost-link {
  opacity: 0.9;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.ghost-link:hover {
  opacity: 1;
  color: var(--orange-strong);
}

.topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.lang-switcher {
  display: none !important;
  position: relative;
}

.lang-button,
.lang-menu button,
.primary-btn,
.secondary-btn {
  font: inherit;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(210, 169, 120, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px 13px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(210, 169, 120, 0.25);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

.lang-menu.open {
  display: grid;
}

.lang-menu button {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
}

.lang-menu button:hover {
  background: rgba(233, 109, 47, 0.08);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-btn {
  color: #fff;
  background: #11100f;
  box-shadow: 0 16px 28px rgba(20, 14, 8, 0.18);
}

.primary-btn.small {
  min-height: 36px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 13px;
}

.secondary-btn {
  color: #17120f;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(230, 191, 148, 0.48);
  box-shadow: 0 10px 22px rgba(158, 100, 44, 0.08);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.block {
  width: 100%;
}

main {
  display: grid;
  gap: 0;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: 650px;
  padding: 58px 0 42px;
}

.hero-copy {
  padding-left: 42px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 9px 17px;
  border: 1px solid rgba(231, 179, 119, 0.38);
  border-radius: 999px;
  color: #3f342d;
  background: rgba(255, 238, 207, 0.72);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(198, 125, 46, 0.05);
}

.hero h1 {
  display: grid;
  gap: 8px;
  margin: 34px 0 0;
  max-width: 640px;
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.accent-line {
  color: var(--orange);
}

.lead {
  margin: 44px 0 0;
  max-width: 570px;
  color: #4e4640;
  font-size: 20px;
  line-height: 1.95;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 138, 52, 0.18), transparent 64%);
  filter: blur(1px);
}

.orbit-stage {
  position: relative;
  width: 560px;
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(218, 151, 80, 0.24);
}

.orbit-ring-two {
  inset: 66px;
}

.orbit-ring-three {
  inset: 130px;
}

.orbit-ring-one::before,
.orbit-ring-two::before,
.orbit-ring-three::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232, 122, 44, 0.42);
}

.orbit-ring-one::before {
  top: 38px;
  left: 305px;
}

.orbit-ring-two::before {
  top: 116px;
  right: 52px;
}

.orbit-ring-three::before {
  right: 24px;
  bottom: 88px;
}

.orbit-line {
  position: absolute;
  left: 254px;
  top: 52px;
  width: 1px;
  height: 455px;
  background: linear-gradient(180deg, transparent, rgba(218, 151, 80, 0.25), transparent);
  transform-origin: center;
}

.line-one {
  transform: rotate(38deg);
}

.line-two {
  transform: rotate(-42deg);
}

.core-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  padding: 22px;
  transform: translate(-50%, -50%);
  border-radius: 31px;
  border: 1px solid rgba(224, 150, 65, 0.42);
  background: linear-gradient(180deg, rgba(255, 242, 222, 0.92), rgba(248, 177, 93, 0.54));
  box-shadow:
    0 22px 55px rgba(218, 113, 32, 0.18),
    inset 0 0 24px rgba(255, 255, 255, 0.52);
}

.core-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  color: #7b512d;
  background: rgba(132, 77, 28, 0.1);
  border: 1px solid rgba(132, 77, 28, 0.13);
  box-shadow: inset 0 0 18px rgba(140, 84, 33, 0.12);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.12em;
}

.core-title {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
}

.orbit-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(234, 191, 140, 0.45);
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 20px 42px rgba(162, 97, 32, 0.08);
  backdrop-filter: blur(12px);
}

.orbit-node small {
  color: #2f2925;
  font-size: 13px;
  font-weight: 700;
}

.node-logo-svg {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.orbit-node .node-logo-svg {
  transform: translateY(2px);
}

.node-claude { top: -24px; left: 50%; transform: translateX(-50%); }
.node-gpt { top: 76px; right: -5px; }
.node-qwen { right: -28px; top: 320px; }
.node-deepseek { right: 68px; bottom: 5px; }
.node-llama { left: 190px; bottom: -28px; }
.node-grok { left: -26px; top: 310px; }
.node-gemini { left: 54px; top: 104px; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0 34px 58px;
  padding: 36px 40px;
  border-radius: 18px;
  border: 1px solid rgba(234, 191, 140, 0.24);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.feature-strip article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 95px;
  text-align: center;
}

.mini-icon {
  color: var(--orange);
  font-size: 27px;
  line-height: 1;
}

.feature-strip h3,
.feature-strip p {
  margin: 0;
}

.feature-strip h3 {
  font-size: 17px;
  font-weight: 800;
}

.feature-strip p {
  color: #71665d;
  font-size: 15px;
}

.section-block {
  padding: 12px 34px 52px;
}

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

.section-heading.centered {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 17px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  min-height: 208px;
  padding: 35px 30px 28px;
  border: 1px solid rgba(234, 191, 140, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-light);
  text-align: center;
}

.info-card.soft {
  min-height: 170px;
}

.card-kicker {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #7d5731;
  font-size: 28px;
  line-height: 1;
}

.info-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.info-card p {
  margin: 13px 0 0;
  color: #5f5750;
  font-size: 14px;
  line-height: 1.75;
}

.models-section {
  padding-top: 8px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.model-chip {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 10px;
  border: 1px solid rgba(234, 191, 140, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 12px 26px rgba(158, 100, 44, 0.06);
  color: #28231f;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.model-chip .node-logo-svg,
.model-chip span {
  font-size: 31px;
}

.model-chip .node-logo-svg {
  width: 38px;
  height: 38px;
}

.code-section {
  padding-top: 22px;
}

.code-shell {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(226, 194, 160, 0.33);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-light);
}

.code-tabs {
  display: flex;
  gap: 38px;
  padding: 22px 28px 0;
  color: #786c63;
  font-size: 13px;
  font-weight: 700;
}

.code-tabs span {
  padding-bottom: 14px;
}

.code-tabs .active {
  color: #4d66ff;
  border-bottom: 2px solid #4d66ff;
}

.code-shell pre {
  margin: 0;
  padding: 24px 30px 32px;
  overflow: auto;
  color: #27304c;
  font-size: 14px;
  line-height: 1.85;
}

.code-shell code {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

.download-section {
  padding-top: 22px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.download-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 360px;
  padding: 32px;
  border: 1px solid rgba(234, 191, 140, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-light);
}

.download-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(233, 109, 47, 0.28);
  color: #7a4a23;
  background: rgba(255, 238, 207, 0.72);
  font-size: 18px;
  font-weight: 800;
}

.download-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.download-card p {
  margin: 12px 0 0;
  color: #5f5750;
  font-size: 15px;
  line-height: 1.75;
}

.download-meta {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(234, 191, 140, 0.2);
  border-radius: 12px;
  color: #5f5750;
  background: rgba(255, 249, 240, 0.72);
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

.release-link {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: #5f5750;
  font-size: 14px;
  font-weight: 700;
}

.release-link a {
  color: var(--orange-strong);
}

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

.pricing-card {
  padding: 30px;
  border: 1px solid rgba(234, 191, 140, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-light);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 235, 208, 0.58));
  border-color: rgba(233, 109, 47, 0.32);
}

.price-kicker {
  color: #76685d;
  font-weight: 800;
}

.price-value {
  margin-top: 10px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-value span {
  color: #746a62;
  font-size: 16px;
  letter-spacing: 0;
}

.pricing-card p {
  min-height: 54px;
  color: #5f5750;
  line-height: 1.65;
}

.site-footer {
  padding: 18px 34px 0;
  color: #76685d;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 36px, 1240px);
    padding-top: 28px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nav-links,
  .topbar-actions {
    justify-content: flex-start;
  }

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

  .hero-copy {
    padding-left: 0;
  }

  .hero-visual {
    min-height: 560px;
  }

  .feature-strip,
  .four-up,
  .three-up,
  .download-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .topbar-actions {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .lead {
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-visual {
    min-height: 420px;
    overflow: hidden;
  }

  .orbit-stage {
    transform: scale(0.66);
  }

  .feature-strip,
  .four-up,
  .three-up,
  .download-grid,
  .pricing-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .section-block {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .feature-strip {
    padding: 28px 20px;
  }
}
