:root {
  color-scheme: dark;
  --base: #14251e;
  --panel: #192e25;
  --line: #354238;
  --ink: #f3f6f0;
  --muted: #b7c3b7;
  --accent: #cbf477;
  --green-dark: #254332;
  font-family: Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--base); background: var(--accent); }
[hidden] { display: none !important; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; background: var(--accent); color: var(--base); padding: .8rem; z-index: 1; }
.skip:focus { top: 1rem; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 780; font-size: 1.25rem; letter-spacing: -.04em; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-size: .94rem; }
nav a, .text { color: var(--muted); }
nav a:hover, .text:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .68rem 1rem; border-radius: .45rem; font-weight: 690; font-size: .94rem; }
.outline { border: 1px solid var(--line); }
.outline:hover { border-color: var(--accent); }
.primary { background: var(--accent); color: #18241a; }
.primary:hover { background: #ceedbd; }

.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(4.5rem, 10vw, 9rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--accent); font-size: .875rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -.065em; font-weight: 740; }
h1 { font-size: clamp(3rem, 6vw, 5.7rem); line-height: .98; margin-bottom: 1.5rem; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.04; margin-bottom: 1.5rem; }
h3 { font-size: 1.16rem; margin-bottom: .6rem; letter-spacing: -.025em; }
p { line-height: 1.6; }
.intro { max-width: 29rem; color: var(--muted); font-size: 1.12rem; margin-bottom: 1.55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .3rem; }

.console { background: var(--panel); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 1.8rem 4.5rem #0004; overflow: hidden; }
.console-top { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .65rem; font-weight: 690; font-size: .875rem; }
small { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.prompt { padding: .9rem 1rem; margin: 1.15rem 1.25rem .8rem; background: #252f27; border-radius: .45rem; }
.prompt span { font-size: .875rem; color: var(--accent); font-weight: 680; }
.prompt p { margin: .3rem 0 0; }
.steps { display: flex; gap: .2rem; margin-inline: 1.25rem; border-bottom: 1px solid var(--line); }
.steps button { background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid transparent; padding: .7rem .55rem; min-height: 2.75rem; font-size: .875rem; cursor: pointer; }
.steps button:hover { color: var(--ink); }
.steps [aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.demo-panel:focus-visible { outline-offset: -4px; }
.demo-panel { padding: .3rem 1.25rem 1.1rem; min-height: 9.5rem; }
.record { min-height: 4rem; display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding-block: .62rem; }
.record + .record { border-top: 1px solid var(--line); }
.record strong, .record small { display: block; }
.initial { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; background: #2c3c2e; border-radius: .35rem; color: var(--accent); font-size: .8125rem; font-weight: 700; }
.status { color: var(--accent); font-size: .8125rem; }

.product { color-scheme: light; background: #f1f4ed; color: #17251c; --muted: #495d50; --accent: #386348; border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.6rem; }
.pillars article { border-top: 1px solid #657968; padding-top: 1.4rem; }
.pillars p, .flow-list p { color: var(--muted); margin-bottom: 0; }
.flow { padding-block: clamp(3.5rem, 8vw, 7rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 6vw, 6rem); }
.flow-list { padding-left: 1.35rem; margin: 0; }
.flow-list li { padding: 1rem 0 1rem .5rem; border-bottom: 1px solid var(--line); }
.flow-list li:first-child { padding-top: 0; }
.flow-list li::marker { color: var(--accent); font-weight: 700; }
.bottom { background: var(--green-dark); border: 1px solid #39583b; border-radius: .8rem; padding: clamp(1.5rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bottom h2 { margin-bottom: 0; max-width: 36rem; }
.bottom .button { flex-shrink: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3.75rem; border-top: 1px solid var(--line); padding-block: 1.5rem; }
.footer span { font-size: .875rem; color: var(--muted); }

@media (max-width: 55rem) {
  .hero { grid-template-columns: 1fr; }
  .console { max-width: 40rem; }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  nav { display: none; }
  .pillars, .flow { grid-template-columns: 1fr; }
  .bottom { align-items: flex-start; flex-direction: column; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 24rem) {
  .console-top, .demo-panel { padding-inline: .7rem; }
  .prompt, .steps { margin-inline: .7rem; }
  .record { gap: .45rem; }
  .record strong { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
