
:root {
  --ink: #00053d;
  --blue: #0b5cff;
  --blue-light: #f3f8ff;
  --lavender: #dcd6ff;
  --line: #dfe3ec;
  --muted: #5c607d;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  /* The prototype read this from a Next.js font variable that was never
     populated, so the browser fell back to Tailwind preflight's system stack.
     There is no preflight here, and an undefined var() would invalidate the
     whole declaration and drop the page to the default serif — so the stack is
     spelled out. --font-sans is still honoured if something defines it. */
  font-family: var(--font-sans, ui-sans-serif), system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* Also from preflight: without it the licensing icons and inline glyphs sit on
   the text baseline and pick up descender space, misaligning their rows. */
img, svg { display: block; max-width: 100%; }
/* Holds the <symbol> definitions the icons reference. Taken out of flow rather
   than display:none, which in some engines stops <use> from resolving. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--blue); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 16px; }
.brand img, .footer-brand img { width: 94px; height: auto; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,.45); }
.liminal-wordmark { font-size: 13px; letter-spacing: .22em; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav a { transition: opacity .18s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: .7; outline: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background:
    radial-gradient(circle at 78% 50%, rgba(30,86,255,.18), transparent 36%),
    linear-gradient(118deg, #00042f 0%, #030848 58%, #00042f 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(to bottom right, transparent 49.4%, #fff 50%);
  pointer-events: none;
}
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr);
  gap: 52px;
  align-items: center;
}
.eyebrow { margin: 0 0 22px; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 630px; margin: 0; font-size: clamp(55px, 6.1vw, 80px); line-height: .98; letter-spacing: -.052em; font-weight: 600; }
.hero-copy { max-width: 560px; margin: 28px 0 32px; color: #dfe4ff; font-size: 18px; line-height: 1.55; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); background: var(--blue-light); outline: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.access-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 14px 20px; border-radius: 12px; background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 650; transition: transform .18s ease, background .18s ease;
}
.access-button:hover, .access-button:focus-visible { transform: translateY(-2px); background: #064dcc; outline: none; }
.hero-carousel { position: relative; min-width: 0; height: 375px; }
.hero-art {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0,0,25,.38);
}
.hero-art img { display: block; width: 100%; height: 375px; object-fit: cover; object-position: left center; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility .5s ease; }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.carousel-controls { position: absolute; z-index: 2; bottom: 18px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.carousel-dot { width: 26px; height: 7px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.48); cursor: pointer; }
.carousel-dot.is-active, .carousel-dot:hover, .carousel-dot:focus-visible { background: #fff; outline: 2px solid transparent; }
.app-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.intro-section { width: min(1180px, calc(100% - 48px)); margin: 60px auto 76px; display: grid; grid-template-columns: .7fr 1.25fr 1.15fr; gap: 38px; align-items: start; }
.intro-section .eyebrow { margin: 12px 0 0; }
.intro-section h2 { margin: 0; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.intro-copy p { margin: 4px 0 20px; color: var(--muted); line-height: 1.65; }
.broadcast-link { color: var(--blue); font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.broadcast-link:hover, .broadcast-link:focus-visible { color: #064dcc; }

.notice {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 66px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d7e3ff;
  border-radius: 14px;
  background: var(--blue-light);
}
.notice-mark { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; font-family: Georgia, serif; }
.notice p { margin: 0; color: #34395e; font-size: 14px; line-height: 1.5; }

.apps-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto 130px; }
.eyebrow-blue { color: var(--blue); margin-bottom: 16px; }
.licensing-intro h2 { margin: 0; font-size: clamp(40px, 4.5vw, 60px); line-height: 1.03; letter-spacing: -.045em; font-weight: 600; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,5,61,.055);
}
.app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--card-accent, var(--blue)); }
.accent-zoomiso,
.accent-zoomiso-cloud { --card-accent: #69bd45; }
.accent-tiles { --card-accent: #7b42dc; }
.accent-graphics-toolkit { --card-accent: #f07a2a; }
.accent-zoomosc { --card-accent: #f5c940; }
.app-summary { display: flex; gap: 20px; align-items: center; }
.app-icon { width: 86px; height: 86px; flex: 0 0 auto; }
.platform { margin: 0 0 10px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.app-summary h2 { margin: 0; font-size: 31px; line-height: 1.05; letter-spacing: -.035em; }
.app-description { min-height: 74px; margin: 24px 0 22px; color: var(--muted); line-height: 1.58; }
.learn-more { display: inline; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.learn-more:hover, .learn-more:focus-visible { color: #064dcc; outline: none; }
.marketplace-link {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  border: 1px solid #c9d8ff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  order: 3;
  transition: transform .18s ease, background .18s ease;
}
.marketplace-link svg:last-child { justify-self: end; opacity: .74; }
.marketplace-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.marketplace-link:hover, .marketplace-link:focus-visible { transform: translateY(-2px); background: var(--blue-light); outline: none; }
.resource-list { display: flex; flex-direction: column; order: 2; }
.resource-list a,
.resource-list > button {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 51px;
  padding: 0 16px;
  border: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.resource-list a:last-child,
.resource-list > button:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 14px 14px; }
.resource-list a:hover, .resource-list a:focus-visible,
.resource-list > button:hover, .resource-list > button:focus-visible { background: var(--blue-light); color: var(--blue); outline: 0; }
.resource-icon { width: 20px; height: 20px; display: grid; place-items: center; color: var(--blue); }
.resource-arrow { justify-self: end; color: #888da5; }
.resource-list > a:first-child, .resource-list .resource-download:first-child {
  margin-bottom: 12px; border: 0; border-radius: 14px; background: var(--blue); color: #fff;
  box-shadow: 0 9px 20px rgba(11,92,255,.18);
}
.resource-list > a:first-child .resource-icon, .resource-list > a:first-child .resource-arrow,
.resource-list .resource-download:first-child .resource-icon, .resource-list .resource-download:first-child .resource-arrow { color: #fff; }
.resource-list > a:first-child:hover, .resource-list > a:first-child:focus-visible,
.resource-list .resource-download:first-child:hover, .resource-list .resource-download:first-child:focus-within { background: #064dcc; color: #fff; }
.resource-list > :nth-child(2) { border-radius: 14px 14px 0 0; }
.resource-list .resource-download {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 20px;
  grid-template-areas: "icon label platform arrow";
  gap: 12px;
  align-items: center;
  min-height: 51px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.resource-list .resource-download a {
  display: contents;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
}
.resource-download .resource-icon { grid-area: icon; }
.resource-download .download-label { grid-area: label; }
.resource-download .platform-select { grid-area: platform; }
.resource-download .download-platform { grid-area: platform; display: inline-flex; align-items: center; gap: 6px; min-width: 120px; padding-left: 12px; color: #a9cfff; font-size: 14px; line-height: 18px; }
.resource-download .download-version { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.16); color: #fff; font-size: 12px; font-weight: 650; line-height: 16px; letter-spacing: .01em; vertical-align: 1px; white-space: nowrap; }
.resource-download .resource-arrow { grid-area: arrow; }
.resource-list .resource-download:hover,
.resource-list .resource-download:focus-within { background: var(--blue-light); color: var(--blue); }
.resource-list .resource-download:first-child:hover,
.resource-list .resource-download:first-child:focus-within { background: #064dcc; color: #fff; }
/* Prism Select, medium outlined: 32px field, input border, 8px radius,
   shadow.md menu. Text and the selected tint use this page's blue. */
.platform-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 32px;
  min-width: 120px;
  padding: 0 8px 0 12px;
  white-space: nowrap;
  border: 1px solid #c1c6ce;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.resource-list .platform-select-trigger { display: inline-flex; width: auto; min-height: 32px; padding: 0 8px 0 12px; border: 1px solid #c1c6ce; background: #fff; color: var(--ink); }
.platform-select-trigger:hover { border-color: #939ba4; }
.platform-select-trigger:active { background: rgba(110, 118, 128, .12); }
.platform-select.is-open .platform-select-trigger,
.platform-select-trigger:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  outline: none;
}
.platform-select-current { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.platform-os { flex: 0 0 auto; width: 18px; height: 18px; fill: currentColor; }
.platform-select[data-value="mac"] .platform-select-trigger .platform-os-windows,
.platform-select[data-value="windows"] .platform-select-trigger .platform-os-mac { display: none; }
.platform-select-chevron {
  flex: 0 0 auto;
  color: #555b62;
  transition: transform .15s ease;
}
.platform-select.is-open .platform-select-chevron { transform: rotate(180deg); }
.platform-select-menu {
  position: fixed;
  z-index: 40;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08), 0 6px 12px rgba(0, 0, 0, .08);
}
.platform-select-menu[hidden] { display: none; }
.platform-select-menu [role="option"] {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  cursor: pointer;
}
.platform-select-menu [role="option"][data-active="true"] { background: rgba(110, 118, 128, .12); }
.platform-select-menu [role="option"][aria-selected="true"] {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
.platform-select-menu [role="option"][aria-selected="true"][data-active="true"] { background: #e7f1fd; }
.platform-select-check { flex: 0 0 auto; visibility: hidden; }
.platform-select-menu [role="option"][aria-selected="true"] .platform-select-check { visibility: visible; }

.cloud-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  column-gap: 50px;
  align-items: start;
  background: radial-gradient(circle at 15% 12%, rgba(113,206,248,.22), transparent 44%), linear-gradient(120deg, #071c48, #123663);
  color: #fff;
  border-color: #173d78;
}
.cloud-card::before { background: #83d6ff; }
.cloud-card .app-summary { grid-column: 1; }
.cloud-card .platform { color: #9edbff; }
.cloud-card .app-description { grid-column: 1; min-height: 0; margin: 18px 0 16px; color: #dbeaff; font-size: 18px; }
.cloud-actions { grid-column: 1; display: grid; gap: 12px; }
.cloud-action, .docker-download { min-height: 54px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; }
.cloud-action { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-align: left; }
.cloud-action span:last-child:not(:nth-child(2)) { margin-left: auto; }
.cloud-action[href]:hover, .cloud-action[href]:focus-visible { background: rgba(255,255,255,.15); }
.cloud-action:disabled { opacity: .68; cursor: default; }
.docker-download { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--blue); border-color: var(--blue); }
.docker-download a { display: flex; flex: 1; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-align: left; }
.docker-download img { flex: 0 0 auto; filter: invert(1); }
.docker-download select { min-width: 74px; padding: 7px 8px; border: 1px solid #c9d8ff; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.cloud-platforms { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(0,5,61,.2); }
.cloud-platforms > p { margin: 0; color: #dbeaff; font-size: 16px; line-height: 1.55; text-align: center; }
.cloud-platform-brand { display: flex; align-items: center; justify-content: center; min-height: 80px; border-radius: 8px; }
.cloud-platform-brand:hover { opacity: .8; }
.cloud-platform-brand:focus-visible { outline: 2px solid #9edbff; outline-offset: 6px; }
.cloud-platform-brand img { width: 100%; max-width: 290px; max-height: 68px; object-fit: contain; }
.resource-list > button:disabled { color: var(--muted); cursor: default; background: #fff; }
.resource-list > button:disabled .resource-icon, .resource-list > button:disabled .resource-arrow { opacity: .5; }

.licensing-section {
  padding: 124px max(24px, calc((100vw - 1180px) / 2)) 116px;
  background: var(--ink);
  color: #fff;
}
.licensing-intro { display: grid; grid-template-columns: .8fr 1.35fr .9fr; gap: 50px; align-items: start; margin-bottom: 48px; }
.licensing-intro .eyebrow { color: #9ab8ff; margin-top: 13px; }
.licensing-intro h2 { font-size: clamp(40px, 4.2vw, 58px); }
.licensing-intro > p:last-child { margin: 12px 0 0; color: #cbd3f1; line-height: 1.6; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.license-card { padding: 34px; border: 1px solid rgba(255,255,255,.19); border-radius: 24px; background: rgba(255,255,255,.07); }
.license-card-primary { background: linear-gradient(145deg, rgba(11,92,255,.42), rgba(108,75,208,.25)); }
.license-heading { display: flex; align-items: center; gap: 14px; min-height: 38px; }
.license-heading > img { flex: 0 0 auto; }
.license-icon-pair { display: flex; flex: 0 0 auto; align-items: center; }
.license-icon-pair img + img { margin-left: -7px; box-shadow: -2px 0 0 var(--ink); border-radius: 8px; }
.license-title-line { display: flex; min-width: 0; align-items: center; flex-wrap: nowrap; gap: 10px 12px; }
.license-card h3 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.license-lede { min-height: 76px; margin: 24px 0 0; color: #d8def5; line-height: 1.58; }
.license-card ol { margin: 27px 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.license-card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.license-card li > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.13); color: #b8c6f5; font-size: 11px; font-weight: 700; }
.license-card li p { margin: 1px 0 0; color: #e5e8f8; font-size: 14px; line-height: 1.5; }
.license-link { display: inline-flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 5px; }
.license-link:hover, .license-link:focus-visible { color: var(--lavender); outline: none; }

.resources-section {
  width: min(1180px, calc(100% - 48px));
  margin: 64px auto 72px;
}
.resources-section > h2 { margin: 0 0 32px; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -.04em; font-weight: 600; }
.resources-grid { display: grid; gap: 24px; }
.support-strip {
  min-height: 240px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.support-strip > div { min-width: 0; }
.support-strip h3 { margin: 0; font-size: clamp(25px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; font-weight: 600; }
.support-strip .secondary-button { flex-shrink: 0; }
.keep-together { white-space: nowrap; }
.community-strip { border-color: #c9d8ff; background: var(--blue-light); }
.community-strip .secondary-button { flex-shrink: 0; background: var(--blue); }
.community-strip .secondary-button:hover, .community-strip .secondary-button:focus-visible { background: #064dcc; }
.secondary-button { min-width: 220px; background: var(--ink); color: #fff; }
.secondary-button:hover, .secondary-button:focus-visible { background: var(--blue); transform: translateY(-2px); outline: none; }

footer {
  min-height: 210px;
  padding: 50px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  background: #070a2d;
  color: #fff;
}
.footer-brand img { width: 86px; }
footer p { margin: 0; color: #aeb7da; font-size: 13px; line-height: 1.5; white-space: nowrap; }
footer nav { display: flex; gap: 22px; font-size: 13px; }
footer nav a:hover, footer nav a:focus-visible { color: #a9c5ff; outline: none; }

.changelog-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(82vh, 880px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 5, 61, .28);
}
.changelog-dialog::backdrop { background: rgba(0, 5, 61, .55); }
.changelog-dialog-panel {
  display: flex;
  flex-direction: column;
  max-height: min(82vh, 880px);
}
.changelog-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--line);
}
.changelog-dialog-header .eyebrow { margin-bottom: 10px; }
.changelog-dialog-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 600;
}
.changelog-close {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.changelog-close:hover, .changelog-close:focus-visible { background: var(--blue-light); color: var(--blue); outline: 0; }
.changelog-dialog-body {
  overflow: auto;
  padding: 8px 28px 32px;
}
.changelog-dialog-body h2,
.changelog-dialog-body h3 {
  margin: 28px 0 8px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 650;
}
.changelog-dialog-body h3 { font-size: 18px; }
.changelog-dialog-body p,
.changelog-dialog-body li { color: var(--muted); font-size: 15px; line-height: 1.55; }
.changelog-dialog-body p { margin: 10px 0; }
.changelog-dialog-body ul { margin: 8px 0 16px; padding-left: 1.2em; }
.changelog-dialog-body li { margin: 6px 0; }
.changelog-dialog-body a { color: var(--blue); text-decoration: underline; }
.changelog-dialog-body a:hover, .changelog-dialog-body a:focus-visible { color: #064dcc; outline: 0; }
.changelog-status { margin: 18px 0; color: var(--muted); }
/* App articles open inside the shared, scrollable Learn more dialog. */
body.has-detail-modal { overflow: hidden; }
.detail-dialog { width: min(1180px, calc(100vw - 32px)); max-height: 90vh; max-height: 90dvh; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(0,5,61,.3); }
.detail-dialog::backdrop { background: rgba(0,5,61,.65); }
.detail-dialog-panel { display: flex; flex-direction: column; max-height: 90vh; max-height: 90dvh; }
.detail-dialog-header { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 28px 20px; border-bottom: 1px solid var(--line); }
.detail-dialog-header .eyebrow { margin: 0 0 10px; }
.detail-dialog-header h2 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -.035em; }
.detail-close { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.detail-close:hover, .detail-close:focus-visible { background: var(--blue-light); color: var(--blue); }
.detail-dialog-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 28px; }
.product-hero-image { margin: 0; display: flex; justify-content: center; padding: 24px; border-radius: 22px; background: #f3f8ff; overflow: hidden; }
.product-hero-image img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.product-hero-image-dark { background: #102152; }
.product-section-image { margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--blue-light); }
.product-section-image img { width: 100%; max-width: 712px; height: auto; margin: auto; }
.product-section-image-streamdeck img { max-width: 437px; }
.product-layout { width: 100%; margin: 32px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
.product-contents { position: sticky; top: 0; max-height: calc(90vh - 160px); max-height: calc(90dvh - 160px); overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--blue-light); }
.product-contents .eyebrow { font-size: 11px; margin-bottom: 18px; }
.product-contents a { display: block; padding: 9px 0; color: #444b73; font-size: 14px; line-height: 1.3; }
.product-contents a:hover, .product-contents a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.product-contents-subnav { margin: 0 0 8px; padding-left: 12px; border-left: 1px solid #c9d8ff; }
.product-contents-subnav a { padding: 6px 0; font-size: 13px; }
.product-section { padding: 0 0 46px; margin: 0 0 46px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.product-section:last-child { margin-bottom: 0; }
.product-section h2 { margin: 0 0 24px; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
.product-section h3 { margin: 28px 0 14px; font-size: 23px; line-height: 1.25; font-weight: 650; letter-spacing: -.02em; }
.product-section p, .product-section li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-section p { margin: 14px 0; }
.product-section a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.product-section a:hover, .product-section a:focus-visible { color: #064dcc; }
.product-feature { padding: 10px 0 16px; }
.product-feature + .product-feature { border-top: 1px solid var(--line); }
.product-feature-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.product-feature-columns h3 { font-size: 21px; }
.product-feature-columns h4 { margin: 22px 0 12px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.product-release { margin: 24px 0; padding: 4px 20px; border-radius: 12px; background: var(--blue-light); border-left: 4px solid var(--blue); }
.product-release p { color: var(--ink); font-weight: 650; }
.product-section .product-command { padding: 16px; background: var(--ink); border-radius: 12px; color: #fff; overflow-wrap: anywhere; }
.product-command code { font-size: 14px; }
.product-command-example { margin-top: 24px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.product-section .product-tags li { padding: 8px 14px; border: 1px solid #c9d8ff; border-radius: 10px; background: var(--blue-light); color: var(--ink); font-size: 14px; font-weight: 600; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-actions a { display: inline-block; padding: 12px 16px; border: 1px solid #c9d8ff; border-radius: 12px; font-size: 14px; font-weight: 650; text-decoration: none; }
.product-actions a:hover, .product-actions a:focus-visible { background: var(--blue-light); }
.product-actions .product-download { background: var(--blue); border-color: var(--blue); color: #fff; }
.product-actions .product-download:hover, .product-actions .product-download:focus-visible { background: #064dcc; color: #fff; }
.product-text-link { display: inline-block; margin-top: 10px; font-weight: 650; }

@media (max-width: 1040px) {
  .product-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 26px; }
  .product-feature-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .detail-dialog { width: calc(100vw - 20px); border-radius: 18px; }
  .detail-dialog-header { padding: 20px; gap: 12px; }
  .detail-dialog-header h2 { font-size: 26px; }
  .detail-dialog-body { padding: 20px; }
  .product-hero-image { padding: 12px; border-radius: 16px; }
  .product-layout { width: 100%; margin: 24px 0 0; grid-template-columns: 1fr; gap: 28px; }
  .product-contents { position: static; max-height: none; overflow: visible; padding: 18px; }
  .product-contents nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .product-contents .eyebrow { width: 100%; margin-bottom: 10px; }
  .product-contents a { padding: 5px 0; }
  .product-contents-subnav { display: flex; flex-wrap: wrap; gap: 6px 20px; width: 100%; }
  .product-section { padding-bottom: 30px; margin-bottom: 30px; }
  .product-section h2 { font-size: 30px; }
  .product-section h3 { font-size: 22px; }
}

@media (max-width: 1040px) {
  .hero { min-height: 860px; }
  .hero-shell { padding-top: 126px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art img { height: 320px; }
  .hero-carousel { height: 320px; }
  .intro-section { grid-template-columns: 1fr 1.5fr; }
  .intro-copy { grid-column: 2; }
  .app-grid, .license-grid { grid-template-columns: 1fr; }
  .cloud-card { grid-template-columns: 1fr; }
  .cloud-platforms { grid-column: 1; grid-row: auto; margin-top: 26px; }
  .app-description, .license-lede { min-height: 0; }
  .licensing-intro { grid-template-columns: 1fr; gap: 14px; }
  .licensing-intro .eyebrow { margin-top: 0; }
  footer { grid-template-columns: auto 1fr; gap: 26px 44px; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
  footer nav { grid-column: 2; justify-self: end; }
}

@media (max-width: 720px) {
  .cloud-platforms { padding: 20px; }
  .docker-download { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .docker-download select { margin-left: 36px; justify-self: start; }
  html { scroll-padding-top: 14px; }
  .site-header { width: calc(100% - 32px); height: 72px; }
  .site-nav a:not(:last-child) { display: none; }
  .site-nav { font-size: 13px; }
  .hero { min-height: 790px; }
  .hero-shell, .notice, .apps-section, .resources-section, .intro-section { width: calc(100% - 32px); }
  .hero-shell { padding: 108px 0 94px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(47px, 14vw, 63px); }
  .hero-copy { font-size: 17px; }
  .hero-art img { height: 210px; }
  .hero-carousel { height: 210px; }
  .intro-section { grid-template-columns: 1fr; gap: 15px; margin: 42px auto 52px; }
  .intro-section .eyebrow { margin: 0; }
  .intro-copy { grid-column: 1; }
  .notice { margin-bottom: 54px; align-items: flex-start; }
  .apps-section { margin-bottom: 88px; }
  .app-card { padding: 24px; border-radius: 20px; }
  .app-summary { align-items: center; gap: 16px; }
  .app-icon { width: 72px; height: 72px; }
  .app-summary h2 { font-size: 26px; }
  .app-description { margin-top: 20px; }
  .cloud-card .app-description { font-size: 16px; }
  .marketplace-link { font-size: 13px; }
  .resource-list .resource-download {
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    grid-template-areas: "icon label arrow" ". platform .";
    gap: 8px 12px;
    padding: 12px 16px;
  }
  .resource-download .platform-select, .resource-download .download-platform { justify-self: start; }
  .licensing-section { padding-top: 88px; padding-bottom: 84px; }
  .license-card { padding: 26px; }
  .license-card h3 { font-size: 25px; }
  .license-heading { align-items: flex-start; }
  .license-title-line { align-items: flex-start; flex-wrap: wrap; }
  .resources-section { margin-top: 40px; margin-bottom: 48px; }
  .support-strip { min-height: 280px; padding: 28px; border-radius: 20px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 28px; }
  footer { grid-template-columns: 1fr; gap: 26px; }
  footer p { grid-row: auto; font-size: clamp(7.5px, 2.25vw, 13px); }
  footer nav { grid-column: auto; justify-self: start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
