:root {
  color-scheme: light;
  --ink: #282530;
  --muted: #575260;
  --red: #b81922;
  --pale: #f3f1f5;
  --green: #236346;
  --green-pale: #e9f4ed;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.45 Arial, Helvetica, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #645a83; outline-offset: 4px; }
p, dl { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.site-width { width: min(1100px, calc(100% - 32px)); margin-inline: auto; }
main { margin-top: 8px; }
.site-header { padding-top: 8px; }
.site-footer { margin-top: 14px; }
.site-header iframe, .site-footer iframe { display: block; margin-inline: auto; border: 0; }
.compact-navigation { display: none; }
.skip-link { position: fixed; z-index: 1; inset: 12px auto auto 12px; transform: translateY(-150%); background: #fff; padding: 8px 14px; }
.skip-link:focus { transform: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; background: #423d51; color: #fff; }
.hero-copy { align-self: center; padding: 22px 30px; }
.hero h1 { margin-bottom: 7px; font-size: 38px; letter-spacing: -.035em; }
.hero p { max-width: 76ch; color: #f0edf4; }
.hero .hero-lead { margin-bottom: 5px; font-size: 18px; font-weight: 700; }
.hero-art { display: grid; place-items: center; min-width: 0; padding: 16px; background: #eeecf2; }
.hero-art img { display: block; width: 140px; max-width: 100%; height: auto; }

.release-status { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 8px; padding: 6px 12px; border-left: 4px solid var(--green); background: var(--green-pale); color: var(--green); font-size: 14px; }
.release-status strong { display: inline-flex; align-items: center; gap: 8px; }
.release-status strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.access-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; margin-top: 10px; }
.card { min-width: 0; padding: 18px 22px; background: var(--pale); }
.installer-card { background: #f7f6f8; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.card-heading h2 { font-size: 22px; letter-spacing: -.025em; }
.badge { padding: 4px 8px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.private-badge { color: #50495f; background: #e6e2ec; }
.release-metadata { display: grid; grid-template-columns: repeat(4, auto); gap: 12px; margin-top: 12px; }
.release-metadata dt { color: var(--muted); font-size: 13px; }
.release-metadata dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 13px; }
.text-link { color: var(--muted); font-size: 13px; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 10px; padding: 7px 14px; border: 1px solid transparent; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.button-primary { background: #25805b; color: #fff; }
.button-primary:hover { background: #1d6849; }
.release-note { margin-top: 10px; color: var(--muted); font-size: 13px; }
.account-card p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.showcase-layout { min-height: var(--showcase-grid-height, 243.671875px); }
.card.showcase-card { position: relative; padding: 0; background: #e9edf1; }
.showcase-link { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.showcase-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.showcase-gallery {
  position: fixed;
  inset: 0;
  width: min(1680px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #acb9c7;
  border-radius: 10px;
  background: #f8fafc;
  color: #172333;
  box-shadow: 0 18px 56px #100f1b55;
}
.showcase-gallery[open] { display: flex; flex-direction: column; }
.showcase-gallery::backdrop { background: #151522d9; }
html:has(.showcase-gallery[open]) { overflow: hidden; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 12px; border-bottom: 1px solid #c8d0db; }
.gallery-toolbar h2 { font-size: clamp(15px, 4vw, 19px); }
.gallery-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.gallery-controls button { min-height: 44px; padding: 4px 12px; border: 1px solid #acb9c7; border-radius: 5px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.gallery-controls button:hover { background: #eef1f5; }
.gallery-controls button[aria-pressed="true"] { background: #30475b; border-color: #30475b; color: #fff; }
.gallery-controls .gallery-close { min-width: 44px; font-size: 24px; line-height: 1; }
.gallery-viewport { min-height: 0; overflow: auto; overscroll-behavior: contain; background: #e9edf1; }
.gallery-viewport img { display: block; width: 100%; height: auto; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); object-fit: contain; }
.showcase-gallery.is-zoomed .gallery-viewport img { width: 1920px; max-height: none; }

.scope { margin-top: 14px; }
.scope h2 { margin-bottom: 8px; font-size: 18px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scope-grid article { padding: 13px 15px; background: #f7f6f8; }
.scope-grid h3 { margin-bottom: 5px; font-size: 15px; }
.scope-grid p { color: var(--muted); font-size: 14px; }
.service-details { margin-top: 10px; padding: 11px 15px; background: #f7f6f8; font-size: 13px; }
.service-details summary { cursor: pointer; font-weight: 700; }
.service-details summary:focus-visible { outline: 3px solid #645a83; outline-offset: 4px; }
.service-details .scope-grid { margin-top: 8px; }
.service-details article { padding-inline: 0; }

@media (min-width: 1121px) and (max-height: 800px) {
  .hero-copy { padding-block: 15px; }
  .hero-art { padding-block: 8px; }
  .hero-art img { width: 120px; }
  .card { padding-block: 13px; }
  .showcase-layout { --showcase-grid-height: 233.671875px; }
  .scope { margin-top: 10px; }
  .scope-grid article { padding-block: 10px; }
  .site-footer { margin-top: 8px; }
}

@media (max-width: 1120px) {
  .site-header iframe, .site-footer iframe { display: none; }
  .compact-navigation { display: block; padding: 10px 0 14px; }
  .compact-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
  .compact-brand img { width: 82px; height: auto; }
  .compact-brand small { display: block; color: var(--muted); }
  .compact-navigation nav { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 5px; font-size: 13px; }
  .compact-navigation nav a { padding-block: 3px; text-decoration: none; }
  .compact-navigation nav a:hover, .compact-navigation nav [aria-current] { color: var(--red); }
  .site-footer .compact-navigation small { display: block; margin-top: 8px; color: var(--muted); }
}
@media (max-width: 860px) {
  .access-grid { grid-template-columns: 1fr; }
  .showcase-layout { grid-template-rows: auto minmax(112px, 1fr); }
  .scope-grid { gap: 8px; }
}
@media (max-width: 620px) {
  .hero { grid-template-columns: minmax(0, 1fr) 100px; }
  .hero-copy { padding: 20px; }
  .hero h1 { font-size: 30px; }
  .hero .hero-lead { font-size: 16px; }
  .hero-art { padding: 10px; }
  .release-metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-grid { grid-template-columns: 1fr; }
  .card { padding: 18px; }
}
@media (max-width: 420px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
}

/* Match the previous download-area height as the columns stack and run through
   the old copy's wrapping widths. min-height lets larger text still expand. */
@media (min-width: 1011px) and (max-width: 1120px) {
  .showcase-layout .installer-card { padding-block: 15px; }
  .showcase-layout .release-note { margin-top: 6px; }
}
@media (max-width: 1010px) { :root { --showcase-grid-height: 263.96875px; } }
@media (max-width: 946px) { :root { --showcase-grid-height: 295.90625px; } }
@media (max-width: 860px) { :root { --showcase-grid-height: 370.3125px; } }
@media (max-width: 826px) { :root { --showcase-grid-height: 390.609375px; } }
@media (max-width: 802px) { :root { --showcase-grid-height: 410.90625px; } }
@media (max-width: 787px) { :root { --showcase-grid-height: 429.75px; } }
@media (max-width: 620px) { :root { --showcase-grid-height: 483.890625px; } }
@media (max-width: 576px) { :root { --showcase-grid-height: 504.1875px; } }
@media (max-width: 538px) { :root { --showcase-grid-height: 523.03125px; } }
@media (max-width: 450px) { :root { --showcase-grid-height: 543.328125px; } }
@media (max-width: 442px) { :root { --showcase-grid-height: 563.625px; } }
@media (max-width: 436px) { :root { --showcase-grid-height: 582.46875px; } }
@media (max-width: 421px) { :root { --showcase-grid-height: 614.40625px; } }
@media (max-width: 381px) { :root { --showcase-grid-height: 634.703125px; } }
@media (max-width: 368px) { :root { --showcase-grid-height: 653.546875px; } }
@media (max-width: 366px) { :root { --showcase-grid-height: 704.6875px; } }
@media (max-width: 357px) { :root { --showcase-grid-height: 736.625px; } }
@media (max-width: 325px) { :root { --showcase-grid-height: 756.921875px; } }
@media (max-width: 324px) { :root { --showcase-grid-height: 777.21875px; } }

@media (min-width: 1121px) and (min-height: 950px) {
  .fit-page {
    display: grid;
    min-height: min(100vh, 1080px);
    min-height: min(100svh, 1080px);
    grid-template-rows: auto minmax(min-content, 1fr) auto;
  }
  .fit-page > main {
    display: grid;
    grid-template-rows: minmax(193px, max-content) minmax(min-content, 1.35fr) minmax(min-content, 1fr);
    gap: 14px;
    margin-top: 8px;
  }
  .fit-page > main > * { margin-top: 0; }
  .fit-page > .site-footer { margin-top: 16px; padding-bottom: 24px; }
  .fit-page .hero-copy { padding-block: 15px; }
  .fit-page .hero p { max-width: none; }
  .fit-page .hero-art img { width: min(100%, 144px); }
  .fit-page .product-actions, .fit-page .scope {
    display: grid;
    grid-template-rows: auto minmax(min-content, 1fr);
  }
  .fit-page .product-actions { gap: 10px; }
  .fit-page :is(.release-status, .access-grid) { margin-top: 0; }
}
