@font-face {
  font-family: InterLocal;
  src: local("Inter"), local("Segoe UI");
  font-display: swap;
}

:root {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6f746f;
  --line: #deded6;
  --soft: #f0f1eb;
  --soft-2: #e8eee6;
  --accent: #1f5cff;
  --accent-2: #0d3db7;
  --red: #fc3f1d;
  --shadow: 0 12px 34px rgba(24, 31, 42, .08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23,23,23,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23,23,23,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: InterLocal, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--accent-2);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: rgba(247, 247, 244, .94);
  border-bottom: 1px solid var(--line);
}

.header-grid {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.brand-text {
  font-size: 18px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 570;
}

.main-nav a:hover {
  color: var(--ink);
}

.cover {
  padding: 42px 0 28px;
}

.cover-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cover-copy {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pretitle,
.product-chip {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: #47604b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 780;
}

.cover-copy p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 740;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #bfc4bd;
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
}

.btn-full {
  width: 100%;
}

.cover-board {
  min-height: 100%;
  padding: 34px;
  background: #eaf0ff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.board-title {
  margin-bottom: 22px;
  color: #2f406d;
  font-weight: 820;
  font-size: 22px;
  letter-spacing: -.03em;
}

.board-list {
  display: grid;
  gap: 10px;
}

.board-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 92, 255, .18);
}

.board-list span {
  color: #647197;
}

.board-list strong {
  text-align: right;
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.trust-strip span {
  padding: 14px 16px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 620;
  text-align: center;
}

.section {
  padding: 28px 0 64px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-aside {
  position: sticky;
  top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.aside-title {
  padding: 10px 12px 12px;
  color: var(--ink);
  font-weight: 820;
}

.catalog-aside a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 610;
}

.catalog-aside a:hover {
  background: var(--soft);
  color: var(--ink);
}

.catalog-content {
  display: grid;
  gap: 20px;
}

.product-card,
.browser-section,
.install,
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  overflow: hidden;
}

.product-left {
  padding: 34px;
}

.product-left h2,
.browser-text h2,
.section-heading h2 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: .95;
  letter-spacing: -.055em;
}

.product-left p,
.browser-text p,
.install-step p,
.faq p,
.footer p {
  color: var(--muted);
}

.params {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
}

.params div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.params dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
}

.params dd {
  margin: 0;
  font-weight: 760;
}

.product-right {
  padding: 24px;
  border-left: 1px solid var(--line);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.os-number {
  min-height: 178px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 76px;
  font-weight: 840;
  letter-spacing: -.08em;
}

.os-number-light {
  background: #161616;
}

.browser-section {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 34px;
  background: #fff7f5;
}

.browser-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--red);
  color: #fff;
  font-size: 48px;
  font-weight: 840;
}

.install,
.faq {
  padding: 34px;
}

.section-heading {
  margin-bottom: 22px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.install-step {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.install-step b {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 14px;
}

.install-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.install-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  padding-top: 0;
}

.faq details:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 780;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

.footer strong {
  font-size: 18px;
}

.footer p {
  margin: 4px 0 0;
}

@media (max-width: 1040px) {
  .cover-shell,
  .catalog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cover-board {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .catalog-aside {
    position: static;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }

  .aside-title {
    display: none;
  }

  .install-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-grid {
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .cover {
    padding-top: 24px;
  }

  .cover-shell,
  .product-card,
  .browser-section,
  .install,
  .faq {
    border-radius: 18px;
  }

  .cover-copy,
  .cover-board,
  .product-left,
  .product-right,
  .browser-section,
  .install,
  .faq {
    padding: 22px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .cover-actions .btn {
    width: 100%;
  }

  .trust-strip,
  .product-card,
  .params,
  .browser-section,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .product-right {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .os-number {
    min-height: 120px;
    font-size: 58px;
  }
}


/* ==== v2 SEO/content additions ==== */

.seo-intro {
  padding: 0 0 18px;
}

.seo-intro .container {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.seo-intro p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
}

.included,
.seo-block,
.rufus-guide {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.included-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.included-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.included-grid p,
.seo-block p,
.rufus-list p,
.small-note {
  color: var(--muted);
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.warning-box {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #f2d2a9;
  border-radius: 14px;
  background: #fff8ea;
  color: #67420b;
}

.rufus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rufus;
  display: grid;
  gap: 12px;
}

.rufus-list li {
  position: relative;
  padding: 18px 18px 18px 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  counter-increment: rufus;
}

.rufus-list li::before {
  content: counter(rufus, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper);
  color: var(--accent);
  font-size: 13px;
  font-weight: 840;
}

.rufus-list h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.rufus-list p {
  margin-bottom: 0;
}

.rufus-list a {
  color: var(--accent-2);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-note {
  margin: 18px 0 0;
}

@media (max-width: 1040px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .included,
  .seo-block,
  .rufus-guide {
    padding: 22px;
    border-radius: 18px;
  }

  .rufus-list li {
    padding: 64px 16px 16px;
  }

  .rufus-list li::before {
    left: 16px;
    top: 16px;
  }
}




/* ==== v4 Rufus collapsible screenshots ==== */

.step-screens {
  margin-top: 14px;
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.step-screens summary {
  position: relative;
  cursor: pointer;
  padding: 12px 44px 12px 14px;
  color: #0d3db7;
  font-weight: 780;
  list-style: none;
}

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

.step-screens summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: #0d3db7;
  font-size: 18px;
  line-height: 1;
  font-weight: 840;
}

.step-screens[open] summary {
  border-bottom: 1px solid #e3e7ef;
}

.step-screens[open] summary::after {
  content: "−";
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background: #f7f9fc;
}

.screen-gallery.single {
  grid-template-columns: minmax(0, 1fr);
}

.screen-gallery img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

@media (max-width: 760px) {
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-gallery img {
    max-height: none;
  }
}


/* ==== v5 visual polish ==== */

/* readability */
:root {
  --muted: #4f5b52;
  --line: #d9ded6;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p,
li,
dd,
dt,
.summary-row span,
.board-list span,
.catalog-aside a,
.footer p {
  color: var(--muted);
}

h1,
.product-left h2,
.browser-text h2,
.section-heading h2 {
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 760;
}

/* new logo */
.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  color: inherit;
}

.brand-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.brand-icon rect {
  fill: #171717;
}

.brand-icon path:not(.logo-arrow) {
  fill: #ffffff;
}

.brand-icon .logo-arrow {
  fill: none;
  stroke: #8fb2ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* remove the stripe block if any old markup remains */
.trust-strip {
  display: none !important;
}

/* unified buttons */
.btn,
.btn-primary,
.btn-outline {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid #171717;
  background: #171717;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 23, 23, .15);
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  background: #000000;
  border-color: #000000;
  box-shadow: 0 14px 28px rgba(23, 23, 23, .20);
}

.btn-outline {
  background: #ffffff;
  color: #171717;
  border-color: #171717;
  box-shadow: none;
}

.btn-outline:hover {
  background: #171717;
  color: #ffffff;
}

.product-right .btn-primary,
.product-right .btn {
  min-height: 58px;
  font-size: 17px;
  text-align: center;
  border-radius: 14px;
}

/* remove old white ISO pill */
.product-right .btn-primary::after {
  content: none !important;
  display: none !important;
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-left: 2px;
  border-radius: 0;
  background: transparent;
  font-weight: 900;
  line-height: 1;
}

/* screenshot disclosure centering */
.step-screens summary {
  display: block;
  line-height: 1.35;
}

.step-screens summary::after {
  width: 26px;
  height: 26px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.step-screens[open] summary::after {
  font-size: 24px;
  line-height: 24px;
  padding-bottom: 2px;
}

/* more stable typography in tight cards */
.params dd,
.params dt,
.spec-grid b,
.spec-grid span {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.board-list strong,
.summary-row b {
  line-height: 1.25;
}

/* slightly softer hero and card spacing after removing trust strip */
.cover {
  padding-bottom: 36px;
}

.section {
  padding-top: 20px;
}

@media (max-width: 760px) {
  .btn,
  .btn-primary,
  .btn-outline {
    width: 100%;
    min-height: 50px;
    white-space: normal;
    text-align: center;
    padding: 0 18px;
  }

  h1 {
    letter-spacing: -0.03em;
    line-height: 1.04;
  }

  .product-left h2,
  .browser-text h2,
  .section-heading h2 {
    letter-spacing: -0.025em;
    line-height: 1.05;
  }
}


/* ==== v6 buttons and arrows final fix ==== */

/* Restore v4-style blue CTA buttons, but make primary and outline visually consistent */
.btn,
.btn-primary,
.btn-outline {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f5cff 0%, #0b3db9 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 92, 255, .24), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #124be0 0%, #082f91 100%);
  color: #ffffff;
  border: 0;
  box-shadow: 0 18px 34px rgba(31, 92, 255, .30), inset 0 1px 0 rgba(255,255,255,.22);
}

.product-right .btn,
.product-right .btn-primary,
.product-right .btn-outline {
  min-height: 58px;
  font-size: 17px;
  text-align: center;
}

/* Remove broken ISO label from v4/v5 completely */
.product-right .btn-primary::after,
.product-right .btn::after,
.product-right .btn-outline::after {
  content: none !important;
  display: none !important;
}

/* Clean arrow in CTA buttons */
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-left: 2px;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-weight: 900;
  line-height: 1;
}

/* Replace screenshot +/- circles with FAQ-like chevron */
.step-screens summary {
  position: relative;
  display: block;
  padding: 13px 46px 13px 14px;
  line-height: 1.35;
}

.step-screens summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-60%) rotate(45deg);
  border-right: 2px solid #0d3db7;
  border-bottom: 2px solid #0d3db7;
  border-radius: 0;
  background: transparent;
  display: block;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.step-screens[open] summary::after {
  content: "";
  transform: translateY(-35%) rotate(225deg);
  width: 9px;
  height: 9px;
  padding: 0;
  border-right: 2px solid #0d3db7;
  border-bottom: 2px solid #0d3db7;
  background: transparent;
}

/* Make FAQ summaries use the same chevron language */
.faq summary {
  position: relative;
  padding-right: 34px;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-60%) rotate(45deg);
  border-right: 2px solid #171717;
  border-bottom: 2px solid #171717;
}

.faq details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

@media (max-width: 760px) {
  .btn,
  .btn-primary,
  .btn-outline {
    width: 100%;
    min-height: 52px;
    white-space: normal;
    text-align: center;
    padding: 0 18px;
  }
}


/* ==== v7 button wrapping + free SEO polish ==== */

.product-right .btn,
.product-right .btn-primary,
.product-right .btn-outline,
.product-right .btn-full {
  white-space: normal !important;
  text-align: center;
  line-height: 1.18;
  min-height: 68px;
  padding: 12px 18px;
  flex-wrap: wrap;
  gap: 6px;
}

.product-right .btn .cta-arrow {
  flex: 0 0 auto;
}

.product-right .btn-full {
  max-width: 100%;
}

@media (min-width: 761px) {
  .product-right .btn-full {
    display: flex;
  }

  .product-right .btn-full .cta-arrow {
    margin-left: 4px;
  }
}

@media (max-width: 760px) {
  .product-right .btn,
  .product-right .btn-primary,
  .product-right .btn-outline,
  .product-right .btn-full {
    min-height: 58px;
    padding: 12px 16px;
    line-height: 1.22;
  }
}


/* ==== v8 scrollspy / typography / button cleanup ==== */

/* Remove arrow added inside CTA buttons */
.cta-arrow {
  display: none !important;
}

/* Download buttons: no arrow, text can wrap cleanly */
.product-right .btn,
.product-right .btn-primary,
.product-right .btn-outline,
.product-right .btn-full {
  white-space: normal !important;
  text-align: center;
  line-height: 1.18;
  min-height: 66px;
  padding: 12px 18px;
  gap: 0;
}

/* Remove right-side custom arrows in FAQ. Native left marker remains. */
.faq summary::after,
.faq details[open] summary::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.faq summary {
  padding-right: 0 !important;
}

/* Hero H1 typography */
h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 820px;
}

/* OS number letter spacing */
.os-number,
.os-number-light {
  letter-spacing: 0 !important;
}

/* Scroll spy active state */
.catalog-aside a {
  position: relative;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.catalog-aside a.is-active {
  background: #eaf0ff;
  color: #0d3db7;
  box-shadow: inset 3px 0 0 #1f5cff;
  font-weight: 780;
}

.catalog-aside a.is-active::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #1f5cff;
}

@media (max-width: 1040px) {
  .catalog-aside a.is-active {
    box-shadow: inset 0 -3px 0 #1f5cff;
  }

  .catalog-aside a.is-active::after {
    display: none;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    letter-spacing: -0.015em;
    line-height: 1.08;
  }

  .product-right .btn,
  .product-right .btn-primary,
  .product-right .btn-outline,
  .product-right .btn-full {
    min-height: 58px;
    padding: 12px 16px;
  }
}


/* ==== v9 h1 letter-spacing and scrollspy dot removal ==== */

/* User requested exact zero letter-spacing for H1 */
h1 {
  letter-spacing: 0 !important;
}

/* Remove the blue dot in scroll spy active item */
.catalog-aside a.is-active::after {
  content: none !important;
  display: none !important;
}


/* ==== v10 unified border radius ==== */

:root {
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius: 16px;
}

/* Main containers and cards */
.cover-shell,
.product-card,
.browser-section,
.included,
.seo-block,
.rufus-guide,
.install,
.faq,
.catalog-aside,
.seo-intro .container,
.summary,
.release-card,
.hero-panel,
.download-card,
.yandex-card,
.feature-card,
details {
  border-radius: var(--radius) !important;
}

/* Inner cards and panels */
.cover-board,
.params div,
.included-grid article,
.rufus-list li,
.timeline-item,
.install-step,
.warning-box,
.step-screens,
.screen-gallery img,
.panel-note,
.spec-grid,
.feature,
.mini-card,
.browser-pill {
  border-radius: var(--radius-lg) !important;
}

/* Small interface elements */
.btn,
.btn-primary,
.btn-outline,
.button,
.button-primary,
.button-secondary,
.catalog-aside a,
.side-nav a,
.nav a,
.theme-toggle,
.brand-icon,
.logo-box,
.version-mark,
.os-number,
.os-number-light,
.version,
.download__top strong,
.step span,
.timeline-item span,
.rufus-list li::before {
  border-radius: var(--radius-md) !important;
}

/* Pills/badges keep modest pill shape, not exaggerated */
.pretitle,
.product-chip,
.badge,
.label,
.system,
.eyebrow,
.tag {
  border-radius: var(--radius-sm) !important;
}

/* True circular brand/product marks remain circular */
.yandex-logo,
.yandex__logo,
.browser-mark {
  border-radius: var(--radius-xl) !important;
}

/* Remove overly large mobile/special radii from previous versions */
@media (max-width: 760px) {
  .cover-shell,
  .product-card,
  .browser-section,
  .included,
  .seo-block,
  .rufus-guide,
  .install,
  .faq,
  .cover-copy,
  .cover-board,
  .product-left,
  .product-right {
    border-radius: var(--radius) !important;
  }
}


/* ==== v11 FAQ arrows: right only ==== */

/* Hide the native left marker in FAQ */
.faq summary {
  position: relative;
  list-style: none;
  padding-right: 34px !important;
}

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

.faq summary::marker {
  content: "";
}

/* Restore only the right-side chevron */
.faq summary::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-60%) rotate(45deg);
  border-right: 2px solid #171717 !important;
  border-bottom: 2px solid #171717 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.faq details[open] summary::after {
  content: "" !important;
  display: block !important;
  transform: translateY(-35%) rotate(225deg);
}


/* ==== v12 FAQ lines/arrows and cover inner radius fix ==== */

/* FAQ separators: straight full-width lines without rounded side artifacts */
.faq details {
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
}

.faq details:first-of-type,
.faq details:last-child {
  border-radius: 0 !important;
}

/* FAQ: no native left marker, right chevron always visible */
.faq summary {
  position: relative;
  list-style: none !important;
  padding-right: 36px !important;
}

.faq summary::-webkit-details-marker {
  display: none !important;
}

.faq summary::marker {
  content: "" !important;
}

/* Closed state: down chevron */
.faq summary::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-60%) rotate(45deg);
  border-right: 2px solid #171717 !important;
  border-bottom: 2px solid #171717 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}

/* Open state: up chevron, visible */
.faq details[open] summary::after {
  content: "" !important;
  display: block !important;
  transform: translateY(-35%) rotate(225deg);
  opacity: 1 !important;
}

/* Cover shell: radius only on the outer perimeter, no inner radii between white and grey blocks */
.cover-shell {
  overflow: hidden !important;
  border-radius: var(--radius) !important;
}

.cover-shell .cover-copy {
  border-radius: 0 !important;
}

.cover-shell .cover-board {
  border-radius: 0 !important;
}

/* Keep only external corners rounded if a browser ignores overflow clipping */
@media (min-width: 1041px) {
  .cover-shell .cover-copy {
    border-top-left-radius: var(--radius) !important;
    border-bottom-left-radius: var(--radius) !important;
  }

  .cover-shell .cover-board {
    border-top-right-radius: var(--radius) !important;
    border-bottom-right-radius: var(--radius) !important;
  }
}

@media (max-width: 1040px) {
  .cover-shell .cover-copy {
    border-top-left-radius: var(--radius) !important;
    border-top-right-radius: var(--radius) !important;
  }

  .cover-shell .cover-board {
    border-bottom-left-radius: var(--radius) !important;
    border-bottom-right-radius: var(--radius) !important;
  }
}


/* ==== v13 FAQ arrow hard fix ==== */

/*
  Previous versions had several competing ::after rules for FAQ.
  This version disables ::after entirely and draws the FAQ chevron with ::before.
  Result: no left marker, stable right arrow, arrow points up when opened.
*/

.faq summary {
  position: relative !important;
  display: block !important;
  list-style: none !important;
  padding-right: 38px !important;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none !important;
}

.faq summary::marker {
  content: "" !important;
  font-size: 0 !important;
}

/* Disable all older right-arrow attempts */
.faq summary::after,
.faq details[open] summary::after {
  content: none !important;
  display: none !important;
}

/* Closed state: down chevron on the right */
.faq summary::before {
  content: "" !important;
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  width: 10px !important;
  height: 10px !important;
  display: block !important;
  transform: translateY(-60%) rotate(45deg) !important;
  border-right: 2px solid #171717 !important;
  border-bottom: 2px solid #171717 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Open state: up chevron on the right */
.faq details[open] summary::before {
  content: "" !important;
  display: block !important;
  transform: translateY(-35%) rotate(225deg) !important;
  opacity: 1 !important;
}

/* Torrent download buttons use green to stand apart from ISO CTAs. */
.product-right .btn-torrent,
.product-right .btn-torrent:visited {
  background: linear-gradient(135deg, #19a663 0%, #0b7d45 100%) !important;
  border-color: #0b7d45 !important;
  color: #ffffff !important;
}

.product-right .btn-torrent:hover,
.product-right .btn-torrent:focus-visible {
  background: linear-gradient(135deg, #21b970 0%, #096b3b 100%) !important;
  border-color: #096b3b !important;
  color: #ffffff !important;
}
