/* YouTube Turbo Downloader - website styles. One file, system fonts, no inline styles (the page policy forbids them). */
:root {
  color-scheme: light dark;
  accent-color: var(--b);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #fbf9f6;
  --bg-soft: #f3efe9;
  --surface: #ffffff;
  --ink: #15151b;
  --muted: #5d5d6b;
  --line: #e6e1d9;
  --a: #ff7a1a;
  --b: #e5173f;
  --c: #b80f6a;
  --grad: linear-gradient(120deg, var(--a), var(--b) 60%, var(--c));
  --glow: rgba(255, 112, 20, .36);
  --shadow: 0 24px 60px -24px rgba(60, 20, 10, .35), 0 2px 6px rgba(60, 20, 10, .08);
  --ok: #17a05a;
  --bad: #c4283c;
  --radius: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c11;
    --bg-soft: #13131a;
    --surface: #17171f;
    --ink: #f2f2f6;
    --muted: #a4a4b4;
    --line: #272733;
    --glow: rgba(255, 80, 30, .30);
    --shadow: 0 30px 70px -28px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .4);
    --ok: #4cd18a;
    --bad: #ff7d8f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0c11;
  --bg-soft: #13131a;
  --surface: #17171f;
  --ink: #f2f2f6;
  --muted: #a4a4b4;
  --line: #272733;
  --glow: rgba(255, 80, 30, .30);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .4);
  --ok: #4cd18a;
  --bad: #ff7d8f;
}
:root[data-theme="light"] { color-scheme: light; }

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.025em; margin: 0; font-weight: 800; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 50; height: 68px; }
.bar {
  position: relative; display: flex; align-items: center; gap: 22px; height: 68px;
  border: 1px solid transparent; border-radius: 0;
  transition: width .4s cubic-bezier(.2, .8, .2, 1), height .4s cubic-bezier(.2, .8, .2, 1), top .4s cubic-bezier(.2, .8, .2, 1),
              padding .4s cubic-bezier(.2, .8, .2, 1), border-radius .4s cubic-bezier(.2, .8, .2, 1), background-color .3s, border-color .3s, box-shadow .4s;
}
/* a soft highlight along the top edge, like light catching glass */
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 46%); opacity: 0; transition: opacity .4s;
}
/* scrolled: the header floats as a rounded glass capsule, inset from the edges, with the page blurred behind it */
.top.is-scrolled .bar {
  width: min(calc(var(--max) - 60px), 100% - 24px); height: 58px; top: 8px; padding-inline: 18px; border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 58%, transparent);
  -webkit-backdrop-filter: saturate(190%) blur(24px); backdrop-filter: saturate(190%) blur(24px);
  border-color: color-mix(in srgb, var(--ink) 13%, transparent);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.top.is-scrolled .bar::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top.is-scrolled .bar { background: color-mix(in srgb, var(--bg) 92%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .bar, .bar::before { transition: none; } }
.brand { font-family: var(--font-head); display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 1.0625rem; }
.brand img { width: 44px; height: 26px; object-fit: contain; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 0.9375rem; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 0.9375rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .drop { display: flex; }
.drop { display: none; position: absolute; right: 0; top: 48px; min-width: 210px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.drop a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.drop a:hover { background: var(--bg-soft); }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); border-color: var(--b); }
/* background-origin: border-box lets the gradient start at the outer edge: with a transparent border it otherwise repeats under the border and shows as a dark edge */
.btn.primary { background: var(--grad); background-origin: border-box; color: #fff; border-color: transparent; box-shadow: 0 12px 30px -10px rgba(229, 23, 63, .55); }
.btn.primary:hover { box-shadow: 0 16px 36px -10px rgba(229, 23, 63, .7); }
.btn.small { padding: 9px 16px; font-size: 0.9062rem; border-radius: 11px; }
/* the store buttons: only the one that fits the visitor's browser (assets/store.js sets data-browser); both when it is unknown */
[data-browser="firefox"] [data-store="chrome"], [data-browser="chrome"] [data-store="firefox"], [data-browser] [data-store="other"], :root:not([data-browser]) [data-store="firefox"], :root:not([data-browser]) [data-store="chrome"] { display: none; }
.cta-center { justify-content: center; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
@media (max-width: 900px) { .hero::before { inset: -8% -45% auto -45%; width: auto; max-width: none; } }   /* bigger glow on small screens */
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; align-content: center; min-height: calc(100vh - 68px - 112px); min-height: calc(100svh - 68px - 112px); }   /* hero = window height minus header and padding */
h1 { font-size: clamp(2.375rem, 1.2rem + 4.6vw, 4.125rem); letter-spacing: -.035em; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.3125rem); color: var(--muted); margin: 22px 0 30px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* the product picture: the download menu, drawn in CSS */
.shot { position: relative; }
.win { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.win-top { display: flex; gap: 7px; padding: 14px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.win-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.stage { position: relative; padding: 34px 24px 42px; background: linear-gradient(135deg, #1c1020, #2c0f19 55%, #3b1210); overflow: hidden; }
.stage::after { content: ""; position: absolute; inset: auto -20% -45% -20%; height: 90%; background: radial-gradient(closest-side, rgba(255, 122, 26, .5), transparent); }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 0.875rem; font-weight: 700; }
.float small { display: block; color: var(--muted); font-weight: 600; font-size: 0.75rem; }
.float svg { width: 26px; height: 26px; flex: none; }

/* -------------------------------------------------------------- sections */
section { padding: 84px 0; }
.sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 2.875rem); }
.sec-head p { color: var(--muted); font-size: 1.1875rem; margin-top: 16px; }
.soft { background: var(--bg-soft); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--b) 45%, var(--line)); }
.card h3 { font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fmt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.fmt h3 { font-size: 1.375rem; margin-bottom: 6px; }
.fmt > p { color: var(--muted); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { padding: 9px 16px; border-radius: 12px; font-weight: 800; font-size: 0.9375rem; background: var(--bg-soft); border: 1px solid var(--line); }
.chip small { font-weight: 600; color: var(--muted); margin-left: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding-top: 70px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.375rem; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(229, 23, 63, .7); }
.steps h3 { font-size: 1.3125rem; margin-bottom: 8px; letter-spacing: -.015em; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 2.75rem); margin-bottom: 18px; }
.split > div > p { color: var(--muted); font-size: 1.1875rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 2px; }
.checks span { color: var(--muted); font-weight: 400; display: block; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.flow { display: grid; gap: 14px; }
.node { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; }
.node small { display: block; font-weight: 500; color: var(--muted); }
.node svg { width: 26px; height: 26px; flex: none; color: var(--b); }
.node.dim { opacity: .65; }
.arrow { text-align: center; color: var(--muted); font-size: 0.8125rem; font-weight: 700; }

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.625rem; font-weight: 500; color: var(--b); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

.band { text-align: center; background: var(--grad); color: #fff; border-radius: 28px; padding: 64px 28px; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 2.875rem); margin-bottom: 14px; }
.band p { font-size: 1.1875rem; opacity: .92; max-width: 560px; margin: 0 auto 28px; }
.band .btn { background: #fff; color: #1a1020; border-color: transparent; }

/* ----------------------------------------------------------------- pages */
.page { padding: 64px 0 90px; }
.page .narrow { max-width: 760px; margin-inline: auto; }
.page h1 { font-size: clamp(2.125rem, 1.2rem + 3vw, 3.25rem); margin-bottom: 14px; }
.page .sub { color: var(--muted); font-size: 1.1875rem; margin-bottom: 38px; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 10px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose strong { color: var(--ink); }
.prose .meta { font-size: 0.875rem; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 700; font-size: 0.9375rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.field .hint { color: var(--muted); font-size: 0.8438rem; font-weight: 400; }
input[type=text], input[type=email], select, textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
input[type=text], input[type=email], select { box-sizing: border-box; height: 54px; line-height: 1.5; }
select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8795' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
select:has(option[value=""]:checked) { color: var(--muted); }
select option { color: var(--ink); }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--a) 55%, transparent); border-color: var(--a); }
.row2 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kinds span { display: block; text-align: center; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; font-size: 0.9375rem; transition: border-color .15s, background .15s; }
.kinds input:checked + span { border-color: var(--b); background: color-mix(in srgb, var(--b) 10%, var(--bg)); }
.kinds.reasons { grid-template-columns: 1fr 1fr; }
.kinds.reasons span { text-align: left; padding: 14px 16px; }
.kinds input:focus-visible + span { outline: 3px solid var(--a); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9062rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--b); flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 16px 18px; border-radius: 14px; font-weight: 600; display: none; }
.note.show { display: block; }
.note.ok, .vs-row.last .vs-us { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 1px solid var(--ok); }
.note.err { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); border: 1px solid var(--bad); }
.side { display: grid; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 0.9375rem; }
.side b { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.foot h4 { margin: 0 0 12px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.foot a:hover { color: var(--b); }
.foot p { color: var(--muted); font-size: 0.875rem; max-width: 30em; }
.foot .legal { margin: 34px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; text-align: center; max-width: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 60em) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float.one { right: 8px; }
  .float.two { left: 8px; }
}
@media (max-width: 45em) {
  .nav { display: none; }
  .menu { display: block; }
  section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero-grid { min-height: calc(100vh - 68px - 80px); min-height: calc(100svh - 68px - 80px); }
}
@media (max-width: 37.5em) {
  body { font-size: 1rem; }
  .cards, .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .kinds.reasons { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .brand { font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------- changelog */
.cl-year { font-size: 1.75rem; letter-spacing: -.02em; margin: 34px 0 6px; }
.cl-year-block:first-child .cl-year { margin-top: 8px; }
.cl-month { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; }
.cl-older { margin-top: 34px; }
.cl-older-title { font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 12px; }
.cl-fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.cl-fold > summary { cursor: pointer; padding: 14px 18px; list-style-position: inside; }
.cl-fold > summary b { font-size: 1.0625rem; }
.cl-fold > summary span { color: var(--muted); font-size: .875rem; margin-left: 6px; }
.cl-fold .cl-fold { margin: 0 14px 10px; background: var(--bg, transparent); }
.cl-slot { padding: 4px 14px 14px; color: var(--muted); }
.cl-slot .release { margin-bottom: 12px; }
.cl-note { color: var(--muted); font-size: .875rem; }
.release { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; }
.release-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.release-head h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.release-date { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.release-summary { color: var(--muted); margin: 6px 0 14px; }
.release h3 { font-size: 1.0625rem; margin: 22px 0 6px; letter-spacing: -.01em; }
.release h4 { font-size: .8125rem; margin: 14px 0 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.release-list { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 37.5em) { .release { padding: 20px; } }

/* ---------------------------------------------------------------- welcome page */
.page.welcome { padding-top: 0; }
.welcome section { padding: 52px 0; }
/* the first block runs up behind the (transparent) header: its colour starts at the very top of the page */
.welcome .w-hero { position: relative; overflow: hidden; margin-top: -68px; padding: 132px 0 28px; text-align: center; }
.welcome .w-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; background: radial-gradient(ellipse 62% 100% at 50% 0%, var(--glow), transparent 72%); pointer-events: none; }
.welcome .w-hero .wrap { position: relative; }
.w-badge { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); box-shadow: 0 0 0 10px color-mix(in srgb, var(--ok) 8%, transparent); }
.w-badge svg { width: 64px; height: 64px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.w-ring { stroke-dasharray: 145; stroke-dashoffset: 145; animation: w-draw .8s .1s ease-out forwards; }
.w-tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: w-draw .5s .7s ease-out forwards; }
@keyframes w-draw { to { stroke-dashoffset: 0; } }
.welcome .w-hero h1 { font-size: clamp(2.375rem, 1.2rem + 4.6vw, 4rem); }
.w-lead { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 1.25rem; }
.w-reload { max-width: 560px; margin: 22px auto 0; text-align: center; }
.w-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; }

.pin-card { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pin-card h2 { font-size: 1.3125rem; letter-spacing: -.015em; margin-bottom: 8px; }
.pin-card p { margin: 0 0 6px; color: var(--muted); }
.pin-card .meta { font-size: .875rem; }
.pin-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.pin-icon svg { width: 26px; height: 26px; }
[data-browser="firefox"] [data-for="chrome"], [data-browser="chrome"] [data-for="firefox"] { display: none; }

.w-share { text-align: center; position: sticky; bottom: 0; z-index: 40; padding: 0; pointer-events: none; }
.w-share h2 { font-size: clamp(1.625rem, 1rem + 2vw, 2.25rem); }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-btn { --c: var(--b); display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .9688rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, border-color .15s, background-color .15s; }
.share-btn i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.share-btn:hover { transform: translateY(-2px); border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, var(--surface)); }
.share-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 55%, transparent); outline-offset: 2px; }
.share-btn[hidden] { display: none; }
.share-btn.is-done { border-color: var(--ok); color: var(--ok); }
.sb-facebook { --c: #1877f2; } .sb-x { --c: #8a8a96; } .sb-whatsapp { --c: #25d366; } .sb-telegram { --c: #229ed9; }
.sb-reddit { --c: #ff4500; } .sb-linkedin { --c: #0a66c2; } .sb-email { --c: #e0a030; } .sb-copy, .sb-native { --c: var(--b); }

.w-how .sec-head { margin-bottom: 40px; }
.how-video { max-width: 860px; margin: 0 auto 64px; }
.how-steps { list-style: none; padding: 0; margin: 0 auto 64px; max-width: 1000px; display: grid; gap: 56px; counter-reset: how; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.how-steps li:nth-child(even) .shot { order: -1; }
.how-text h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.how-text h3::before { content: counter(how); flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.125rem; }
.how-text p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.w-how .shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.w-how .shot img, .w-how .shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-how .shot.video { aspect-ratio: auto; max-width: 760px; margin-left: auto; margin-right: auto; background: #000; }
  background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 14px, color-mix(in srgb, var(--bg-soft) 70%, var(--surface)) 14px, color-mix(in srgb, var(--bg-soft) 70%, var(--surface)) 28px); }
.w-tips { margin-top: 8px; }

.free-card { text-align: center; padding: 60px 28px; border-radius: 28px; color: #fff; background: var(--grad); box-shadow: 0 30px 80px -30px rgba(229, 23, 63, .55); }
.free-card h2 { font-size: clamp(1.875rem, 1.1rem + 2.8vw, 3rem); margin-bottom: 18px; }
.free-card p { max-width: 640px; margin: 0 auto 14px; font-size: 1.1875rem; opacity: .95; }
.free-card .free-small { font-size: 1rem; opacity: .85; }
.free-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.free-card .btn { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); }
.free-card .btn:hover { border-color: #fff; }
.free-card .btn.primary { background: #fff; color: #1a1020; border-color: transparent; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }

.w-help h2 { font-size: 1.5rem; margin-bottom: 14px; }
.legal-note { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.legal-note svg { flex: none; width: 28px; height: 28px; color: var(--muted); margin-top: 2px; }
.legal-note p { margin: 0; color: var(--muted); font-size: .9688rem; }
.legal-note b { color: var(--ink); }

@media (max-width: 52em) {
  .how-steps li { grid-template-columns: 1fr; gap: 20px; }
  .how-steps li:nth-child(even) .shot { order: 0; }
  .pin-card { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .w-ring, .w-tick { animation: none; stroke-dashoffset: 0; }
  .share-btn { transition: none; }
}

/* ---- manual install page ---- */
.dl-pill { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--b); background: color-mix(in srgb, var(--b) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--b) 25%, var(--line)); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px auto 56px; max-width: 920px; }
.dl-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.dl-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.dl-icon { width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--grad); box-shadow: 0 12px 26px -12px rgba(229, 23, 63, .6); }
.dl-icon svg { width: 26px; height: 26px; }
.dl-card h3 { margin: 0 0 4px; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.25; }
.dl-for { margin: 0 0 20px; color: var(--muted); }
.dl-rec { display: none; position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
[data-browser="chrome"] .dl-chromium .dl-rec, [data-browser="firefox"] .dl-firefox .dl-rec { display: inline-block; }
.dl-facts { display: flex; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.dl-facts li { flex: 1; padding: 10px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.dl-facts b { display: block; font-size: 1.0625rem; letter-spacing: -.01em; }
.dl-facts span { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.dl-btn { justify-content: center; width: 100%; }
.dl-hash { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.dl-hash summary { cursor: pointer; font-weight: 650; }
.dl-hash code { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); word-break: break-all; font-size: .78rem; color: var(--ink); }
.dl-note { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.manual h2 { margin-top: 46px; padding-top: 6px; }
.manual-steps { list-style: none; counter-reset: step; padding: 0; margin: 18px 0 8px; display: grid; gap: 12px; }
.manual-steps li { counter-increment: step; position: relative; margin: 0; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.manual-steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: var(--grad); }
.manual .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.manual .chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: inherit; font: inherit; cursor: pointer; }
.manual .chip code { font-size: .8125rem; }
.manual .chip span { font-size: .75rem; font-weight: 700; color: var(--b); }
.manual .chip:hover { border-color: var(--b); }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; margin-bottom: 40px; } .dl-card { padding: 26px 20px 22px; } .manual-steps li { padding: 14px 14px 14px 56px; } .manual-steps li::before { left: 13px; } }

/* ---- us vs others (aligned rows) ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs { max-width: 980px; margin: 0 auto; }
.vs-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 28px; }
.vs-headrow h3 { font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 8px; padding: 0 0 14px; border-bottom: 2px solid var(--line); }
.vs-headrow h3.vs-us { border-bottom-color: var(--ok); }
.vs-cell { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.vs-cell svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.vs-cell b { display: block; font-weight: 650; }
.vs-cell span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.vs-cell.vs-us svg { color: var(--ok); }
.vs-cell.vs-others svg { color: #e5173f; }
.vs-row.last { margin-top: 12px; }
.vs-row.last .vs-cell { border-bottom: 0; padding: 16px 18px; border-radius: 14px; align-items: center; }
.vs-row.last .vs-others { background: color-mix(in srgb, #e5173f 10%, var(--surface)); border: 1px solid color-mix(in srgb, #e5173f 50%, transparent); }
.vs-row:last-child .vs-cell { border-bottom-width: 1px; }
@media (max-width: 760px) {
  .vs-headrow { display: none; }
  .vs-row:not(.vs-headrow) { display: block; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
  .vs-row .vs-cell { border-bottom: 0; padding: 14px 16px; }
  .vs-row .vs-cell.vs-us { padding-bottom: 12px; }
  .vs-row .vs-cell.vs-us b { font-size: 1.0625rem; line-height: 1.3; }
  .vs-cell.vs-others { margin: 0; padding: 11px 16px; align-items: flex-start; background: color-mix(in srgb, #e5173f 7%, var(--surface)); border-top: 1px dashed color-mix(in srgb, #e5173f 30%, var(--line)); }
  .vs-cell.vs-others::before { content: "Others"; flex: none; order: 3; margin-left: auto; align-self: center; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #e5173f; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, #e5173f 12%, transparent); }
  .vs-cell.vs-others svg { width: 18px; height: 18px; margin-top: 2px; }
  .vs-cell.vs-others > div { flex: 1; min-width: 0; }
  .vs-cell.vs-others b { font-weight: 600; font-size: .9375rem; display: inline; }
  .vs-cell.vs-others span { display: inline; margin: 0; font-size: .9375rem; }
  .vs-row.last { margin-top: 18px; border-color: var(--ok); }
  .vs-row.last .vs-cell { padding: 16px; border-radius: 0; }
  .vs-row.last .vs-us { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 0; }
  .vs-row.last .vs-others { background: color-mix(in srgb, #e5173f 8%, var(--surface)); border: 0; border-top: 1px dashed color-mix(in srgb, #e5173f 30%, var(--line)); }
}

/* ---- hero: the real download menu (same look as the add-on) ---- */
.stage .turbo_menu { --pn-muted:rgba(235,235,245,.6); --pn-sep:rgba(84,84,88,.65); --pn-group:rgba(255,255,255,.09); --pn-seg:rgba(255,255,255,.12); --pn-seg-on:rgba(255,255,255,.3); --pn-chip:rgba(255,255,255,.16); --pn-chip-text:rgba(235,235,245,.78); --pn-fill:rgba(255,134,90,.32); --ok:#30d158;
  position:relative; width:100%; max-width:420px; margin:0 auto; z-index:1; display:flex; flex-direction:column; overflow:hidden; color:#fff; text-align:left; font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif; letter-spacing:-.01em; font-size:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.03) 42%),rgba(22,22,28,.84); -webkit-backdrop-filter:blur(42px) saturate(200%); backdrop-filter:blur(42px) saturate(200%); border:.5px solid rgba(255,255,255,.2); border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,.45),0 0 0 .5px rgba(0,0,0,.55),inset 0 .5px 0 rgba(255,255,255,.45); }
.stage .turbo_head { display:flex; align-items:center; gap:10px; padding:11px 10px 8px 12px; }
.stage .turbo_head_icon { flex:none; width:38px; height:30px; display:grid; place-items:center; }
.stage .turbo_head_icon img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.stage .turbo_head_text { flex:1 1 0; width:0; min-width:0; }
.stage .turbo_head_title { font-size:13px; font-weight:600; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stage .turbo_head_sub { font-size:11px; line-height:1.3; color:var(--pn-muted); }
.stage .turbo_close { flex:none; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:var(--pn-muted); background:var(--pn-chip); }
.stage .turbo_tabs, .stage .turbo_seg_mini { display:flex; gap:1px; padding:2px; border-radius:9px; background:var(--pn-seg); }
.stage .turbo_tabs { margin:0 12px 8px; }
.stage .turbo_tab { flex:1; display:flex; align-items:center; justify-content:center; gap:5px; padding:4px 8px; border-radius:7px; font-size:12px; font-weight:500; line-height:1.3; }
.stage .turbo_tab.turbo_tab_on { font-weight:600; background:var(--pn-seg-on); box-shadow:0 1px 3px rgba(0,0,0,.3); }
.stage .turbo_tab_count { font-style:normal; font-size:11px; font-weight:500; color:var(--pn-muted); }
.stage .turbo_fmtbar { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 12px 8px; }
.stage .turbo_fmt_label { font-size:11.5px; color:var(--pn-muted); }
.stage .turbo_seg_mini { padding:1.5px; border-radius:8px; }
.stage .turbo_chip { padding:2px 11px; border-radius:6.5px; font-size:11px; font-weight:500; }
.stage .turbo_chip.turbo_chip_on { font-weight:600; background:var(--pn-seg-on); box-shadow:0 1px 2px rgba(0,0,0,.3); }
.stage .turbo_pane { display:flex; flex-direction:column; margin:0 12px 12px; border-radius:10px; background:var(--pn-group); overflow:hidden; }
.stage .turbo_row { position:relative; display:flex; align-items:center; gap:9px; min-height:32px; padding:4px 12px; }
.stage .turbo_row + .turbo_row::before { content:""; position:absolute; top:0; left:12px; right:0; height:.5px; background:var(--pn-sep); }
.stage .turbo_badge { flex:none; min-width:38px; padding:1.5px 6px; border-radius:5px; text-align:center; font-size:10px; font-weight:700; letter-spacing:.3px; line-height:1.5; color:var(--pn-chip-text); background:var(--pn-chip); }
.stage .turbo_main { flex:1 1 auto; min-width:0; display:flex; align-items:center; white-space:nowrap; overflow:hidden; gap:2px 5px; }
.stage .turbo_res { font-size:13px; font-weight:500; line-height:1.3; }
.stage .turbo_tag { padding:0 5px; border-radius:4px; font-size:9.5px; font-weight:600; line-height:1.55; color:var(--pn-muted); background:var(--pn-chip); }
.stage .turbo_size { flex:none; min-width:64px; text-align:right; margin-left:4px; font-size:11.5px; font-variant-numeric:tabular-nums; color:var(--pn-muted); white-space:nowrap; }
.stage .turbo_row > svg { flex:none; width:16px; height:16px; color:#fff; }
.stage .turbo_row.turbo_busy { --pn-fill: rgba(255,134,90,.5); background:linear-gradient(90deg,var(--pn-fill) calc(var(--p,0%) - 3%),transparent calc(var(--p,0%) + 1%)); }
.stage .turbo_row.turbo_busy .turbo_size { color:#fff; font-weight:600; font-variant-numeric:tabular-nums; }
.stage .turbo_row_stop { flex:none; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; padding:0; border:0; border-radius:50%; color:#fff; background:rgba(255,69,58,.9); }
.stage .turbo_row_stop svg { width:10px; height:10px; } .stage .turbo_row_stop svg path { fill:currentColor; }
.float.one { top: -22px; right: -10px; }
.float.two { bottom: -24px; left: -14px; }
@media (max-width: 520px) { .stage { padding: 22px 10px 28px; } }

/* hero: the downloading row fills from left to right and counts up, like in the add-on */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 62%; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 62; }
.stage .turbo_row.turbo_busy:not(.js-count) { animation: hero-fill 7s linear infinite; counter-reset: pct var(--n); }   /* no JavaScript: the CSS-only version (assets/hero.js drives the bar and the number otherwise) */
.stage .turbo_row.turbo_busy:not(.js-count) .turbo_size::before { content: counter(pct) "% \00b7  38 MB/s"; }
@keyframes hero-fill { 0% { --p: 0%; --n: 0; } 88% { --p: 100%; --n: 100; } 100% { --p: 100%; --n: 100; } }
@media (prefers-reduced-motion: reduce) { .stage .turbo_row.turbo_busy { animation: none; } }
.pin-shot { margin: 18px 0 0; width: 100%; max-width: none; border: 0; box-shadow: none; background: none; overflow: visible; text-align: center; }
.pin-shot img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.w-how .shot.video video { height: auto; object-fit: contain; }

/* welcome: the share bar is docked to the bottom edge of the window and settles into its own place when you scroll to the share section */
.w-share .wrap { max-width: none; padding: 0; }
.w-share .share-row { pointer-events: auto; width: fit-content; max-width: 100%; margin: 0 auto; flex-wrap: nowrap; gap: 8px; padding: 10px 14px; align-items: center; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: 0 -8px 30px rgba(0, 0, 0, .08), 0 16px 22px -8px rgba(0, 0, 0, .28); }
.w-share .share-row::-webkit-scrollbar { display: none; }
.share-row.is-wide { touch-action: pan-x; overscroll-behavior: contain; }
.share-row.is-drag { cursor: grabbing; user-select: none; }
.w-share .share-row.is-drag .share-btn { pointer-events: none; }
.share-label { flex: none; padding: 0 8px 0 10px; font-weight: 650; font-size: .9375rem; white-space: nowrap; }
.w-share .share-btn { flex: none; padding: 8px 14px; font-size: .9rem; }
@media (max-width: 900px) { .w-share .share-btn { padding: 7px 11px; font-size: .85rem; } }
@media (max-width: 760px) { .share-label { display: none; } }
main .w-share { padding-top: 0; padding-bottom: 0; }
.foot .ver { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.foot .ver a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.vs-cell.vs-empty { min-height: 1px; }
@media (max-width: 760px) { .vs-cell.vs-empty { display: none; } }

/* ---- support, bug and suggestion pages ---- */
.helpcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 26px; }
.helpcards a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
.helpcards a:hover { transform: translateY(-2px); border-color: var(--b); }
.helpcards b { font-size: 1rem; }
.helpcards span { color: var(--muted); font-size: .875rem; }
.formsec { padding-top: 6px; border-top: 1px solid var(--line); }
.form > .formsec:first-of-type { border-top: 0; padding-top: 0; }
.formsec h2 { font-size: 1.125rem; margin: 6px 0 2px; }
.formsec .hint { color: var(--muted); font-size: .875rem; margin: 0; }
.row2.two { grid-template-columns: 1fr 1fr; }
/* fields side by side: the labels and the inputs line up; a hint under one field does not push the others */
.row2 { align-items: start; }
.tech { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 16px; }
.tech summary { cursor: pointer; font-weight: 650; font-size: .9375rem; }
.tech .row2 { margin-top: 14px; }
.tech .hint { color: var(--muted); font-size: .8438rem; margin: 10px 0 0; }
@media (max-width: 760px) { .helpcards { grid-template-columns: 1fr; } .row2.two { grid-template-columns: 1fr; } }
.stage .turbo_head_ver { margin-left: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: var(--pn-muted); }

/* goodbye page */
.bye .wrap { max-width: 720px; }
.bye-head { text-align: center; margin-bottom: 32px; }
.bye-head .sub { margin: 0 auto; max-width: 560px; }
.bye-badge { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(229, 23, 63, .55); }
.bye-badge svg { width: 30px; height: 30px; }
.bye-badge.ok { background: var(--ok); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ok) 70%, transparent); }
.bye-card { padding: 34px; }
.bye-check .bye-card { visibility: hidden; }   /* until goodbye-gate.js has checked the version in the address */
.bye .kinds.reasons { grid-template-columns: 1fr 1fr; gap: 12px; }
.bye .kinds.reasons span { position: relative; display: flex; align-items: center; min-height: 58px; padding: 14px 16px 14px 46px; border-radius: 14px; font-weight: 600; line-height: 1.3; }
.bye .kinds.reasons span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.bye .kinds.reasons label:hover span { border-color: color-mix(in srgb, var(--b) 45%, var(--line)); }
.bye .kinds.reasons input:checked + span::before { border-color: var(--b); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--b); }
.bye-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bye-skip { color: var(--muted); font-weight: 650; text-decoration: none; }
.bye-skip:hover, .guide .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bye-thanks { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-align: center; padding: 44px 30px; }
.bye-thanks[hidden] { display: none; }
.bye-thanks h2 { margin: 0 0 8px; }
.bye-thanks p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 560px) { .bye-card { padding: 22px 18px; } .bye .kinds.reasons { grid-template-columns: 1fr; } .bye-actions .btn { flex: 1 1 100%; justify-content: center; } .bye-actions { justify-content: center; } }
.form[hidden] { display: none; }

/* homepage: the downloader window always sits slightly tilted in 3D (gentler on small screens so it stays inside the page) */
.hero .shot { perspective: none; }
.hero .shot .win { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg) rotateZ(1deg); transform-origin: 60% 50%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 28px 36px 70px -26px rgba(40, 10, 20, .4), var(--shadow); }
@media (max-width: 900px) { .hero .shot .win { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg) rotateZ(.6deg); box-shadow: 18px 24px 46px -22px rgba(40, 10, 20, .4), var(--shadow); } }
.dl-head { text-align: center; }
.dl-head .sub { margin-bottom: 0; }

/* guides and landing pages */
.guide .crumbs { margin-bottom: 18px; font-size: .875rem; color: var(--muted); }
.guide .crumbs a { color: inherit; text-decoration: none; font-weight: 600; }
.guide .crumbs span { margin: 0 6px; opacity: .6; }
.guide ol { padding-left: 1.3em; margin: 0 0 1em; }
.guide ol li { margin: 8px 0; color: var(--muted); }
.guide ol li b, .guide ul li b { color: var(--ink); }
.guide code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.guide .faq { max-width: none; margin: 0; }
.guide .helpcards { margin-top: 14px; }
.guide .guide-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.guide .guide-band { margin-top: 56px; padding: 48px 24px; }
@media (max-width: 760px) { .guide .guide-grid { grid-template-columns: 1fr; } .guide .guide-band { padding: 40px 20px; } }
.learn-grid, .w-guides .guide-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .learn-grid { grid-template-columns: 1fr; } }
.w-guides .w-more { text-align: center; margin: 28px 0 0; }
@media (max-width: 760px) { .w-guides .guide-grid { grid-template-columns: 1fr; } }

/* home share bar: hidden at top, sticks to the bottom once scrolled, lands on the footer at the end */
.share-dock { position: sticky; bottom: 0; transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.share-dock.is-on { transform: none; visibility: visible; transition: transform .3s ease; }
@media (prefers-reduced-motion: reduce) { .share-dock, .share-dock.is-on { transition: none; } }
main.welcome { padding-bottom: 0; }   /* no gap between share bar and footer */

/* footer theme switch: sits at the bottom of the first column */
.theme { display: inline-flex; margin-top: auto; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.foot-grid > div:first-child > :nth-last-child(2) { margin-bottom: 22px; }   /* room above the switch when the column is the shortest */
.theme button { display: grid; place-items: center; width: 34px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.theme button svg { width: 16px; height: 16px; }
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme button:focus-visible { outline: 3px solid color-mix(in srgb, var(--b) 55%, transparent); outline-offset: 1px; }

/* list of all versions (download page) */
.ver-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ver-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ver-row b { font-weight: 700; }
.ver-tag { font-style: normal; font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); border: 1px solid var(--ok); }
.ver-date { color: var(--muted); font-size: .875rem; }
.ver-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ver-links a { font-weight: 600; font-size: .9375rem; }
.ver-note { color: var(--muted); padding: 6px 2px; }

/* "New" badge in the hero and the section that shows the part download */
.new-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.new-badge b, .new-pill { padding: 3px 11px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.new-badge:hover { border-color: var(--b); }
.new-pill { display: inline-block; margin: 0 0 14px; }
.clip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.clip-text h2 { margin: 0 0 14px; }
.clip-steps { margin: 18px 0; padding-left: 1.2em; display: grid; gap: 8px; }
.clip-demo { margin: 0; display: grid; gap: 16px; }
.cd-player { padding: 26px 22px 18px; border-radius: 18px; background: linear-gradient(135deg, #1c1020, #2c0f19 55%, #3b1210); color: #fff; box-shadow: var(--shadow); }
.cd-times, .cd-ends { display: flex; justify-content: space-between; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cd-times { margin: 0 0 8px; padding: 0 0 0 calc(35% - 14px); max-width: calc(62.5% + 28px); gap: 0; justify-content: space-between; }
.cd-ends { margin: 8px 0 0; color: rgba(255, 255, 255, .6); }
.cd-track { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.cd-range { position: absolute; top: -1px; bottom: -1px; left: 35%; width: 27.5%; border-radius: 3px; background: var(--grad); }
.cd-h { position: absolute; top: -6px; width: 6px; height: 18px; border-radius: 3px; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.cd-h1 { left: -3px; }
.cd-h2 { right: -3px; }
.cd-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: .9375rem; }
.cd-title { margin: 0 0 10px; font-weight: 700; }
.cd-row { display: grid; grid-template-columns: 52px 70px 1fr; gap: 10px; align-items: center; padding: 5px 0; }
.cd-row span { color: var(--muted); }
.cd-row em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; padding: 3px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); text-align: center; }
.cd-row u { color: var(--b); text-decoration: none; font-size: .875rem; }
.cd-info { margin: 8px 0 12px; color: var(--muted); font-size: .875rem; }
.cd-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-btns span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .875rem; }
.cd-btns .cd-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.guide .clip-demo { margin: 22px 0; }
@media (max-width: 900px) { .clip-grid { grid-template-columns: 1fr; gap: 32px; } }

