/* ==========================================================================
   driverbooster.app — main stylesheet
   Light theme · Poppins · palette taken from the Driver Booster logo
   ========================================================================== */

/* ---------- Fonts (self-hosted Poppins, SIL OFL) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-extrabold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --red: #e8262a;          /* logo red */
  --red-600: #c91d21;
  --red-700: #a8171b;
  --red-50: #fff3f2;
  --red-100: #ffe3e1;
  --red-200: #ffc9c5;
  --ink: #1a1b1d;          /* logo black */
  --ink-2: #33353a;
  --text: #2b2d31;
  --muted: #676a72;
  --line: #ece6e4;
  --line-2: #e2dad7;
  --bg: #fbf9f8;
  --bg-2: #f5f1ef;
  --card: #ffffff;
  --green: #17864d;
  --green-50: #eaf7ef;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(26, 27, 29, .05), 0 2px 8px rgba(26, 27, 29, .04);
  --shadow: 0 2px 4px rgba(26, 27, 29, .04), 0 12px 32px rgba(26, 27, 29, .07);
  --shadow-red: 0 10px 28px rgba(232, 38, 42, .28);
  --sidebar: 264px;
  --topbar: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Poppins", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-600); text-decoration: none; }
a:hover { color: var(--red-700); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
button, input { font-family: var(--font); font-size: inherit; }
code, kbd { font-family: var(--font); font-size: .9em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .4em; color: var(--ink); }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--red-100); color: var(--ink); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ic { width: 22px; height: 22px; flex: 0 0 auto; }

/* ---------- Layout shell ---------- */
.page { min-width: 0; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }

@media (min-width: 1100px) {
  body { padding-left: var(--sidebar); }
}

/* ---------- Sidebar header ---------- */
.site-header {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 100;
  background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.sb-top { padding: 22px 20px 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: -2px; }
.sb-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 18px 22px 8px; margin: 0; }
.sb-nav { flex: 1 1 auto; overflow-y: auto; padding: 0 12px 12px; scrollbar-width: none; -ms-overflow-style: none; }
.sb-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
.sb-nav ul { list-style: none; margin: 0; padding: 0; }
.sb-nav a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
  color: var(--ink-2); font-weight: 500; font-size: .93rem; transition: background .2s, color .2s;
}
.sb-nav a .ic { width: 19px; height: 19px; color: #9a9ca3; transition: color .2s, transform .2s var(--ease); }
.sb-nav a:hover { background: var(--bg-2); color: var(--ink); }
.sb-nav a:hover .ic { color: var(--red); transform: translateX(2px); }
.sb-nav a.is-active { background: var(--red-50); color: var(--red-700); font-weight: 600; }
.sb-nav a.is-active .ic { color: var(--red); }
.sb-cta { margin: 10px 16px 18px; padding: 16px; border-radius: var(--radius); background: var(--red-50); border: 1px solid var(--red-100); }
.sb-cta p { font-size: .82rem; color: var(--ink-2); margin: 0 0 10px; line-height: 1.5; }
.sb-cta .btn { width: 100%; min-width: 0; padding: 10px 6px; gap: 5px; font-size: .74rem; white-space: nowrap; text-align: center; }
.sb-cta .btn span { min-width: 0; }
.sb-cta .btn .ic { width: 18px; height: 18px; }
.site-header .sb-close, .site-header .sb-toggle, .site-header .tb-download { display: none; }

@media (max-width: 1099.98px) {
  .site-header {
    inset: 0 0 auto 0; width: auto; height: var(--topbar); flex-direction: row; align-items: center;
    border-right: 0; border-bottom: 1px solid var(--line); background: #fff;
    padding: 0 16px; gap: 10px; transition: box-shadow .25s;
  }
  .site-header.is-scrolled { box-shadow: 0 6px 22px rgba(26, 27, 29, .08); }
  .sb-top { padding: 0; flex: 1 1 auto; min-width: 0; }
  .brand img { width: 36px; height: 36px; }
  .brand small { display: none; }
  .site-header .tb-download { display: inline-flex; }
  .site-header .sb-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer;
  }
  .sb-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw); height: 100dvh; background: #fff; z-index: 120;
    display: flex; flex-direction: column; transform: translateX(105%); transition: transform .32s var(--ease);
    box-shadow: -18px 0 40px rgba(26, 27, 29, .12); visibility: hidden;
  }
  .site-header.is-open .sb-drawer { transform: none; visibility: visible; }
  .site-header .sb-close {
    display: inline-flex; align-self: flex-end; margin: 14px 14px 0; width: 44px; height: 44px; align-items: center; justify-content: center;
    border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer;
  }
  .sb-scrim { position: fixed; inset: 0; background: rgba(26, 27, 29, .32); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .site-header.is-open .sb-scrim { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .page { padding-top: var(--topbar); }
  html { scroll-padding-top: calc(var(--topbar) + 12px); }
}
@media (min-width: 1100px) {
  .sb-drawer { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .sb-scrim { display: none; }
}
@media (max-width: 420px) {
  .sb-top .brand { font-size: 1rem; gap: 9px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 38, 42, .34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--red-700); }
.btn-white:hover { color: var(--red-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .16); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; border-radius: 16px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--bg-2); }
.section--white { background: #fff; }
.section--line { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700);
  background: var(--red-50); border: 1px solid var(--red-100); padding: 5px 12px 5px 10px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(232, 38, 42, .18); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.note {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-s);
  background: #fff; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: .92rem; margin-top: 28px;
}
.note .ic { color: var(--red); margin-top: 2px; }
.note p { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 38, 42, .12), rgba(232, 38, 42, 0)); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; position: relative; }
.hero h1 { font-size: clamp(2rem, 4.7vw, 3.45rem); margin-bottom: 18px; max-width: 900px; }
.hero h1 span { color: var(--red); }
.hero-intro { font-size: 1.08rem; color: var(--ink-2); max-width: 760px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--ink-2);
}
.chip .ic { width: 17px; height: 17px; color: var(--red); }

/* Hero illustrative app panel */
.app-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow);
  overflow: hidden; max-width: 920px;
}
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.app-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.app-title img { width: 26px; height: 26px; }
.app-tag { font-size: .72rem; color: var(--muted); font-weight: 500; }
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.app-side { padding: 22px 20px; border-right: 1px solid var(--line); background: var(--red-50); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.gauge { position: relative; width: 132px; height: 132px; }
.gauge svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .g-bg { stroke: var(--red-100); }
.gauge .g-fg { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; animation: gauge 1.6s var(--ease) .3s forwards; }
@keyframes gauge { to { stroke-dashoffset: 0; } }
.gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-val b { font-size: 1.05rem; color: var(--ink); }
.gauge-val span { font-size: .7rem; color: var(--muted); }
.app-side p { margin: 4px 0 0; font-size: .8rem; color: var(--ink-2); line-height: 1.45; }
.app-main { padding: 12px 18px 16px; min-width: 0; }
.drv-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.drv-row:last-of-type { border-bottom: 0; }
.drv-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); }
.drv-ic .ic { width: 20px; height: 20px; }
.drv-name { font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.drv-sub { font-size: .75rem; color: var(--muted); }
.status { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status--upd { background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-100); }
.status--ok { background: var(--green-50); color: var(--green); border: 1px solid #cdebd9; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.app-foot small { color: var(--muted); font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.app-foot small .ic { width: 16px; height: 16px; color: var(--red); }
.fake-btn { font-size: .82rem; font-weight: 600; color: #fff; background: var(--red); padding: 8px 16px; border-radius: 10px; }
.caption { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ---------- About: dictionary card ---------- */
.dict {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s);
}
.dict-word { padding: 36px 32px; background: linear-gradient(160deg, var(--red-50), #fff 70%); border-right: 1px solid var(--line); }
.dict-word .logo-lg { width: 84px; height: 84px; margin-bottom: 18px; }
.dict-word .term { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.dict-word .phon { color: var(--muted); font-size: .92rem; margin: 10px 0 18px; }
.dict-word .phon i { font-style: normal; color: var(--red-700); font-weight: 600; }
.dict-word .chips { gap: 8px; }
.dict-word { display: flex; flex-direction: column; align-items: flex-start; }
.dict-image { width: 100%; height: auto; margin-top: 24px; border-radius: 14px; }
.dict-defs { margin: 0; padding: 32px 32px 32px 30px; list-style: none; counter-reset: def; }
.dict-defs li { position: relative; padding-left: 48px; margin-bottom: 22px; counter-increment: def; }
.dict-defs li:last-child { margin-bottom: 0; }
.dict-defs li::before {
  content: counter(def); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem;
}
.dict-defs p { margin: 0 0 6px; color: var(--ink-2); }
.dict-defs .eg { font-size: .86rem; color: var(--muted); border-left: 3px solid var(--red-200); padding-left: 12px; margin: 8px 0 0; }
.about-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red-100); }
.mini h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mini h3 .ic { color: var(--red); }
.mini p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Features carousel ---------- */
.carousel-nav { display: flex; gap: 10px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .4; cursor: default; background: #fff; color: var(--ink); border-color: var(--line-2); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 40px) / 3));
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--red-200) transparent; list-style: none;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--red-200); border-radius: 6px; }
.f-card {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 24px; display: flex; flex-direction: column; min-height: 300px;
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.f-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red-200); }
.f-meta { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.f-meta b { color: var(--red); }
.f-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-50); color: var(--red); border: 1px solid var(--red-100); margin-bottom: 18px;
  transition: transform .28s var(--ease), background .28s, color .28s;
}
.f-icon .ic { width: 27px; height: 27px; }
.f-card:hover .f-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.04); }
.f-card h3 { margin-bottom: 10px; }
.f-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.f-card .pro-flag { margin-top: auto; padding-top: 14px; font-size: .78rem; color: var(--red-700); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.f-card .pro-flag .ic { width: 16px; height: 16px; }

/* ---------- How it works pipeline ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: st; }
.pipeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; border-top: 2px dashed var(--red-200); }
.p-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 20px 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.p-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.p-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; position: relative; z-index: 1; }
.p-icon .ic { width: 20px; height: 20px; }
.p-num { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--red-100); letter-spacing: -.04em; }
.p-step h3 { font-size: 1.05rem; }
.p-step p { color: var(--muted); font-size: .9rem; margin: 0; }
.p-bar { height: 6px; border-radius: 6px; background: var(--red-50); margin-top: 18px; overflow: hidden; }
.p-bar i { display: block; height: 100%; background: var(--red); border-radius: 6px; }

/* ---------- Matrix tables (compatibility & versions) ---------- */
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  padding: 0 14px; min-height: 48px; flex: 0 1 320px; transition: border-color .2s;
}
.search:focus-within { border-color: var(--red); }
.search .ic { color: var(--muted); width: 19px; height: 19px; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; color: var(--ink); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.tab {
  border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .86rem; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  transition: background .2s, color .2s;
}
.tab:hover { background: var(--bg-2); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.matrix { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.matrix-scroll { overflow-x: auto; }
.matrix table { min-width: 640px; }
.matrix th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.matrix td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .92rem; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr { transition: background .2s; }
.matrix tbody tr:hover { background: var(--red-50); }
.m-name { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.matrix td:nth-child(2) { white-space: nowrap; }
.m-name .ic { width: 22px; height: 22px; color: var(--red); }
.m-ver { font-weight: 700; color: var(--red-700); white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; margin: 2px 4px 2px 0; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.pill--red { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }
.pill--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-empty { display: none; padding: 22px; text-align: center; color: var(--muted); font-size: .92rem; }
.m-empty.is-visible { display: block; }
.notes3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.notes3 .mini b { color: var(--ink); }

/* ---------- Use cases rows ---------- */
.uc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.uc-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.35fr); gap: 28px; padding: 30px 8px;
  border-bottom: 1px solid var(--line-2); transition: background .25s, padding .25s;
  border-radius: 0;
}
.uc-row:hover { background: #fff; }
.uc-num { font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .06em; }
.uc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); margin-top: 10px; transition: transform .25s var(--ease), color .25s, border-color .25s; }
.uc-row:hover .uc-icon { color: var(--red); border-color: var(--red-200); transform: translateY(-3px); }
.uc-kicker { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.uc-row h3 { font-size: 1.22rem; margin: 0; }
.uc-row p { color: var(--ink-2); margin: 0 0 10px; }
.uc-row .eg { margin: 0; font-size: .9rem; color: var(--muted); }
.uc-row .eg b { color: var(--ink); }

/* ---------- Install checklist ---------- */
.install-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.progress-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.progress-track { flex: 1 1 auto; height: 8px; border-radius: 8px; background: var(--red-50); overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 8px; transition: width .35s var(--ease); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-item {
  display: grid; grid-template-columns: 30px 44px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%;
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px;
  cursor: pointer; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.check-item:hover { border-color: var(--red-200); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; margin-top: 2px; transition: background .2s, border-color .2s, color .2s; }
.box .ic { width: 16px; height: 16px; stroke-width: 3; }
.check-item[aria-pressed="true"] { border-color: var(--red-200); background: var(--red-50); }
.check-item[aria-pressed="true"] .box { background: var(--red); border-color: var(--red); color: #fff; }
.check-item[aria-pressed="true"] h3 { text-decoration: line-through; text-decoration-color: var(--red-200); }
.ci-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; }
.ci-step { font-size: .72rem; font-weight: 700; color: var(--red-700); letter-spacing: .08em; text-transform: uppercase; display: block; }
.check-item h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.check-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; position: sticky; top: 24px; }
.side-card h3 { display: flex; align-items: center; gap: 10px; }
.side-card h3 .ic { color: var(--red); }
.side-card ul { padding-left: 18px; margin: 0 0 18px; color: var(--ink-2); font-size: .92rem; }
.side-card li { margin-bottom: 8px; }

/* ---------- Download ---------- */
.download-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #fff; border: 1px solid var(--line);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.dl-body { padding: 40px 38px; }
.dl-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.info-table { margin: 22px 0 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 11px 16px; font-size: .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 42%; font-weight: 600; color: var(--muted); background: var(--bg); }
.info-table td { color: var(--ink); font-weight: 500; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dl-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.dl-note .ic { width: 17px; height: 17px; color: var(--red); margin-top: 3px; }
.dl-visual { background: linear-gradient(150deg, var(--red-50), #fff 55%, var(--bg-2)); display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding: 28px 20px; gap: 20px; border-left: 1px solid var(--line); }
.dl-visual img { width: 100%; max-width: none; flex: 1 1 auto; min-height: 0; object-fit: contain; }
.dl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 380px; }
.dl-fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .8rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.dl-fact .ic { width: 18px; height: 18px; color: var(--red); }

/* ---------- Free vs PRO comparison ---------- */
.cmp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.cmp-scroll { overflow-x: auto; }
.cmp table { min-width: 620px; }
.cmp th, .cmp td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
.cmp thead th { font-size: .95rem; color: var(--ink); background: var(--bg); }
.cmp thead th .ic { display: inline-block; vertical-align: -5px; margin-right: 6px; color: var(--red); }
.cmp thead th.is-pro { background: var(--red-50); color: var(--red-700); }
.cmp td.is-pro { background: #fffafa; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody td:first-child { font-weight: 600; color: var(--ink); }
.yes { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }
.yes .ic { width: 18px; height: 18px; }

/* ---------- Safety (bold red band, light content cards) ---------- */
.section--red { background: var(--red); color: #fff; overflow: hidden; }
.section--red::after { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.section--red h2, .section--red h3 { color: #fff; }
.section--red .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.section--red .eyebrow::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.section--red .section-head p { color: rgba(255, 255, 255, .9); }
.safe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; position: relative; z-index: 1; }
.safe-col { background: #fff; color: var(--text); border-radius: var(--radius-l); padding: 26px; box-shadow: 0 16px 40px rgba(120, 10, 12, .22); }
.safe-col h3 { color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.safe-col h3 .ic { color: var(--red); }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.safe-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 4px; border-radius: 12px; transition: background .2s; }
.safe-list li:hover { background: var(--bg); }
.safe-list .s-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.safe-list .s-ic--warn { background: var(--ink); color: #fff; }
.safe-list b { display: block; color: var(--ink); font-size: .95rem; }
.safe-list span { font-size: .88rem; color: var(--muted); }
.safe-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 1; }
.safe-cta p { margin: 0; color: rgba(255, 255, 255, .92); font-size: .9rem; }

/* ---------- Benefits bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.b-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red-100); }
.b-card--wide { grid-column: span 3; }
.b-card--feature { grid-column: span 3; background: linear-gradient(140deg, var(--red-50), #fff 70%); }
.b-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 16px; transition: transform .25s var(--ease); }
.b-card:hover .b-icon { transform: translateY(-3px); }
.b-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Gaming overview and device cards ---------- */
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.game-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; position: static; }
.game-copy p { font-size: .95rem; color: var(--muted); }
.game-copy p:last-child { margin-bottom: 0; }
.game-intro .topic-visual { margin: 0; }
.vendor-list .vendor { display: flex; flex-direction: column; justify-content: flex-start; }
.vendor-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.vendor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.vendor:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red-100); }
.vendor-top { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.v-ic { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.vendor h3 { font-size: 1rem; margin: 0; }
.vendor p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Troubleshooting ---------- */
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.issue { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; border-top: 4px solid var(--red); transition: transform .25s var(--ease), box-shadow .25s; }
.issue:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.issue-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.issue-head .i-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); }
.issue h3 { font-size: 1.02rem; margin: 0; }
.issue p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.issue .try { font-size: .86rem; color: var(--ink-2); margin: 0; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.issue .try b { color: var(--red-700); }

/* ---------- Pros & cons ---------- */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.pc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s; }
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 18px; }
.pc-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.pc-card--pros .pc-badge { background: var(--green-50); color: var(--green); }
.pc-card--cons { background: var(--bg); border-style: dashed; border-color: var(--line-2); }
.pc-card--cons .pc-badge { background: var(--red-50); color: var(--red); }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.pc-list .ic { width: 20px; height: 20px; margin-top: 3px; }
.pc-card--pros .pc-list .ic { color: var(--green); }
.pc-card--cons .pc-list .ic { color: var(--red); }

/* ---------- Blog / guide cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red-100); }
.post-card .thumb { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red-700); margin-bottom: 8px; }
.post-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.read-more { margin-top: auto; font-size: .86rem; font-weight: 600; color: var(--red-600); display: inline-flex; align-items: center; gap: 6px; }
.read-more .ic { width: 17px; height: 17px; transition: transform .2s; }
.post-card:hover .read-more .ic { transform: translateX(4px); }
.center-cta { text-align: center; margin-top: 34px; }

/* ---------- FAQ chat ---------- */
.faq-tabs { margin-bottom: 26px; display: inline-flex; }
.chat { max-width: 860px; margin: 0 auto; }
.faq-group[hidden] { display: none; }
.faq-item { margin-bottom: 14px; }
.faq-q {
  display: flex; align-items: center; gap: 12px; margin-left: auto; max-width: min(620px, 92%); text-align: left;
  background: var(--ink); color: #fff; border: 0; border-radius: 20px 20px 6px 20px; padding: 14px 16px 14px 20px;
  font-weight: 600; font-size: .96rem; line-height: 1.45; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.faq-q:hover { background: #000; transform: translateY(-1px); }
.faq-q[aria-expanded="true"] { background: var(--red); }
.faq-q .q-ic { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: 0 0 auto; transition: transform .3s var(--ease); }
.faq-q .q-ic .ic { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .q-ic { transform: rotate(180deg); }
.faq-q span.q-text { flex: 1 1 auto; }
.faq-q-wrap { display: flex; justify-content: flex-end; margin: 0; font-size: inherit; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.a-bubble { max-width: min(640px, 94%); background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 14px 18px 16px; margin-top: 10px; box-shadow: var(--shadow-s); }
.a-from { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.a-from img { width: 20px; height: 20px; }
.a-bubble p { margin: 0; font-size: .94rem; color: var(--ink-2); }
.a-bubble p + p { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer-cta { text-align: center; padding: 84px 0 76px; background: radial-gradient(60% 90% at 50% 0%, var(--red-50), #fff 70%); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer-cta img { width: 72px; height: 72px; margin: 0 auto 18px; }
.footer-cta .big { font-size: clamp(2.1rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.05; margin: 0 auto 14px; max-width: none; }
.footer-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.footer-cta .hero-actions { justify-content: center; margin: 0; }
.site-footer-inner { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 26px; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-brand p { color: var(--muted); font-size: .9rem; margin: 14px 0 0; max-width: 340px; }
.f-col h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px; font-weight: 700; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-col a { color: var(--ink-2); font-size: .9rem; text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--red-600); }
.site-footer a { text-decoration: none; }
.f-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--muted); }
.f-bottom a { color: var(--ink); font-weight: 600; }
.f-bottom a:hover { color: var(--red-600); }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-red);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); }

/* ---------- Inner pages (blog, article, legal) ---------- */
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--ink-2); font-size: 1.05rem; max-width: 760px; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .84rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--red-600); }
.meta-line { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line .ic { width: 17px; height: 17px; color: var(--red); }

.blog-list { padding: 56px 0 90px; }
.blog-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; margin-bottom: 28px; position: relative; transition: box-shadow .28s, transform .28s var(--ease); }
.blog-featured:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-featured img { width: 100%; height: auto; aspect-ratio: 1200/630; align-self: center; }
.blog-featured .post-body { padding: 32px; justify-content: center; }
.blog-featured h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.blog-featured h2 a { color: var(--ink); }
.blog-featured h2 a::after { content: ""; position: absolute; inset: 0; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 48px 0 90px; align-items: start; }
.article-cover { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); margin-bottom: 32px; background: #fff; }
.article-cover img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.prose { font-size: 1.02rem; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-decoration-color: var(--red-200); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--red); }
.prose table { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
.prose th { background: var(--bg-2); color: var(--ink); }
.prose blockquote, .callout { margin: 1.4em 0; padding: 16px 20px; border-radius: 14px; background: var(--red-50); border-left: 4px solid var(--red); color: var(--ink-2); }
.callout p:last-child { margin: 0; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.toc b { display: block; color: var(--ink); margin-bottom: 8px; font-size: .9rem; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .92rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red-600); }

.aside { position: sticky; top: 24px; display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; }
.aside-card h2 { font-size: 1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.aside-card h2 .ic { color: var(--red); width: 20px; height: 20px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aside-card li a { display: block; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.aside-card li a:hover { color: var(--red-600); }
.aside-card--red { background: var(--red-50); border-color: var(--red-100); text-align: center; }
.aside-card--red img { width: 64px; height: 64px; margin: 0 auto 12px; }
.aside-card--red p { font-size: .88rem; color: var(--ink-2); }
.aside-card--red .btn { width: 100%; }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.4rem; }
.related .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.legal { padding: 48px 0 90px; }
.legal .prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 10px 0 30px; }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card .ic { color: var(--red); margin-bottom: 10px; }
.contact-card b { display: block; color: var(--ink); }
.contact-card span { font-size: .9rem; color: var(--muted); word-break: break-word; }
.email-plain { font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1099.98px) {
  .side-card, .game-intro, .aside { position: static; }
}
@media (max-width: 960px) {
  .game-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vendor-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
  .dict { grid-template-columns: 1fr; }
  .dict-word { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-more, .notes3, .issues, .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline::before { display: none; }
  .uc-row { grid-template-columns: 60px minmax(0, 1fr); gap: 10px 20px; }
  .uc-row > div:last-child { grid-column: 2; }
  .install-grid, .game-grid, .download-card, .safe-grid, .blog-featured { grid-template-columns: 1fr; }
  .dl-visual { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-card, .b-card--wide, .b-card--feature { grid-column: span 1; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .article-wrap { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: minmax(260px, calc((100% - 20px) / 2)); }
}
@media (max-width: 640px) {
  .site-header .tb-download { display: none; }
  .pc-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-card { padding: 22px; }
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 26px 0 54px; }
  .hero-text { display: flex; flex-direction: column; }
  .hero-text .eyebrow { align-self: flex-start; }
  .hero-text .hero-actions { order: 4; display: grid; grid-template-columns: 1fr; margin-bottom: 18px; }
  .hero-text .hero-intro { order: 3; font-size: 1rem; margin-bottom: 18px; }
  .hero-text .chips { order: 5; }
  .hero h1 { margin-bottom: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; text-align: left; justify-content: flex-start; gap: 16px; }
  .gauge, .gauge svg { width: 92px; height: 92px; flex: 0 0 auto; }
  .gauge-val b { font-size: .74rem; }
  .gauge-val span { display: none; }
  .drv-row { grid-template-columns: 34px minmax(0, 1fr); }
  .drv-row .status { grid-column: 2; justify-self: start; }
  .about-more, .notes3, .issues, .cards3, .pipeline, .bento, .vendor-list, .contact-grid, .related .cards3 { grid-template-columns: 1fr; }
  .uc-row { grid-template-columns: 1fr; padding: 24px 4px; }
  .uc-row > div:last-child { grid-column: auto; }
  .dl-body { padding: 28px 22px; }
  .dict-word, .dict-defs { padding: 26px 22px; }
  .dict-defs li { padding-left: 44px; }
  .check-item { grid-template-columns: 28px minmax(0, 1fr); }
  .check-item .ci-icon { display: none; }
  .carousel { grid-auto-columns: 84%; }
  .f-grid { grid-template-columns: 1fr; }
  .search { flex: 1 1 100%; }
  .tabs { width: 100%; }
  .faq-tabs { display: flex; }
  .tab { flex: 1 1 auto; }
  .faq-q { max-width: 100%; }
  .footer-cta { padding: 64px 0 56px; }
}

.topic-visual {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.topic-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.workflow-visual { max-width: 760px; }
.download-card { padding: 32px; gap: 0 28px; align-items: start; }
.dl-body { display: contents; }
.dl-body > .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
.dl-body > h2 { grid-column: 1; grid-row: 2; }
.dl-body > p:not(.dl-note) { grid-column: 1; grid-row: 3; }
.dl-body > .info-table { grid-column: 1 / -1; grid-row: 5; margin-top: 24px; }
.dl-body > .dl-actions { grid-column: 1; grid-row: 4; margin-top: 8px; }
.dl-body > .dl-note { grid-column: 1 / -1; grid-row: 6; }
.dl-visual { grid-column: 2; grid-row: 1 / 5; padding: 16px; border: 1px solid var(--line); border-radius: 18px; gap: 14px; }
.dl-visual img { flex: none; height: auto; }
.dl-facts { max-width: none; }
@media (max-width: 960px) {
  .download-card { display: flex; flex-direction: column; padding: 24px; gap: 0; }
  .dl-body { display: block; padding: 0; width: 100%; }
  .dl-visual { width: 100%; margin-top: 24px; }
  .dl-actions .btn { white-space: normal; text-align: center; width: 100%; padding: 14px; }
}
@media (max-width: 540px) {
  .site-header .tb-download { padding: 0 10px; font-size: .72rem; gap: 6px; }
  .site-header .tb-download .ic { width: 16px; height: 16px; }
}
@media (max-width: 767px) {
  .dl-visual img { flex: 0 1 auto; max-width: 460px; }
  .dict-image { max-width: 520px; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Reliable inline brand logos: no image request or broken icon. */
.brand .brand-mark {display:block;width:40px;height:40px;flex:none}
@media (max-width: 767px){.brand .brand-mark{width:36px;height:36px}}
