:root {
  color-scheme: dark;
  --bg: #151915;
  --panel: #1d231b;
  --ink: #f3f4e9;
  --muted: #b5bdb0;
  --acid: #d8f56a;
  --line: #3d4935;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
p { color: var(--muted); }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.masthead { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.2; font-size: 1.05rem; font-weight: 750; }
.brand small { display: block; color: var(--muted); font-size: .8rem; font-weight: 450; margin-top: .22rem; }
.brand-icon { display: grid; grid-template-columns: repeat(2, .37rem); grid-template-rows: repeat(2, .37rem); gap: .25rem; place-content: center; background: var(--acid); width: 2.2rem; height: 2.2rem; border-radius: .48rem; }
.brand-icon i { border-radius: 50%; background: #263019; }
.brand-icon i:nth-child(2) { background: transparent; border: 1px solid #263019; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); font-size: .94rem; }
nav a { text-decoration: none; }
nav a:hover, footer a:hover { color: var(--acid); }
.hero { display: grid; grid-template-columns: 1.11fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3.4rem, 8vw, 7.3rem) 0; }
h1 { font-size: clamp(3.35rem, 7.6vw, 6.7rem); line-height: .96; letter-spacing: -.085em; text-wrap: balance; }
h1 em { color: var(--acid); font-style: normal; white-space: nowrap; }
.pitch > p:first-of-type { max-width: 33rem; margin-top: 1.6rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.15rem; border-radius: .43rem; padding: .64rem 1rem; text-decoration: none; border: 1px solid transparent; font-weight: 690; line-height: 1.3; }
.primary { background: var(--acid); color: #202811; }
.primary:hover { background: #e6ff96; }
.secondary { border-color: #647356; }
.secondary:hover { border-color: var(--acid); }
.purchase-note { margin-top: .65rem; font-size: .94rem; }
.board { background: var(--panel); border: 1px solid #4a573d; border-radius: .85rem; overflow: hidden; box-shadow: 0 1.5rem 4rem #080b0859; }
.board-toolbar { display: flex; gap: .9rem; align-items: center; justify-content: space-between; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.board-title { font-weight: 650; display: flex; align-items: center; gap: .5rem; }
.status-light { width: .5rem; height: .5rem; background: var(--acid); border-radius: 50%; }
.demo-label { font-size: .875rem; color: var(--muted); }
.diagram { padding: 2rem 1.45rem 1.45rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; background-image: radial-gradient(#58634a77 1px, transparent 1px); background-size: .95rem .95rem; }
.agent { min-width: 0; display: flex; gap: .55rem; align-items: center; border: 1px solid var(--line); border-radius: .55rem; padding: .7rem .55rem; background: #22291f; line-height: 1.35; }
.agent > div > span { display: block; color: var(--muted); font-size: .875rem; }
.agent-icon { display: grid; place-items: center; width: 1.72rem; height: 1.72rem; flex: none; border-radius: .32rem; color: #25211b; font-weight: 800; background: #eac19c; }
.codex .agent-icon { background: var(--acid); }
.connection { width: clamp(1.3rem, 3vw, 2.25rem); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(var(--acid), var(--acid)) left center / 100% 2px no-repeat; }
.connection i { width: .38rem; height: .38rem; background: var(--acid); border-radius: 50%; }
.project { grid-column: 1 / -1; margin-top: 1rem; border: 1px solid var(--line); background: #191f18; padding: 1rem; border-radius: .55rem; }
.project-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem; color: var(--muted); font-size: .9rem; }
.repo-name, .artifacts { font-family: ui-monospace, monospace; }
.project p { color: var(--ink); font-size: 1.2rem; font-weight: 700; margin-block: .4rem .8rem; }
.artifacts { display: flex; gap: .4rem; flex-wrap: wrap; font-size: .83rem; }
.artifacts span { color: #d0d9c7; padding: .22rem .42rem; background: #2a3426; border-radius: .25rem; }
.workflow, .purchase { padding: 2.6rem 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.052em; line-height: 1.05; margin-bottom: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps > div { border-left: 1px solid #71844e; padding-left: .85rem; }
h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.purchase { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.6rem, 6vw, 5rem); align-items: start; }
details { margin-top: 1rem; }
summary { cursor: pointer; }
details p { margin-top: .35rem; }
.price-card { border: 1px solid var(--line); padding: 1.3rem; background: var(--panel); border-radius: .66rem; }
.price-card strong { display: block; font-size: 2.8rem; line-height: 1; letter-spacing: -.05em; }
.price-card p { margin: .55rem 0 .95rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 1.4rem 0; }
@media (max-width: 54rem) {
  .hero, .purchase { grid-template-columns: 1fr; }
  .board { max-width: 38rem; }
}
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 1.7rem); }
  nav { gap: .7rem; }
  .steps { grid-template-columns: 1fr; }
  .diagram { padding: 1rem .75rem .75rem; }
  .agent-icon { display: none; }
}

.outcomes, .free-option {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 6vw, 5rem);
  align-items: start;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}
.feature-list { margin: 0; }
.feature-list > div { border-bottom: 1px solid var(--line); padding: .65rem 0; }
.feature-list > div:first-child { padding-top: 0; }
.feature-list dt { font-weight: 700; }
.feature-list dd { margin: .18rem 0 0; color: var(--muted); }
.edition { color: var(--acid); font-weight: 700; margin-bottom: .4rem; }
.free-price { padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: .66rem; }
.free-price strong { display: block; font-size: 1.9rem; line-height: 1.15; letter-spacing: -.045em; margin-bottom: .45rem; }
.price-card .release-note, .price-card .terms { font-size: .9rem; }
.price-card .terms { margin-bottom: 0; }
@media (max-width: 54rem) {
  .outcomes, .free-option { grid-template-columns: 1fr; }
}

.installer-status {
  max-width: 33rem;
  margin-top: 1rem;
  padding-left: .7rem;
  border-left: 2px solid #71844e;
}
.installer-status strong { color: var(--ink); }
@media (max-width: 22rem) {
  .masthead { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: .8rem; }
  nav { flex-wrap: wrap; }
}
