@font-face {
  font-family: Geist;
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font: 16px/1.6 Geist, Arial, sans-serif;
  color: #f3f0e9;
  background: #191a1b;
  --canvas: #191a1b;
  --ink: #f3f0e9;
  --muted: #b3b6ad;
  --line: #ffffff1c;
  --accent: #ff794f;
  --peach: #efa284;
  --sage: #b5caa8;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, blockquote { margin: 0; }
a { color: inherit; }
a:hover { color: var(--peach); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--canvas); }
button { font: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }

.site-footer, .site-footer nav, .site-footer .brand, .button {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer { justify-content: space-between; min-height: 84px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a, .button { text-decoration: none; }
.site-footer nav { font-size: .82rem; }
.site-footer .brand { gap: 4px; font-size: 1rem; font-weight: 600; letter-spacing: -.045em; color: var(--ink); }
.site-footer .brand img { width: 28px; height: 28px; }
.brand img, .agent-icon { display: block; object-fit: contain; flex: none; }
.agent-icon[src$="/github-copilot.svg"] { filter: invert(1); }

.button {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  font-size: .82rem;
  white-space: nowrap;
  transition: border-color .18s, background .18s;
}
.button svg { width: 15px; height: 15px; }
.button:hover { color: var(--ink); border-color: #ff794f88; }
.button.primary { min-height: 48px; padding-inline: 18px; color: #191a1b; background: var(--accent); border-color: transparent; font-weight: 600; }
.button.primary:hover { background: #ff9a7a; }

.hero-copy, .directory-hero { padding: clamp(37px, 5vw, 74px) 0 44px; text-align: center; }
.pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 13px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #222423;
  color: #dedfd7;
  font-size: .78rem;
}
.pair img:not(.agent-icon) { width: 21px; height: 21px; object-fit: contain; }
.pair-divider { margin-inline: 2px; color: #a8aaa2; }
h1, h2 { font-weight: 450; }
h1 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 6.3vw, 5.4rem);
  line-height: .99;
  letter-spacing: -.064em;
  text-wrap: balance;
}
h1 em, h2 em { color: var(--peach); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
h1 em { font-size: 1.09em; }
.intro { max-width: 54ch; margin: 23px auto 0; font-size: clamp(.98rem, 1.65vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
.actions { margin-top: 24px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.guide-actions .copy-button { min-height: 44px; font-size: .82rem; }

.workflow {
  position: relative;
  isolation: isolate;
  padding: 18px clamp(18px, 3vw, 38px) clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 63%, #49312780, transparent 64%), #1d1f20;
}
.workflow::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#ffffff30 .7px, transparent .7px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, black, transparent 74%);
  content: '';
}
.workflow-top { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: clamp(15px, 2.8vw, 29px); color: var(--muted); font-size: .8rem; }
.workflow-modes { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #191a1b; }
.workflow-modes button { min-height: 32px; padding: 3px 12px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .77rem; }
.workflow-modes button:hover { color: var(--ink); }
.workflow-modes button[aria-pressed="true"] { border-color: #ff794f40; background: #ff794f13; color: #ffd4c6; }
.workflow-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(94px, 15vw, 182px) minmax(0, 1fr);
  align-items: center;
}
.scene-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 194px;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  background: linear-gradient(145deg, #282a2b, #222324);
  box-shadow: 0 16px 28px #0004;
}
.result-card { border-color: #b5caa830; background: linear-gradient(145deg, #292d28, #222623); }
.scene-bar, .scene-foot { display: flex; align-items: center; gap: 7px; padding-inline: 14px; min-height: 42px; }
.scene-bar { justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.scene-name { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .82rem; font-weight: 550; }
.scene-name svg { color: var(--sage); }
.scene-foot { min-height: 44px; border-top: 1px solid var(--line); }
.scene-card blockquote { align-self: center; padding: 15px; color: #e9e6dd; font-size: clamp(.85rem, 1.3vw, 1.03rem); line-height: 1.55; }
.copy-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 0; border: 0; background: none; color: var(--peach); font-size: .75rem; }
.copy-button svg, .result-status svg { width: 14px; height: 14px; }
.copy-button:hover { color: #ffd9cc; }
.result-content { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 12px 14px; }
.result-content img { width: clamp(52px, 7vw, 88px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.result-content h3 { margin-bottom: 3px; font-size: .82rem; font-weight: 650; }
.result-content p { color: #d0d8cb; font-size: .81rem; line-height: 1.55; }
.result-status { display: flex; align-items: center; gap: 6px; color: var(--sage); font-size: .73rem; }

.scene-bridge { position: relative; display: grid; place-items: center; }
.scene-bridge::before { position: absolute; width: 100%; height: 1px; background: linear-gradient(90deg, #ff794f55, #ffb096, #b5caa875); content: ''; }
.scene-bridge::after {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb096;
  box-shadow: 0 0 8px var(--accent);
  animation: travel .75s ease-out both;
  content: '';
}
@keyframes travel { from { left: 0; opacity: 0; } 30% { opacity: 1; } to { left: 100%; opacity: 0; } }
.bridge-ring { position: absolute; width: clamp(82px, 10vw, 132px); aspect-ratio: 1; border: 1px solid #ff794f23; border-radius: 50%; }
.bridge-ring::before { position: absolute; inset: -12px; border: 1px dashed #ff794f20; border-radius: 50%; content: ''; }
.bridge-mark {
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(53px, 6.4vw, 86px);
  aspect-ratio: 1;
  transform: rotate(-8deg);
  border: 1px solid #ff794f51;
  border-radius: 24%;
  background: linear-gradient(145deg, #3b2d26, #25211e);
  box-shadow: 0 14px 24px #0005, inset 0 1px #ffffff10;
}
.bridge-mark img { width: 86%; height: auto; transform: rotate(8deg); }
.bridge-name { position: absolute; top: calc(100% + 19px); color: #d0b9a9; font-size: .68rem; letter-spacing: .05em; }

.section { padding-block: clamp(51px, 7.5vw, 104px); border-bottom: 1px solid var(--line); }
.section h2, .closing h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
.section p { color: var(--muted); }
.section-intro > p:last-child { max-width: 38ch; margin-top: 15px; }
.section .section-label { margin-bottom: 13px; color: var(--peach); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.setup { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(25px, 6vw, 76px); }
.setup-panel { padding: clamp(17px, 3vw, 29px); border: 1px solid var(--line); border-radius: 13px; background: #202222; }
.steps { margin: 0 0 23px; padding: 0; list-style: none; counter-reset: setup; }
.steps li { position: relative; padding-left: 38px; margin-bottom: 19px; counter-increment: setup; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #ff794f3a;
  border-radius: 50%;
  color: var(--peach);
  font-size: .71rem;
  content: counter(setup);
}
.steps li p, .setup-panel > p { margin-top: 5px; font-size: .88rem; }
.setup-panel > p { margin-top: 12px; }
.steps a { text-underline-offset: 3px; }
.copy-block { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
.copy-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 3px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
pre { margin: 0; padding: 13px; color: #efc1aa; font-size: .79rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: var(--peach); font-size: .85rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 15px; height: 15px; }

.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 29px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(110deg, #242625, #202222); }
.capabilities + .workflow { margin-top: 29px; }
.capabilities article { padding: clamp(19px, 3vw, 31px); }
.capabilities article + article { border-left: 1px solid var(--line); }
.capability-icon { display: inline-grid; place-items: center; width: 37px; height: 37px; margin-bottom: 16px; border: 1px solid #ff794f36; border-radius: 9px; background: #ff794f0c; color: var(--peach); }
.capabilities h3 { font-size: 1.04rem; font-weight: 600; }
.capabilities p { margin-top: 6px; font-size: .9rem; }

details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
details p { padding: 0 24px 15px 0; font-size: .9rem; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 51px; padding-block: 8px; cursor: pointer; font-weight: 550; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover, details[open] summary { color: var(--peach); }
details[open] summary svg { transform: rotate(180deg); }

.section-heading, .closing { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.section-heading .text-link { margin: 0; }
.closing {
  margin-top: clamp(47px, 7vw, 82px);
  padding: clamp(21px, 5vw, 55px);
  border: 1px solid #ff794f30;
  border-radius: 14px;
  background: radial-gradient(ellipse at 22% 120%, #ff794f19, transparent 75%), #232222;
}
.closing .button { background: var(--accent); color: var(--canvas); border-color: transparent; font-weight: 600; }
.closing .button:hover { background: #ff9a7a; }

.agent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 25px 0 0; list-style: none; }
.agent-grid a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #212324;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.agent-grid a:hover { border-color: #ff794f55; background: #2b2725; color: var(--ink); }
.agent-tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: #2a2c2d; }
.agent-tile-copy { display: grid; gap: 1px; line-height: 1.3; }
.agent-tile-copy strong { font-size: .9rem; font-weight: 560; }
.agent-tile-copy small { color: var(--muted); font-size: .73rem; }
.agent-grid svg { color: var(--peach); stroke: none; width: 16px; height: 16px; }
.related { border-bottom: 0; }
.directory-hero { padding-block: clamp(42px, 7vw, 101px) 34px; background: radial-gradient(ellipse at 50% 70%, #ff794f0d, transparent 70%); }
.directory-hero h1 { margin: 0; }
.directory { padding-bottom: clamp(49px, 7vw, 93px); }

.directory-benefits, .directory-prompts {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.directory-benefits {
  grid-template-columns: 1.1fr 1fr;
  padding: clamp(22px, 4vw, 60px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, #282925, #202120 65%);
}
.directory-benefits h2, .directory-prompts h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.directory-benefits h2 em, .directory-prompts h2 em { display: block; }
.directory-benefits-copy p { margin-top: 22px; max-width: 49ch; color: var(--muted); }
.directory-draft {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1.25;
  background: #373630;
}
.directory-draft-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.directory-draft-slip {
  position: absolute;
  inset: auto 5% 6%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ffffff26;
  border-radius: 10px;
  background: #202120f5;
  box-shadow: 0 8px 24px #0003;
}
.directory-draft-slip small, .directory-draft-slip strong { display: block; line-height: 1.4; }
.directory-draft-slip small { color: var(--muted); font-size: .72rem; }
.directory-draft-slip strong { font-size: .9rem; font-weight: 550; }
.directory-draft-slip span { margin-left: auto; color: var(--sage); font-size: .75rem; }
.directory-prompts { grid-template-columns: .85fr 1.15fr; align-items: start; padding-block: clamp(54px, 8vw, 112px); }
.directory-prompts ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.directory-prompts li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.directory-prompts h3 { font-size: 1.03rem; font-weight: 550; }
.directory-prompts p { margin-top: 5px; color: var(--muted); font-size: .94rem; }
.directory-prompts .copy-button { flex: none; min-height: 44px; }

@media (max-width: 760px) {
  .directory-benefits, .directory-prompts { grid-template-columns: minmax(0, 1fr); }
  .directory-draft { aspect-ratio: 1.6; }
  .directory-draft-slip { gap: 6px; padding: 8px; }
  .directory-draft-slip img { width: 26px; height: 26px; }
}

.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 2; padding: 8px; background: var(--canvas); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-footer nav { font-size: .74rem; }
  .site-footer nav { gap: 11px; }
  .setup, .capabilities { grid-template-columns: 1fr; }
  .capabilities article + article { border-left: 0; border-top: 1px solid var(--line); }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .workflow { padding: 11px 12px 16px; }
  .workflow-top { align-items: flex-start; flex-direction: column; gap: 10px; }
  .workflow-modes { align-self: stretch; }
  .workflow-modes button { flex: 1; }
  .workflow-scene { grid-template-columns: minmax(0, 1fr); }
  .scene-card { min-height: 0; }
  .scene-bridge { min-height: 78px; }
  .scene-bridge::before { width: 1px; height: 100%; background: linear-gradient(#ff794f55, #ffb096, #b5caa875); }
  .scene-bridge::after, .bridge-name { display: none; }
  .bridge-ring { width: 64px; }
  .bridge-ring::before { inset: -7px; }
  .bridge-mark { width: 48px; }
  .agent-grid { gap: 7px; }
  .agent-grid a { gap: 7px; padding: 8px; }
  .agent-tile-icon { width: 32px; height: 32px; }
  .agent-tile-icon img { width: 20px; height: 20px; }
  .agent-tile-copy strong { font-size: .8rem; }
  .agent-tile-copy small { font-size: .67rem; }
}

@media (max-width: 359px) {
  .agent-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene-bridge::after { display: none; }
}
