:root {
  color-scheme: dark;
  --bg: #050605;
  --panel: #0c0f0d;
  --panel-2: #101511;
  --ink: #f4f4ef;
  --muted: #a8aaa3;
  --soft: #d8dacd;
  --line: rgba(244, 244, 239, 0.12);
  --line-strong: rgba(244, 244, 239, 0.22);
  --green: #9dff7a;
  --blue: #8cb8ff;
  --orange: #ffb86b;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(157, 255, 122, 0.12), transparent 32rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--ink);
  font-family:
    "SF Mono", "IBM Plex Mono", "JetBrains Mono", ui-monospace, Menlo, Monaco,
    Consolas, monospace;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 5, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(157, 255, 122, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 42%, #ffffff 0 2px, transparent 2.5px),
    radial-gradient(circle at center, rgba(157, 255, 122, 0.3), transparent 62%),
    #0f1811;
  box-shadow: 0 0 22px rgba(157, 255, 122, 0.35);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: 118px clamp(18px, 5vw, 70px) 56px;
}

.hero-copy-panel {
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 520;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 520;
}

h3 {
  font-size: 19px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--soft);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.download-form {
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 34px;
}

.download-form input,
.download-form button,
.download-button,
.plan-link {
  min-height: 52px;
  border-radius: 4px;
}

.download-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

.download-form input:focus {
  border-color: rgba(157, 255, 122, 0.72);
  box-shadow: 0 0 0 3px rgba(157, 255, 122, 0.12);
}

.download-form button,
.download-button,
.plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(157, 255, 122, 0.78);
  background: var(--green);
  color: #071007;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.download-form button:hover,
.download-button:hover,
.plan-link:hover,
.download-form button:focus-visible,
.download-button:focus-visible,
.plan-link:focus-visible {
  background: #c0ffab;
}

.download-hint {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-console,
.video-shell,
.pricing-card,
.feature-grid article,
.machine-section,
.download-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 80px var(--shadow);
}

.hero-console {
  overflow: hidden;
  border-radius: 8px;
}

.console-topbar {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.console-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.console-topbar p {
  margin: 0 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.console-body {
  padding: clamp(18px, 3vw, 32px);
}

.run-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.run-key {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.run-text {
  color: var(--ink);
  font-size: clamp(14px, 2vw, 18px);
}

.run-row.active .run-text {
  color: var(--green);
}

.terminal-lines {
  margin: 22px 0;
}

.terminal-lines p {
  display: flex;
  gap: 12px;
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.terminal-lines span {
  color: var(--blue);
}

.result-card {
  padding: 18px;
  border: 1px solid rgba(157, 255, 122, 0.28);
  border-radius: 6px;
  background: rgba(157, 255, 122, 0.08);
}

.result-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.result-text {
  margin: 0;
  color: var(--ink);
}

.logo-strip {
  border-block: 1px solid var(--line);
  padding: 20px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  text-align: center;
}

.logo-strip p {
  max-width: 980px;
  margin: 0 auto;
}

.demo-section,
.section,
.pricing-section,
.download-section,
.site-footer {
  width: calc(100% - 36px);
  max-width: 1180px;
  margin: 0 auto;
}

.demo-section,
.section,
.pricing-section {
  padding: 86px 0;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.video-shell {
  overflow: hidden;
  border-radius: 8px;
  background: #050605;
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-script {
  display: grid;
  gap: 10px;
}

.demo-script div {
  min-height: 86px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.demo-script span,
.feature-index,
.machine-table span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.demo-script p {
  margin: 0;
  color: var(--soft);
}

.prompt-strip {
  width: calc(100% - 36px);
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto;
}

.prompt-strip p {
  min-height: 78px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 22px;
  border-radius: 8px;
}

.feature-grid h3 {
  margin-top: 48px;
}

.feature-grid p,
.pricing-card p,
.download-section p,
.machine-table p {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.machine-section {
  width: calc(100% - 36px);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin: 30px auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
}

.machine-table {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.machine-table div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #0b0e0c;
}

.machine-table p {
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pricing-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 8px;
}

.pricing-card.featured {
  border-color: rgba(157, 255, 122, 0.42);
}

.plan-name {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.plan-price {
  margin: 22px 0 0;
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 56px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-family: inherit;
  font-size: 18px;
}

.plan-copy {
  flex: 1;
  margin: 18px 0 24px;
}

.plan-link {
  width: fit-content;
  min-width: 170px;
  padding: 0 18px;
}

.download-section {
  margin-top: 60px;
  margin-bottom: 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  text-align: center;
}

.download-section h2 {
  max-width: 760px;
  margin: 0 auto;
}

.download-section p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px auto 28px;
}

.download-button {
  min-width: 210px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

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

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

  .hero {
    padding-top: 104px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

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

  h1 {
    font-size: clamp(45px, 16vw, 70px);
  }

  .download-form,
  .machine-table div,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .download-form button,
  .download-button,
  .plan-link {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
