:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-muted: #ecebe3;
  --ink: #171915;
  --muted: #5f655c;
  --line: #d7d5c9;
  --accent: #1f6f64;
  --accent-strong: #123f3a;
  --accent-soft: #dcece8;
  --gold: #b7791f;
  --shadow: 0 22px 70px rgba(28, 31, 26, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand,
.site-nav,
.hero-actions,
.panel-toolbar,
.result-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 9px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-muted);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  padding: 12px 18px;
}

.button.primary {
  background: var(--accent);
  color: var(--surface);
}

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--surface);
}

.command-panel {
  border: 1px solid rgba(23, 25, 21, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-toolbar {
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  padding: 14px 16px;
}

.panel-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9ea49b;
}

.panel-toolbar span:first-child {
  background: var(--gold);
}

.prompt-line {
  padding: 24px;
}

.prompt-label,
.result-grid span,
.demo-comparison span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-line p {
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 750;
  line-height: 1.15;
}

.result-grid {
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.result-grid div {
  flex: 1;
  min-width: 0;
  padding: 18px;
}

.result-grid div + div {
  border-left: 1px solid var(--line);
}

.result-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.section,
.demo-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.steps,
.feature-list,
.demo-comparison {
  display: grid;
  gap: 16px;
}

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

.steps article,
.feature-list article,
.demo-comparison > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 850;
}

.steps p,
.feature-list p,
.demo-section p,
.demo-comparison li {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
}

.feature-list {
  align-content: start;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

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

.demo-comparison p,
.demo-comparison ul {
  margin: 12px 0 0;
}

.demo-comparison ul {
  padding-left: 20px;
}

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

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 750;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split-section,
  .demo-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .demo-section,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: clamp(2.6rem, 17vw, 4rem);
  }

  .command-panel {
    width: 100%;
  }

  .result-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .result-grid div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
