/* TechBites Fetch page (/downloader). Brand: canvas #0B0B0D, surfaces #151518 / #1A1A1E, orange #F39125, cyan accent. */
.dl-page {
  --dl-bg: #0B0B0D; --dl-s1: #151518; --dl-s2: #1A1A1E; --dl-line: rgba(255,255,255,.09); --dl-line2: rgba(255,255,255,.16);
  --dl-text: #F2F2F5; --dl-muted: #B4B4BD; --dl-brand: #F39125; --dl-brand2: #FFB25C; --dl-cyan: #22D3EE; --dl-ok: #34D399; --dl-err: #F87171;
  max-width: 1180px; margin: 0 auto; padding: 96px 16px 64px; color: var(--dl-text);
  font-family: 'Cairo', 'Inter', system-ui, sans-serif; line-height: 1.7;
}
.dl-page *, .dl-page *::before, .dl-page *::after { box-sizing: border-box; }
.dl-page [hidden] { display: none !important; }
.dl-page [dir="ltr"], .dl-page bdi[dir="ltr"] { unicode-bidi: isolate; }
.dl-page a { color: var(--dl-brand2); }
.dl-page :focus-visible { outline: 2px solid var(--dl-brand); outline-offset: 3px; border-radius: 8px; }

.dl-banner { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 20px; padding: 10px 16px;
  border: 1px solid rgba(243,145,37,.35); border-radius: 14px; background: linear-gradient(90deg, rgba(243,145,37,.16), rgba(34,211,238,.08));
  font-weight: 800; text-align: center; }
.dl-banner i { color: var(--dl-brand); }

/* hero */
.dl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 24px 0 32px; }
.dl-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px 6px 8px; border: 1px solid var(--dl-line2);
  border-radius: 999px; background: var(--dl-s1); color: var(--dl-muted); font-size: 14px; font-weight: 700; }
.dl-kicker img { border-radius: 8px; }
.dl-h1 { margin: 0 0 16px; font-weight: 900; line-height: 1.2; }
.dl-brand { display: block; font-family: 'Outfit', 'Inter', sans-serif; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.02em;
  background: linear-gradient(100deg, #fff 30%, var(--dl-brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-type { display: block; min-height: 1.5em; margin-top: 8px; font-size: clamp(22px, 3vw, 30px); color: var(--dl-brand); }
.dl-caret { display: inline-block; width: 3px; height: 1em; margin-inline-start: 4px; vertical-align: -.12em; background: var(--dl-cyan);
  animation: dl-blink 1s steps(1) infinite; }
@keyframes dl-blink { 50% { opacity: 0; } }
.dl-lead { margin: 0 0 24px; max-width: 54ch; color: var(--dl-muted); font-size: 18px; }
.dl-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.dl-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; color: var(--dl-muted); font-size: 14px; font-weight: 700; }
.dl-trust i { color: var(--dl-cyan); margin-inline-end: 6px; }

.dl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px;
  border: 1px solid transparent; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease; }
.dl-page a.dl-btn { color: inherit; }
.dl-btn:active { transform: scale(.98); }
.dl-btn-primary { background: var(--dl-brand); color: #111 !important; box-shadow: 0 10px 30px -12px rgba(243,145,37,.7); }
.dl-btn-primary:hover { background: var(--dl-brand2); }
.dl-btn-ghost { background: var(--dl-s2); border-color: var(--dl-line2); color: var(--dl-text) !important; }
.dl-btn-ghost:hover { border-color: rgba(243,145,37,.6); }
.dl-btn[disabled], .dl-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.dl-btn-block { width: 100%; }

.dl-shot { margin: 0; }
.dl-shot figcaption { margin-top: 10px; color: var(--dl-muted); font-size: 13px; text-align: center; }
.dl-window { position: relative; overflow: hidden; border: 1px solid var(--dl-line2); border-radius: 16px; background: var(--dl-s1);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); }
.dl-window img { display: block; width: 100%; height: auto; }
.dl-shot-hero .dl-window { box-shadow: 0 40px 120px -40px rgba(243,145,37,.45), 0 30px 80px -30px rgba(0,0,0,.9); }

/* sections */
.dl-section { padding: 48px 0; border-top: 1px solid var(--dl-line); }
.dl-h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; line-height: 1.3; }
.dl-sub { margin: 0 0 28px; color: var(--dl-muted); font-size: 17px; max-width: 70ch; }
.dl-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dl-feat { padding: 22px; border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-s1); }
.dl-feat i { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px;
  background: rgba(243,145,37,.12); color: var(--dl-brand); font-size: 18px; }
.dl-feat h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.dl-feat p { margin: 0; color: var(--dl-muted); font-size: 15px; }
.dl-gallery { display: grid; grid-template-columns: 1.48fr 1fr; gap: 20px; align-items: start; }

/* compare */
.dl-table-wrap { overflow-x: auto; border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-s1); }
.dl-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.dl-table th, .dl-table td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--dl-line); vertical-align: top; }
.dl-table thead th { background: var(--dl-s2); font-weight: 800; color: var(--dl-muted); }
.dl-table tbody th { font-weight: 700; }
.dl-table td { color: var(--dl-muted); }
.dl-table td:last-child { color: var(--dl-text); }
.dl-table .dl-pro-col { color: var(--dl-brand); }
.dl-table tr:last-child th, .dl-table tr:last-child td { border-bottom: 0; }

/* plans */
.dl-status { margin: 0 0 20px; padding: 14px 18px; border: 1px solid rgba(52,211,153,.35); border-radius: 14px; background: rgba(52,211,153,.08); font-weight: 700; }
.dl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-plan { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 172px; padding: 22px; border: 2px solid var(--dl-line2);
  border-radius: 20px; background: var(--dl-s1); color: inherit; font: inherit; text-align: start; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background-color .15s ease; }
.dl-plan:hover { border-color: rgba(243,145,37,.5); }
.dl-plan[aria-checked="true"] { border-color: var(--dl-brand); background: linear-gradient(180deg, rgba(243,145,37,.12), var(--dl-s1) 70%); }
.dl-plan[aria-checked="true"]::after { content: ''; position: absolute; top: 18px; inset-inline-end: 18px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--dl-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.dl-plan[disabled] { cursor: not-allowed; opacity: .55; }
.dl-plan-name { font-size: 18px; font-weight: 800; }
.dl-plan-badge { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--dl-brand); color: #111; font-size: 12px; font-weight: 900; }
.dl-plan-badge.cyan { background: var(--dl-cyan); }
.dl-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.dl-price strong { font-size: 32px; font-weight: 700; color: #fff; }
.dl-price small { color: var(--dl-muted); font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 700; }
.dl-price s { color: var(--dl-muted); font-size: 16px; }
.dl-plan-note { color: var(--dl-muted); font-size: 13px; }
.dl-skel { cursor: default; border-color: var(--dl-line); background: linear-gradient(90deg, var(--dl-s1), var(--dl-s2), var(--dl-s1)); background-size: 200% 100%;
  animation: dl-shimmer 1.4s linear infinite; }
@keyframes dl-shimmer { to { background-position: -200% 0; } }
.dl-empty { grid-column: 1 / -1; padding: 22px; border: 1px dashed var(--dl-line2); border-radius: 18px; color: var(--dl-muted); text-align: center; }

.dl-buy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 20px; padding: 22px; border: 1px solid var(--dl-line);
  border-radius: 20px; background: var(--dl-s1); }
.dl-buy > .dl-total, .dl-buy > .dl-btn-block, .dl-buy > .dl-hint { grid-column: 1 / -1; }
.dl-field label { display: block; margin-bottom: 6px; font-weight: 800; }
.dl-field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--dl-line2); border-radius: 12px; background: var(--dl-bg);
  color: var(--dl-text); font: 600 16px/1.4 'Inter', system-ui, sans-serif; }
.dl-field input:focus { border-color: var(--dl-brand); outline: none; box-shadow: 0 0 0 3px rgba(243,145,37,.25); }
.dl-field input[aria-invalid="true"] { border-color: var(--dl-err); }
.dl-promo-row { display: flex; gap: 8px; }
.dl-promo-row input { text-transform: uppercase; letter-spacing: .06em; }
.dl-promo-row .dl-btn { flex: none; }
.dl-hint { margin: 6px 0 0; color: var(--dl-muted); font-size: 13px; }
.dl-hint.ok { color: var(--dl-ok); font-weight: 700; }
.dl-hint.bad, .dl-err { color: var(--dl-err); font-weight: 700; }
.dl-err:empty { display: none; }
.dl-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; border-top: 1px solid var(--dl-line); font-weight: 800; }
.dl-total strong { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 26px; }
.dl-total s { margin-inline-end: 10px; color: var(--dl-muted); font-size: 16px; font-weight: 500; }

/* steps, download, faq */
.dl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: none; }
.dl-steps li { padding: 20px; border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-s1); }
.dl-step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%; background: rgba(34,211,238,.14);
  color: var(--dl-cyan); font: 700 16px 'JetBrains Mono', monospace; }
.dl-steps h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.dl-steps p { margin: 0; color: var(--dl-muted); font-size: 14px; }
.dl-download { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.dl-download img { border-radius: 18px; }
.dl-download .dl-sub { margin: 0; }
.dl-faq { display: grid; gap: 10px; margin-top: 20px; }
.dl-faq details { border: 1px solid var(--dl-line); border-radius: 14px; background: var(--dl-s1); }
.dl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px;
  font-weight: 800; cursor: pointer; list-style: none; }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: '+'; flex: none; color: var(--dl-brand); font: 700 20px 'JetBrains Mono', monospace; }
.dl-faq details[open] summary::after { content: '−'; }
.dl-faq p { margin: 0; padding: 0 18px 16px; color: var(--dl-muted); }

@media (max-width: 960px) {
  .dl-hero { grid-template-columns: 1fr; gap: 28px; }
  .dl-features, .dl-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .dl-page { padding-top: 88px; }
  .dl-features, .dl-plans, .dl-steps, .dl-buy { grid-template-columns: 1fr; }
  .dl-download { grid-template-columns: 1fr; justify-items: start; }
  .dl-plan { min-height: 0; }
  .dl-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-caret, .dl-skel { animation: none; }
  .dl-btn, .dl-plan { transition: none; }
}
