:root {
  --ink: #151a1c;
  --muted: #556066;
  --paper: #f4f6f5;
  --surface: #ffffff;
  --line: #d8dedb;
  --cyan: #2f7f87;
  --cyan-dark: #17565d;
  --cyan-soft: #e2f0f0;
  --amber: #ad741b;
  --amber-soft: #f7ecd8;
  --red: #9a4346;
  --red-soft: #f7e7e7;
  --green: #397455;
  --green-soft: #e4f0e8;
  --dark: #182224;
  --shadow: 0 10px 28px rgba(21, 32, 34, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.62; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #e4b24d; outline-offset: 3px; }
.container, .nav, .hero-inner, .footer-inner { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 8px 14px; background: white; }
.skip-link:focus { top: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #344144; background: rgba(24,34,36,.97); backdrop-filter: blur(12px); }
.nav { min-height: 62px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 800; white-space: nowrap; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #87c8cb; color: #9edadd; font: 800 .72rem/1 monospace; }
.nav-links { display: flex; align-items: stretch; align-self: stretch; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; padding: 0 12px; border-bottom: 2px solid transparent; color: #cbd5d3; text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: #70c0c4; color: white; }
.mobile-nav { display: none; position: relative; margin-left: auto; }
.mobile-nav summary { width: 38px; height: 38px; display: grid; place-items: center; list-style: none; border: 1px solid #627276; border-radius: 5px; color: white; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav > div { position: absolute; top: 45px; right: 0; width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: var(--shadow); }
.mobile-nav a { display: block; padding: 9px 11px; color: var(--ink); text-decoration: none; }

.hero { position: relative; min-height: 455px; display: grid; align-items: center; overflow: hidden; background: var(--dark); color: white; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,18,.95) 0%, rgba(10,17,18,.78) 53%, rgba(10,17,18,.24) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 48px 54px; }
.eyebrow { margin: 0 0 11px; color: #7bc5ca; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(2.35rem, 4.2vw, 4.25rem); line-height: 1.06; letter-spacing: 0; }
.hero-copy { max-width: 730px; margin: 18px 0 22px; color: #e1e9e8; font-size: 1.03rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 23px; padding: 0; list-style: none; color: #b9cbc9; font-size: .82rem; }
.hero-meta strong { color: white; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--cyan-dark); border-radius: 5px; background: var(--cyan-dark); color: white; text-decoration: none; font-size: .9rem; font-weight: 760; }
.button:hover { background: #103f44; border-color: #103f44; }
.button.secondary { border-color: #91bfc1; background: rgba(255,255,255,.08); }
.button.secondary:hover { background: rgba(255,255,255,.16); }
.button.ghost { border-color: var(--line); background: white; color: var(--ink); }
.button.ghost:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.hero-actions, .tool-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.status-strip { border-bottom: 1px solid var(--line); background: white; }
.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.status-grid > div { padding: 17px 22px; }
.status-grid > div:first-child { padding-left: 0; }
.status-grid > div + div { border-left: 1px solid var(--line); }
.status-grid strong, .status-grid span { display: block; }
.status-grid strong { font-size: 1.16rem; }
.status-grid span { color: var(--muted); font-size: .76rem; }

.band { padding: 66px 0; }
.band.white { border-block: 1px solid var(--line); background: white; }
.band.tint { background: #eaf1f0; }
.section-heading { max-width: 800px; margin-bottom: 28px; }
.section-heading h2, .content-page h1 { margin: 0 0 10px; font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.15; letter-spacing: 0; }
.section-heading p, .lede { margin: 0; color: var(--muted); font-size: 1.01rem; }
.section-heading .eyebrow, .content-page .eyebrow { color: var(--cyan-dark); }

.triage { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: 22px; align-items: start; }
.tool-panel, .result-panel { border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: var(--shadow); }
.tool-panel { padding: 25px; }
.result-panel { position: sticky; top: 82px; min-height: 270px; padding: 24px; border-top: 3px solid var(--cyan); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-grid label { display: grid; gap: 6px; color: #455055; font-size: .84rem; font-weight: 750; }
.field-grid label:first-child { grid-column: 1 / -1; }
select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #c8d1ce; border-radius: 5px; background: white; color: var(--ink); }
textarea { min-height: 84px; resize: vertical; }
.tool-actions { margin-top: 20px; }
.tool-note { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }
.result-empty { margin: 0; color: var(--muted); }
.match { padding: 14px 0; border-top: 1px solid var(--line); }
.match:first-of-type { border-top: 0; }
.match h3 { margin: 0 0 6px; font-size: 1.02rem; }
.match p { margin: 4px 0; color: var(--muted); font-size: .88rem; }
.match .workaround { color: var(--ink); }
.badge { display: inline-flex; align-items: center; min-height: 23px; margin: 0 6px 7px 0; padding: 3px 8px; border-radius: 4px; font-size: .7rem; font-weight: 820; }
.badge.official { background: var(--green-soft); color: var(--green); }
.badge.community { background: var(--amber-soft); color: #80540f; }
.badge.open { background: var(--red-soft); color: var(--red); }
.badge.version { background: var(--cyan-soft); color: var(--cyan-dark); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; }
.filter-bar button { min-height: 37px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--muted); font-size: .8rem; font-weight: 760; }
.filter-bar button[aria-pressed="true"] { border-color: var(--cyan-dark); background: var(--cyan-dark); color: white; }
.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.issue { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 5px 16px rgba(21,32,34,.05); }
.issue[hidden] { display: none; }
.issue h3 { margin: 0 0 8px; font-size: 1.03rem; line-height: 1.34; overflow-wrap: anywhere; }
.issue p { margin: 7px 0 0; color: var(--muted); font-size: .86rem; }
.issue .workaround { color: var(--ink); }
.issue-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.community-note { max-width: 870px; margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: #5f4b28; }

.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.proof { padding: 19px 0; border-top: 2px solid var(--line); }
.proof:first-child { border-color: var(--cyan); }
.proof:nth-child(2) { border-color: var(--amber); }
.proof:nth-child(3) { border-color: var(--green); }
.proof h3 { margin: 0 0 8px; font-size: 1.08rem; }
.proof p { margin: 0; color: var(--muted); }
.source-list { max-width: 880px; margin: 0; padding-left: 21px; }
.source-list li + li { margin-top: 12px; }
.faq { max-width: 880px; }
.faq details { padding: 17px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 780; }
.faq p { color: var(--muted); }

.content-page { min-height: calc(100svh - 240px); padding: 65px 0 90px; background: white; }
.content-page > .container > header { max-width: 820px; margin-bottom: 38px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .75fr); gap: 60px; align-items: start; }
.article { max-width: 780px; }
.article h2 { margin: 36px 0 10px; font-size: 1.48rem; line-height: 1.3; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 27px 0 8px; font-size: 1.08rem; }
.article p, .article li { color: #445055; }
.source-box { padding: 19px 0; border-top: 3px solid var(--cyan); border-bottom: 1px solid var(--line); }
.source-box h2 { margin: 0 0 8px; font-size: .98rem; }
.source-box ul { margin: 0; padding-left: 18px; }
.source-box li + li { margin-top: 8px; }
.change-table { width: 100%; border-collapse: collapse; }
.change-table th, .change-table td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.change-table th { color: var(--muted); font-size: .8rem; }

.site-footer { padding: 31px 0; border-top: 1px solid #344144; background: var(--dark); color: #d9e2e0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: end; }
.footer-inner p { max-width: 760px; margin: 0; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.footer-links a { color: white; font-size: .84rem; }

@media (max-width: 900px) {
  .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triage, .article-grid { grid-template-columns: 1fr; }
  .result-panel { position: static; }
}
@media (max-width: 700px) {
  .container, .nav, .hero-inner, .footer-inner { width: min(100% - 32px, 1160px); }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 440px; }
  .hero::after { background: rgba(10,17,18,.8); }
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-grid > div { padding: 12px 10px; }
  .status-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .status-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .band { padding: 49px 0; }
  .field-grid, .issue-grid, .proof-grid, .footer-inner { grid-template-columns: 1fr; }
  .field-grid label:first-child { grid-column: auto; }
  .tool-panel, .result-panel { padding: 18px; }
}
@media (max-width: 390px) {
  .hero-actions .button, .tool-actions .button { width: 100%; }
  .status-grid strong { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .hero, .status-strip, .filter-bar, .tool-panel, .site-footer { display: none !important; } .band { padding: 0; } .triage { display: block; } .result-panel { border: 0; box-shadow: none; } }
