:root {
  color-scheme: light;
  --ink: #10182b;
  --body: #43536c;
  --muted: #5d6d83;
  --blue: #0759df;
  --blue-dark: #0344b8;
  --surface: #f1f5fb;
  --line: #d8e2ef;
  --max: 76rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-padding-top: 5.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font-size: 1rem; line-height: 1.55; }
body:has(.lightbox[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a { color: var(--blue-dark); }
button, select { font: inherit; }
button { cursor: pointer; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #155de2; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -0.046em; font-weight: 740; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.45rem); }
p { color: var(--body); }
.section-wrap { width: min(calc(100% - 2 * clamp(1rem, 4.4vw, 3.5rem)), var(--max)); margin-inline: auto; }
.skip { position: fixed; inset: 0.35rem auto auto 0.5rem; z-index: 5; transform: translateY(-150%); padding: 0.7rem 1rem; background: white; border: 1px solid var(--line); border-radius: 0.5rem; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid #dfE7f0; background: rgb(255 255 255 / 94%); backdrop-filter: blur(18px); }
.site-nav, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav { min-height: 4.1rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.12em; color: var(--ink); text-decoration: none; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.067em; line-height: 1; }
.wordmark span { display: grid; width: 0.86em; aspect-ratio: 1; place-content: center; color: white; border-radius: 0.23em; background: var(--blue); font-size: 0.9em; letter-spacing: 0; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: clamp(0.6rem, 2.7vw, 2rem); }
.nav-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; font-size: 0.93rem; font-weight: 650; white-space: nowrap; }
.nav-links a:hover, .text-link:hover, .chapter-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 0.24em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.65rem 1rem; border: 1px solid transparent; border-radius: 0.7rem; font-weight: 650; text-align: center; text-decoration: none; line-height: 1.25; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-dark); }
.secondary { border-color: var(--line); background: white; color: var(--blue-dark); }
.secondary:hover { background: #ebf3ff; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-dark); font-weight: 650; text-decoration: underline; text-decoration-color: #9bb9e8; text-underline-offset: 0.25em; }
.hero { background: radial-gradient(ellipse at 87% 24%, #ecf3ff, transparent 61%), linear-gradient(180deg, #f9fbfe, #eff5fd); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 35rem; display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(1.25rem, 4vw, 3.75rem); align-items: center; padding-block: clamp(2.8rem, 6vw, 5.25rem) clamp(2.1rem, 5vw, 4.4rem); }
.hero-copy h1 { font-size: clamp(2.85rem, 5.2vw, 4.9rem); line-height: 1.02; letter-spacing: -0.049em; text-wrap: balance; }
.hero-copy p { max-width: 28rem; margin-top: 1.35rem; font-size: clamp(1.03rem, 1.8vw, 1.22rem); }
.hero-copy .button { min-height: 3.1rem; margin-top: 1.7rem; padding-inline: 1.2rem; }
.hero-visual { min-width: 0; }
.hero-devices { position: relative; padding-inline-end: 13.5%; padding-block-end: 2%; }
.hero-devices img { height: auto; border: 1px solid #c9d8ed; background: white; box-shadow: 0 20px 52px -21px rgb(8 36 83 / 34%); }
.hero-desktop { width: 100%; aspect-ratio: 1050 / 911; border-radius: clamp(0.65rem, 1.5vw, 1.05rem); }
.hero-devices .hero-mobile { position: absolute; z-index: 1; right: 0; bottom: 0; width: 29%; aspect-ratio: 438 / 911; border-radius: clamp(0.7rem, 1.5vw, 0.95rem); border: max(3px, 0.35vw) solid white; box-shadow: 0 15px 35px -10px rgb(14 47 92 / 35%); }
.hero-visual figcaption { margin-top: 0.9rem; text-align: center; color: var(--muted); font-size: 0.875rem; }
.hero-visual figcaption strong { display: block; margin-bottom: 0.18rem; color: var(--ink); font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.26; text-wrap: balance; }
.use-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 4.4vw, 4.25rem); padding-block: clamp(2.1rem, 5.5vw, 4.25rem); }
.use-cases article + article { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(1.2rem, 4.4vw, 4.25rem); }
.use-cases h2 { font-size: clamp(1.34rem, 2.6vw, 1.77rem); letter-spacing: -0.032em; }
.use-cases p { max-width: 43ch; margin-top: 0.55rem; }
.use-cases .text-link { margin-top: 0.2rem; }
.tour { padding-block: clamp(2.9rem, 6vw, 5.5rem); background: #f4f7fc; border-block: 1px solid var(--line); }
.tour-intro { display: flex; align-items: end; column-gap: 2rem; row-gap: 0.85rem; justify-content: space-between; }
.tour-intro p { max-width: 24rem; }
.chapter-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.chapter-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.8rem; border: 1px solid var(--line); border-radius: 0.63rem; background: white; color: var(--ink); text-decoration: none; font-weight: 620; font-size: 0.94rem; }
.chapter { display: grid; grid-template-columns: minmax(0, 0.79fr) minmax(0, 1.21fr); align-items: center; gap: clamp(1.2rem, 6vw, 6rem); padding-block: clamp(2.4rem, 6.1vw, 5.4rem); border-bottom: 1px solid var(--line); }
.chapter-reverse { grid-template-columns: minmax(0, 1.21fr) minmax(0, 0.79fr); }
.chapter-reverse .chapter-copy { grid-column: 2; grid-row: 1; }
.chapter-reverse .gallery { grid-column: 1; grid-row: 1; }
.chapter-copy h3 { font-size: clamp(1.85rem, 4vw, 3.05rem); }
.chapter-copy p { max-width: 54ch; margin-top: 1rem; }
.gallery { min-width: 0; padding: clamp(0.55rem, 1.55vw, 1rem); border: 1px solid var(--line); border-radius: clamp(0.9rem, 2vw, 1.45rem); background: white; box-shadow: 0 0.85rem 2.5rem -1.85rem rgb(20 52 99 / 24%); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-bottom: 0.63rem; }
.gallery-tabs:empty, [hidden] { display: none !important; }
.gallery-tabs button { min-height: 2.75rem; padding: 0.42rem 0.7rem; border: 1px solid transparent; border-radius: 0.56rem; color: var(--body); background: #edf2fa; font-size: 0.875rem; font-weight: 680; line-height: 1.25; }
.gallery-tabs button[aria-pressed="true"] { color: white; background: var(--blue); }
.gallery-tabs button:not([aria-pressed="true"]):hover { border-color: #90b4ec; color: var(--blue-dark); }
.gallery-stage { display: grid; place-items: center; overflow: clip; height: clamp(16.8rem, 32vw, 28.5rem); padding: clamp(0.38rem, 1.65vw, 1.15rem); border-radius: 0.85rem; background: radial-gradient(ellipse at top, #f1f6ff, #e8eff9); }
.gallery-image-trigger { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-image-trigger:focus-visible { outline: 3px solid #0754d9; outline-offset: -3px; }
.gallery-stage img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.gallery figcaption { min-width: 0; padding: 0.7rem 0.125rem 0.1rem; color: var(--body); font-size: 0.94rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem 0.65rem; flex-wrap: wrap; padding-top: 0.65rem; }
.screen-select { position: relative; display: flex; min-width: 0; max-width: 100%; }
.screen-select::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark); transform: rotate(45deg); position: absolute; right: 0.9rem; top: 1.05rem; pointer-events: none; }
.screen-select select { min-height: 2.75rem; max-width: 100%; padding: 0.42rem 1.95rem 0.42rem 0.75rem; border: 1px solid #bfcfe5; border-radius: 0.55rem; appearance: none; background: white; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.media-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.2rem 0.3rem; }
.media-action { min-height: 2.75rem; padding: 0.35rem 0.45rem; border: 0; border-radius: 0.45rem; color: var(--blue-dark); background: white; font-size: 0.875rem; font-weight: 650; text-decoration: underline; text-decoration-color: #9bb9e8; text-underline-offset: 0.18em; }
.media-action:hover { background: #edf4ff; }
.gallery-pager { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.66rem; padding-top: 0.66rem; border-top: 1px solid var(--line); }
.gallery-pager .button { font-size: 0.875rem; }
.gallery-pager .button:disabled { color: #627088; background: #f1f4fa; cursor: default; }
.gallery-pager span { color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.overview { margin-top: 2rem; border: 1px solid var(--line); border-radius: 0.9rem; background: white; }
.overview summary { cursor: pointer; padding: 0.85rem 1.1rem; font-weight: 670; }
.overview .gallery { width: min(calc(100% - 1rem), 52rem); margin: 0 auto 0.6rem; box-shadow: none; }
.developer { padding-block: clamp(3.5rem, 7.7vw, 6.5rem); }
.dev-intro > p { margin-top: 0.95rem; font-size: 1.125rem; }
.contact-callout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-block: 0 clamp(2.2rem, 6vw, 4.5rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.contact-callout h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.contact-callout p { margin-top: 0.45rem; }
.contact-actions, .footer-links { display: flex; flex-wrap: wrap; gap: 0.58rem 1rem; }
.site-footer { padding-block: 1.55rem; background: #f4f7fc; border-top: 1px solid var(--line); }
.footer-inner { align-items: start; flex-wrap: wrap; }
.footer-brand { display: grid; gap: 0.4rem; }
.footer-brand .wordmark { width: max-content; margin-bottom: 0.1rem; }
.footer-brand p, .footer-links { font-size: 0.875rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-dark); text-underline-offset: 0.22em; }
.lightbox { width: min(calc(100% - 1rem), 74rem); max-width: none; max-height: calc(100% - 1rem); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); background: white; box-shadow: 0 20px 110px #111b3355; }
.lightbox::backdrop { background: rgb(13 28 54 / 77%); }
.lightbox-inner { display: grid; gap: 0.55rem; padding: clamp(0.55rem, 1.5vw, 1.3rem); }
.lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 0.45rem 0.85rem; flex-wrap: wrap; }
.lightbox-header h2 { font-size: clamp(1.13rem, 2.5vw, 1.5rem); }
.lightbox-header > div { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.lightbox-header .button { padding-inline: 0.7rem; font-size: 0.875rem; }
.lightbox-view { overflow: auto; max-height: 70dvh; border-radius: 0.6rem; background: #edf3fc; overscroll-behavior: contain; }
.lightbox-view img { width: auto; height: auto; max-width: 100%; max-height: 69dvh; margin-inline: auto; }
.lightbox-view.zoomed img { width: 180%; max-width: none; max-height: none; margin: 0; }
.lightbox-caption { color: var(--body); font-size: 0.94rem; }
@media (max-width: 800px) {
  .hero-grid { min-height: auto; }
  .chapter { gap: 1.6rem; }
  .gallery-stage { height: clamp(15rem, 34vw, 23rem); }
}
@media (max-width: 660px) {
  .hero-grid, .chapter, .chapter-reverse { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.8rem; }
  .hero-visual { width: min(100%, 35rem); margin: auto; }
  .hero-copy h1 { font-size: clamp(2.2rem, 9.3vw, 4.2rem); }
  .hero-copy p { margin-top: 0.92rem; }
  .hero-copy .button { margin-top: 1.15rem; }
  .hero-visual figcaption { margin-top: 0.65rem; }
  .chapter-reverse .chapter-copy, .chapter-reverse .gallery { grid-area: auto; }
  .tour-intro { display: block; }
  .tour-intro p { margin-top: 0.7rem; }
  .gallery-stage { height: clamp(17.1rem, 69vw, 25rem); }
}
@media (max-width: 440px) {
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.875rem; }
  .use-cases { grid-template-columns: 1fr; }
  .use-cases article + article { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; padding-top: 1.1rem; }
  .gallery-controls { align-items: start; }
}
@media (prefers-reduced-motion: no-preference) {
  a[href^="#"], button { transition: background-color 150ms ease, color 150ms ease; }
}
.developer {
  scroll-margin-top: 6rem;
}

.dev-intro {
  max-width: 45rem;
}

.dev-intro > p {
  max-width: 43rem;
}

.developer-panel {
  margin-top: 2rem;
  overflow: clip;
  border: 1px solid #d7e1ef;
  border-radius: 1.625rem;
  background: #fff;
  box-shadow: 0 16px 44px rgb(18 49 92 / 7%);
}

.dev-summary {
  display: grid;
  min-height: 5.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 3.6vw, 2rem);
  cursor: pointer;
  list-style: none;
}

.dev-summary::-webkit-details-marker {
  display: none;
}

.dev-summary:focus-visible {
  outline: 3px solid #095be8;
  outline-offset: -4px;
  border-radius: 1.5rem;
}

.dev-summary-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
}

.dev-summary-text > span {
  display: block;
  margin-top: 0.3rem;
  color: #465872;
  font-size: 0.875rem;
  font-weight: 500;
}

.dev-disclosure {
  position: relative;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  background: #e9f1ff;
  color: #095be8;
}

.dev-disclosure::before,
.dev-disclosure::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1rem;
  height: 2px;
  border-radius: 1rem;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.dev-disclosure::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.developer-panel[open] .dev-disclosure::after {
  display: none;
}

.dev-content {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid #d7e1ef;
}

.dev-content h3,
.dev-content h4 {
  margin: 0;
  line-height: 1.2;
}

.dev-content h3 {
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.dev-content h4 {
  font-size: 1.125rem;
}

.dev-content p {
  max-width: 75ch;
  margin: 0.6rem 0 0;
  color: #465872;
}

.dev-flow,
.dev-notes,
.dev-deployments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
}

.dev-flow {
  list-style: none;
  counter-reset: developer-steps;
}

.dev-flow li,
.dev-notes article,
.dev-deployments article {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dce6f3;
  border-radius: 1rem;
  background: #f4f8ff;
}

.dev-flow li {
  counter-increment: developer-steps;
}

.dev-flow li::before {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: #e2eeff;
  color: #0947a7;
  content: counter(developer-steps);
  font-size: 0.875rem;
  font-weight: 750;
}

.dev-flow li > strong {
  display: block;
  color: #0d1931;
  font-size: 1.05rem;
}

.dev-flow li > span {
  display: block;
  margin-top: 0.4rem;
  color: #465872;
}

.dev-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
}

.dev-standards a {
  color: #094fbf;
  text-underline-offset: 0.18em;
}

.dev-settings { margin: 1rem 0; padding: 0.2rem 1rem; border: 1px solid #dce6f3; border-radius: 0.8rem; background: #f4f8ff; }
.dev-settings > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; gap: 0.2rem 0.8rem; padding-block: 0.58rem; }
.dev-settings > div + div { border-top: 1px solid #dce6f3; }
.dev-settings dt { font-weight: 660; }
.dev-settings dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.dev-settings code { color: #224a87; font-size: 0.88rem; }
@media (max-width: 660px) { .dev-settings > div { grid-template-columns: minmax(0, 1fr); } }

.dev-jump { margin-top: 0.85rem; }
.dev-jump a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.dev-intro + .developer-panel { margin-top: 1.15rem; }
.developer-panel + .developer-panel { margin-top: 1rem; }
.proof-references { margin-top: 0.85rem; }
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.85rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
.standard-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.65rem 1.5rem -1.05rem rgb(18 49 92 / 25%);
}
.standard-card:hover, .standard-card:has(.standard-entry[open]) { border-color: #a5bde3; }
.standard-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  height: clamp(4.7rem, 9.3vw, 6.75rem);
  padding: 0.65rem 0.7rem 0;
}
.standard-art { display: grid; place-items: center; width: min(100%, 12rem); height: 100%; border-radius: 0.4rem; }
.standard-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(3.15rem, 6vw, 4.55rem);
  object-fit: contain;
}
.standard-art.ietf-art img { max-height: clamp(2.75rem, 5vw, 3.95rem); }
.standard-art.eu-art img { max-height: clamp(2.6rem, 4.8vw, 3.6rem); }
.standard-symbol {
  width: clamp(2.8rem, 5.4vw, 3.9rem);
  height: auto;
  fill: none;
  stroke: #0c51b7;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.standard-entry summary {
  position: relative;
  min-height: 4.2rem;
  padding: 0.25rem 0.55rem 1.25rem;
  list-style: none;
  cursor: pointer;
  text-align: center;
  border-radius: 0 0 1rem 1rem;
}
.standard-entry summary::-webkit-details-marker { display: none; }
.standard-entry summary:focus-visible { outline-offset: -3px; }
.standard-entry summary::after {
  position: absolute;
  bottom: 0.64rem;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #4c6891;
  border-bottom: 2px solid #4c6891;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.standard-entry[open] summary::after { transform: translateX(-50%) rotate(225deg); }
.standard-entry summary h4 { font-size: clamp(0.89rem, 1.55vw, 1.04rem); line-height: 1.2; overflow-wrap: anywhere; }
.standard-description { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.55rem; padding: 0.8rem; border-top: 1px solid var(--line); background: #f8faff; border-radius: 0 0 1rem 1rem; overflow-wrap: anywhere; }
.standard-description p { margin: 0; font-size: 0.92rem; }
.standard-description a { font-size: 0.9rem; font-weight: 650; text-underline-offset: 0.2em; }
.standard-links { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.dev-content .standards-credit { margin-top: 0.9rem; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 900px) { .standards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; } }
