:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #f2f5ef;
  background: #111711;
  --muted: #bac7b9;
  --border: #354235;
  --accent: #caf878;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, .example:focus-visible, #site-folder:focus-visible + .folder-picker { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { max-width: 72rem; margin-inline: auto; width: calc(100% - 4rem); }
.skip { position: absolute; left: -100vw; }
.skip:focus { left: 1rem; top: 1rem; background: #1e281e; padding: .8rem; z-index: 1; }

.header, .footer { display: flex; align-items: center; justify-content: space-between; }
.header { min-height: 5rem; gap: 2rem; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-weight: 750; text-decoration: none; }
.brand-mark { width: .9rem; height: .9rem; background: var(--accent); transform: rotate(45deg); border-radius: 3px; }
nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .92rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(4rem, 10vw, 8rem); }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.5rem, 6.8vw, 6rem); font-weight: 750; letter-spacing: -.075em; line-height: .99; margin-bottom: 1.7rem; }
h2 { font-size: clamp(1.95rem, 4vw, 3.2rem); letter-spacing: -.045em; line-height: 1.07; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.intro { max-width: 33rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.23rem); margin-bottom: 2rem; }
.pilot-status { color: var(--muted); font-size: .92rem; margin-bottom: .75rem; }
.button { display: inline-flex; gap: 1.25rem; align-items: center; background: var(--accent); color: #182311; padding: .75rem 1.15rem; border-radius: 5px; text-decoration: none; font-weight: 700; }
.button:hover { background: #d9ff9b; }
.button-arrow { width: .6rem; height: .6rem; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); }

.example { margin: 0; min-width: 0; background: #182118; border: 1px solid #435343; border-radius: .8rem; box-shadow: 0 2rem 4rem #05080580; scroll-margin-top: 1rem; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem .75rem; padding: .85rem 1.15rem; font-size: .86rem; color: var(--muted); }
figcaption code { color: var(--accent); overflow-wrap: anywhere; }
.sample-page { margin: 0 .65rem .65rem; min-height: 13rem; padding: 1rem clamp(1rem, 3vw, 1.75rem); background: #f8f3e9; color: #314330; border-radius: .42rem; }
.sample-brand { border-bottom: 1px solid #adb3a1; margin: 0; padding-bottom: .65rem; font-size: .9rem; font-weight: 700; }
.sample-headline { font: clamp(2.05rem, 3.7vw, 3rem)/1.04 Georgia, serif; letter-spacing: -.04em; margin: 1.3rem 0; }
.demo-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .65rem .65rem; }
.demo-controls button { font: inherit; font-size: .86rem; padding: .48rem .65rem; border-radius: .4rem; border: 1px solid #435343; background: #223122; color: #f2f5ef; cursor: pointer; }
.demo-controls button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #182311; }
.demo-help { margin: 0; padding: 0 1rem .7rem; color: var(--muted); font-size: .86rem; }
.demo-files { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; padding: .7rem 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; }
.demo-files a { color: var(--accent); text-underline-offset: .2em; }

.section { border-top: 1px solid var(--border); padding-block: clamp(2.25rem, 6vw, 5rem); scroll-margin-top: 1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.steps article { border-left: 2px solid #627a54; padding: .3rem 1.15rem; }
.steps p, .pilot-copy { color: var(--muted); }
.steps p, .pilot-copy p:last-child { margin-bottom: 0; }
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: start; }
.pilot h2 { margin-bottom: 0; }
.site-check { margin-block: 1.25rem; scroll-margin-top: 1rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: .5rem; }
.site-check h3, .folder-result strong { color: #f2f5ef; }
.site-check input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.folder-picker { display: inline-block; padding: .45rem .65rem; border: 1px solid #627a54; border-radius: .25rem; background: #223122; color: #f2f5ef; font-size: .9rem; cursor: pointer; }
.folder-picker:hover { border-color: var(--accent); }
.folder-result:not(:empty) { margin-top: .8rem; font-size: .9rem; }
.folder-result ul { margin: .35rem 0 0; padding-inline-start: 1.2rem; }
.folder-result li { overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--border); padding-block: 1.5rem; gap: 1rem; font-size: .9rem; color: var(--muted); }

.guide { max-width: 48rem; padding-top: clamp(2.5rem, 6vw, 5rem); }
.guide h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
.guide .section { padding-block: 2rem; }
.guide p { color: var(--muted); }
.guide strong { color: #f2f5ef; }
.guide a { color: var(--accent); text-underline-offset: .2em; }
.guide pre,
.guide blockquote { margin-inline: 0; padding: 1rem; background: #182118; border: 1px solid var(--border); border-radius: .4rem; overflow-wrap: anywhere; }
.guide pre { white-space: pre-wrap; }

@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero, .pilot, .steps { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
}
@media (max-width: 30rem) {
  .header { align-items: flex-start; flex-direction: column; gap: .6rem; padding-block: 1.2rem; }
  h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
}
