:root {
  color-scheme: dark;
  --bg: #10161a;
  --bg-deep: #080b0d;
  --panel: #151d22;
  --panel-soft: #1b252b;
  --line: rgba(214, 224, 229, 0.14);
  --ink: #f3f7f8;
  --muted: #9cadb5;
  --subtle: #6f7e86;
  --accent: #34c6d3;
  --accent-strong: #8df2f6;
  --warm: #f4b86a;
  --steel: #a9b6bc;
  --shadow: rgba(0, 0, 0, 0.36);
  --body-radial: rgba(52, 198, 211, 0.12);
  --body-start: #11191e;
  --body-end: #0d1215;
  --grid-line: rgba(255, 255, 255, 0.035);
  --header-bg: rgba(13, 18, 21, 0.72);
  --header-compact-bg: rgba(8, 11, 13, 0.86);
  --header-shadow: rgba(0, 0, 0, 0.22);
  --hover-bg: rgba(255, 255, 255, 0.07);
  --button-secondary-bg: rgba(255, 255, 255, 0.055);
  --button-secondary-hover-bg: rgba(255, 255, 255, 0.09);
  --brand-mark-bg: #16181b;
  --card-bg: rgba(21, 29, 34, 0.86);
  --surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  --render-stage-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 35%),
    radial-gradient(circle at 50% 76%, rgba(52, 198, 211, 0.18), transparent 11rem),
    linear-gradient(155deg, #1a242a, #0a0f12 72%);
  --render-ring: rgba(255, 255, 255, 0.06);
  --render-label-bg: rgba(8, 11, 13, 0.62);
  --model-front: linear-gradient(145deg, #7e8b91, #273139 76%);
  --model-side: linear-gradient(145deg, #38454d, #161d22);
  --model-top: linear-gradient(125deg, #d5dee1, #5f7078 72%);
  --model-cut: rgba(8, 11, 13, 0.74);
  --model-shadow: rgba(0, 0, 0, 0.66);
  --cad-bg: #111a1f;
  --render-side-bg: linear-gradient(155deg, #222b30, #0b0f11);
  --render-object: linear-gradient(145deg, #ccd5d8, #3a474e 72%);
  --beta-bg: rgba(8, 11, 13, 0.3);
  --max: 1180px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f7;
  --bg-deep: #e8eded;
  --panel: #ffffff;
  --panel-soft: #edf3f4;
  --line: rgba(27, 42, 48, 0.13);
  --ink: #10191d;
  --muted: #53656d;
  --subtle: #718189;
  --accent: #198e94;
  --accent-strong: #0b646b;
  --warm: #b46d1f;
  --steel: #5d6e76;
  --shadow: rgba(24, 39, 45, 0.16);
  --body-radial: rgba(25, 142, 148, 0.16);
  --body-start: #f9fbfb;
  --body-end: #dfe8e8;
  --grid-line: rgba(21, 35, 41, 0.045);
  --header-bg: rgba(255, 255, 255, 0.76);
  --header-compact-bg: rgba(255, 255, 255, 0.92);
  --header-shadow: rgba(24, 39, 45, 0.16);
  --hover-bg: rgba(25, 142, 148, 0.08);
  --button-secondary-bg: rgba(16, 25, 29, 0.045);
  --button-secondary-hover-bg: rgba(16, 25, 29, 0.075);
  --brand-mark-bg: #16181b;
  --card-bg: rgba(255, 255, 255, 0.82);
  --surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 244, 0.78));
  --render-stage-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), transparent 40%),
    radial-gradient(circle at 50% 76%, rgba(25, 142, 148, 0.18), transparent 11rem),
    linear-gradient(155deg, #f7fbfb, #cfdcde 72%);
  --render-ring: rgba(25, 51, 58, 0.09);
  --render-label-bg: rgba(255, 255, 255, 0.72);
  --model-front: linear-gradient(145deg, #d8e0e2, #78868c 76%);
  --model-side: linear-gradient(145deg, #a7b4b9, #56656c);
  --model-top: linear-gradient(125deg, #ffffff, #a8b7bc 72%);
  --model-cut: rgba(31, 45, 51, 0.52);
  --model-shadow: rgba(31, 45, 51, 0.24);
  --cad-bg: #eef6f7;
  --render-side-bg: linear-gradient(155deg, #f8fbfb, #d4e0e2);
  --render-object: linear-gradient(145deg, #ffffff, #84939a 72%);
  --beta-bg: rgba(255, 255, 255, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, var(--body-radial), transparent 28rem),
    linear-gradient(180deg, var(--body-start) 0%, var(--bg-deep) 52%, var(--body-end) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 16px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--header-bg);
  box-shadow: 0 18px 45px var(--header-shadow);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, background 180ms ease;
}

.site-header.is-compact {
  min-height: 58px;
  background: var(--header-compact-bg);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-mark-bg);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--hover-bg);
  color: var(--ink);
  outline: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-secondary-bg);
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--button-secondary-hover-bg);
  outline: none;
}

.theme-toggle-track {
  position: relative;
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: rgba(52, 198, 211, 0.2);
}

.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 2px rgba(52, 198, 211, 0.12);
  transform: translateY(-50%);
  transition: left 180ms ease, background 180ms ease;
}

:root[data-theme="light"] .theme-toggle-thumb {
  left: 16px;
}

.section-band,
.section-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(44px, 7vw, 92px);
  min-height: 100vh;
  align-items: center;
  padding: 132px 0 86px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 4.4rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede,
.section-heading p,
.compare-copy p,
.download-copy p,
.feature-card p,
.workflow-card p,
.download-panel p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: #061012;
  box-shadow: 0 16px 42px rgba(52, 198, 211, 0.2);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--button-secondary-bg);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(141, 242, 246, 0.38);
  background: var(--button-secondary-hover-bg);
}

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

.render-stage {
  position: sticky;
  top: 108px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--render-stage-bg);
  box-shadow: 0 32px 80px var(--shadow);
}

.render-stage::before {
  position: absolute;
  inset: 16% 8% 22%;
  content: "";
  border: 1px solid var(--render-ring);
  border-radius: 50%;
  transform: perspective(520px) rotateX(64deg);
}

.studio-light {
  position: absolute;
  width: 160px;
  height: 160px;
  filter: blur(14px);
  opacity: 0.72;
}

.light-left {
  top: 52px;
  left: 34px;
  background: radial-gradient(circle, rgba(141, 242, 246, 0.54), transparent 66%);
}

.light-right {
  top: 112px;
  right: 24px;
  background: radial-gradient(circle, rgba(244, 184, 106, 0.42), transparent 66%);
}

.model-shell {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(66%, 360px);
  aspect-ratio: 1.42;
  transform: translate(-50%, -50%) rotate(-7deg) skewX(-7deg);
  transform-style: preserve-3d;
}

.model-face {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.model-front {
  inset: 22% 8% 10% 8%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
    var(--model-front);
}

.model-side {
  inset: 16% 0 18% 64%;
  transform: skewY(22deg);
  background: var(--model-side);
}

.model-top {
  inset: 0 13% 61% 15%;
  transform: skewX(48deg);
  background: var(--model-top);
}

.model-slot,
.model-cutout {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: var(--model-cut);
  box-shadow: inset 0 1px 9px rgba(0, 0, 0, 0.44);
}

.model-slot {
  left: 24%;
  top: 49%;
  width: 38%;
  height: 12%;
}

.model-cutout {
  right: 20%;
  bottom: 25%;
  width: 16%;
  height: 24%;
}

.render-shadow {
  position: absolute;
  left: 50%;
  bottom: 116px;
  width: 62%;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--model-shadow), transparent 68%);
  transform: translateX(-50%);
}

.render-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--render-label-bg);
  color: var(--muted);
  backdrop-filter: blur(14px);
}

.render-label strong {
  color: var(--accent-strong);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: -28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  padding: 22px;
  background: var(--card-bg);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 7px;
}

.proof-strip span {
  color: var(--subtle);
  font-size: 0.92rem;
}

.section-panel,
.compare-section,
.download-section,
.faq-section {
  padding: clamp(78px, 11vw, 138px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.workflow-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

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

.workflow-card,
.feature-card,
.download-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-gradient);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.workflow-card {
  min-height: 240px;
  padding: 26px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--warm);
  font-weight: 800;
}

.compare-section,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.compare-copy,
.download-copy {
  max-width: 620px;
}

.comparison-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--button-secondary-bg);
}

.comparison-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--panel);
}

.comparison-side {
  position: relative;
  display: grid;
  place-items: end start;
  padding: 22px;
  color: var(--ink);
  font-weight: 800;
}

.comparison-side::before {
  position: absolute;
  inset: 20% 16% 24%;
  content: "";
  border-radius: 8px;
  transform: rotate(-9deg) skewX(-8deg);
}

.cad-side {
  background:
    linear-gradient(rgba(141, 242, 246, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 242, 246, 0.14) 1px, transparent 1px),
    var(--cad-bg);
  background-size: 26px 26px;
}

.cad-side::before {
  border: 2px solid rgba(141, 242, 246, 0.8);
  background:
    linear-gradient(135deg, transparent 48%, rgba(141, 242, 246, 0.7) 49%, rgba(141, 242, 246, 0.7) 51%, transparent 52%),
    rgba(141, 242, 246, 0.04);
}

.render-side {
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 184, 106, 0.2), transparent 10rem),
    var(--render-side-bg);
}

.render-side::before {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--render-object);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.38);
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(8, 11, 13, 0.4), 0 0 30px rgba(141, 242, 246, 0.5);
}

.comparison-divider::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 242, 246, 0.7);
  border-radius: 50%;
  content: "";
  background: rgba(8, 11, 13, 0.82);
  transform: translate(-50%, -50%);
}

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

.feature-card {
  min-height: 220px;
  padding: 26px;
}

.feature-card h3::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.download-panel {
  padding: clamp(26px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(52, 198, 211, 0.11), rgba(244, 184, 106, 0.06)),
    var(--panel);
}

.release-badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  border: 1px solid rgba(141, 242, 246, 0.24);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.beta-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: var(--beta-bg);
}

.beta-status span {
  color: var(--subtle);
}

.beta-status strong {
  color: var(--accent-strong);
  text-align: right;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec-list div {
  min-height: 150px;
  padding: 22px;
  background: var(--card-bg);
}

.spec-list span,
.spec-list strong {
  display: block;
}

.spec-list span {
  margin-bottom: 16px;
  color: var(--subtle);
  font-size: 0.86rem;
}

.spec-list strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 890px;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 780;
}

.faq-list summary:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.faq-list p {
  margin-bottom: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .button,
  .site-header,
  .reveal {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(var(--max), calc(100% - 24px));
    margin-top: 12px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .compare-section,
  .download-section {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 5.3rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .hero-visual,
  .render-stage {
    min-height: 440px;
  }

  .render-stage {
    position: relative;
    top: auto;
  }

  .proof-strip,
  .workflow-grid,
  .feature-grid,
  .spec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-band,
  .section-panel,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand {
    font-size: 0.96rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual,
  .render-stage {
    min-height: 380px;
  }

  .model-shell {
    width: 76%;
  }

  .proof-strip,
  .workflow-grid,
  .feature-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .comparison-frame {
    min-height: 300px;
  }

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