/* Ezi Download Manager website. A product of Ezitech.
   Plain CSS, no build step. Colours follow the desktop app (src/renderer/styles.css).
   Contrast: every text colour below passes WCAG AA on every background it is used on. */

:root {
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;

  --bg: #0d0f13;
  --bg-2: #111318;
  --panel: #181b21;
  --panel-2: #1e2128;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --track: rgba(255, 255, 255, .09);

  --text: #e9ebef;   /* 13.5:1 or more */
  --text-2: #a9afba; /* 7.3:1 or more */
  --text-3: #8b93a1; /* 5.2:1 or more */

  --accent: #4f8dff;     /* brand blue: icons, borders, large text */
  --link: #7aa9ff;       /* links on dark */
  --btn: #2f66e8;        /* white on this = 5.0:1 */
  --btn-hover: #285bd6;
  --ok: #34d399;
  --warn: #fbbf24;
  --focus: #9cc0ff;

  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --gutter: 16px;
  --head-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem); font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 720; letter-spacing: -.02em; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: #a3c4ff; }
strong { font-weight: 650; }
code, kbd {
  font-family: var(--mono);
  font-size: .9em;
  padding: .1em .4em;
  border-radius: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  overflow-wrap: anywhere;
}
ul, ol { padding-left: 1.25em; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(79, 141, 255, .35); }
.sprite { display: none; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--btn); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); color: var(--text); border-color: rgba(255, 255, 255, .24); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 1.0625rem; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9375rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 19, .96);
  border-bottom: 1px solid var(--line);
}
.head-row { height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1rem; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { color: var(--text-2); }
.brand strong { color: var(--text); font-weight: 750; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a, .nav-mobile nav a {
  color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .9375rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav-mobile nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--text); }
.head-cta { display: none; }
.nav-mobile { margin-left: auto; }
.nav-mobile summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: .9375rem;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 18px; height: 18px; }
.nav-mobile nav {
  position: absolute; left: 0; right: 0; top: var(--head-h);
  display: grid; gap: 2px; padding: 8px var(--gutter) 16px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .45);
}
.nav-mobile nav a { padding: 12px; font-size: 1rem; }
.nav-mobile nav .btn { margin-top: 8px; color: #fff; }
@media (min-width: 560px) { .head-cta { display: inline-flex; } .nav-mobile { margin-left: 0; } .head-row { gap: 12px; } .head-cta { margin-left: auto; } }
@media (min-width: 920px) {
  .nav { display: flex; }
  .nav-mobile { display: none; }
  .head-cta { margin-left: 8px; }
  .head-row { gap: 24px; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 72px 0; scroll-margin-top: var(--head-h); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--text-2); font-size: 1.0625rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; font-size: .875rem; font-weight: 650; letter-spacing: .02em; color: var(--link);
}
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; max-width: 14ch; }
.lead { font-size: 1.125rem; color: var(--text-2); max-width: 36rem; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: .9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.sys-note { margin: 14px 0 0; color: var(--text-3); font-size: .875rem; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
}
@media (max-width: 420px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- Demo (download row splitting into connections) ---------- */
.demo { margin: 0; }
.demo-win {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--text-2); }
.demo-bar svg { width: 18px; height: 18px; }
.demo-bar strong { color: var(--text); font-weight: 700; }
.demo-bar .dots { margin-left: auto; display: flex; gap: 12px; }
.demo-bar .dots i { width: 10px; height: 2px; background: var(--text-3); border-radius: 2px; }
.demo-list { display: grid; gap: 8px; padding: 14px; }
.demo-row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line);
}
.demo-row.main { border-color: rgba(79, 141, 255, .35); }
.thumb { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.thumb svg { width: 20px; height: 20px; }
.thumb.zip { color: #fbbf24; background: rgba(251, 191, 36, .13); }
.thumb.vid { color: #f472b6; background: rgba(244, 114, 182, .12); }
.thumb.mp3 { color: #a78bfa; background: rgba(167, 139, 250, .13); }
.demo-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 620; font-size: .9375rem; }
.demo-name span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { flex: none; font-size: .6875rem; font-weight: 700; padding: 1px 7px; border-radius: 6px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); letter-spacing: .02em; }
.tag.hd { color: var(--link); border-color: rgba(79, 141, 255, .35); }
.demo-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; font-size: .8125rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.demo-state { display: grid; }
.demo-state > span { grid-area: 1 / 1; white-space: nowrap; }
.st-run { color: var(--link); font-weight: 600; }
.st-done { color: var(--ok); font-weight: 600; }
.demo-state .s1, .demo-state .s3 { opacity: 0; }
.bar { position: relative; height: 4px; margin-top: 9px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar i, .bar b { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; }
.bar i { background: var(--accent); transform: scaleX(.7); }
.bar b { background: var(--ok); opacity: 0; }
.bar.full i { transform: none; background: var(--ok); opacity: .55; }
.conns { position: relative; height: 6px; margin-top: 7px; }
.conns-one, .conns-grid { position: absolute; inset: 0; }
.conns-one { border-radius: 2px; background: var(--track); overflow: hidden; opacity: 0; }
.conns-grid { display: flex; gap: 2px; }
.c { position: relative; flex: 1 1 0; border-radius: 2px; background: var(--track); overflow: hidden; }
.c i, .conns-one i { position: absolute; inset: 0; transform-origin: left center; background: rgba(79, 141, 255, .7); transform: scaleX(var(--p, 0)); }
.c .h { transform-origin: right center; background: #9cc0ff; transform: scaleX(var(--h, 0)); }
/* still snapshot (no JS, reduced motion, or before the animation starts) */
.c:nth-child(1), .c:nth-child(4), .c:nth-child(9), .c:nth-child(14) { --p: 1; }
.c:nth-child(2), .c:nth-child(6), .c:nth-child(12), .c:nth-child(15) { --p: .84; }
.c:nth-child(3), .c:nth-child(7), .c:nth-child(10), .c:nth-child(16) { --p: .62; }
.c:nth-child(5), .c:nth-child(8), .c:nth-child(13) { --p: .46; }
.c:nth-child(11) { --p: .38; --h: .22; }
.conn-label { margin-top: 6px; font-size: .75rem; color: var(--text-3); }
.demo-cap { margin: 14px 2px 0; font-size: .875rem; color: var(--text-2); }

@media (prefers-reduced-motion: no-preference) {
  /* main.js adds .is-armed (first frame) and .is-playing when the demo scrolls into view */
  .demo.is-armed .main .bar i { transform: scaleX(0); }
  .demo.is-armed .conns-one { opacity: 1; }
  .demo.is-armed .conns-one i { transform: scaleX(0); }
  .demo.is-armed .conns-grid { opacity: 0; }
  .demo.is-armed .c i { transform: scaleX(0); }
  .demo.is-armed .demo-state .s1 { opacity: 1; }
  .demo.is-armed .demo-state .s2 { opacity: 0; }

  .demo.is-playing { --dur: 7s; }
  .demo.is-playing .main .bar i { animation: demo-total var(--dur) linear both; }
  .demo.is-playing .main .bar b { animation: demo-done var(--dur) linear both; }
  .demo.is-playing .conns-one { animation: demo-one-out var(--dur) linear both; }
  .demo.is-playing .conns-one i { animation: demo-one var(--dur) linear both; }
  .demo.is-playing .conns-grid { animation: demo-grid-in var(--dur) linear both; }
  .demo.is-playing .c i { animation: demo-fc var(--dur) ease-out both; }
  .demo.is-playing .c:nth-child(1) i { animation-name: demo-first; }
  .demo.is-playing .c:nth-child(4) i, .demo.is-playing .c:nth-child(9) i, .demo.is-playing .c:nth-child(14) i { animation-name: demo-fa; }
  .demo.is-playing .c:nth-child(2) i, .demo.is-playing .c:nth-child(6) i, .demo.is-playing .c:nth-child(12) i, .demo.is-playing .c:nth-child(15) i { animation-name: demo-fb; }
  .demo.is-playing .c:nth-child(5) i, .demo.is-playing .c:nth-child(8) i, .demo.is-playing .c:nth-child(13) i { animation-name: demo-fd; }
  .demo.is-playing .c:nth-child(11) i { animation-name: demo-slow; animation-timing-function: linear; }
  .demo.is-playing .c:nth-child(11) .h { animation-name: demo-help; animation-timing-function: linear; }
  .demo.is-playing .demo-state .s1 { animation: demo-s1 var(--dur) linear both; }
  .demo.is-playing .demo-state .s2 { animation: demo-s2 var(--dur) linear both; }
  .demo.is-playing .demo-state .s3 { animation: demo-s3 var(--dur) linear both; }
}
@keyframes demo-total { 0% { transform: scaleX(0); } 18% { transform: scaleX(.05); } 86%, 100% { transform: scaleX(1); } }
@keyframes demo-done { 0%, 86% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes demo-one { 0% { transform: scaleX(0); } 18%, 100% { transform: scaleX(.05); } }
@keyframes demo-one-out { 0%, 17% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes demo-grid-in { 0%, 17% { opacity: 0; } 22%, 100% { opacity: 1; } }
@keyframes demo-first { 0%, 20% { transform: scaleX(.8); } 42%, 100% { transform: scaleX(1); } }
@keyframes demo-fa { 0%, 20% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
@keyframes demo-fb { 0%, 20% { transform: scaleX(0); } 66%, 100% { transform: scaleX(1); } }
@keyframes demo-fc { 0%, 20% { transform: scaleX(0); } 76%, 100% { transform: scaleX(1); } }
@keyframes demo-fd { 0%, 20% { transform: scaleX(0); } 84%, 100% { transform: scaleX(1); } }
@keyframes demo-slow { 0%, 20% { transform: scaleX(0); } 56% { transform: scaleX(.3); } 80%, 100% { transform: scaleX(.55); } }
@keyframes demo-help { 0%, 56% { transform: scaleX(0); } 80%, 100% { transform: scaleX(.45); } }
@keyframes demo-s1 { 0%, 17% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes demo-s2 { 0%, 19% { opacity: 0; } 23%, 84% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes demo-s3 { 0%, 87% { opacity: 0; } 91%, 100% { opacity: 1; } }

/* ---------- How it works + measured speed ---------- */
.how-grid { display: grid; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-2); }
.ticks li svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.ticks strong { color: var(--text); display: block; }
.speed { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.speed figcaption { font-weight: 650; margin-bottom: 18px; }
.speed-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-bottom: 16px; font-size: .9375rem; color: var(--text-2); }
.speed-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.speed-bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: var(--track); overflow: hidden; }
.speed-bar i { display: block; height: 100%; border-radius: inherit; background: var(--text-3); }
.speed-bar i.w1 { width: 35.5%; }
.speed-bar i.w16 { width: 100%; background: var(--accent); }
.speed .fine { margin: 6px 0 0; font-size: .8125rem; color: var(--text-3); }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; padding: 0; margin: 0; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); background: rgba(79, 141, 255, .12); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--text-2); font-size: .9688rem; }

/* ---------- Free vs Pro ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare caption { text-align: left; padding: 16px 16px 0; color: var(--text-2); caption-side: bottom; padding-bottom: 16px; font-size: .875rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-size: .875rem; color: var(--text-2); font-weight: 650; background: var(--panel-2); }
.compare thead th.pro { color: var(--link); }
.compare tbody th { font-weight: 550; color: var(--text); }
.compare td { color: var(--text-2); }
.compare td.pro { color: var(--text); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare svg { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--text-3); }
.soon-pill { display: inline-block; font-size: .75rem; font-weight: 650; padding: 2px 8px; border-radius: 99px; color: var(--warn); border: 1px solid rgba(251, 191, 36, .4); }
@media (max-width: 480px) { .compare th, .compare td { padding: 12px 10px; } .compare { font-size: .875rem; } }

/* ---------- Install steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--btn); color: #fff; font-weight: 700;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0 0 10px; }
.step p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); }
.plan-best { border: 2px solid var(--accent); background: #161b26; }
.badge { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 12px; border-radius: 99px; background: var(--btn); color: #fff; font-size: .8125rem; font-weight: 700; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .sub { color: var(--text-2); margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.price .amt { font-size: 2.5rem; font-weight: 760; letter-spacing: -.02em; line-height: 1; }
.price .per { color: var(--text-2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; color: var(--text-2); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.plan form { margin-top: auto; }
.plan .after { margin: 12px 0 0; font-size: .875rem; color: var(--text-2); text-align: center; }
.plans-notes { max-width: 860px; margin: 28px auto 0; display: grid; gap: 12px; }
.note {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: .9375rem;
}
.note p { margin: 0; }
.note svg { width: 22px; height: 22px; color: var(--accent); }
.note strong { color: var(--text); }
.trial-cta { text-align: center; margin-top: 36px; }
.trial-cta p { color: var(--text-2); }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 20px; font-weight: 620; font-size: 1.0313rem; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { background: rgba(255, 255, 255, .03); }
.faq .answer { padding: 0 20px 18px; color: var(--text-2); }
.faq .answer p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .cta-row { justify-content: center; margin-bottom: 12px; }
.final-cta p { color: var(--text-2); }

/* ---------- Footer ---------- */
.site-foot { padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: .9375rem; }
.foot-grid { display: grid; gap: 28px; }
.foot-grid .brand { margin-bottom: 10px; }
.foot-grid p { color: var(--text-2); margin: 0 0 6px; }
.foot-grid h2 { font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .875rem; }
.foot-base p { margin: 0; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Document pages (privacy, EULA, refund, notices) ---------- */
.doc-hero { padding: 48px 0 8px; }
.doc-hero p { color: var(--text-2); }
.doc { max-width: 760px; padding-bottom: 80px; }
.doc h2 { font-size: 1.375rem; margin: 2em 0 .6em; scroll-margin-top: calc(var(--head-h) + 12px); }
.doc h3 { margin: 1.6em 0 .5em; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin-bottom: .4em; }
.doc strong { color: var(--text); }
.doc .summary { padding: 20px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.doc .summary p:last-child, .doc .summary ul:last-child { margin-bottom: 0; }
.doc .alpha { list-style: none; padding-left: 0; }
.doc .alpha li { padding-left: 1.6em; text-indent: -1.6em; }
.doc .updated { color: var(--text-3); font-size: .9375rem; }
.notice { padding: 20px 22px; margin-bottom: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.notice h2 { margin-top: 0; font-size: 1.125rem; }
.notice dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.notice dt { color: var(--text-3); }
.notice dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.notice p { margin: 10px 0 0; }

/* ---------- Extension guide ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.jump a:hover { background: rgba(255, 255, 255, .05); }
.guide { padding: 40px 0 0; scroll-margin-top: var(--head-h); }
.guide + .guide { padding-top: 56px; }
.guide > h2 { margin-bottom: 8px; }
.guide > .intro { color: var(--text-2); margin-bottom: 20px; }
.route { padding: 20px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; }
.route h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.route p { color: var(--text-2); margin-bottom: 12px; }
.route p:last-child { margin-bottom: 0; }
.route ul:not(.store-links) { margin: 0; color: var(--text-2); display: grid; gap: 6px; }
.route-label { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; color: var(--text-2); border: 1px solid var(--line-2); }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.store-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 10px;
  border: 1px dashed var(--line-2); color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.store-links a[aria-disabled="true"] { cursor: default; }
.store-links .soon { color: var(--text-3); font-weight: 500; }
.ext-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: es; }
.ext-step {
  counter-increment: es;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
  padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
}
.ext-step::before {
  content: counter(es);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--btn); color: #fff; font-weight: 700;
}
.ext-step h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.ext-step p { color: var(--text-2); margin: 0 0 8px; }
.ext-step p:last-child { margin-bottom: 0; }
.ext-step .illus { width: 100%; max-width: 320px; height: auto; margin-top: 4px; }
.addr-list { list-style: none; padding: 0; margin: 6px 0 8px; display: grid; gap: 6px; }
.addr-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--text-2); }
.addr-list li span { min-width: 56px; }
.copy {
  min-height: 32px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); font: 600 .8125rem var(--font); cursor: pointer;
}
.copy:hover { background: rgba(255, 255, 255, .06); }
.copy[hidden] { display: none; }
.ext-id { font-size: .9375rem; }
.callout {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 16px 0 0;
  padding: 16px 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); font-size: .9375rem;
}
.callout svg { width: 22px; height: 22px; color: var(--warn); }
.callout p { margin: 0; }
.callout strong { color: var(--text); }
.test-box { margin-top: 56px; padding-bottom: 80px; }
@media (min-width: 760px) {
  .ext-step { grid-template-columns: 34px minmax(0, 1fr) 260px; gap: 14px; align-items: start; padding: 20px 22px; }
  .ext-step::before { width: 34px; height: 34px; }
  .ext-step h3 { margin-top: 5px; }
  .ext-step > div { grid-column: 2; }
  .ext-step .illus { grid-column: 3; grid-row: 1; margin-top: 0; }
  .ext-step > div:last-child { grid-column: 2 / -1; }
}

/* ---------- 404 ---------- */
.lost { padding: 96px 0 120px; text-align: center; }
.lost .code { font-size: 4rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.lost .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
