@font-face {
  font-family: Oswald;
  src: url('assets/oswald-variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/ibm-plex-mono.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #141512;
  --paper: #F2F0E8;
  --acid: #D9F24A;
  --background: var(--ink);
  --foreground: var(--paper);
  --secondary: #BEBFB2;
  --muted: #B0B39D;
  --focus: var(--acid);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 100%;
  font-weight: 400;
  line-height: 1.6;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
/* Keep native anchor navigation; pointer clicks glide between sections. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html:has(:focus-visible) { scroll-behavior: auto; }
}
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--acid); color: var(--ink); }
.page { max-width: 1200px; min-height: 100svh; padding-inline: clamp(20px, 4.5vw, 64px); margin-inline: auto; display: flex; flex-direction: column; }
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.wordmark { display: inline-flex; flex: 0 0 auto; }
.wordmark picture { display: block; }
.wordmark img { display: block; width: 180px; height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-transform: uppercase; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }
main { flex: 1; }
.hero { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: calc(100dvh - var(--home-header-height, 108px)); padding-block: clamp(32px, 5svh, 56px) clamp(40px, 6svh, 64px); }
.intro { min-width: 0; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.25rem); line-height: 1.1; font-weight: 400; letter-spacing: -.055em; margin: 0 0 32px; overflow-wrap: anywhere; }
.description { max-width: 46ch; color: var(--secondary); font-size: 1rem; line-height: 1.8; margin: 0; text-wrap: pretty; }
.actions { margin-top: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.github-stars { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; color: var(--acid); font-size: .9375rem; line-height: 1.5; }
.github-stars > [aria-hidden] { font-size: 1.25rem; }
.star-label { text-decoration: underline; text-underline-offset: .35em; }
.star-count { font-variant-numeric: tabular-nums; }
.primary-button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 10px 0; color: var(--acid); font-size: .9375rem; line-height: 1.5; text-decoration: underline; text-underline-offset: .35em; }
.footer { padding-block: 18px 24px; font-size: .75rem; color: var(--muted); }
.footer p { margin: 0; }
.footer a { text-decoration: underline; text-underline-offset: .25em; }
.skip-link { position: fixed; z-index: 10; top: 16px; left: 16px; padding: 12px 18px; background: var(--acid); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.how-it-works { padding-block: 32px 48px; scroll-margin-block-start: 32px; }
.how-it-works:focus { outline: none; }
.how-it-works h2 { margin: 0 0 12px; font-family: Oswald, 'Arial Narrow', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
.how-intro { margin: 0 0 28px; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.how-intro a { text-decoration: underline; text-underline-offset: .25em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.5vw, 36px); list-style: none; padding: 0; margin: 0; }
.step { min-width: 0; }
.step-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.step-number { color: var(--acid); font-size: .8125rem; line-height: 1.5; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.step h3 { font: inherit; font-size: 1.125rem; line-height: 1.4; color: var(--paper); margin: 0; overflow-wrap: anywhere; }
.step p { font-size: .875rem; line-height: 1.7; color: var(--secondary); margin: 0; max-width: 44ch; overflow-wrap: anywhere; }
.step-code { margin-top: 20px; }
.step pre { font: inherit; font-size: .8125rem; line-height: 1.9; color: var(--secondary); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; direction: ltr; text-align: start; }
.step code { font: inherit; }
.command-name { color: var(--acid); }
.step .command-name { color: var(--paper); }
.command-action { color: var(--acid); }
.step-copy { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-top: 4px; padding: 8px 0; border: 0; background: transparent; color: var(--acid); font-size: .75rem; line-height: 1.5; text-decoration: underline; text-underline-offset: .3em; }
.step-copy[hidden] { display: none; }
.step .step-note { font-size: .75rem; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.agent-prompts { margin-top: 40px; }
.agent-prompts h3 { margin: 0 0 12px; color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.prompt-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; align-items: start; }
.agent-prompt { min-width: 0; }
.agent-prompt summary { width: fit-content; max-width: 100%; min-height: 44px; padding-block: 10px; color: var(--acid); font-size: .875rem; line-height: 1.7; cursor: pointer; }
.agent-prompt summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.prompt-body { padding-top: 8px; }
.prompt-body p { margin: 0; max-width: 62ch; color: var(--secondary); font-size: .8125rem; line-height: 1.8; overflow-wrap: anywhere; text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (hover: hover) and (pointer: fine) {
  .primary-button:hover { color: var(--paper); }
  .step-copy:hover { color: var(--paper); }
  .github-stars:hover, .agent-prompt summary:hover { color: var(--paper); }
  nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
}
@media (max-width: 800px) {
  .how-it-works { padding-block: 24px 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step p { font-size: .9375rem; }
}
@media (max-width: 600px) {
  .header { gap: 16px; padding-block: 20px; }
  .wordmark img { width: 140px; }
  nav { gap: 20px; font-size: 1.0625rem; }
  .hero { justify-content: flex-start; min-height: calc(100dvh - var(--home-header-height, 140px)); padding-block: 24px 32px; }
  h1 { font-size: 3.5rem; }
  .description { max-width: 42ch; }
  .home-header nav { width: 100%; justify-content: space-between; gap: 8px 12px; font-size: 1rem; }
  .prompt-options { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 380px) {
  .header { gap: 8px; }
  .wordmark img { width: 160px; }
  nav { justify-content: space-between; width: 100%; }
  .hero { padding-block-start: 32px; }
}
