:root {
  --ink: #0d253d;
  --ink-soft: #263d51;
  --paper: #f5f8f9;
  --white: #fff;
  --line: #d8e2e6;
  --muted: #607181;
  --orange: #f5a623;
  --orange-deep: #b96b00;
  --blue: #087f88;
  --cyan: #12a6ad;
  --green: #238a67;
  --shadow: 0 18px 54px rgba(13, 37, 61, .11);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; color: var(--white); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; box-shadow: 0 5px 22px rgba(13,37,61,.08); }
.identitybar { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.identitybar .shell, .sectionbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.identitybar .shell { min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: block; object-fit: contain; flex: 0 0 auto; }
.brand-copy { min-width: 0; line-height: 1.12; }
.brand-copy strong { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.brand-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.ecosystem-nav, .section-nav { display: flex; align-items: center; font-size: .9rem; font-weight: 750; }
.ecosystem-nav { gap: 8px; }
.ecosystem-nav a { padding: 8px 11px; border-radius: 9px; color: var(--ink-soft); text-decoration: none; }
.ecosystem-nav a:hover { background: var(--paper); }
.ecosystem-nav a:last-child { color: var(--white); background: var(--blue); }
.sectionbar { color: var(--white); background: var(--ink); }
.sectionbar .shell { min-height: 48px; }
.section-nav { gap: 26px; }
.section-nav a { color: #eaf2f5; text-decoration: none; }
.section-nav a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.language-picker { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.language-picker::after { content: "⌄"; position: absolute; right: 2px; top: 50%; color: #c8d7df; pointer-events: none; transform: translateY(-58%); }
.language-picker select { min-height: 42px; padding: 6px 23px 6px 8px; border: 0; border-radius: 0; appearance: none; color: var(--white); background: transparent; font: inherit; font-size: .86rem; font-weight: 750; cursor: pointer; }
.language-picker option { color: var(--ink); background: var(--white); }
.hero { padding: 82px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 54px; align-items: end; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 18px; color: var(--orange-deep); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 4px; background: var(--orange); }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .95; letter-spacing: -.075em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-note { position: relative; padding: 28px; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.hero-note::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--orange), var(--cyan), var(--blue)); }
.hero-note strong { display: block; margin-bottom: 8px; font-size: 1.25rem; }
.hero-note p { margin: 0; color: #cfd8ea; }
.hero-note a { color: #fff; font-weight: 800; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 62px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.metric { padding: 22px 26px; background: var(--white); }
.metric b { display: block; font-size: 1.55rem; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: .9rem; }
section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(2.15rem, 4.5vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.section-head p { max-width: 500px; margin: 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { appearance: none; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--white); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.filter[aria-pressed="true"] { border-color: var(--ink); color: var(--white); background: var(--ink); }
.status-guide { display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: center; margin: 0 0 34px; padding: 20px 22px; border: 1px solid #c8dde0; border-radius: 16px; background: #edf7f7; }
.status-guide strong { font-size: .92rem; }
.status-guide p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.catalogue-group { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.catalogue-group + .catalogue-group { margin-top: 34px; }
.catalogue-group.published { border-top: 6px solid var(--green); }
.catalogue-group.development { border-top: 6px solid var(--orange); background: #fffdfa; }
.catalogue-group-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.catalogue-group-head h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.05; letter-spacing: -.04em; }
.catalogue-group-head p { max-width: 530px; margin: 0; color: var(--muted); }
.group-label { display: block; margin-bottom: 7px; color: var(--green); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.development .group-label { color: var(--orange-deep); }
.catalogue { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card { grid-column: span 6; min-height: 410px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(17,27,50,.04); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.featured { grid-column: span 7; }
.card.compact { grid-column: span 5; }
.card.third { grid-column: span 4; min-height: 440px; }
.card.upcoming { grid-column: span 6; border-style: dashed; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plugin-icon { width: 62px; height: 62px; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 8px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: .75rem; font-weight: 900; white-space: nowrap; background: #eef1f8; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.status.stable::before { background: var(--green); }
.status.beta::before { background: var(--orange-deep); }
.status.development::before { background: var(--orange-deep); }
.card h3 { margin: 28px 0 5px; font-size: 1.65rem; line-height: 1.08; letter-spacing: -.035em; }
.component { color: var(--blue); font: 700 .83rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.card > p { margin: 18px 0 22px; color: var(--ink-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 20px; padding: 0; list-style: none; }
.facts li { padding: 6px 10px; border-radius: 8px; color: var(--muted); background: var(--paper); font-size: .78rem; font-weight: 800; }
.card-link { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: var(--ink); font-weight: 900; text-decoration: none; }
.card-link::after { content: "↗"; color: var(--orange-deep); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.availability-note { margin-top: auto; padding: 14px 16px; border-radius: 12px; color: #704900; background: #fff3d6; font-size: .86rem; }
.availability-note strong { display: block; color: #5d3b00; }
.guide-link { margin-top: 14px; }
[hidden] { display: none !important; }
.documentation { background: #eaf4f5; }
.documentation .section-head { align-items: start; }
.doc-intro { display: grid; grid-template-columns: .78fr 1.22fr; gap: 24px; margin-bottom: 28px; }
.doc-note, .choice-table-wrap { border: 1px solid #c8dde0; border-radius: var(--radius); background: var(--white); }
.doc-note { padding: 28px; }
.doc-note .eyebrow { margin-bottom: 12px; }
.doc-note h3 { margin: 0 0 12px; font-size: 1.55rem; line-height: 1.12; letter-spacing: -.035em; }
.doc-note p { margin: 0; color: var(--ink-soft); }
.choice-table-wrap { overflow-x: auto; }
.choice-table { width: 100%; border-collapse: collapse; min-width: 690px; }
.choice-table th, .choice-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.choice-table tr:last-child th, .choice-table tr:last-child td { border-bottom: 0; }
.choice-table thead th { color: var(--muted); background: #f5fafb; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.choice-table tbody th { width: 22%; }
.choice-table td { color: var(--ink-soft); font-size: .9rem; }
.yes { color: var(--green); font-weight: 900; }
.no { color: var(--muted); font-weight: 800; }
.guides { display: grid; gap: 16px; }
.plugin-guide { overflow: hidden; border: 1px solid #c8dde0; border-radius: 20px; background: var(--white); }
.plugin-guide summary { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; cursor: pointer; list-style: none; }
.plugin-guide summary::-webkit-details-marker { display: none; }
.plugin-guide summary::after { content: "+"; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 1.3rem; font-weight: 700; }
.plugin-guide[open] summary::after { content: "−"; }
.plugin-guide[open] summary { border-bottom: 1px solid var(--line); }
.guide-title strong { display: block; font-size: 1.16rem; }
.guide-title span { color: var(--muted); font-size: .86rem; }
.guide-body { padding: 26px 28px 30px; }
.guide-body-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; }
.guide-body h4 { margin: 0 0 15px; font-size: 1.15rem; }
.steps { margin: 0; padding-left: 1.3rem; }
.steps li { padding: 0 0 12px 7px; color: var(--ink-soft); }
.steps li:last-child { padding-bottom: 0; }
.guide-aside { padding: 20px; border-radius: 16px; background: var(--paper); }
.guide-aside p { margin: 0 0 14px; color: var(--ink-soft); font-size: .9rem; }
.guide-aside p:last-of-type { margin-bottom: 18px; }
.guide-aside strong { color: var(--ink); }
.resource-links { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-links a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: .78rem; font-weight: 850; text-decoration: none; }
.documentation-contract { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.contract-item { padding: 18px; border: 1px solid #c8dde0; border-radius: 15px; background: rgba(255,255,255,.78); }
.contract-item b { display: block; margin-bottom: 7px; font-size: .9rem; }
.contract-item span { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.standards { color: var(--white); background: var(--ink); }
.standards .section-head p { color: #bdc8dc; }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: standard; }
.standard { position: relative; min-height: 235px; padding: 24px; border: 1px solid #274963; border-radius: 18px; background: #14334c; counter-increment: standard; }
.standard::before { content: "0" counter(standard); display: block; margin-bottom: 42px; color: var(--orange); font: 800 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.standard h3 { margin: 0 0 9px; font-size: 1.12rem; }
.standard p { margin: 0; color: #bdc8dc; font-size: .91rem; }
.standards-source { margin: 28px 0 0; color: #bdc8dc; font-size: .88rem; }
.standards-source a { color: #fff; text-underline-offset: 4px; }
.release-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; }
.release-intro, .checklist { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.release-intro h2 { font-size: 2.6rem; }
.release-intro p { color: var(--muted); }
.checklist { margin: 0; list-style: none; }
.checklist li { position: relative; padding: 18px 16px 18px 50px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.checklist li:last-child { border: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 10px; top: 17px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: .78rem; font-weight: 900; }
.checklist li.pending::before { content: "→"; background: var(--orange-deep); }
footer { padding: 36px 0; border-top: 1px solid var(--line); }
footer .shell { display: flex; justify-content: space-between; gap: 28px; color: var(--muted); font-size: .88rem; }
footer p { margin: 0; }
@media (max-width: 900px) {
  .hero-grid, .release-grid, .doc-intro, .guide-body-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 620px; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .documentation-contract { grid-template-columns: repeat(2, 1fr); }
  .catalogue-group-head { display: block; }
  .catalogue-group-head p { margin-top: 12px; }
  .card, .card.featured, .card.compact, .card.third, .card.upcoming { grid-column: span 12; min-height: 0; }
  .section-nav { gap: 18px; }
}
@media (max-width: 700px) {
  .identitybar .shell { min-height: 64px; }
  .ecosystem-nav a { padding-inline: 8px; }
  .section-nav a[href="#standards"], .section-nav a[href="#publication"] { display: none; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1180px); }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy small { font-size: .59rem; }
  .ecosystem-nav { gap: 2px; }
  .ecosystem-nav a { padding-inline: 6px; font-size: .78rem; }
  .sectionbar .shell { min-height: 46px; }
  .section-nav { gap: 16px; }
  .section-nav a { font-size: .82rem; }
  .language-picker select { font-size: .8rem; }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .metrics { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .status-guide { grid-template-columns: 1fr; gap: 6px; }
  .catalogue-group { padding: 20px; }
  .standards-grid { grid-template-columns: 1fr; }
  .plugin-guide summary { grid-template-columns: auto 1fr auto; padding: 18px; }
  .plugin-guide summary .plugin-icon { width: 50px; height: 50px; }
  .guide-body { padding: 22px 20px 24px; }
  .documentation-contract { grid-template-columns: 1fr; }
  .standard { min-height: 0; }
  footer .shell { display: block; }
  footer p + p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
