:root {
  color-scheme: light dark;
  --background: #f3f7f3;
  --canvas: #fff;
  --sunken: #e8efe8;
  --ink: #0d1612;
  --muted: rgba(13, 22, 18, .66);
  --faint: rgba(13, 22, 18, .42);
  --line: rgba(13, 22, 18, .09);
  --accent: #1f8a5e;
  --accent-ink: #176c4a;
  --accent-muted: #e0f1e6;
  --warning: #a8780f;
  --warning-muted: #fbf0d6;
  --shadow: 0 4px 12px rgba(27, 24, 18, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 8% 0, rgba(123, 217, 168, .18), transparent 28rem), var(--background);
  font: 16px/1.6 Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { width: min(100% - 32px, 1080px); margin: 0 auto; }
a { color: var(--accent-ink); font-weight: 650; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(31, 138, 94, .28); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.03em; }
h1 { max-width: 720px; margin: 12px 0 20px; font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 650; }
h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 650; }
h3 { margin: 20px 0 10px; font-size: 1.35rem; }
code, pre { font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace; }
code { font-size: .9em; }

.hero { padding: clamp(48px, 9vw, 96px) 0 52px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(56px, 9vw, 100px); font-size: .95rem; font-weight: 750; line-height: 1.15; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .02em; }
.brand-mark { display: block; width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 8px; color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.3vw, 1.3rem); }
.endpoint { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; margin-top: 36px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); box-shadow: var(--shadow); }
.endpoint span { color: var(--faint); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.endpoint code { overflow-wrap: anywhere; color: var(--ink); }
.trust-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .84rem; }
.trust-line span { color: var(--accent); font-weight: 900; }
.jump-links { padding: 18px 0; border-block: 1px solid var(--line); }
.jump-links-wide { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.jump-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.jump-menu { display: none; margin: 0; border: 0; }

section { padding: clamp(64px, 9vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { max-width: 680px; margin-bottom: 32px; }
.section-heading > p:last-child, .route > p, .details-body { color: var(--muted); }
.section-heading > p:last-child { margin: 0; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.route { padding: clamp(22px, 4vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); box-shadow: var(--shadow); }
.route.featured { background: linear-gradient(145deg, var(--canvas), var(--accent-muted)); }
.route:nth-child(3) { grid-column: 1 / -1; }
.route-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; }
.product-icon.claude img { display: block; width: 100%; height: 100%; }
.product-logo { object-fit: cover; }
.status { padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status.available { color: var(--accent-ink); background: var(--accent-muted); }
.status.review { color: var(--warning); background: var(--warning-muted); }
.status.manual { color: var(--muted); background: var(--sunken); }
.steps { margin: 20px 0; padding-left: 1.35rem; }
.steps li { margin: 10px 0; padding-left: 5px; }
.fine-print { font-size: .78rem; }
.text-link { display: inline-block; margin-top: 4px; font-size: .82rem; }
.command-block { margin-top: 24px; }
.command-block > span { display: block; margin-bottom: 8px; color: var(--faint); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
pre { max-width: 100%; margin: 0; padding: 16px; overflow-x: auto; border-radius: 12px; color: var(--ink); background: var(--sunken); font-size: .8rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
details { margin-top: 20px; border-top: 1px solid var(--line); }
summary { padding: 16px 0 0; color: var(--accent-ink); font-size: .84rem; font-weight: 750; cursor: pointer; }
.details-body { padding-top: 12px; }
.details-body pre { color: var(--ink); }

.handoff, .privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 80px); align-items: center; }
.handoff > div > p:last-child, .privacy > div:last-child { color: var(--muted); }
.handoff blockquote { margin: 0; padding: clamp(24px, 5vw, 40px); border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--canvas); box-shadow: var(--shadow); font-size: clamp(1rem, 2.4vw, 1.2rem); }
.prompt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prompt-grid blockquote { margin: 0; padding: 20px; border-radius: 16px; background: var(--canvas); box-shadow: var(--shadow); }
.tool-list { margin-top: 24px; padding: 0 20px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.columns { columns: 2 300px; column-gap: 32px; }
.columns p { break-inside: avoid; margin-top: 0; padding-top: 8px; }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 8vw, 96px); }
.numbered { margin: 24px 0 0; padding: 0; list-style: none; }
.numbered li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; margin: 14px 0; }
.numbered span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-muted); font-size: .75rem; font-weight: 800; }
.numbered p { margin: 1px 0 0; }
.permission { padding: 18px 0; border-bottom: 1px solid var(--line); }
.permission > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.permission p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.required, .optional { padding: 4px 7px; border-radius: 999px; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.required { color: var(--accent-ink); background: var(--accent-muted); }
.optional { color: var(--warning); background: var(--warning-muted); }
.callout { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--accent-muted); color: var(--accent-ink); font-size: .88rem; }
.privacy > div:last-child > p:first-child { margin-top: 0; }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
footer { padding: 28px 0 56px; color: var(--faint); font-size: .76rem; }

@media (prefers-color-scheme: dark) {
  :root { --background: #0d1612; --canvas: #15211c; --sunken: #22312a; --ink: #edf3ef; --muted: rgba(237,243,239,.66); --faint: rgba(237,243,239,.42); --line: rgba(237,243,239,.1); --accent: #7bd9a8; --accent-ink: #7bd9a8; --accent-muted: rgba(123,217,168,.12); --warning: #f2c24e; --warning-muted: rgba(242,194,78,.12); --shadow: none; }
  .route.featured { background: linear-gradient(145deg, var(--canvas), rgba(123,217,168,.09)); }
}
@media (max-width: 720px) {
  main { width: min(100% - 24px, 1080px); }
  .brand { margin-bottom: 56px; }
  .endpoint { display: block; width: 100%; }
  .endpoint span { display: block; margin-bottom: 6px; }
  .jump-links-wide { display: none; }
  .jump-menu { display: block; }
  .jump-menu summary { display: flex; align-items: center; justify-content: space-between; padding: 0; color: var(--ink); font-size: .88rem; list-style: none; }
  .jump-menu summary::-webkit-details-marker { display: none; }
  .jump-menu summary::after { content: "+"; color: var(--accent-ink); font-size: 1.1rem; line-height: 1; }
  .jump-menu[open] summary::after { content: "\2212"; }
  .jump-menu > div { display: grid; gap: 2px; padding-top: 12px; }
  .jump-menu a { padding: 9px 0; border-top: 1px solid var(--line); }
  .routes, .prompt-grid, .two-column, .handoff, .privacy { grid-template-columns: 1fr; }
  .route:nth-child(3) { grid-column: auto; }
  .handoff, .privacy { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
