:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #172b23;
  background: #f8f7f2;
  --ink: #172b23;
  --muted: #4c5f55;
  --forest: #193b30;
  --line: #d8ded3;
  --lime: #dff38d;
  --paper: #f8f7f2;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #8a5913; outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p, dd { line-height: 1.6; }
code, .eyebrow, figcaption { font-family: Consolas, "Courier New", monospace; }
code { font-size: .88em; overflow-wrap: anywhere; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
section[id], details[id], main { scroll-margin-top: 1rem; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); background: white; padding: .75rem; z-index: 2; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.65rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; font-size: 1.28rem; font-weight: 760; letter-spacing: -.045em; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .52rem; background: var(--forest); color: var(--lime); font-size: 1.5rem; line-height: 1; }
.brand-dot { color: #536d25; margin-left: -.56rem; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 4vw, 2.6rem); }
nav a, footer a { text-decoration: none; font-size: .95rem; font-weight: 650; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 8vw, 7.4rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; text-transform: uppercase; color: #365b41; font-weight: 700; font-size: .865rem; letter-spacing: .13em; }
.eyebrow span { width: .55rem; height: .55rem; background: #7d9639; border-radius: 2px; flex: none; }
h1, h2 { letter-spacing: -.066em; line-height: 1.02; font-weight: 760; }
h1 { font-size: clamp(2.8rem, 5.45vw, 5.1rem); margin-block: 1.15rem 1.5rem; }
h1 em { color: #365d43; font-style: normal; }
.lede { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.29rem); max-width: 31rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: .65rem 1.15rem; font-weight: 700; border-radius: .45rem; border: 1px solid transparent; text-decoration: none; }
.primary { background: var(--lime); color: #263518; border-color: #ccdf7c; }
.primary:hover { background: #cee874; }
.secondary { border-color: #bfcbbf; }
.secondary:hover { background: #e8ede2; }
.hero-diagram { background-color: var(--forest); background-image: radial-gradient(#527061 1px, transparent 1px); background-size: 17px 17px; padding: clamp(1rem, 2.4vw, 1.9rem); border-radius: 1.05rem; color: #f3faec; text-align: center; }
figcaption { text-align: left; color: #c7dccd; font-size: .78rem; letter-spacing: .12em; margin-bottom: 1.55rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.diagram-products { display: grid; grid-template-columns: minmax(0, 1fr) minmax(4.8rem, .7fr) minmax(0, 1fr); align-items: stretch; gap: .45rem; }
.diagram-products a { display: flex; justify-content: center; align-items: center; gap: .45rem; background: #244b3c; border: 1px solid #628474; min-height: 4.2rem; padding: .45rem .2rem; border-radius: .55rem; text-decoration: none; font-size: 1rem; font-weight: 650; }
.diagram-products a:hover { background: #356550; }
.diagram-spec { grid-area: 1 / 1; }
.diagram-plan { grid-area: 1 / 3; }
.diagram-vibe { grid-area: 3 / 3; }
.diagram-test { grid-area: 3 / 1; }
.diagram-handoff { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .14rem; color: #e1eddf; font-size: .875rem; line-height: 1.1; }
.diagram-milestones { grid-area: 1 / 2; }
.diagram-tests { grid-area: 3 / 2; flex-direction: column-reverse; }
.diagram-results { grid-area: 2 / 1; flex-direction: row; gap: .3rem; min-height: 2.2rem; }
.diagram-arrow { color: var(--lime); font-size: 1.55rem; line-height: 1; }
.hero-diagram a:focus-visible { outline-color: var(--lime); }
.diagram-logo { width: clamp(1.25rem, 4vw, 2rem); height: auto; flex: none; }
.diagram-note { color: #c7dccd; font-size: .9rem; margin-top: 1.25rem; }
.section { padding-block: clamp(3.25rem, 6vw, 5.7rem); }
.catalogue { background: #eef1e8; border-block: 1px solid var(--line); }
.section-intro { margin-block: .85rem 1.8rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; }
h2 { font-size: clamp(2.35rem, 5vw, 4.3rem); }
.section-intro p { color: var(--muted); max-width: 24rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .85rem; }
.product { background: #fbfaf7; border: 1px solid #d6ddd0; border-radius: .65rem; }
.product:hover, .product[open] { border-color: #839480; }
.product summary { position: relative; display: grid; cursor: pointer; padding: 1.1rem; gap: .7rem; list-style: none; }
.product summary::-webkit-details-marker { display: none; }
.product summary::after { content: "+"; position: absolute; right: 1.1rem; top: 1.35rem; font-size: 1.35rem; line-height: 1; color: #445f4d; }
.product[open] summary::after { content: "−"; }
.product-logo { display: block; width: 3rem; height: 3rem; object-fit: contain; }
.product small, .product strong, .product-description { display: block; }
.product small { font-size: .88rem; font-weight: 650; color: var(--muted); }
.product strong { font-size: 1.22rem; margin-block: .18rem .48rem; letter-spacing: -.035em; }
.product-description, .product-extra { line-height: 1.5; color: var(--muted); }
.product-extra { padding: 1rem 1.1rem; border-top: 1px solid var(--line); }
.support-title { margin-block: 2.2rem .8rem; font-size: 1.1rem; }
.support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.support-grid div { border-top: 1px solid #c5d0c1; padding-top: .8rem; }
dt { font-weight: 720; }
dd { color: var(--muted); margin-top: .3rem; }
.app-name { display: flex; align-items: center; gap: .5rem; }
.app-logo { width: 2rem; height: 2rem; flex: none; object-fit: contain; }
.workflow { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(2rem, 7vw, 7rem); }
.workflow h2 { margin-block: .9rem 1rem; }
.section-copy, .drift { max-width: 25rem; }
.section-copy, .drift p, .steps p { color: var(--muted); }
.drift { padding: 1rem 1.25rem; border-left: 3px solid #8eaa55; background: #eef1e8; margin-top: 1.7rem; }
.drift h3, .steps h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.steps { display: grid; gap: 0; padding-left: 1.7rem; margin: 0; }
.steps li { padding: .95rem 0 1rem .45rem; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li::marker { color: #416030; font: 700 1rem Consolas, monospace; }
.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.integration-grid > div { border: 1px solid var(--line); border-radius: .6rem; background: #fbfaf7; padding: 1.1rem; }
.integration-grid dt { font-size: 1.12rem; }
footer { border-top: 1px solid var(--line); }
@media (max-width: 68rem) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero, .workflow { grid-template-columns: 1fr; }
  .hero-diagram { width: min(100%, 36rem); }
  .section-intro { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; padding-block: .75rem; gap: .7rem 1rem; }
  .product-grid, .integration-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
