:root {
  --bg: #f9fbfc;
  --surface: #fff;
  --line: #102d4115;
  --text: #142b3b;
  --muted: #5e7282;
  --cyan: #087f97;
}
body {
  font-size: 16px;
}
header {
  background: #ffffffeb;
  border-bottom: 1px solid var(--line);
}
.brand span span {
  color: #4c6779;
}
.navlinks {
  color: #536c7d;
}
.navcta {
  color: #183e52 !important;
  border-color: #153e5425;
  background: white;
}
.hero {
  background: radial-gradient(ellipse 60% 50% at 50% 85%, #b9edf64a, transparent);
}
.eyebrow {
  color: #536f7e;
}
.hero p {
  color: #5e7484;
}
.hero .smallnote {
  color: #708492;
}
.btn {
  color: #28485d;
  background: white;
  border-color: #19384d25;
  box-shadow: 0 3px 7px #15394e05;
}
.btn:hover {
  background: #edf5f8;
}
.btn.primary {
  background: #087f97;
  border-color: #087f97;
  color: white;
  box-shadow: 0 5px 15px #087f971b;
}
.btn.primary:hover {
  background: #066b80;
}
.screen {
  background: #1a2936;
  border-color: #284658;
  box-shadow: 0 25px 70px #1e5d7625;
}
.screen-tab {
  color: #60778a;
}
.screen-tab.active {
  color: #087f97;
  background: #e3f3f6;
  border-color: #087f9725;
}
.screen-tab:hover {
  color: #132e40;
}
.platform-word {
  color: #5d7485;
}
.platform-strip {
  color: #627b8c;
}
.feature {
  background: white;
  border-color: #193a4c14;
  box-shadow: 0 3px 9px #163b4a03;
}
.feature h3 {
  font-size: 17px;
}
.feature p {
  font-size: 13px;
}
.remote-section {
  background: #edf4f7;
}
.remote-copy p {
  font-size: 14px;
}
.check {
  color: #4c687b;
}
.remote-caption {
  color: #5b7689;
}
.download-panel {
  background: white;
  border-color: #143d5320;
  box-shadow: 0 12px 35px #123e4d08;
}
.download-tabs button {
  color: #5f7889;
}
.download-tabs button.active {
  background: #e7f3f6;
  color: #086f87;
}
.download-detail p {
  color: #5d7485;
}
.download-detail .version {
  color: #627f90;
}
.install {
  color: #627987;
}
.tv-line {
  color: #5f7787;
}
.pill {
  background: #eef3f6;
  color: #617b8d;
}
.alt-download {
  color: #086f87;
}
.step p {
  font-size: 12px;
}
.faq details p {
  font-size: 13px;
}
.disclaimer {
  background: #edf4f6;
  color: #60798a;
}
.disclaimer strong {
  color: #274d61;
}
.footlinks {
  color: #577386;
}
.copyright {
  color: #748895;
}
.menu {
  position: relative;
}
.menu summary {
  cursor: pointer;
  list-style: none;
}
.menu summary:after {
  content: "⌄";
  margin-left: 6px;
}
.menu-items {
  position: absolute;
  top: 30px;
  left: -20px;
  width: 190px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 35px #183e5220;
  display: grid;
  z-index: 50;
}
.menu-items a {
  padding: 7px 12px;
  border-radius: 5px;
}
.menu-items a:hover {
  background: #edf6f8;
}
.footlinks {
  flex-wrap: wrap;
}
.foot {
  align-items: flex-start;
}
.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.platform-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 12px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px #15435b0c;
}
.platform-card .platform-glyph {
  font-size: 24px;
  color: var(--cyan);
  height: 42px;
}
.platform-card h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 12px 0 8px;
}
.platform-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.status {
  font-size: 10px;
  letter-spacing: 0.4px;
  border-radius: 4px;
  background: #e7f6ee;
  color: #27744e;
  padding: 4px 7px;
}
.status.soon {
  background: #f1f3f6;
  color: #667c8d;
}
.platform-card .arrow {
  float: right;
  color: var(--cyan);
}
.page-hero {
  padding: 55px 0 40px;
}
.breadcrumb {
  font-size: 12px;
  color: #718795;
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--cyan);
}
.page-hero h1 {
  font-size: 53px;
  line-height: 1.12;
  letter-spacing: -2.3px;
  max-width: 850px;
  margin: 15px 0 20px;
}
.page-hero .lead {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.8;
  color: #5e7686;
}
.page-hero .actions {
  justify-content: flex-start;
}
.page-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 55px;
  padding: 20px 0 65px;
}
.side-nav {
  position: sticky;
  top: 26px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.side-nav strong {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7a8e9c;
  margin: 0 12px 12px;
}
.side-nav a {
  padding: 8px 12px;
  color: #587488;
  border-radius: 6px;
}
.side-nav a:hover {
  background: #eaf3f6;
  color: #087f97;
}
.side-nav .side-divider {
  height: 1px;
  background: var(--line);
  margin: 15px 10px;
}
.document {
  min-width: 0;
}
.document section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.document h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}
.document h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 22px 0 12px;
}
.document p,
.document li {
  font-size: 14px;
  line-height: 1.85;
  color: #506c7e;
}
.document li + li {
  margin-top: 9px;
}
.document ul,
.document ol {
  padding-left: 22px;
}
.document a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.document code {
  background: #edf3f6;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.document table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.document td,
.document th {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: #506c7e;
}
.document th {
  font-weight: 600;
  color: #244a5f;
  background: #edf4f6;
  width: 28%;
}
.document .release {
  background: white;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 15px;
}
.page-shot {
  border-radius: 10px;
  overflow: hidden;
  background: #102338;
  box-shadow: 0 15px 35px #254f6820;
  margin: 15px 0 35px;
}
.page-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.note-box {
  padding: 20px 24px;
  background: #eaf4f7;
  border: 1px solid #087f9720;
  border-radius: 10px;
  margin: 20px 0;
  color: #466a7c;
  font-size: 14px;
}
.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #102a3c;
  color: #e5f6fc;
  padding: 20px 24px;
  border-radius: 10px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.copy-box code {
  background: transparent;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.copy-box button {
  border: 1px solid #ffffff30;
  background: #ffffff12;
  color: white;
  border-radius: 6px;
  padding: 7px 14px;
  min-width: 95px;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.help-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.help-grid h3 {
  margin-top: 0;
}
.mini-label {
  font-size: 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.document .faq {
  display: block;
  padding: 0;
  border: 0;
}
.document .faq details {
  padding: 20px 0;
}
.document .faq summary {
  font-size: 15px;
}
.page-footer-cta {
  padding: 28px;
  background: #eaf3f6;
  border-radius: 10px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-footer-cta p {
  margin: 0;
}
.section-tight {
  padding-top: 30px;
}
.full-document {
  max-width: 850px;
  margin: auto;
}
.support-mail {
  font-size: 22px !important;
}
.platform-card:first-child:last-child {
  grid-column: 1/-1;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .platform-cards {
    grid-template-columns: 1fr 1fr;
  }
  .page-layout {
    grid-template-columns: 160px 1fr;
    gap: 25px;
  }
  .page-hero h1 {
    font-size: 43px;
  }
  .navlinks {
    gap: 18px;
  }
  .footlinks {
    justify-content: center;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .navlinks .menu {
    display: block;
  }
  .navlinks {
    gap: 12px;
  }
  .navlinks .menu summary {
    font-size: 11px;
  }
  .menu-items {
    left: auto;
    right: 0;
  }
  .platform-cards {
    grid-template-columns: 1fr;
  }
  .page-layout {
    display: block;
  }
  .side-nav {
    position: relative;
    top: 0;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  .side-nav strong,
  .side-nav .side-divider,
  .side-nav .other-platform {
    display: none;
  }
  .side-nav a {
    padding: 7px 10px;
  }
  .page-hero {
    padding: 35px 0 25px;
  }
  .page-hero h1 {
    font-size: 37px;
    letter-spacing: -1.6px;
  }
  .page-hero .lead {
    font-size: 15px;
  }
  .document table {
    font-size: 11px;
  }
  .document th,
  .document td {
    padding: 10px;
  }
  .page-footer-cta {
    display: block;
  }
  .page-footer-cta .btn {
    margin-top: 18px;
  }
  .copy-box {
    padding: 18px;
  }
  .copy-box code {
    font-size: 12px;
  }
  .document h2 {
    font-size: 23px;
  }
}

/* Live parts (assets/site.js, assets/home.js): What's new in the download picker, release files. */
.os-notes {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.os-notes h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}
.os-notes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}
.os-notes li + li {
  margin-top: 4px;
}
.history .release h3 .date {
  color: var(--muted);
  font-weight: 400;
}
.history .files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.history .files .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #087f9750;
  color: var(--cyan);
  background: #eaf4f7;
}

/* The decorative glow behind the screenshot sat on top of its tabs and swallowed their clicks. */
.preview-wrap:before {
  pointer-events: none;
}
.screen-nav {
  position: relative;
  z-index: 1;
}

/* Screenshots are <picture> (WebP with a JPEG fallback) with width/height set to reserve their space:
   the wrapper adds no box, and CSS sizes keep the 16:9 shape. */
picture {
  display: contents;
}
.screen img {
  height: auto;
}

/* Readable small text: at least 4.5:1 (WCAG AA) on every light background the site uses
   (white, #f9fbfc and the #eaf4f7-#eef3f6 tints). Same hues as the design, a little darker. */
:root {
  --muted: #536878;
}
.install,
.tv-line,
.pill,
.disclaimer,
.copyright,
.breadcrumb,
.platform-strip .strip-label,
.side-nav strong,
.status.soon,
#os-version {
  color: #536878;
}
.section-kicker,
.history .files .badge {
  color: #076e83;
}

/* A heading for screen readers and search engines only (keeps h1 > h2 > h3 in order). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Phones: no text under 12 px. */
@media (max-width: 800px) {
  .disclaimer,
  .status,
  .footlinks,
  .copyright,
  .section-kicker,
  .navcta,
  .navlinks .menu summary {
    font-size: 12px;
  }
}
