/* Zip & RAR File Extractor website. Generated pages use only this stylesheet. */

:root {
  --brand: #4083f7;
  --brand-strong: #2563d9;
  --brand-soft: #eaf1fe;
  --ink: #1d2733;
  --ink-2: #4a5a6c;
  --ink-3: #6b7b8d;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --line: #e1e6ee;
  --card: #ffffff;
  --ok: #18864b;
  --warn: #a15c00;
  --err: #c0362c;
  --star: #f5b400;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6ea0ff;
    --brand-strong: #8fb6ff;
    --brand-soft: #1b2a45;
    --ink: #e8edf4;
    --ink-2: #b4c0ce;
    --ink-3: #8a98a9;
    --bg: #0f141b;
    --bg-2: #151c25;
    --line: #263140;
    --card: #18202b;
    --ok: #4cc685;
    --warn: #e0a54a;
    --err: #ff7b70;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .9em; }
kbd { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ic { width: 1em; height: 1em; vertical-align: -.125em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--brand); color: #fff; border: 0; border-radius: 999px;
  padding: .8em 1.4em; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand-strong); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-strong); }
.badge-link { display: inline-block; line-height: 0; }
.badge-link img { height: 45px; width: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px 22px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; margin-inline-start: auto; }
.header-cta { flex: none; white-space: nowrap; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--brand-strong); }
@media (max-width: 960px) {
  .brand span { display: none; }
  .site-nav { gap: 16px; font-size: .9rem; }
}
/* Phones: logo and app button on the first row, section links below, wrapping onto a second line in long languages. */
@media (max-width: 640px) {
  .header-row { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .header-cta { margin-inline-start: auto; }
  .site-nav { order: 3; width: 100%; margin-inline-start: 0; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; white-space: nowrap; padding: 6px 0 10px; }
}

/* Home: hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--brand-soft), var(--bg)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.25rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 24px 0 18px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.proof strong { color: var(--ink); }
.stars { color: var(--star); white-space: nowrap; }
.stars .ic { width: .9em; height: .9em; }
.phone {
  margin: 0 auto; max-width: 300px; border-radius: 44px; padding: 10px;
  background: #15171c; box-shadow: 0 30px 60px rgba(16, 24, 40, .25);
}
.phone img { display: block; border-radius: 34px; width: 100%; }
@media (max-width: 820px) {
  .hero { padding-top: 36px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { margin-inline: auto; }
  .hero-actions, .proof { justify-content: center; }
  .phone { max-width: 240px; }
}

/* Home: sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: 12px; }
.card p { color: var(--ink-2); margin: 0; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 650; text-decoration: none; }
.feature-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-strong); font-size: 18px; flex: none;
}
.tool-cards .card { display: block; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.tool-cards .card:hover { transform: translateY(-2px); border-color: var(--brand); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin: 0 auto; max-width: 1120px;
}
.screens figure { margin: 0; scroll-snap-align: start; text-align: center; }
.screens img { border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.screens figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 8px; font-weight: 600; }

.formats { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.formats th, .formats td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.formats th { width: 30%; white-space: nowrap; }
.formats tr:last-child th, .formats tr:last-child td { border-bottom: 0; }

.band { background: var(--brand); color: #fff; text-align: center; padding: 56px 0; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .9); max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem; }
@media (prefers-color-scheme: dark) { .band { background: #1d3a73; } }

/* Desktop install handoff: QR code + text/email link. Hidden unless the head script marks a computer. */
.handoff {
  display: none; align-items: center; gap: 16px; max-width: 470px; margin: 0 0 18px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: start; color: var(--ink);
}
.desktop .handoff { display: flex; }
.handoff img { width: 104px; height: 104px; flex: none; border-radius: 8px; background: #fff; }
.handoff p { margin: 0; max-width: none; font-size: .95rem; color: var(--ink); }
.handoff .handoff-title { font-weight: 700; margin-bottom: 6px; }
.handoff-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem !important; }
.handoff-links a { color: var(--brand-strong); font-weight: 600; }
.handoff-sms { display: none; }
.mac .handoff-sms { display: inline; }
.band .handoff { margin: 24px auto 0; }
.cta-box .handoff { flex-basis: 100%; max-width: none; margin: 4px 0 0; }

/* FAQ */
.faqs { max-width: 760px; margin: 0 auto; }
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 14px 32px 14px 0; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 4px; top: 10px; font-size: 1.4rem; color: var(--brand); font-weight: 400;
}
details.faq[open] summary::after { content: "\2212"; }
details.faq > :not(summary) { color: var(--ink-2); }

/* Inner pages */
.page-head { background: linear-gradient(180deg, var(--brand-soft), var(--bg)); padding: 28px 0 8px; }
.page-head .wrap, .prose { max-width: 800px; }
.page-head .lede { font-size: 1.2rem; color: var(--ink-2); }
.byline { font-size: .9rem; color: var(--ink-3); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand-strong); }

.prose { padding-top: 12px; padding-bottom: 32px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; }
.prose ol.steps > li { counter-increment: step; position: relative; padding-inline-start: 48px; margin-bottom: 1em; min-height: 32px; }
.prose ol.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: -1px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.prose thead th { background: var(--bg-2); }
.table-scroll { overflow-x: auto; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--err); font-weight: 700; }
.note {
  border-inline-start: 4px solid var(--brand); background: var(--brand-soft); border-radius: 10px; border-start-start-radius: 0; border-end-start-radius: 0;
  padding: 14px 18px; margin: 1.5em 0;
}
.note p:last-child { margin: 0; }
.prose .grid { margin: 1em 0 1.5em; }
.prose .card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.prose .card .tag { margin-bottom: 8px; }
.cat-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.cat-nav a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; text-decoration: none; color: var(--ink-2); background: var(--card); }
.cat-nav a:hover { border-color: var(--brand); color: var(--brand-strong); }
.cat-head { scroll-margin-top: 90px; }
.prose ul.link-cards { padding-inline-start: 0; }
.cat-head span { font-size: .9rem; font-weight: 600; color: var(--ink-3); margin-inline-start: 6px; }
.see-all { text-align: center; margin: 24px 0 0; }
.tag-premium { color: var(--brand-strong); background: var(--brand-soft); }
@media (max-width: 640px) { .prose .card { padding: 18px; } }
.tldr { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 24px; }
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }
.table-note { font-size: .88rem; color: var(--ink-3); margin-top: 10px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 1.5em 0; }
figure.shot { margin: 0; text-align: center; }
figure.shot img { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 260px; width: 100%; background: #fff; }
figure.shot figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 8px; }
.prose > figure.shot { margin: 1.5em 0; }

.cta-box {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; margin: 2em 0;
}
.cta-icon { border-radius: 16px; width: 64px; height: 64px; }
.cta-text { flex: 1 1 260px; }
.cta-title { font-weight: 800; margin: 0 0 4px; }
.cta-sub { margin: 0; color: var(--ink-2); font-size: .95rem; }

.related { padding-bottom: 56px; max-width: 800px; }
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.link-card {
  display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  background: var(--card); transition: border-color .15s;
}
.link-card:hover { border-color: var(--brand); }
.link-card-title { display: block; font-weight: 700; color: var(--ink); }
.link-card-desc { display: block; color: var(--ink-2); font-size: .92rem; margin-top: 2px; }

/* Compare hub */
.page-head-center { text-align: center; }
.page-head-center .wrap { max-width: 860px; }
.page-head-center .crumbs { justify-content: center; }
.page-head-center .lede { margin-inline: auto; max-width: 40em; }
.prose.prose-wide { max-width: 1120px; }
.prose ul.vs-grid { padding-inline-start: 0; }
.vs-grid {
  list-style: none; padding: 0; margin: 8px 0 36px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.vs-grid li { margin: 0; }
.vs-card {
  display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 20px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.vs-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.vs-icon { flex: none; width: 56px; height: 56px; border-radius: 13px; border: 1px solid var(--line); }
.vs-text { min-width: 0; }
.vs-title { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.vs-tag {
  display: inline-block; margin: 6px 0 8px; padding: 2px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--brand-strong); background: var(--brand-soft);
}
.vs-summary { display: block; color: var(--ink-2); font-size: .94rem; }
.prose-wide .cta-box { max-width: 800px; margin-inline: auto; }

/* Browser tools */
.tool {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; margin: 8px 0 32px;
}
.drop {
  display: grid; place-items: center; text-align: center; gap: 8px;
  border: 2px dashed var(--line); border-radius: 12px; padding: 36px 16px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--brand); background: var(--brand-soft); }
.drop { position: relative; }
.drop .ic { width: 36px; height: 36px; color: var(--brand); }
.drop strong { font-size: 1.1rem; }
.drop small { color: var(--ink-3); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tool-privacy { display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: .9rem; font-weight: 600; margin: 12px 0 0; }
.tool-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--bg-2); }
.tool-status:empty { display: none; }
.tool-status.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.tool-status.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.tool-status.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.tool-status a { color: inherit; font-weight: 700; }
.tool-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 8px; }
.tool-bar .grow { flex: 1; }
.tool-bar input[type=text] {
  font: inherit; padding: .55em .8em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-width: 0;
}
.entries { width: 100%; border-collapse: collapse; font-size: .93rem; }
.entries th, .entries td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: start; }
.entries th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.entries td.name { word-break: break-all; }
.entries td.num { white-space: nowrap; color: var(--ink-2); }
.entries td.act { text-align: end; white-space: nowrap; }
.entries .dir { color: var(--ink-3); }
.entries .lock { color: var(--warn); }
.entries button {
  font: inherit; font-size: .85rem; font-weight: 650; border: 1px solid var(--line); background: var(--bg);
  color: var(--brand-strong); border-radius: 8px; padding: 4px 10px; cursor: pointer;
}
.entries button:hover { border-color: var(--brand); }
.entries-wrap { max-height: 520px; overflow: auto; }
@media (max-width: 560px) { .entries .hide-sm { display: none; } }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-about p { color: var(--ink-2); margin: 12px 0 16px; }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--ink-2); text-decoration: none; }
.site-footer li a:hover { color: var(--brand-strong); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.footer-bottom p { margin: 12px 0 0; }
.lang-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lang-switch > .ic { color: var(--ink-3); }
.lang-switch ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; }
.lang-switch a { color: var(--ink-2); text-decoration: none; }
.lang-switch a:hover { color: var(--brand-strong); }
.lang-switch a[aria-current] { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Right-to-left locales: mirror directional icons. */
[dir="rtl"] .ic-flip { transform: scaleX(-1); }
/* Arabic letters join; letter-spacing breaks them apart. */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .tag, :lang(ar) .entries th, :lang(ar) .footer-heading { letter-spacing: normal; }
/* File names and paths stay left-to-right inside right-to-left text. */
[dir="rtl"] code { direction: ltr; unicode-bidi: isolate; }
/* Arabic has no true italics; mark UI labels with weight instead. */
:lang(ar) em { font-style: normal; font-weight: 600; }
/* Japanese and Korean: system CJK fonts on Windows, and no synthetic italics for UI labels. */
:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(ja) em, :lang(ko) em { font-style: normal; font-weight: 600; }
/* Korean wraps between words, not inside them. */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
/* Chinese and Thai: system fonts on Windows; no synthetic italics for UI labels. */
:lang(zh-Hans) { --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(th) { --font: -apple-system, BlinkMacSystemFont, "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; }
:lang(zh) em, :lang(th) em { font-style: normal; font-weight: 600; }
