:root {
  --font: "Inter", Arial, Helvetica, sans-serif;
}

body {
  font-size: 15px;
  font-weight: 500;
}

.main-nav { gap: 34px; }
.nav-link { font-size: 14px; font-weight: 600; }
.language-button { font-size: 12px; font-weight: 600; }
.header-cta { font-size: 13px; font-weight: 600; }
.eyebrow { font-size: 11px; font-weight: 500; }
h1 { font-weight: 800; }
.hero-description { max-width: 470px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.button { min-height: 50px; font-size: 13px; font-weight: 700; }
.hero-footnote { font-size: 11px; font-weight: 500; }
.home-library { padding-top: 6px; padding-bottom: 62px; }
.home-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 25px; }
.home-kicker { margin: 0; color: #9aa38d; font: 500 10px/1.5 "DM Mono", monospace; letter-spacing: 1.5px; }
.home-library h2 { margin-top: 9px; font-size: clamp(31px, 3.5vw, 43px); line-height: 1.12; }
.home-library-aside { max-width: 350px; margin: 0 0 4px; color: #9ba193; font-size: 13px; line-height: 1.75; }
.platform-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.platform-card { min-height: 160px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 17px 18px; border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(145deg, rgba(25,29,23,.94), rgba(17,20,16,.88)); transition: transform .24s, border-color .24s, background .24s; }
.platform-card::after { content: ""; position: absolute; width: 116px; height: 116px; right: -36px; bottom: -58px; border: 1px solid rgba(182,239,105,.12); border-radius: 50%; box-shadow: 0 0 0 13px rgba(182,239,105,.025), 0 0 0 27px rgba(182,239,105,.02); pointer-events: none; }
.platform-card:hover { transform: translateY(-4px); border-color: rgba(182,239,105,.4); background: linear-gradient(145deg, rgba(30,37,25,.98), rgba(19,23,17,.92)); }
.platform-card:focus-visible { outline-offset: 4px; }
.platform-card-top { display: flex; align-items: center; justify-content: space-between; color: #9aa18f; font: 500 9px/1 "DM Mono", monospace; letter-spacing: 1.2px; }
.platform-card-top span:last-child { color: var(--lime); font-size: 15px; }
.platform-card-name { z-index: 1; margin-top: 15px; font-size: 22px; font-weight: 750; letter-spacing: -.7px; }
.platform-card-count { z-index: 1; display: flex; align-items: baseline; gap: 8px; color: #8f9686; font-size: 11px; }
.platform-card-count strong { color: var(--lime); font: 500 13px "DM Mono", monospace; }
.platform-card-mark { position: absolute; right: 21px; bottom: 25px; color: rgba(210,239,185,.045); font-size: 88px; font-weight: 900; line-height: .8; pointer-events: none; }
.platform-windows { --platform-accent: #b6ef69; }
.platform-android { --platform-accent: #a5d77a; }
.platform-ios { --platform-accent: #e7b4a9; }
.platform-macos { --platform-accent: #a8cbb3; }
.home-library-cta { min-height: 90px; display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 15px 19px; border: 1px solid rgba(182,239,105,.17); border-radius: 5px; background: linear-gradient(100deg, rgba(182,239,105,.065), rgba(25,29,23,.65) 42%, rgba(21,24,20,.88)); }
.home-cta-mark { display: flex; align-items: center; gap: 4px; width: 33px; height: 33px; padding: 8px; border: 1px solid rgba(182,239,105,.26); border-radius: 50%; }
.home-cta-mark span { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.home-cta-copy { flex: 1; }
.home-cta-copy p:last-child { margin: 4px 0 0; color: #acb2a4; font-size: 13px; }
.home-library-cta .button { min-height: 43px; }
h2 { font-size: 40px; font-weight: 750; }
.section-aside { font-size: 12px; font-weight: 500; }
.platform-tab { height: 39px; padding-inline: 14px; font-size: 12px; font-weight: 600; }
.platform-tab span { font-size: 10px; }
.windows-subtabs { display: flex; gap: 10px; padding: 0 14px 12px; transform: translateY(10px); }
.windows-subtabs[hidden] { display: none; }
.windows-subtab { min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--soft); font-size: 12px; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.windows-subtab:hover, .windows-subtab.selected { border-color: var(--lime); background: rgba(182,239,105,.08); color: var(--lime); }
.search-box, .select-wrap { height: 43px; }
.search-box input, .select-wrap select { font-size: 13px; font-weight: 500; }
.search-box kbd { font-size: 10px; }
.filter-reset { height: 43px; font-size: 11px; font-weight: 600; }
.results-line p { font-size: 12px; }
.demo-label { font-size: 10px; font-weight: 500; }
.catalog-card { min-height: 0; padding: 23px; }
.card-title-row { margin-top: 0; }
.card-badges { width: 100%; margin: 8px 0 0; flex-wrap: wrap; }
.release-state { margin-left: auto; padding: 3px 10px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.release-state.updated { background: #19bd6c; }
.release-state.notUpdated { background: #f0444b; }
.card-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 11px 0 5px; }
.spec-chip { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.version-chip { background: #303235; color: #e0e2e3; }
.sunc-chip { border-color: #3a3640; background: #28262e; color: #d8c9ff; }
.key-system-chip { background: #7538eb; color: #fff; }
.free-chip { background: #19bd6c; color: #fff; }
.status-badge { font-size: 12px; font-weight: 700; }
.card-title { font-size: 19px; font-weight: 750; }
.card-price { font-size: 13px; font-weight: 700; }
.card-price.billing-price { padding: 3px 9px; border-radius: 999px; background: #2465e9; color: #fff; font-size: 12px; font-weight: 750; }
.card-meta { margin-top: 13px; font-size: 11px; font-weight: 600; }
.install-button, .buy-button { min-width: 112px; min-height: 41px; padding-inline: 15px; font-size: 12px; font-weight: 700; }
.empty-state h3 { font-size: 18px; }
.empty-state p { font-size: 13px; }
.button-outline { min-height: 42px; font-size: 12px; }
.copyright, .disclaimer { font-size: 11px; font-weight: 500; }
.dialog-ok { min-height: 42px; font-size: 12px; }
.install-dialog [hidden] { display: none !important; }

@media (max-width: 850px) {
  .main-nav { gap: 22px; }
  .nav-link { font-size: 13px; }
  .catalog-card { padding: 20px; }
  .home-library { padding-bottom: 48px; }
  .platform-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-library-aside { max-width: 300px; }
}

@media (max-width: 620px) {
  .nav-link { font-size: 12px; }
  .header-cta { font-size: 12px; }
  .eyebrow { font-size: 9px; }
  .hero-description { font-size: 14px; }
  .hero-footnote { font-size: 10px; }
  .home-library { padding-top: 12px; padding-bottom: 35px; }
  .home-library-heading { display: block; margin-bottom: 19px; }
  .home-library h2 { font-size: 32px; }
  .home-library-aside { margin-top: 12px; font-size: 12px; }
  .platform-cards { gap: 9px; }
  .platform-card { min-height: 138px; padding: 13px; }
  .platform-card-name { font-size: 19px; }
  .platform-card-count { display: block; font-size: 10px; }
  .platform-card-count strong { margin-right: 6px; }
  .platform-card-mark { right: 12px; bottom: 22px; font-size: 66px; }
  .home-library-cta { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 15px; }
  .home-cta-copy { min-width: calc(100% - 55px); }
  .home-cta-copy p:last-child { font-size: 12px; }
  .home-library-cta .button { width: 100%; }
  h2 { font-size: 34px; }
  .section-aside { max-width: 150px; font-size: 10px; }
  .platform-tab { height: 37px; padding-inline: 11px; font-size: 11px; }
  .windows-subtabs { gap: 8px; padding: 0 14px 9px; }
  .windows-subtab { min-height: 32px; padding-inline: 11px; font-size: 11px; }
  .catalog-controls .search-box input, .catalog-controls .select-wrap select { font-size: 12px; }
  .filter-reset { font-size: 11px; }
  .catalog-card { min-height: 0; padding: 20px; }
  .card-title { font-size: 19px; }
  .card-price { font-size: 12px; }
  .release-state { font-size: 9px; }
  .spec-chip { font-size: 9px; }
  .card-meta { font-size: 11px; }
  .install-button, .buy-button { min-width: 112px; min-height: 42px; padding-inline: 15px; font-size: 13px; }
  .copyright { font-size: 10px; }
  .disclaimer { font-size: 9px; }
}
.card-meta{flex-wrap:wrap}

.install-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.install-dialog::backdrop { backdrop-filter: blur(9px); }

.install-dialog {
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition:
    opacity 240ms ease,
    transform 240ms cubic-bezier(.2, .8, .2, 1),
    overlay 240ms allow-discrete,
    display 240ms allow-discrete;
}

.install-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.install-dialog::backdrop {
  background: rgb(5 7 5 / 0%);
  transition: background 240ms ease, backdrop-filter 240ms ease;
}

.install-dialog[open]::backdrop {
  background: rgb(5 7 5 / 76%);
}

@starting-style {
  .install-dialog[open] {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  .install-dialog[open]::backdrop {
    background: rgb(5 7 5 / 0%);
    backdrop-filter: blur(0);
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  white-space: nowrap;
}

.footer-links a {
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 850px) {
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 10px; }
}

@media (max-width: 620px) {
  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .footer-links a { font-size: 11px; }
  .copyright { grid-row: 3; }
  .disclaimer { grid-row: 4; }
  .back-top { grid-row: 1 / 5; }
}

.footer-social-link { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--soft); transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.footer-social-link svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social-link .social-icon-cutout { fill: var(--bg); }
.footer-social-link:hover { border-color: rgba(182,239,105,.55); background: rgba(182,239,105,.08); color: var(--lime); text-decoration: none; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .footer-social-link { transition: none; } .footer-social-link:hover { transform: none; } }

.dialog-disclaimer { margin-top: 15px !important; padding-top: 13px; border-top: 1px solid var(--line-strong); color: #b5beaa !important; font-size: 10px !important; font-weight: 650; }
.dialog-disclaimer[hidden] { display: none !important; }

.dialog-inline-link { color: var(--lime); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(182,239,105,.45); text-underline-offset: 3px; }
.dialog-inline-link:hover { text-decoration-color: var(--lime); }
