:root {
  color-scheme: dark;
  --bg: #111416;
  --surface: #1b2023;
  --surface-2: #252c30;
  --paper: #f3f5f4;
  --ink: #172024;
  --muted: #aab5ba;
  --muted-dark: #58656b;
  --cyan: #38d5d0;
  --green: #7fd36b;
  --red: #f05d5e;
  --line: #384247;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: #f7f9f9;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  min-height: 100%;
  overflow-x: hidden;
}

.ambient-background {
  background: #090d0f;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.ambient-scene,
.ambient-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.ambient-scene {
  filter: blur(30px) brightness(0.42) saturate(0.9);
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.35s ease, transform 7s ease;
}

.ambient-scene.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.ambient-shade {
  background: linear-gradient(180deg, rgba(5, 8, 10, 0.42), rgba(5, 8, 10, 0.72));
}

.scroll-progress {
  background: rgba(255, 255, 255, 0.08);
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 68px;
  z-index: 25;
}

.scroll-progress span {
  background: linear-gradient(90deg, #1f7cff, #ffd500);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

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

code {
  font-family: "Cascadia Mono", Consolas, monospace;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(12, 16, 18, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.ukraine-mark {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin-left: auto;
  margin-right: 34px;
}

.ukraine-flag {
  background: linear-gradient(to bottom, #0057b7 0 50%, #ffd700 50% 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(0, 87, 183, 0.28);
  display: inline-block;
  flex: 0 0 auto;
  height: 18px;
  width: 27px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
}

.brand img {
  height: 40px;
  object-fit: contain;
  width: 40px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  min-height: min(860px, 92vh);
  overflow: hidden;
  padding: 148px max(24px, calc((100vw - var(--max)) / 2)) 92px;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  filter: blur(3px) brightness(0.72) saturate(1.08);
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(5, 8, 10, 0.89) 0%, rgba(5, 8, 10, 0.69) 52%, rgba(5, 8, 10, 0.42) 100%);
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.patriot-line {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  margin: 0 0 24px;
}

.patriot-line .ukraine-flag,
.footer-glory .ukraine-flag {
  margin-right: 2px;
}

.eyebrow.dark {
  color: #087f7b;
}

h1 {
  font-size: 78px;
  line-height: 0.98;
  margin: 0;
  max-width: 800px;
}

.lead {
  color: #d6dddf;
  font-size: 21px;
  line-height: 1.5;
  margin: 28px 0 0;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
}

.button svg,
.checksum-link svg,
.copy-button svg {
  height: 19px;
  width: 19px;
}

.button.primary {
  background: var(--cyan);
  color: #071312;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #68e3df;
}

.button.secondary {
  border-color: #8b979c;
  color: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--cyan);
}

.hero-version {
  color: #a8b2b6;
  font-size: 13px;
  margin-top: 22px;
}

.next-section {
  bottom: 22px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.next-section svg {
  height: 30px;
  width: 30px;
}

.content {
  margin: 0 auto;
  max-width: var(--max);
  width: calc(100% - 48px);
}

.warning-band {
  backdrop-filter: blur(14px);
  background: rgba(100, 31, 34, 0.92);
  border-bottom: 1px solid #963c40;
  border-top: 1px solid #963c40;
  padding: 28px 0;
}

.warning-layout,
.recovery-layout {
  align-items: flex-start;
  display: grid;
  gap: 22px;
  grid-template-columns: 36px 1fr;
}

.warning-layout > svg,
.recovery-layout > svg {
  height: 32px;
  width: 32px;
}

.warning-layout h2,
.recovery-layout h2 {
  font-size: 23px;
  margin: 0 0 8px;
}

.warning-layout p,
.recovery-layout p {
  line-height: 1.55;
  margin: 0;
}

.section {
  backdrop-filter: blur(18px);
  background: rgba(243, 245, 244, 0.94);
  color: var(--ink);
  padding: 92px 0;
}

.section.muted {
  background: rgba(228, 233, 231, 0.91);
}

.install-section {
  background: rgba(11, 16, 19, 0.78);
  color: #f5f8f8;
}

.install-section .eyebrow.dark,
.install-section .steps > li > span,
.install-section .steps code {
  color: var(--cyan);
}

.install-section .section-heading > p:last-child,
.install-section .steps p {
  color: #c4ced1;
}

.install-section .steps li {
  border-color: rgba(214, 225, 228, 0.28);
}

.section-heading {
  max-width: 670px;
}

.section-heading h2,
.download-layout h2 {
  font-size: 52px;
  line-height: 1.08;
  margin: 0;
}

.section-heading > p:last-child {
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.feature {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  min-height: 178px;
  padding: 21px 22px;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.feature:hover {
  border-color: rgba(8, 127, 123, 0.65);
  box-shadow: 0 18px 44px rgba(19, 37, 41, 0.12);
  transform: translateY(-5px);
}

.feature svg {
  color: #087f7b;
  height: 26px;
  width: 26px;
}

.feature h3 {
  font-size: 19px;
  margin: 20px 0 7px;
}

.feature p {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.capability-list {
  border-top: 1px solid #b9c3bf;
  margin-top: 50px;
}

.capability-row {
  align-items: start;
  border-bottom: 1px solid #b9c3bf;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(250px, 0.75fr) 1.25fr;
  padding: 27px 0;
}

.capability-row > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.capability-row svg {
  color: #087f7b;
  flex: 0 0 auto;
  height: 26px;
  width: 26px;
}

.capability-row h3 {
  font-size: 21px;
  margin: 0;
}

.capability-row p {
  color: var(--muted-dark);
  line-height: 1.6;
  margin: 0;
}

.scope-note {
  align-items: flex-start;
  background: #d8e5e1;
  border-left: 4px solid #087f7b;
  display: grid;
  gap: 14px;
  grid-template-columns: 24px 1fr;
  margin-top: 34px;
  padding: 22px 24px;
}

.scope-note svg {
  color: #087f7b;
  height: 22px;
  width: 22px;
}

.scope-note p {
  line-height: 1.55;
  margin: 0;
}

.install-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.8fr 1.2fr;
}

.sticky-heading {
  position: sticky;
  top: 100px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  border-top: 1px solid #b9c3bf;
  display: grid;
  gap: 20px;
  grid-template-columns: 54px 1fr;
  padding: 25px 0;
}

.steps li:last-child {
  border-bottom: 1px solid #b9c3bf;
}

.steps > li > span {
  color: #087f7b;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 800;
}

.steps h3 {
  font-size: 20px;
  margin: 0 0 7px;
}

.steps p {
  color: var(--muted-dark);
  line-height: 1.5;
  margin: 0;
}

.steps code {
  color: #096d69;
  font-size: 0.93em;
  font-weight: 700;
}

.download-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.1fr 0.9fr;
}

.download-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

.release-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.release-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.release-card h3 {
  font-size: 30px;
  margin: 8px 0 10px;
}

.release-badge {
  align-self: flex-start;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  padding: 5px 8px;
}

.archive-badge {
  color: #f0b35a;
}

.new-badge {
  color: var(--cyan);
}

.driver-badge {
  color: #7faeff;
}

.driver-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  margin-top: 18px;
}

.driver-download .hash {
  grid-column: 1 / -1;
}

.driver-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

@media (max-width: 720px) {
  .driver-download {
    grid-template-columns: 1fr;
  }

  .driver-download .hash {
    grid-column: auto;
  }

  .driver-actions {
    min-width: 0;
  }
}

.standalone-apk {
  margin-top: 24px;
  max-width: 420px;
}

.download-copy {
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.55;
  max-width: 650px;
}

.release-meta {
  border-top: 1px solid #c4ceca;
  margin-top: 34px;
}

.release-meta div {
  border-bottom: 1px solid #c4ceca;
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 13px 0;
}

.release-meta dt {
  color: var(--muted-dark);
}

.release-meta dd {
  font-weight: 700;
  margin: 0;
}

.download-box {
  backdrop-filter: blur(16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  padding: 28px;
}

.wide {
  width: 100%;
}

.checksum-link {
  align-items: center;
  color: #b9c5c9;
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.checksum-link:hover,
.checksum-link:focus-visible {
  color: var(--cyan);
}

.hash-label {
  color: #89969b;
  font-size: 12px;
  font-weight: 800;
  margin: 26px 0 8px;
}

.hash {
  color: #d5dedf;
  display: block;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.copy-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 13px;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
}

.recovery {
  background: rgba(18, 52, 48, 0.88);
  color: #f5f8f7;
  padding: 48px 0;
}

.recovery code {
  color: var(--cyan);
}

footer {
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 14, 0.86);
  border-top: 1px solid var(--line);
  padding: 46px 0;
}

.footer-layout {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

footer strong {
  color: var(--cyan);
}

.footer-glory {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin: 12px 0 0;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

footer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 620px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 850px) {
  .hero-image {
    object-position: 78% top;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-top: 136px;
  }

  h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .download-layout h2 {
    font-size: 42px;
  }

  .ukraine-mark {
    margin-right: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-layout,
  .download-layout,
  .release-grid,
  .capability-row {
    gap: 46px;
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 60px;
    padding: 0 18px;
  }

  .scroll-progress {
    top: 60px;
  }

  .ukraine-mark strong {
    display: none;
  }

  .ukraine-mark {
    margin-left: auto;
  }

  .brand img {
    height: 34px;
    width: 34px;
  }

  .hero {
    min-height: 760px;
    padding: 116px 20px 76px;
  }

  h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .download-layout h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .content {
    width: calc(100% - 36px);
  }

  .section {
    padding: 66px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 164px;
  }

  .capability-row {
    gap: 14px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* TECHNOZON PROJECT visual system */
.flagline {
  background: linear-gradient(90deg, #1677ff 0 50%, #ffe500 50% 100%);
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

body {
  background: #070a10;
  font-family: Manrope, "Segoe UI", sans-serif;
}

.site-header {
  background: rgba(7, 10, 16, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  height: 72px;
  top: 3px;
}

.scroll-progress {
  top: 75px;
}

.brand {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.brand b {
  color: var(--cyan);
  font-weight: 800;
}

.brand img {
  height: 34px;
  width: 34px;
}

nav {
  gap: 22px;
}

nav a {
  font-size: 12px;
  text-transform: uppercase;
}

nav .project-link {
  color: #fff;
}

.hero {
  min-height: min(900px, 94vh);
  padding-top: 150px;
}

.hero-image {
  filter: brightness(0.68) saturate(1.02);
  object-position: 64% 15%;
  transform: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, #070a10 0%, rgba(7, 10, 16, 0.94) 34%, rgba(7, 10, 16, 0.42) 70%, rgba(7, 10, 16, 0.2) 100%),
    linear-gradient(0deg, #070a10 0%, transparent 35%);
}

.hero-content {
  max-width: 800px;
}

.project-backlink {
  align-items: center;
  color: #c4cbd3;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.project-backlink span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  padding: 7px 11px;
}

.project-backlink:hover,
.project-backlink:focus-visible {
  color: #fff;
}

.patriot-line {
  margin-bottom: 18px;
}

h1 {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(56px, 6.2vw, 94px);
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: transparent;
  font-weight: 800;
  -webkit-text-stroke: 1.5px #f7f9f9;
}

.lead {
  max-width: 620px;
}

.button {
  border-radius: 999px;
  min-height: 48px;
  padding-inline: 22px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.section,
.section.muted,
.samba-section {
  background: rgba(7, 10, 16, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f7f8;
}

.section.muted {
  background: rgba(12, 16, 24, 0.94);
}

.eyebrow.dark,
.install-section .eyebrow.dark {
  color: var(--cyan);
}

.section-heading h2,
.download-layout h2,
.download-heading h2,
.buy-copy h2,
.modifier-review h2 {
  color: #f7f9f9;
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading > p:last-child,
.install-section .section-heading > p:last-child,
.install-section .steps p,
.feature p,
.capability-row p,
.samba-step p,
.buy-copy p,
.modifier-review p,
.download-copy {
  color: #aab4bf;
}

.feature-grid {
  gap: 14px;
}

.feature {
  background: linear-gradient(145deg, rgba(21, 27, 38, 0.96), rgba(10, 14, 21, 0.96));
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  min-height: 166px;
  overflow: hidden;
  position: relative;
}

.feature::after {
  background: var(--cyan);
  content: "";
  filter: blur(24px);
  height: 36px;
  opacity: 0;
  position: absolute;
  right: -14px;
  top: -14px;
  transition: opacity 220ms ease;
  width: 36px;
}

.feature:hover::after {
  opacity: 0.22;
}

.feature h3 {
  color: #f7f9f9;
}

.feature svg,
.capability-row svg {
  color: var(--cyan);
}

.capability-list,
.capability-row,
.samba-guide,
.samba-step,
.steps li {
  border-color: rgba(255, 255, 255, 0.13);
}

.capability-row h3,
.samba-step h3,
.steps h3,
.download-box h3,
.driver-download h3 {
  color: #f7f9f9;
}

.scope-note,
.download-box,
.video-review,
.promo-row,
.driver-download {
  background: linear-gradient(145deg, rgba(21, 27, 38, 0.98), rgba(10, 14, 21, 0.98));
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4f7f8;
}

footer {
  background: #070a10;
}

.footer-project-link {
  color: var(--cyan) !important;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .ukraine-mark {
    display: none;
  }
}

@media (max-width: 850px) {
  .hero-image {
    object-position: 68% top;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 10, 16, 0.96), rgba(7, 10, 16, 0.48)),
                linear-gradient(0deg, #070a10 0%, transparent 50%);
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 62px;
    top: 3px;
  }

  .scroll-progress {
    top: 65px;
  }

  .brand span {
    font-size: 11px;
  }

  .hero {
    min-height: 790px;
    padding-top: 112px;
  }

  .hero-image {
    object-position: 70% top;
  }

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

  .project-backlink {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .feature {
    border-radius: 16px;
  }
}

.samba-section {
  background: rgba(238, 244, 246, 0.96);
}

.samba-guide {
  border-top: 1px solid var(--line);
}

.samba-step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.samba-step > span {
  color: #087f7b;
  font-weight: 900;
  font-size: 1rem;
}

.samba-step h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.samba-step p {
  margin: 0;
  color: var(--muted-dark);
}

.samba-step code {
  overflow-wrap: anywhere;
}

.samba-limit {
  margin-top: 30px;
}

body.modal-open {
  overflow: hidden;
}

.risk-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.risk-modal[hidden] {
  display: none;
}

.risk-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 11, 0.86);
  backdrop-filter: blur(10px);
}

.risk-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: #11181c;
  border: 1px solid rgba(255, 91, 91, 0.58);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.risk-icon {
  width: 42px;
  height: 42px;
  color: #ff6262;
  margin-bottom: 20px;
}

.risk-dialog .eyebrow {
  color: #ff8686;
}

.risk-dialog h2 {
  margin: 8px 0 22px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.risk-dialog > p:not(.eyebrow) {
  color: #c7d0d4;
  font-size: 17px;
  line-height: 1.65;
}

.risk-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.button.danger {
  color: #fff;
  background: #b92731;
  border-color: #e34a54;
}

.button.danger:hover,
.button.danger:focus-visible {
  background: #d3313c;
}

@media (max-width: 560px) {
  .samba-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .risk-modal {
    padding: 12px;
  }

  .risk-dialog {
    max-height: calc(100vh - 24px);
    padding: 28px 22px;
  }

  .risk-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .risk-actions .button {
    width: 100%;
  }
}
.buy-section {
  background: rgba(242, 246, 247, 0.96);
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.buy-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted-dark);
}

.promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-row span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.promo-row code {
  font-size: 1.3rem;
  font-weight: 800;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090d10;
  border: 1px solid rgba(18, 39, 45, 0.18);
  box-shadow: 0 22px 55px rgba(5, 15, 20, 0.18);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-review p {
  color: var(--muted-dark);
  margin: 14px 0 0;
}

.modifier-review {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 72px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.modifier-review-copy p:not(.eyebrow) {
  color: var(--muted-dark);
  margin-bottom: 24px;
}

.dark-button {
  color: var(--ink);
  border-color: rgba(23, 32, 36, 0.35);
}

.dark-button:hover,
.dark-button:focus-visible {
  color: #fff;
  background: var(--ink);
}

@media (max-width: 860px) {
  .buy-layout {
    grid-template-columns: 1fr;
  }

  .modifier-review {
    grid-template-columns: 1fr;
  }

  .promo-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* RT-G2 keeps the X11 visual system with a compact multilingual switch. */
.langs {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: flex;
  margin-left: 18px;
  padding: 3px;
}

.lang {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #9aa5aa;
  cursor: pointer;
  font: 700 10px Manrope, sans-serif;
  padding: 7px 9px;
}

.lang.active {
  background: var(--cyan);
  color: #071312;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1180px) {
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 10px; }
  .ukraine-mark { display: none; }
}

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .langs { margin-left: auto; }
}

@media (max-width: 560px) {
  .site-header .brand span { font-size: 10px; }
  .langs { margin-left: 10px; }
}

/* RT-G2 PALETTE LOCK — keep this block last, after every legacy rule. */
#samba.section,
#buy.section {
  background: rgba(7, 10, 16, 0.96) !important;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #f4f7f8;
}

#samba .section-heading h2,
#samba .samba-step h3,
#buy .buy-copy h2,
#buy .video-review strong {
  color: #f7f9f9;
}

#samba .section-heading > p:last-child,
#samba .samba-step p,
#buy .buy-copy > p:not(.eyebrow),
#buy .video-review p,
#buy .promo-row span {
  color: #aab4bf;
}

#samba .samba-guide,
#samba .samba-step,
#buy .promo-row {
  border-color: rgba(255, 255, 255, 0.14);
}

#buy .promo-row,
#buy .video-review {
  background: linear-gradient(145deg, rgba(21, 27, 38, 0.98), rgba(10, 14, 21, 0.98));
}

#buy .dark-button {
  color: #f7f9f9;
  border-color: rgba(255, 255, 255, 0.3);
}

#buy .dark-button:hover,
#buy .dark-button:focus-visible {
  color: #071312;
  background: var(--cyan);
  border-color: var(--cyan);
}

.install-flow {
  min-width: 0;
}

.remote-warning {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(73, 48, 13, 0.96), rgba(34, 25, 12, 0.98));
  border: 1px solid rgba(255, 190, 70, 0.58);
  color: #fff4d8;
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px;
}

.remote-warning svg {
  color: #ffc34d;
  flex: 0 0 28px;
  height: 28px;
  width: 28px;
}

.remote-warning strong {
  color: #ffd77f;
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.remote-warning p {
  color: #f5e6c5;
  line-height: 1.55;
  margin: 0;
}

.boot-warning {
  border-color: rgba(255, 214, 10, .72);
  background: linear-gradient(135deg, rgba(54, 42, 8, .96), rgba(21, 25, 29, .97));
}

.boot-warning svg,
.boot-warning strong {
  color: #ffd60a;
}

@media (max-width: 560px) {
  html,
  body,
  main {
    max-width: 100%;
    overflow-x: clip;
  }

  .content,
  .install-layout,
  .install-layout > *,
  .install-flow,
  .steps,
  .buy-layout,
  .release-grid,
  .section-heading {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .steps li > div,
  .section-heading h2,
  .download-heading h2,
  .remote-warning div {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .remote-warning {
    padding: 18px 16px;
  }
}
