:root { color-scheme: dark; --mono: 'Cascadia Code', Consolas, monospace; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--text, #edf2ec); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-200%); background: #bdf6dd; color: #070d10; padding: 12px 18px; }
.skip-link:focus { transform: none; }
.brand { display: flex; align-items: center; line-height: 1; }
.brand svg { fill: none; stroke-width: 1.5; }
.brand small { display: block; }
.local-badge { display: flex; align-items: center; white-space: nowrap; }
.example-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; padding-block: 68px 42px; }
.example-hero h1 { max-width: 700px; margin: 0; font-size: clamp(40px, 4.7vw, 67px); }
.example-hero h1 em { font-style: normal; color: var(--cyan); }
.example-hero .hero-copy { align-self: end; max-width: 440px; }
.hero-copy p { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.examples-page .eyebrow { margin-top: 0; }
.examples-page .text-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; }
.example-journey { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 9px; background: #bdf6dd04; font-size: 11px; color: var(--muted); }
.example-journey strong { font-weight: 500; color: var(--text); }
.example-journey > span[aria-hidden] { color: var(--metal); }
.example-index { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 28px 38px; }
.example-index a { display: flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; color: var(--muted); }
.example-index a:hover { color: var(--cyan); border-color: var(--cyan); }
.example-card { margin-bottom: 28px; border: 1px solid var(--line); border-radius: 13px; background: #0d171b; overflow: hidden; scroll-margin-top: 25px; }
.example-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 29px 30px 25px; border-bottom: 1px solid var(--line); }
.example-heading .eyebrow { margin-bottom: 8px; }
.example-heading h2 { font-weight: 500; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.3; letter-spacing: -.035em; margin: 0; }
.example-number { display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid var(--line); border-radius: 50%; color: var(--metal); font: 12px var(--mono); }
.example-description { max-width: 1000px; margin: 0; padding: 21px 30px; color: var(--muted); font-size: 13px; }
.example-comparison { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-inline: 30px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.example-pane { min-width: 0; background: #071014; }
.example-pane + .example-pane { border-left: 1px solid var(--line); background: #bdf6dd03; }
.example-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.example-caption span:last-child { font: 9px var(--mono); color: var(--faint); }
.example-pane:last-child .example-caption { color: var(--cyan); }
.example-code { display: block; margin: 0; padding: 20px 17px; min-height: 166px; max-height: 355px; overflow: auto; white-space: pre; tab-size: 4; font: 12px/1.85 var(--mono); color: #c8d5d1; }
.example-pane:last-child .example-code { color: #bdf6dd; }
.example-code code { font: inherit; }
.example-result-notes { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 16px 30px 0; font-size: 10px; color: var(--faint); }
.example-result-notes strong { color: var(--cyan); font-weight: 500; }
.example-actions { display: flex; gap: 9px; flex-wrap: wrap; padding: 20px 30px 0; }
.example-button { min-height: 44px; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.example-button:hover { border-color: var(--cyan); }
.example-button-primary { background: var(--cyan); border-color: var(--cyan); color: #071014; }
.example-button.tool-link { margin-left: auto; color: var(--cyan); }
.example-status { min-height: 26px; margin: 13px 30px 17px; color: var(--faint); font-size: 11px; }
.example-status[data-state='success'] { color: var(--cyan); }
.example-status[data-state='error'] { color: #f4c59e; }
.example-boundary { border-top: 1px solid var(--line); padding: 15px 30px 17px; margin: 0; color: var(--muted); font-size: 11px; }
.example-boundary strong { color: var(--metal); font-weight: 500; }
.example-followup { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-block: 42px; }
.example-followup > section { padding: 27px 30px; border: 1px solid var(--line); border-radius: 10px; }
.example-followup h2 { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; margin: 0 0 13px; }
.example-followup p { color: var(--muted); font-size: 12px; margin: 0 0 14px; }
.example-followup .text-link { font-size: 12px; }
.examples-notice { margin-block: 32px 46px; padding-left: 18px; border-left: 2px solid var(--metal); max-width: 900px; color: var(--muted); font-size: 12px; }
.examples-notice a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 40px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.no-script-message { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
@media (max-width: 900px) {
  .example-hero { grid-template-columns: 1fr; gap: 25px; padding-top: 42px; }
  .example-hero .hero-copy { max-width: 650px; }
  .example-button.tool-link { margin-left: 0; }
  .example-followup { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 650px) {
  .example-hero { padding-block: 33px 25px; }
  .example-hero h1 { font-size: clamp(34px, 10vw, 49px); }
  .hero-copy p { font-size: 13px; }
  .example-journey { gap: 8px 11px; padding: 15px; font-size: 10px; }
  .example-index { gap: 6px; padding-block: 20px 27px; }
  .example-index a { font-size: 10px; padding-inline: 11px; }
  .example-heading { padding: 22px 18px; gap: 16px; }
  .example-number { width: 39px; height: 39px; font-size: 10px; }
  .example-description { padding: 19px 18px; font-size: 12px; }
  .example-comparison { grid-template-columns: 1fr; margin-inline: 18px; }
  .example-pane + .example-pane { border-left: none; border-top: 1px solid var(--line); }
  .example-code { padding: 16px 13px; min-height: 120px; max-height: 330px; font-size: 11px; }
  .example-caption { padding-inline: 13px; }
  .example-result-notes { padding-inline: 18px; gap: 8px; }
  .example-actions { padding-inline: 18px; gap: 8px; }
  .example-button { font-size: 10px; padding-inline: 11px; }
  .example-button-primary { width: 100%; }
  .example-status { margin-inline: 18px; font-size: 11px; }
  .example-boundary { padding-inline: 18px; }
  .example-followup { margin-block: 28px; }
  .example-followup > section { padding: 23px 20px; }
  .site-footer { gap: 5px 18px; }
  .site-footer > span, .site-footer nav { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
