/* =========================================================
   ShareMe for PC — design system
   Light-first, editorial, product-page feel.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --surface: #f7f9fc;
  --surface-2: #eef3f8;
  --text: #0f1722;
  --muted: #5a6879;
  --line: #e2e8f0;
  --line-strong: #c8d3e0;
  --brand: #0b8ce9;
  --brand-dark: #0668ad;
  --brand-soft: #e8f4fd;
  --brand-ink: #054a7d;
  --ok: #0f7a58;
  --warn: #96540a;
  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1180px;
  --prose: 780px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 34, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 34, 0.14), 0 2px 6px rgba(15, 23, 34, 0.05);
  --shadow-lg: 0 24px 60px -18px rgba(11, 60, 100, 0.22), 0 6px 16px rgba(15, 23, 34, 0.06);
  --font-head: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html.dark {
  --bg: #0b0f14;
  --bg-soft: #0f151c;
  --surface: #121922;
  --surface-2: #1a222d;
  --text: #e9eef5;
  --muted: #97a3b4;
  --line: #202a36;
  --line-strong: #31404f;
  --brand: #4aa8f0;
  --brand-dark: #8ac7f5;
  --brand-soft: #102333;
  --brand-ink: #bfe0f7;
  --ok: #4ad0a0;
  --warn: #f0b264;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 0.55em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.95rem, 3.2vw, 2.72rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.42rem, 2.8vw, 1.95rem);
  margin-top: 2.4em;
}

h3 {
  font-size: 1.12rem;
  margin-top: 1.6em;
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.45em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.38em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

.page-head {
  max-width: var(--prose);
  margin-inline: 0;
  padding-block: 48px 26px;
}

.layout-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
  padding-bottom: 64px;
}

.layout-post > .prose {
  margin: 0;
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
  font-size: 0.92rem;
}

.section {
  padding-block: 68px;
}

.section.tight {
  padding-block: 48px;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: var(--prose);
  margin: 0 0 34px;
}

.section-head h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 1.02rem;
}

.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.head-row h2 {
  margin: 0 0 6px;
}

.head-row p {
  margin: 0;
  color: var(--muted);
}

.head-row .link {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.015em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text);
}

.logo img,
.logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
}

.logo em {
  font-style: normal;
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.nav-links .btn {
  margin-left: 10px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 104, 173, 0.35);
}

.nav-links .btn:hover {
  color: #fff;
  background: var(--brand-dark);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-sun {
  display: none;
}

html.dark .icon-sun {
  display: block;
}

html.dark .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.006em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 104, 173, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--muted);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: 64px 68px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 12% -10%, var(--brand-soft), transparent 70%),
    var(--bg);
}

html.dark .hero {
  background:
    radial-gradient(900px 420px at 12% -10%, #0d2334, transparent 70%),
    var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 8px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}

.hero .lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.hero-points svg {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

/* download panel */
.dl-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}

.dl-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dl-panel-head img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  display: block;
  box-shadow: var(--shadow-sm);
}

.dl-panel-head b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.dl-panel-head span span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.dl-panel-head .badge {
  margin-left: auto;
}

.dl-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}

.dl-specs div {
  background: var(--bg);
  padding: 11px 14px;
}

.dl-specs dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.dl-specs dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.dl-panel .btn {
  width: 100%;
}

.dl-panel-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.stat {
  padding: 22px 26px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stat span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- platform cards ---------- */

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

.platform-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.platform-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.platform-card .pc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.platform-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}

.platform-card .pc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.chip-accent {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.platform-card .pc-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.platform-card .pc-link::after {
  content: " →";
}

/* ---------- features ---------- */

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

.feature {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.feature .f-ico {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.feature .f-ico svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- cards / grids (inner pages) ---------- */

.grid {
  display: grid;
  gap: 20px;
}

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

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

.g-split {
  grid-template-columns: 1.55fr 1fr;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card > :first-child {
  margin-top: 0;
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.sidebar .card {
  padding: 20px;
}

.sidebar h3 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.91rem;
}

.sidebar li {
  margin: 0;
  border-top: 1px solid var(--line);
}

.sidebar li:first-child {
  border-top: 0;
}

.sidebar li a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
  color: var(--text);
}

.sidebar li a:hover {
  color: var(--brand);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.app-row b {
  display: block;
  font-size: 0.96rem;
}

.app-row span span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.app-ico {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.badge.live {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 40%, transparent);
  background: color-mix(in srgb, var(--ok) 7%, transparent);
}

.ico {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.ico svg {
  width: 20px;
  height: 20px;
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 1.6em 0;
  border-top: 1px solid var(--line);
}

.step {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--bg);
}

.step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: istep;
}

.install-grid .step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 24px;
  padding-top: 58px;
}

.install-grid .step::before {
  content: counter(istep, decimal-leading-zero);
  counter-increment: istep;
  top: 20px;
  left: 24px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--brand);
}

/* ---------- faq ---------- */

.faq {
  margin: 1.4em 0 1.8em;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  padding: 17px 40px 17px 0;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  padding-right: 20px;
}

/* ---------- callouts ---------- */

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  margin: 1.6em 0;
  font-size: 0.93rem;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.callout .ci {
  flex-shrink: 0;
  color: var(--brand-dark);
}

.callout .ci svg {
  width: 20px;
  height: 20px;
}

.callout.warn {
  border-left-color: var(--warn);
}

.callout.warn .ci {
  color: var(--warn);
}

/* ---------- cta band ---------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  margin: 56px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.cta-band h2 {
  margin: 0 0 4px;
  font-size: 1.24rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.cta-band .btn {
  flex-shrink: 0;
}

/* ---------- download gate ---------- */

.gate {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  background: var(--bg);
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  overflow: hidden;
}

.gate::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

.gate-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.gate-title svg {
  width: 19px;
  height: 19px;
  color: var(--brand);
}

.gate.is-done .gate-title svg {
  color: var(--ok);
}

.gate-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 16px;
}

.gate-timer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.gate-count {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--brand-dark);
  min-width: 34px;
}

.gate-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
}

.gate-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  border-radius: 3px;
  transition: width 1s linear;
}

.gate.is-done .gate-timer {
  display: none;
}

.gate-links {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.gate.is-done .gate-links {
  display: flex;
}

.gate-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.gate.is-done .gate-placeholder {
  display: none;
}

/* download cards */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.dl-card:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow-md);
}

.dl-card h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.dl-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
  flex: 1;
}

.dl-card .app-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.78rem;
}

.dl-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 10px 0 0;
}

/* ---------- prose ---------- */

.prose {
  font-size: 1.01rem;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h2 {
  padding-top: 6px;
}

.prose h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: var(--brand);
  margin-bottom: 16px;
  border-radius: 2px;
}

.prose > p:first-of-type {
  font-size: 1.05rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.94rem;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  border-bottom: 2px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose tbody tr:hover {
  background: var(--surface);
}

.prose tbody th {
  width: 34%;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.4em 0;
}

.table-wrap table {
  margin: 0;
  min-width: 520px;
}

/* ---------- ads ---------- */

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 52px 32px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 40px;
}

.footer h3 {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}

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

.footer li {
  margin-bottom: 9px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer .logo {
  margin-bottom: 14px;
}

.footer .about {
  max-width: 310px;
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- mobile cta ---------- */

.mobile-cta {
  display: none;
}

/* ---------- misc ---------- */

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.trust svg {
  width: 14px;
  height: 14px;
  color: var(--ok);
}

.breadcrumb {
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.page-head .sub {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 16px;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .layout-post {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .sidebar .ad-slot {
    grid-column: 1 / -1;
  }

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

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

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-inline: 20px;
  }

  .nav {
    padding: 0 20px;
    gap: 12px;
    height: 62px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .nav-links .btn {
    margin: 8px 0 0;
  }

  .theme-desktop {
    display: none;
  }

  .hero {
    padding-block: 42px 40px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .dl-panel {
    padding: 20px;
  }

  .stats {
    margin-top: 0;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
  }

  .stat {
    padding: 16px 18px;
  }

  .stat b {
    font-size: 1.28rem;
  }

  .g2,
  .g3,
  .g-split,
  .dl-grid,
  .feature-grid,
  .platform-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    margin: 40px 0;
  }

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

  .footer .about {
    max-width: none;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
  }

  .mobile-cta .btn {
    font-size: 0.95rem;
    padding-block: 12px;
  }

  .footer {
    padding-bottom: 84px;
  }

  .section {
    padding-block: 44px;
  }

  .head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .head-row h2 {
    font-size: 1.5rem;
  }

  .prose h2::before {
    margin-bottom: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
