:root {
  --bg: #071113;
  --bg-2: #0d1a1d;
  --ink: #eaf5f1;
  --muted: #9db1ad;
  --line: rgba(161, 191, 184, 0.22);
  --card: #111f23;
  --card-2: #16272c;
  --cyan: #35d8cf;
  --cyan-dark: #138d8a;
  --amber: #f2aa4c;
  --green: #87d37c;
  --paper: #f5f6f2;
  --paper-ink: #132023;
  --paper-muted: #5d6c69;
  --paper-line: #dce3dd;
  --danger: #ff7b7b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --page-pad: clamp(18px, 3.2vw, 56px);
  --content-max: 1180px;
  --hero-copy-offset: max(0px, calc((100vw - 1280px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

button, input, textarea {
  font: inherit;
}

:where(a, button, .button):focus-visible {
  outline: 3px solid rgba(53, 216, 207, 0.78);
  outline-offset: 3px;
}

@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;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 19, 0.88);
  backdrop-filter: blur(18px);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.brand-logo {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.repo-link) {
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav > a:not(.repo-link):hover, .site-nav > a:not(.repo-link).active {
  background: rgba(53, 216, 207, 0.1);
  color: var(--ink);
}

.repo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.repo-link:hover {
  border-color: rgba(53, 216, 207, 0.48);
  background: rgba(53, 216, 207, 0.1);
  transform: translateY(-1px);
}

.repo-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(53, 216, 207, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  padding: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.language-switch a:hover {
  color: var(--ink);
}

.language-switch a.active {
  background: linear-gradient(135deg, var(--cyan), #5ff0c7);
  color: #021213;
  box-shadow: 0 8px 20px rgba(53, 216, 207, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.nav-toggle:hover, .nav-toggle[aria-expanded="true"] {
  border-color: rgba(53, 216, 207, 0.5);
  background: rgba(53, 216, 207, 0.1);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(430px, 58svh, 620px);
  padding: clamp(48px, 7svh, 82px) var(--page-pad);
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(7, 17, 19, 0.97) 0%,
    rgba(7, 17, 19, 0.9) 34%,
    rgba(7, 17, 19, 0.5) 66%,
    rgba(7, 17, 19, 0.74) 100%
  );
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(620px, 46vw);
  margin-left: var(--hero-copy-offset);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  display: inline-block;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #eaf5f1 8%, var(--cyan) 48%, var(--amber) 92%);
  background-clip: text;
  color: transparent;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  color: #c3d4d0;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}

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

.button.secondary {
  border-color: rgba(53, 216, 207, 0.42);
  background: rgba(53, 216, 207, 0.12);
  color: var(--ink);
}

.button.dark {
  background: var(--paper-ink);
  color: #fff;
}

.button.outline {
  border-color: var(--paper-line);
  background: transparent;
  color: inherit;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center right;
  box-shadow: none;
}

.home-page .site-header {
  position: absolute;
  right: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 19, 0.7),
    rgba(7, 17, 19, 0.28) 68%,
    rgba(7, 17, 19, 0)
  );
  border-bottom-color: rgba(161, 191, 184, 0.12);
  backdrop-filter: none;
}

.home-page .hero {
  min-height: clamp(560px, 74svh, 740px);
  padding-top: clamp(104px, 11svh, 132px);
  padding-bottom: clamp(56px, 7svh, 84px);
}

.home-page .hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 19, 0.98) 0%,
      rgba(7, 17, 19, 0.9) 31%,
      rgba(7, 17, 19, 0.58) 56%,
      rgba(7, 17, 19, 0.42) 74%,
      rgba(7, 17, 19, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 17, 19, 0.22) 0%,
      rgba(7, 17, 19, 0) 32%,
      rgba(7, 17, 19, 0.42) 100%
    );
}

.home-page .hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 12%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 19, 0) 0%, rgba(7, 17, 19, 0.1) 62%, #071113 100%);
  content: "";
}

.home-page .hero-media img {
  object-position: center center;
  transform: translateY(62px) scale(1.02);
}

.home-page .hero-media {
  inset: -52px -5vw -120px 4vw;
}

.trust-hero .hero-copy {
  max-width: min(680px, 48vw);
}

.trust-hero h1 {
  max-width: 780px;
  font-size: clamp(58px, 6.2vw, 90px);
  line-height: 1.03;
}

.trust-hero .hero-lead {
  max-width: 660px;
  color: #e2eeeb;
  line-height: 1.68;
}

.home-page .hero-actions {
  margin-top: 30px;
  margin-bottom: 0;
}

.system-grid {
  display: grid;
  gap: 18px;
  max-width: var(--content-max);
  margin: 0 auto;
}

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

.system-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  min-height: 310px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-align: center;
}

.system-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.system-card .platform-logo, .system-card .text-logo {
  align-self: flex-start;
  grid-row: auto;
  margin: 0 auto;
}

.system-card h3 {
  color: var(--paper-ink);
  font-size: 24px;
}

.system-card p, .system-card dd {
  color: var(--paper-muted);
}

.system-card dl {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 16px 0 0;
}

.system-card dt {
  color: var(--paper-ink);
  font-weight: 900;
}

.system-card dd {
  margin: -6px 0 0;
}

.system-actions {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-self: end;
}

.text-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(19, 141, 138, 0.18);
  border-radius: 16px;
  background: rgba(53, 216, 207, 0.1);
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 12px 34px rgba(19, 32, 35, 0.12);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px solid rgba(161, 191, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 24px 18px;
  text-align: center;
  counter-increment: journey;
}

.journey-steps li::before {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--cyan);
  color: #021213;
  font-size: 13px;
  font-weight: 950;
  content: counter(journey, decimal-leading-zero);
}

.journey-steps strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.journey-steps span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: clamp(56px, 7vw, 88px) var(--page-pad);
}

.section-tight {
  padding-top: clamp(52px, 6vw, 72px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid, .pricing-grid, .mini-grid {
  display: grid;
  gap: 18px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card, .price-card, .guide-panel, .faq-category {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid rgba(53, 216, 207, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(53, 216, 207, 0.12), rgba(242, 170, 76, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 22px rgba(53, 216, 207, 0.05);
}

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

.feature-card p, .price-card p, .guide-panel p, .faq-category p {
  color: var(--muted);
}

.light-section {
  background: var(--paper);
  color: var(--paper-ink);
}

.light-section .section-head p:not(.eyebrow), .light-section .price-card p, .light-section .price-card li {
  color: var(--paper-muted);
}

.light-section .price-card {
  border-color: var(--paper-line);
  background: #fff;
}

.platform-logo {
  width: 52px;
  height: 52px;
  max-width: 52px;
  max-height: 52px;
  margin: 0 auto 24px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 12px 34px rgba(19, 32, 35, 0.14);
}

.tutorial-band {
  background:
    linear-gradient(90deg, rgba(53, 216, 207, 0.08), transparent),
    var(--bg-2);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.pricing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: min(1760px, calc(100vw - var(--page-pad) * 2));
}

.plan-provider {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.plan-provider h2 {
  margin-bottom: 8px;
  color: var(--paper-ink);
  font-size: clamp(34px, 4vw, 46px);
}

.plan-provider p {
  margin: 0 auto;
  color: var(--paper-muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px;
  text-align: center;
}

.price-card.featured {
  border-color: rgba(53, 216, 207, 0.72);
  box-shadow: 0 18px 60px rgba(19, 141, 138, 0.16);
}

.plan-name {
  color: var(--cyan-dark);
  font-weight: 900;
}

.price-card h3, .price-card h2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1.05;
}

.price-card h3 span, .price-card h2 span {
  color: var(--paper-muted);
  font-size: 15px;
}

.price-card > p:not(.plan-name) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
}

.price-card ul {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  width: 100%;
  min-height: 142px;
  margin: 15px 0 18px;
  padding: 0;
  list-style: none;
}

.price-card li {
  font-size: 16px;
  line-height: 1.38;
}

.price-card .button {
  width: auto;
  min-width: 132px;
  margin-top: 0;
}

.price-card li::before {
  margin-right: 8px;
  color: var(--cyan-dark);
  content: "✓";
}

.faq-section {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 18px 22px;
  text-align: left;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.faq-item button:hover {
  background: rgba(53, 216, 207, 0.06);
}

.faq-item button::after {
  flex: 0 0 auto;
  margin-left: 18px;
  color: var(--cyan);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq-item.open button::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: 88px var(--page-pad) 70px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(53, 216, 207, 0.08), rgba(242, 170, 76, 0.06)),
    var(--bg);
}

.page-hero.compact {
  padding-bottom: 56px;
}

.page-hero h1 {
  font-size: 56px;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.download-catalog {
  display: grid;
  gap: 36px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.decision-card, .platform-summary-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 20px;
}

.decision-card strong, .platform-summary-note strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.decision-card span, .platform-summary-note p, .platform-summary-note li, .platform-summary-note span {
  color: var(--muted);
}

.decision-card .eyebrow, .platform-summary-note .eyebrow {
  margin-bottom: 0;
  color: var(--amber);
}

.decision-panel {
  display: grid;
  gap: 22px;
  max-width: var(--content-max);
  margin: 0 auto 34px;
}

.decision-grid {
  max-width: none;
  margin: 0;
}

.light-section .decision-card, .light-section .platform-summary-note {
  border-color: var(--paper-line);
  background: #fff;
}

.light-section .decision-card strong, .light-section .platform-summary-note strong {
  color: var(--paper-ink);
}

.light-section .decision-card span, .light-section .platform-summary-note p, .light-section .platform-summary-note li, .light-section .platform-summary-note span {
  color: var(--paper-muted);
}

.platform-summary-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  max-width: var(--content-max);
  margin: 0 auto 18px;
}

.platform-summary-note p {
  margin-bottom: 0;
}

.platform-summary-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1rem;
}

.platform-tabs {
  position: sticky;
  top: 86px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  backdrop-filter: blur(16px);
}

.platform-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: #fff;
  color: var(--paper-ink);
  font-weight: 900;
  padding: 8px 14px;
}

.platform-tabs a:hover {
  border-color: rgba(19, 141, 138, 0.42);
  background: rgba(53, 216, 207, 0.1);
}

.platform-tabs a.active, .platform-tabs a[aria-current="page"] {
  border-color: rgba(53, 216, 207, 0.62);
  background: linear-gradient(135deg, var(--cyan), #5ff0c7);
  color: #021213;
  box-shadow: 0 12px 28px rgba(53, 216, 207, 0.18);
}

.platform-tabs img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.page-hero .platform-tabs {
  position: static;
  max-width: 720px;
  margin-top: 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.page-hero .platform-tabs a {
  border-color: rgba(53, 216, 207, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.page-hero .platform-tabs a:hover {
  border-color: rgba(53, 216, 207, 0.5);
  background: rgba(53, 216, 207, 0.12);
}

.page-hero .platform-tabs a.active, .page-hero .platform-tabs a[aria-current="page"] {
  border-color: rgba(53, 216, 207, 0.72);
  background: linear-gradient(135deg, var(--cyan), #5ff0c7);
  color: #021213;
}

.download-category {
  max-width: var(--content-max);
  margin: 0 auto;
  scroll-margin-top: 150px;
}

.download-category + .download-category {
  margin-top: clamp(42px, 5vw, 64px);
}

.category-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  border-top: 1px solid var(--paper-line);
  background: transparent;
  padding: 24px 0 10px;
}

.download-catalog > .download-category:first-of-type .category-head {
  border-top: 0;
  padding-top: 0;
}

.category-head .platform-logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 12px;
  margin-bottom: 0;
  box-shadow: 0 8px 20px rgba(19, 32, 35, 0.1);
}

.category-head h2 {
  margin-bottom: 4px;
  font-size: clamp(25px, 3vw, 34px);
}

.category-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--paper-muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.client-card {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  text-align: center;
}

.client-card h3 {
  color: var(--paper-ink);
}

.client-card-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: 150px;
  border-radius: 8px;
  color: inherit;
  padding: 4px;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.client-card-main:hover {
  background: rgba(53, 216, 207, 0.06);
  transform: translateY(-1px);
}

.client-card-main:hover h3 {
  color: var(--cyan-dark);
}

.client-card-main:focus-visible {
  outline: 3px solid rgba(53, 216, 207, 0.42);
  outline-offset: 4px;
}

.client-card-main .client-meta {
  margin-bottom: 0;
}

.client-logo {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  max-width: 62px;
  max-height: 62px;
  margin: 0 auto 18px;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  padding: 7px;
  box-shadow: 0 12px 30px rgba(19, 32, 35, 0.1);
}

.client-meta {
  color: var(--paper-muted);
  font-size: 14px;
  text-align: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 20px;
}

.tag-row span {
  border-radius: 999px;
  background: rgba(19, 141, 138, 0.1);
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 9px;
}

.client-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.client-actions .button {
  min-height: 38px;
  font-size: 14px;
  padding: 8px 12px;
}

.button.disabled {
  border-color: #d9e0dc;
  background: #e7ece9;
  color: #6b7774;
  cursor: not-allowed;
  transform: none;
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -44px;
  width: 150px;
  background: var(--amber);
  color: #261502;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 0;
  text-align: center;
  transform: rotate(45deg);
}

.release-main {
  display: flex;
  gap: 18px;
  align-items: center;
}

.release-main .platform-logo {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.guide-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 12px;
}

.guide-sidebar a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
}

.guide-sidebar a:hover {
  background: rgba(53, 216, 207, 0.1);
  color: var(--ink);
}

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

.guide-panel {
  scroll-margin-top: 110px;
  padding: 28px;
}

.ordered-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ordered-step;
}

.ordered-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 14px;
  align-items: start;
  counter-increment: ordered-step;
}

.ordered-steps li::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: #061617;
  content: counter(ordered-step);
  font-weight: 900;
  line-height: 1;
}

.ordered-steps strong {
  grid-column: 2;
  grid-row: 1;
}

.ordered-steps span {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
}

.platform-guide {
  display: grid;
  gap: 22px;
}

.platform-guide-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 14px 18px;
  width: 100%;
  margin: 0;
}

.platform-guide-head .platform-logo {
  grid-row: 1 / span 2;
  justify-self: start;
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  flex: 0 0 76px;
  margin: 36px 0 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.platform-guide-head > div:not(.tutorial-summary-actions) {
  min-width: 0;
}

.platform-guide-head h2 {
  margin-bottom: 8px;
}

.platform-guide-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.platform-guide-head .tutorial-summary-actions {
  grid-column: 2;
  justify-content: flex-start;
  margin-top: 6px;
}

.platform-guide-head .button {
  min-width: 136px;
}

.platform-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: platform-step;
}

.platform-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: start;
  counter-increment: platform-step;
}

.platform-steps li::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan);
  color: #061617;
  content: counter(platform-step);
  font-weight: 900;
  line-height: 1;
}

.platform-steps strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 4px;
}

.platform-steps span {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
}

.guide-note {
  margin: 0;
  border-left: 2px solid var(--amber);
  background: rgba(242, 170, 76, 0.08);
  color: #d7e3df;
  padding: 12px 14px;
}

.platform-tutorials {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.platform-tutorials-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.platform-tutorials h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.tutorial-summary-section {
  padding-top: clamp(48px, 6vw, 72px);
}

.tutorial-summary-content {
  max-width: var(--content-max);
  margin: 0 auto;
}

.tutorial-summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.platform-tutorials-head .tutorial-summary-actions {
  gap: 10px;
}

.platform-tutorials-head .button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.article-hero {
  border-bottom: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.article-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 12px;
}

.article-toc a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
}

.article-toc a:hover {
  background: rgba(53, 216, 207, 0.1);
  color: var(--ink);
}

.tutorial-article {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.article-section {
  min-width: 0;
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 28px;
}

.article-section p {
  color: var(--muted);
}

.article-section > :last-child {
  margin-bottom: 0;
}

.article-list {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-list li {
  margin: 8px 0;
  line-height: 1.75;
}

.article-list .article-list, .article-list ul {
  margin-top: 8px;
}

.reference-table {
  max-width: 100%;
  margin: 18px 0 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reference-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}

.reference-table th, .reference-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  text-align: left;
}

.reference-table th {
  color: var(--ink);
  background: rgba(53, 216, 207, 0.08);
}

.reference-table tr:last-child td {
  border-bottom: 0;
}

.tutorial-figure {
  margin: 24px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071113;
}

.tutorial-figure img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #071113;
}

.tutorial-figure figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px;
  text-align: center;
}

.download-detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 18px;
}

.download-detail-head > div {
  min-width: 0;
  max-width: 100%;
}

.download-overview-actions {
  min-width: 0;
}

.download-overview-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.download-detail-head .client-logo {
  margin: 0;
}

.repo-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.repo-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--cyan);
  font-weight: 800;
}

.article-section p a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  vertical-align: middle;
}

.client-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.download-spec-list, .reference-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.download-spec-list li, .reference-list li {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 14px;
}

.download-spec-list strong, .reference-list strong {
  color: var(--ink);
}

.download-spec-list span, .reference-list span {
  color: var(--muted);
}

.download-detail-option {
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 28px;
}

.download-overview-actions .download-detail-option {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
}

.download-overview-actions .download-detail-option:last-child {
  border-bottom: 0;
}

.download-overview-actions .release-main {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.download-overview-actions .release-main .platform-logo {
  width: 30px;
  height: 30px;
}

.download-overview-actions .release-main > div {
  display: none;
}

.download-overview-actions .release-main h2, .download-overview-actions .release-main p:not(.eyebrow), .download-overview-actions .button.disabled {
  display: none;
}

.download-overview-actions .eyebrow {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
}

.download-overview-actions .release-actions {
  justify-content: flex-start;
  gap: 6px;
  margin-top: 0;
}

.download-overview-actions .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.download-overview-actions .button.dark::before {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  background: currentColor;
  content: "";
  mask: url("icons/download.svg") center / contain no-repeat;
  -webkit-mask: url("icons/download.svg") center / contain no-repeat;
}

.download-detail-option p {
  color: var(--muted);
}

.detail-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.reference-step {
  position: relative;
}

.reference-step .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(53, 216, 207, 0.44);
  border-radius: 8px;
  background: rgba(53, 216, 207, 0.12);
  color: var(--cyan);
  font-size: 16px;
  font-weight: 900;
}

.reference-step h2 {
  margin-bottom: 14px;
}

.mode-subheading {
  margin: 22px 0 10px;
  color: var(--cyan);
  font-size: 20px;
}

.mode-list li {
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.screenshot-gallery .tutorial-figure {
  margin: 0;
}

.screenshot-gallery .tutorial-figure img {
  max-height: 480px;
}

.article-faq {
  display: grid;
  gap: 8px;
}

.article-faq h3 {
  margin: 12px 0 0;
  font-size: 22px;
}

.article-faq p {
  margin-bottom: 0;
}

.tutorial-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.tutorial-related strong {
  margin-right: 6px;
}

.tutorial-related a {
  border: 1px solid rgba(53, 216, 207, 0.3);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.tutorial-related a {
  padding: 8px 12px;
}

.tutorial-related a:hover {
  border-color: rgba(53, 216, 207, 0.62);
  background: rgba(53, 216, 207, 0.1);
  transform: translateY(-1px);
}

.tutorial-button-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tutorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  border: 1px solid rgba(53, 216, 207, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 900;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.tutorial-button-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tutorial-client-logo {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  object-fit: contain;
  padding: 3px;
}

.tutorial-button-main span {
  min-width: 0;
  line-height: 1.25;
}

.tutorial-button small {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(53, 216, 207, 0.13);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.tutorial-button:hover {
  border-color: rgba(53, 216, 207, 0.72);
  background: rgba(53, 216, 207, 0.1);
  transform: translateY(-1px);
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.mini-grid article {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.rule-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(53, 216, 207, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 800;
  padding: 8px 12px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.rule-strip a:hover {
  border-color: rgba(53, 216, 207, 0.68);
  background: rgba(53, 216, 207, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.mode-hero-actions {
  justify-content: center;
  margin-top: 26px;
}

.mode-overview .download-detail-head {
  align-items: center;
}

.mode-icon {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(53, 216, 207, 0.12), rgba(242, 170, 76, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.mode-facts {
  margin-top: 22px;
}

.mode-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-mini-grid article {
  min-height: 168px;
}

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

.mode-steps {
  margin-top: 4px;
}

.compact-list {
  max-width: none;
}

.pricing-page-grid {
  grid-template-columns: repeat(3, minmax(260px, 340px));
  justify-content: center;
  align-items: stretch;
  margin-bottom: 68px;
}

.compare-section {
  background: var(--bg-2);
}

.compare-table {
  display: grid;
  max-width: var(--content-max);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-table div {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(120px, 1fr));
  min-width: 980px;
}

.compare-table span {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 16px;
}

.compare-table div:first-child span {
  color: var(--cyan);
  font-weight: 900;
}

.compare-table div:last-child span {
  border-bottom: 0;
}

.compare-table span:last-child {
  border-right: 0;
}

.faq-page-grid {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-category {
  padding: 26px;
}

.faq-category .faq-list {
  max-width: none;
}

.site-footer {
  padding: 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(53, 216, 207, 0.1), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(242, 170, 76, 0.08), transparent 30%),
    #050d0f;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(320px, 520px) repeat(4, max-content);
  justify-content: start;
  column-gap: clamp(44px, 5vw, 110px);
  row-gap: 34px;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(58px, 6vw, 82px) var(--page-pad) 52px;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 0;
  font-size: clamp(28px, 2.1vw, 36px);
}

.footer-brand .brand-logo {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 750;
  line-height: 1.7;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: clamp(14px, 1.05vw, 18px);
}

.footer-group h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(20px, 1.35vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-footer a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: clamp(18px, 1.08vw, 22px);
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-footer a:not(.brand):hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto;
  border-top: 1px solid rgba(161, 191, 184, 0.12);
  padding: 28px var(--page-pad) 36px;
}

.footer-bottom p {
  max-width: none;
  font-size: clamp(16px, 1.1vw, 22px);
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .hero {
    min-height: clamp(410px, 56svh, 580px);
  }

  .hero-copy {
    max-width: 560px;
    margin-left: 0;
  }

  .hero-media img {
    object-position: 64% center;
  }
}

@media (max-width: 1320px) and (min-width: 1081px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 38px 56px;
    padding: 54px clamp(24px, 4vw, 40px) 38px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 760px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 28px;
  }

  .hero {
    min-height: clamp(420px, 62svh, 560px);
    padding: 48px 28px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .feature-grid, .pricing-grid, .client-grid, .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
  }

  .journey-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tutorial-button-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-overview-actions {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 38px 56px;
    padding: 54px clamp(24px, 4vw, 40px) 38px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 760px;
  }

  .footer-group {
    gap: 16px;
  }

  .footer-group h2 {
    font-size: clamp(20px, 2.3vw, 24px);
  }

  .site-footer a:not(.brand) {
    font-size: clamp(17px, 2vw, 21px);
  }

  .footer-bottom {
    padding-right: clamp(24px, 4vw, 40px);
    padding-left: clamp(24px, 4vw, 40px);
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero {
    min-height: 420px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-actions {
    margin: 24px 0;
  }

  .section-tight {
    padding-top: 54px;
  }

  .feature-card {
    min-height: 190px;
  }
}

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

  .article-toc {
    position: static;
  }

  .article-section {
    padding: 24px;
  }

  .download-detail-head, .download-detail-option .release-main {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .detail-link-row {
    display: grid;
  }

  .compare-table {
    gap: 12px;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .compare-table div {
    grid-template-columns: 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
  }

  .compare-table div:first-child {
    display: none;
  }

  .compare-table span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-right: 0;
    padding: 12px 14px;
    text-align: right;
  }

  .compare-table span:first-child {
    justify-content: flex-start;
    background: rgba(53, 216, 207, 0.1);
    color: var(--ink);
    font-weight: 900;
    text-align: left;
  }

  .compare-table span:not(:first-child)::before {
    flex: 0 0 auto;
    color: var(--muted);
    font-weight: 850;
    text-align: left;
    content: attr(data-plan);
  }

  .compare-table div span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: static;
    display: flex;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .site-nav.open {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: grid;
    max-height: calc(100svh - 88px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #071113;
    padding: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav > a:not(.repo-link) {
    display: none;
    align-items: center;
    min-height: 44px;
    padding: 12px;
  }

  .site-nav.open > a:not(.repo-link) {
    display: flex;
  }

  .brand-logo {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
  }

  .client-logo {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
  }

  .header-controls {
    gap: 8px;
  }

  .language-switch a {
    min-width: 34px;
  }

  .site-nav .repo-link {
    display: none;
    flex-basis: auto;
    width: 100%;
    height: 44px;
    margin-top: 4px;
  }

  .site-nav .language-switch {
    display: none;
    justify-content: stretch;
    width: 100%;
    margin-top: 4px;
  }

  .site-nav .language-switch a {
    flex: 1;
    min-width: 0;
    height: 44px;
  }

  .site-nav.open .repo-link {
    display: inline-flex;
  }

  .site-nav.open .language-switch {
    display: inline-flex;
  }

  .hero, .section, .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: clamp(430px, 68svh, 560px);
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(7, 17, 19, 0.98) 0%,
      rgba(7, 17, 19, 0.94) 58%,
      rgba(7, 17, 19, 0.72) 100%
    );
  }

  .hero-media img {
    object-position: 62% center;
  }

  .home-page .site-header {
    background: linear-gradient(
      180deg,
      rgba(7, 17, 19, 0.76),
      rgba(7, 17, 19, 0.32) 72%,
      rgba(7, 17, 19, 0)
    );
  }

  .home-page .site-nav.open {
    background: rgba(7, 17, 19, 0.96);
    backdrop-filter: blur(18px);
  }

  .home-page .hero {
    min-height: clamp(520px, 78svh, 660px);
    padding-top: 92px;
    padding-bottom: 36px;
  }

  .home-page .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(7, 17, 19, 0.96) 0%,
        rgba(7, 17, 19, 0.9) 56%,
        rgba(7, 17, 19, 0.58) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 17, 19, 0.1) 0%,
        rgba(7, 17, 19, 0) 28%,
        rgba(7, 17, 19, 0.34) 100%
      );
  }

  .home-page .hero-media img {
    object-position: 58% center;
    transform: translateY(-8px) scale(1.04);
  }

  .home-page .hero-media {
    inset: -44px 0 -72px;
  }

  .home-page .hero::after {
    height: 18%;
    background: linear-gradient(180deg, rgba(7, 17, 19, 0) 0%, rgba(7, 17, 19, 0.22) 58%, #071113 100%);
  }

  h1, .page-hero h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead, .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions {
    margin: 24px 0;
  }

  .hero-actions, .release-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-grid, .pricing-grid, .mini-grid, .mode-mini-grid, .client-grid, .decision-grid, .system-grid, .journey-steps {
    grid-template-columns: 1fr;
  }

  .pricing-page-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
  }

  .trust-hero .hero-copy {
    max-width: 100%;
  }

  .trust-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11vw, 56px);
  }

  .system-card, .system-card-wide {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .system-card .platform-logo, .system-card .text-logo, .system-actions {
    grid-column: auto;
    grid-row: auto;
  }

  .system-actions {
    display: grid;
    justify-content: stretch;
    width: 100%;
  }

  .journey-steps li {
    min-height: 0;
  }

  .platform-summary-note {
    grid-template-columns: 1fr;
  }

  .feature-card, .price-card {
    min-height: auto;
  }

  .price-card h2, .price-card h3, .price-card > p:not(.plan-name), .price-card ul {
    min-height: 0;
  }

  .price-card .button {
    width: 100%;
  }

  .release-main {
    align-items: flex-start;
  }

  .platform-tabs {
    position: static;
    justify-content: flex-start;
  }

  .platform-tabs a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .category-head {
    align-items: flex-start;
  }

  .client-card {
    min-height: auto;
  }

  .ribbon {
    top: 14px;
    right: 14px;
    width: auto;
    min-width: 86px;
    border-radius: 999px;
    padding: 5px 10px;
    transform: none;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .platform-guide-head {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .platform-guide-head .platform-logo {
    grid-row: auto;
    justify-self: center;
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    margin: 0;
  }

  .platform-guide-head .tutorial-summary-actions {
    grid-column: auto;
    justify-content: center;
    width: 100%;
  }

  .platform-guide-head .button {
    min-width: 0;
  }

  .platform-tutorials-head {
    display: grid;
    justify-items: stretch;
    text-align: center;
  }

  .platform-tutorials-head .tutorial-summary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ordered-steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ordered-steps li::before, .ordered-steps strong, .ordered-steps span {
    grid-column: 1;
    grid-row: auto;
  }

  .platform-steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .platform-steps li::before, .platform-steps strong, .platform-steps span {
    grid-column: 1;
    grid-row: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .article-section {
    padding: 22px;
  }

  .download-detail-head, .download-detail-option .release-main {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .download-spec-list li, .reference-list li, .mode-list li {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .download-overview-actions {
    grid-template-columns: 1fr;
  }

  .download-overview-actions .download-detail-option {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .download-overview-actions .release-actions {
    justify-content: stretch;
    width: 100%;
  }

  .detail-link-row {
    display: grid;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .tutorial-related {
    display: grid;
  }

  .tutorial-button-list {
    grid-template-columns: 1fr;
  }

  .tutorial-button {
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 20px 30px;
  }

  .footer-brand-block {
    gap: 18px;
  }

  .footer-brand {
    font-size: 28px;
  }

  .footer-brand .brand-logo {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
  }

  .site-footer p {
    font-size: 17px;
    line-height: 1.65;
  }

  .footer-group {
    gap: 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(161, 191, 184, 0.12);
  }

  .footer-group h2 {
    margin-bottom: 2px;
    font-size: 20px;
  }

  .site-footer a:not(.brand) {
    font-size: 18px;
    line-height: 1.3;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
    padding: 20px 20px 26px;
  }

  .footer-bottom p {
    font-size: 15px;
  }
}

/* Footer rebuild */
.site-footer {
  border-top: 1px solid rgba(161, 191, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(9, 20, 22, 0.98), rgba(5, 13, 15, 1)),
    #050d0f;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(116px, 1fr));
  align-items: start;
  column-gap: clamp(24px, 4vw, 76px);
  row-gap: 32px;
  max-width: min(1880px, calc(100vw - var(--page-pad) * 2));
  margin: 0 auto;
  padding: clamp(48px, 4.8vw, 68px) var(--page-pad) clamp(38px, 3.6vw, 52px);
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 22px;
  max-width: 520px;
}

.footer-brand {
  gap: 18px;
  min-height: 58px;
  color: var(--ink);
  font-size: clamp(34px, 2.9vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.footer-brand .brand-logo {
  flex-basis: clamp(52px, 4vw, 72px);
  width: clamp(52px, 4vw, 72px);
  height: clamp(52px, 4vw, 72px);
  max-width: clamp(52px, 4vw, 72px);
  max-height: clamp(52px, 4vw, 72px);
}

.site-footer p {
  max-width: 500px;
  margin: 0;
  color: #91a5a1;
  font-size: clamp(17px, 1.28vw, 24px);
  font-weight: 500;
  line-height: 1.75;
}

.footer-brand-block p {
  max-width: 100%;
  text-wrap: pretty;
}

.footer-group {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
  padding-top: 8px;
}

.footer-group h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.site-footer a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #8fa29f;
  font-size: clamp(16px, 1.05vw, 21px);
  font-weight: 500;
  line-height: 1.35;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer a:not(.brand):hover {
  color: var(--ink);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: min(1880px, calc(100vw - var(--page-pad) * 2));
  margin: 0 auto;
  border-top: 1px solid rgba(161, 191, 184, 0.12);
  padding: 20px var(--page-pad) 26px;
}

.footer-bottom p {
  max-width: none;
  color: #778985;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1320px) and (min-width: 861px) {
  .footer-brand-block {
    max-width: 860px;
  }
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 56px;
    padding-top: 44px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 640px;
  }

  .footer-group {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 24px;
  }

  .footer-brand-block {
    gap: 16px;
  }

  .footer-group {
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(161, 191, 184, 0.1);
  }

  .footer-group h2 {
    margin-bottom: 4px;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
    padding: 16px 18px 22px;
  }
}

@media (max-width: 460px) {
  .release-main {
    display: grid;
  }

  .category-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

.download-priority-page .download-priority-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 33, 35, 0.96), rgba(11, 27, 30, 0.98)),
    var(--bg-2);
  padding: clamp(42px, 5vw, 54px) var(--page-pad);
}

.download-priority-page .download-priority-hero-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, auto);
  align-items: center;
  gap: 28px;
  max-width: 1360px;
  min-height: 154px;
  margin: 0 auto;
}

.download-priority-page .download-priority-logo {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  max-width: 92px;
  max-height: 92px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  object-fit: contain;
  padding: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.download-priority-page .download-priority-copy {
  min-width: 0;
  max-width: 100%;
}

.download-priority-page .download-priority-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--amber);
}

.download-priority-page .download-priority-copy h1 {
  max-width: 760px;
  margin: 0 0 10px;
  background: linear-gradient(90deg, #eaf5f1 0%, var(--cyan) 44%, var(--green) 74%, var(--amber) 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
  -webkit-background-clip: text;
}

.download-priority-page .download-priority-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.download-priority-page .download-priority-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.download-priority-page .download-priority-chips span {
  border-radius: 999px;
  background: #073b3a;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 18px;
}

.download-priority-page .download-priority-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  margin-left: auto;
}

.download-priority-page .download-priority-hero-actions .button {
  min-width: 136px;
  min-height: 52px;
  border-radius: 8px;
  font-size: 16px;
  padding: 13px 22px;
}

.download-priority-page .download-priority-section {
  padding-top: 46px;
}

.download-priority-page .download-priority-layout {
  display: grid;
  gap: 28px;
  max-width: 1430px;
  margin: 0 auto;
}

.download-priority-page .download-priority-panel {
  border-color: rgba(108, 155, 160, 0.5);
  background: rgba(13, 29, 32, 0.86);
  padding: clamp(28px, 3vw, 42px);
}

.download-priority-page .download-priority-panel-head {
  margin-bottom: 40px;
}

.download-priority-page .download-priority-panel-head h2 {
  margin: 0 0 4px;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.2;
}

.download-priority-page .download-priority-panel-head p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.download-priority-page .download-priority-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: clamp(24px, 3vw, 38px);
  align-items: stretch;
}

.download-priority-page .download-priority-actions .download-detail-option {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  min-height: 172px;
  border: 1px solid rgba(108, 155, 160, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}

.download-priority-page .download-priority-actions .download-detail-option:last-child {
  border-bottom: 1px solid rgba(108, 155, 160, 0.5);
}

.download-priority-page .download-priority-actions .release-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  text-align: center;
}

.download-priority-page .download-priority-actions .release-main .platform-logo {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  max-width: 54px;
  max-height: 54px;
  margin: 0;
  border-radius: 50%;
  background: #edf8f2;
  box-shadow: none;
}

.download-priority-page .download-priority-actions .release-main > div, .download-priority-page .download-priority-actions .release-main h2, .download-priority-page .download-priority-actions .release-main p:not(.eyebrow) {
  display: block;
  text-align: center;
}

.download-priority-page .download-priority-actions .release-main h2 {
  margin: 0 0 4px;
  font-size: clamp(30px, 3vw, 34px);
  line-height: 1.15;
}

.download-priority-page .download-priority-actions .release-main p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.download-priority-page .download-priority-actions .release-actions {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: min(220px, 100%);
  margin-top: 0;
}

.download-priority-page .download-priority-actions .button {
  min-height: 44px;
  border-radius: 8px;
  font-size: 15px;
  padding: 10px 20px;
  white-space: nowrap;
  width: min(220px, 100%);
}

.download-priority-page .download-priority-actions .button.dark {
  background: #071113;
  color: var(--ink);
}

.download-priority-page .download-button::before {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: currentColor;
  content: "";
  mask: url("icons/download.svg") center / contain no-repeat;
  -webkit-mask: url("icons/download.svg") center / contain no-repeat;
}

.download-priority-page .download-priority-meta {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 26px;
  max-width: 912px;
  margin-top: 38px;
}

.download-priority-page .download-priority-meta > div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 92px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 18px 26px;
}

.download-priority-page .download-priority-meta strong {
  color: var(--ink);
  font-size: 15px;
}

.download-priority-page .download-priority-meta span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.download-priority-page .download-priority-meta .repo-link-list a {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.download-priority-page .download-priority-copy .download-priority-meta {
  grid-template-columns: minmax(180px, 1.25fr) minmax(104px, 0.6fr) minmax(142px, 0.85fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 16px;
}

.download-priority-page .download-priority-copy .download-priority-meta > div {
  min-height: 64px;
  background: rgba(255, 255, 255, 0.05);
  padding: 13px 18px;
}

.download-priority-page .download-priority-copy .download-priority-meta strong {
  font-size: 13px;
}

.download-priority-page .download-priority-copy .download-priority-meta span {
  font-size: 15px;
  line-height: 1.35;
}

.download-priority-page .download-priority-followup {
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 1180px) {
  .download-priority-page .download-priority-hero-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-priority-page .download-priority-hero-actions {
    grid-column: 2;
    justify-content: flex-start;
    margin-left: 0;
  }

  .download-priority-page .download-priority-actions {
    grid-template-columns: 1fr;
  }

  .download-priority-page .download-priority-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .download-priority-page .download-priority-copy .download-priority-meta {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .download-priority-page .download-priority-hero {
    padding: 38px 20px;
  }

  .download-priority-page .download-priority-hero-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-height: 0;
  }

  .download-priority-page .download-priority-copy, .download-priority-page .download-priority-copy h1, .download-priority-page .download-priority-copy p:not(.eyebrow), .download-priority-page .download-priority-chips {
    width: 100%;
    max-width: 100%;
  }

  .download-priority-page .download-priority-copy h1 {
    font-size: clamp(36px, 12vw, 46px);
    overflow-wrap: anywhere;
  }

  .download-priority-page .download-priority-copy p:not(.eyebrow) {
    overflow-wrap: anywhere;
  }

  .download-priority-page .download-priority-chips {
    gap: 8px;
  }

  .download-priority-page .download-priority-logo {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
    padding: 12px;
  }

  .download-priority-page .download-priority-hero-actions {
    width: 100%;
  }

  .download-priority-page .download-priority-hero-actions .button {
    flex: 1 1 142px;
  }

  .download-priority-page .download-priority-section {
    padding-top: 28px;
  }

  .download-priority-page .download-priority-panel {
    padding: 22px;
  }

  .download-priority-page .download-priority-panel-head {
    margin-bottom: 24px;
  }

  .download-priority-page .download-priority-actions .download-detail-option {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
    text-align: center;
  }

  .download-priority-page .download-priority-actions .release-main {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .download-priority-page .download-priority-actions .release-actions {
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .download-priority-page .download-priority-actions .button {
    flex: 0 1 auto;
  }

  .download-priority-page .download-priority-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .download-priority-page .download-priority-copy .download-priority-meta {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 18px;
  }

  .download-priority-page .download-priority-copy .download-priority-meta > div {
    min-height: 0;
  }
}
