:root {
  color-scheme: dark;
  --bg: #11100f;
  --surface: #191715;
  --surface-raised: #211e1b;
  --text: #f4eee8;
  --muted: #aaa19a;
  --line: #39332e;
  --accent: #e8814f;
  --accent-light: #ffad73;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(232, 129, 79, .1), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

nav { display: flex; gap: 9px; }

nav a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

nav a:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

nav svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-light);
  font: 700 .75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 6.6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.065em;
}

h1 span { color: var(--accent-light); }

.lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #1a0e08; }
.button-primary:hover { background: var(--accent-light); }
.button-secondary { background: rgba(255, 255, 255, .025); }
.button-secondary:hover { border-color: #766b62; }

.button-disabled {
  gap: 9px;
  border-color: #2e2a27;
  background: transparent;
  color: #77706a;
  cursor: not-allowed;
}

.button-disabled span {
  padding: 2px 6px;
  border: 1px solid #403a35;
  border-radius: 999px;
  font: 600 .6rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.button-disabled:hover { transform: none; }

.code-card,
.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(25, 23, 21, .88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.code-card { transform: rotate(1deg); }

.code-header {
  display: flex;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 600 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.code-language { color: var(--accent-light); }

pre {
  margin: 0;
  overflow-x: auto;
  font: 500 .85rem/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-card pre { padding: 25px 24px 28px; }
.key, .prompt { color: var(--accent-light); }
.value { color: #b8d7a8; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.proof div { padding: 28px 30px; }
.proof div + div { border-left: 1px solid var(--line); }
.proof strong, .proof span { display: block; }
.proof strong { margin-bottom: 5px; }
.proof span { color: var(--muted); font-size: .88rem; }

.section { padding: 120px 0; }

.advantages { border-top: 1px solid var(--line); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; text-align: right; }

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

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

.feature-grid article {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(150deg, var(--surface-raised), var(--surface));
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(232, 129, 79, .12);
  border-radius: 50%;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #624330;
  border-radius: 11px;
  background: rgba(232, 129, 79, .08);
  color: var(--accent-light);
}

.feature-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-grid h3 { margin: 74px 0 12px; font-size: 1.2rem; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.quickstart {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.quickstart > div > p:last-child { color: var(--muted); }
.terminal-bar {
  position: relative;
  display: grid;
  width: 100%;
  height: 40px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #211f1d;
  color: #817972;
  font: 500 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal-bar::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ed6a5f;
  box-shadow: 15px 0 #f5bf4f, 30px 0 #61c454;
}
.terminal { border-color: #45403b; background: #0d0e0d; }
.terminal pre { padding: 25px 28px 28px; color: #ddd8d2; }
.terminal-path { color: #7aa2d6; }
.terminal code::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 5px;
  background: var(--accent-light);
  vertical-align: -.18em;
}

.cta {
  margin: 30px 0 90px;
  padding: clamp(42px, 7vw, 80px);
  border: 1px solid #594032;
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(232, 129, 79, .13), rgba(232, 129, 79, .025));
  text-align: center;
}

.cta p:not(.eyebrow) { max-width: 580px; margin: 0 auto 28px; color: var(--muted); }
.cta .actions { justify-content: center; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

footer p { margin: 0; }

@media (max-width: 820px) {
  .hero, .quickstart { grid-template-columns: 1fr; }
  .hero { padding: 70px 0; }
  .quickstart { gap: 48px; }
  .section-heading { display: block; }
  .section-heading h2 { text-align: left; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 260px; }
  .proof { grid-template-columns: 1fr; }
  .proof div + div { border-left: 0; border-top: 1px solid var(--line); }
  .code-card { transform: none; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1160px); }
  .site-header { height: 68px; }
  nav { gap: 6px; }
  .hero { min-height: auto; padding: 54px 0 64px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .button { width: 100%; }
  .section { padding: 80px 0; }
  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}

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