/* ============================================================
   SPOS Remover — v1.5.0 theme "quiet tool"
   White paper, near-black ink, ONE restrained green accent,
   hairline borders, 8px radii, tight editorial rhythm,
   Cairo type. No pills, no soft green fills, no floating bubble,
   no template look — precision over decoration.
   ============================================================ */

:root {
  --bg: #F7F8F6;
  --surface: #FFFFFF;
  --ink: #161B18;
  --ink-2: #39423D;
  --muted: #6B7570;
  --line: #E3E7E3;
  --line-2: #D2D8D3;
  --accent: #0B7A50;
  --accent-strong: #096743;
  --accent-soft: #EEF5F0;
  --accent-border: #C4DCCE;
  --danger: #B3261E;
  --danger-bg: #FCF2F0;
  --danger-line: #EBD2CD;
  --warn: #96650F;
  --warn-bg: #FBF4E7;
  --warn-line: #EADFC4;
  --shadow: 0 1px 2px rgba(18, 24, 20, .04);
  --radius: 10px;
  --font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { flex: none; }

h1, h2, h3, h4 { line-height: 1.35; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: #CBE5D6; color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1060px, calc(100% - 40px)); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -48px;
  background: var(--surface); border: 1px solid var(--line-2);
  padding: 8px 16px; border-radius: 8px; z-index: 99; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------ header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 27px; height: 27px; }
.brand .b-name { font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.brand .b-name span { color: var(--muted); font-weight: 600; }
.brand:hover { text-decoration: none; }

.bar-actions { display: flex; align-items: center; gap: 8px; }

.hbtn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: .84rem; font-weight: 700;
  color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 13px; cursor: pointer; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.hbtn:hover { border-color: var(--ink-2); color: var(--ink); text-decoration: none; }
.hbtn svg { width: 14px; height: 14px; }
.hbtn.icon-only { padding: 7px 10px; }

#installBtn { display: none; }
#installBtn.show { display: inline-flex; }

/* ------------------------------------------------ hero */
.hero { padding: 64px 0 36px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 700; color: var(--accent-strong);
  margin-bottom: 16px;
}
.hero-badge svg { display: none; }

.hero h1 {
  font-size: clamp(2.05rem, 5.2vw, 3.3rem);
  font-weight: 800; letter-spacing: -.015em; line-height: 1.22;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--accent-strong); }

.lead {
  max-width: 680px; margin: 14px auto 0;
  font-size: 1.02rem; color: var(--ink-2); line-height: 1.85;
}

/* proof line — plain text, dot separators, no boxes */
.chips { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; margin-top: 20px; }
.chips .chip {
  display: inline-flex; align-items: center;
  font-size: .84rem; font-weight: 600; color: var(--muted);
  background: none; border: none; padding: 0;
}
.chips .chip svg { display: none; }
.chips .chip + .chip::before { content: '·'; margin-inline: 10px; color: var(--line-2); font-weight: 800; }

/* ------------------------------------------------ the tool card */
.tool { padding: 6px 0 48px; }
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(18, 24, 20, .03), 0 8px 28px rgba(18, 24, 20, .04);
  padding: 22px;
}

/* segmented tabs */
.seg {
  display: flex; gap: 4px; background: #EFF1EE;
  border-radius: 9px; padding: 4px; margin-bottom: 18px;
}
.seg button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .92rem; font-weight: 700;
  color: var(--muted); background: transparent;
  border: 1px solid transparent; border-radius: 6px;
  padding: 10px 10px; cursor: pointer;
  transition: background .15s, color .15s;
}
.seg button svg { width: 16px; height: 16px; }
.seg button:hover { color: var(--ink); }
.seg button.active {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 2px rgba(18, 24, 20, .07);
}

.panel { display: none; }
.panel.active { display: block; }

/* dropzone */
.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius);
  background: #FAFBFA;
  padding: 40px 24px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #F6FAF7; }
.dropzone.compact { padding: 26px 24px; }

.dz-icon { color: var(--ink-2); margin-bottom: 10px; }
.dz-icon svg { width: 30px; height: 30px; }
.dz-title { font-weight: 800; font-size: 1.02rem; }
.dz-hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.dz-kbd { margin-top: 12px; }
.dz-kbd kbd {
  font-family: var(--mono); font-size: .72rem; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line-2);
  border-bottom-width: 2px; border-radius: 5px; padding: 2px 8px;
}
.dz-formats {
  display: flex; gap: 10px; margin-top: 12px; font-size: .74rem;
  color: var(--muted); font-weight: 600; flex-wrap: wrap; justify-content: center;
}

/* speed tiers */
.speed { margin-top: 0; }
.speed-head { margin-bottom: 10px; }
.speed-title { display: block; font-weight: 800; font-size: .9rem; }
.speed-note { display: block; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.speed-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.speed-opts label {
  display: block; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface);
  padding: 10px 12px; transition: border-color .15s;
}
.speed-opts label:hover { border-color: var(--ink-2); }
.speed-opts input { position: absolute; opacity: 0; pointer-events: none; }
.speed-opts label.on,
.speed-opts label:has(input:checked) {
  border-color: var(--ink-2); background: #F6FAF7;
}
.speed-opts label.on b::before,
.speed-opts label:has(input:checked) b::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-radius: 999px; background: var(--accent);
  margin-inline-end: 8px; vertical-align: 1px;
}
.speed-opts b { display: block; font-size: .88rem; font-weight: 800; }
.speed-opts label.on b,
.speed-opts label:has(input:checked) b { color: var(--accent-strong); }
.speed-opts span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* recommended tier badge */
.speed-opts label.recommended,
#tierDialog .td-opts button.recommended { border-color: var(--accent-border); }
.speed-opts b em,
.td-opts b em {
  display: inline-block; font-style: normal; font-weight: 700;
  font-size: .62rem; color: var(--accent-strong);
  border: 1px solid var(--accent-border); border-radius: 999px;
  padding: 1px 7px; margin-inline-start: 7px; vertical-align: 1px;
  background: var(--accent-soft);
}
.speed-opts b i { font-style: normal; }

/* prewarm row — REAL byte counters under the tier cards */
.prewarm-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #FBFCFA;
}
.prewarm-row.done { border-color: var(--accent-border); background: var(--accent-soft); }
.prewarm-row.error { border-color: var(--danger-line); background: var(--danger-bg); }
.pw-bar { flex: 1; height: 4px; border-radius: 999px; background: #E8EBE8; overflow: hidden; }
.pw-bar > div { height: 100%; width: 0%; background: var(--accent); border-radius: inherit; transition: width .25s ease; }
.prewarm-row.done .pw-bar > div { background: var(--accent-strong); }
.prewarm-row.error .pw-bar > div { background: var(--danger); }
.pw-pct { font-size: .78rem; font-weight: 800; color: var(--ink-2); min-width: 34px; text-align: center; }
.pw-text { font-size: .74rem; color: var(--muted); line-height: 1.45; }

/* forced strength dialog */
#tierDialog {
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0; max-width: 560px; width: min(92vw, 560px);
  box-shadow: 0 18px 50px rgba(18, 24, 20, .18);
}
#tierDialog::backdrop { background: rgba(18, 24, 20, .38); }
.td-card { padding: 22px; }
.td-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.td-sub { color: var(--muted); font-size: .84rem; line-height: 1.65; margin: 8px 0 16px; }
.td-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.td-opts button {
  cursor: pointer; text-align: start; font: inherit; color: inherit;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); padding: 12px;
  transition: border-color .15s;
}
.td-opts button:hover { border-color: var(--ink-2); background: #F6FAF7; }
.td-opts button.on { border-color: var(--ink-2); }
.td-opts b { display: block; font-size: .9rem; font-weight: 800; }
.td-opts button.recommended b { color: var(--accent-strong); }
.td-opts i { font-style: normal; }
.td-opts span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.td-note { color: var(--muted); font-size: .74rem; line-height: 1.6; margin: 14px 0 0; }
.td-cancel {
  cursor: pointer; font: inherit; font-weight: 700; font-size: .8rem;
  color: var(--muted); background: none; border: none;
  margin-top: 12px; padding: 6px 2px; text-decoration: underline;
}
.td-cancel:hover { color: var(--ink); }

/* progress stage */
.stage-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 22px; margin-top: 18px;
}
.stage-title { font-weight: 800; font-size: .98rem; }
.stage-sub { color: var(--muted); font-size: .83rem; margin-top: 2px; min-height: 1.4em; }
.bar {
  height: 6px; border-radius: 999px; background: #E8EBE8;
  overflow: hidden; margin-top: 14px;
}
.bar > div {
  height: 100%; width: 0%;
  background: var(--accent); border-radius: inherit;
  transition: width .25s ease;
}
.bar.indeterminate > div { width: 38%; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { margin-inline-start: -38%; } 100% { margin-inline-start: 100%; } }
.stage-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; font-size: .8rem; color: var(--muted); font-weight: 600; }
#bgMb { font-family: var(--mono); font-size: .78rem; }

/* result */
.result-card { margin-top: 18px; }
.dims-note {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--ink-2);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: 8px; padding: 8px 14px; margin-bottom: 14px;
}
.dims-note svg { width: 13px; height: 13px; color: var(--accent-strong); }

.compare {
  position: relative; user-select: none; touch-action: none;
  border-radius: 8px; overflow: hidden;
  /* clearly visible checkerboard = transparency signal */
  background: conic-gradient(#D9DED9 90deg, #F1F4F1 90deg 180deg, #D9DED9 180deg 270deg, #F1F4F1 270deg);
  background-size: 18px 18px;
  border: 1px solid var(--line-2);
  aspect-ratio: 16 / 10; max-height: 560px; margin-inline: auto; width: 100%;
}
.compare img { width: 100%; height: 100%; object-fit: contain; }
.after-wrap {
  position: absolute; inset: 0;
  /* the result layer carries its own checkerboard: where the PNG is
     transparent you see THIS pattern, never the 'before' photo below */
  background: conic-gradient(#D9DED9 90deg, #F1F4F1 90deg 180deg, #D9DED9 180deg 270deg, #F1F4F1 270deg);
  background-size: 18px 18px;
  clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0);
}
[dir="ltr"] .after-wrap { clip-path: inset(0 0 0 calc(var(--pos) * 1%)); }
.cmp-line {
  position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%);
  width: 2px; background: var(--ink); opacity: .85; cursor: ew-resize;
}
.cmp-knob {
  position: absolute; top: 50%; left: calc(var(--pos) * 1%);
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--ink); color: #fff;
  border: 2px solid #fff; cursor: ew-resize;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(18, 24, 20, .3);
}
.cmp-knob svg { width: 15px; height: 15px; stroke-width: 3 !important; }
.cmp-tag {
  position: absolute; top: 10px; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(22, 27, 24, .78); color: #fff;
  backdrop-filter: blur(2px);
}
.cmp-tag.before { inset-inline-start: 10px; }
.cmp-tag.after { inset-inline-end: 10px; }

.result-meta { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; margin-top: 14px; }
.result-meta .chip {
  display: inline-flex; align-items: center;
  font-size: .78rem; color: var(--muted); font-weight: 600;
}
.result-meta .chip b { color: var(--ink); font-weight: 800; font-family: var(--mono); font-size: .8rem; margin-inline-start: 7px; }
.result-meta .chip + .chip::before { content: '·'; margin-inline: 10px; color: var(--line-2); font-weight: 800; }

/* error card */
.error-card {
  margin-top: 18px;
  background: var(--danger-bg); border: 1px solid var(--danger-line);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.error-card .e-title { color: var(--danger); font-weight: 800; font-size: .98rem; }
.error-card p { color: var(--ink-2); font-size: .85rem; margin-top: 7px; }
.error-card .err-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.err-details { margin-top: 12px; text-align: start; }
.err-details summary { cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--danger); }
.err-details .err-detail {
  margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere;
  background: var(--surface); border: 1px solid var(--danger-line);
  border-radius: 8px; padding: 10px 14px;
  font-family: var(--mono); font-size: .72rem; color: var(--ink-2);
  direction: ltr; text-align: left; line-height: 1.6;
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  padding: 11px 20px; border-radius: 8px; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; line-height: 1.4;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-strong); text-decoration: none; }
.btn-ghost {
  background: var(--surface); color: var(--ink-2);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); text-decoration: none; }
.btn-danger-ghost {
  background: transparent; color: var(--danger);
  border-color: var(--danger-line);
}
.btn-danger-ghost:hover { background: rgba(179, 38, 30, .06); }

.under-tool { text-align: center; color: var(--muted); font-size: .79rem; margin-top: 20px; }

/* ------------------------------------------------ exif panel */
.file-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.file-head img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  background: conic-gradient(#D9DED9 90deg, #F1F4F1 90deg 180deg, #D9DED9 180deg 270deg, #F1F4F1 270deg);
  background-size: 12px 12px;
}
.f-name { font-weight: 800; font-size: .93rem; overflow-wrap: anywhere; }
.f-sub { color: var(--muted); font-size: .78rem; font-family: var(--mono); direction: ltr; text-align: start; }

.gps-banner {
  display: none;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--radius); padding: 15px 17px; margin-bottom: 16px;
}
.gps-banner.show { display: flex; gap: 12px; }
.gps-banner svg { width: 21px; height: 21px; color: var(--warn); margin-top: 2px; }
.gps-banner b { color: var(--warn); font-size: .88rem; }
.gps-banner span { display: block; color: var(--ink-2); font-size: .81rem; line-height: 1.7; margin-top: 2px; }
.gps-banner .osm { font-weight: 700; font-size: .81rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; text-align: center;
}
.stat b { display: block; font-size: 1.1rem; font-weight: 800; font-family: var(--mono); }
.stat span { font-size: .71rem; color: var(--muted); font-weight: 600; }
.stat.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.stat.warn b { color: var(--warn); }

.exif-group { margin-bottom: 16px; }
.exif-group h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 800; margin-bottom: 8px;
}
.exif-group h3 svg { width: 14px; height: 14px; color: var(--accent-strong); }
.exif-rows {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
}
.exif-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 13px; font-size: .81rem; }
.exif-row + .exif-row { border-top: 1px solid var(--line); }
.exif-row .k { color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.exif-row .v { font-weight: 600; text-align: end; overflow-wrap: anywhere; }
.exif-row.high { background: var(--danger-bg); }
.exif-row.high .v { color: var(--danger); font-weight: 800; }
.sev-dot { width: 6px; height: 6px; border-radius: 999px; background: #AEB8B1; flex: none; }
.sev-dot.high { background: var(--danger); }
.sev-dot.medium { background: #C98A2B; }
.sev-dot.low { background: #AEB8B1; }

.clean-note { text-align: center; color: var(--muted); font-size: .79rem; margin-top: 14px; }

.clean-zone {
  margin-top: 8px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius); text-align: center;
}
.clean-zone h3 { font-size: .96rem; font-weight: 800; }
.clean-zone .note { color: var(--ink-2); font-size: .79rem; margin-top: 4px; }

/* ------------------------------------------------ content sections */
.section { padding: 30px 0 12px; }
.section h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; }
.sect-sub { color: var(--muted); max-width: 680px; margin: 8px auto 0; font-size: .93rem; }
#features, #faq { text-align: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 26px; text-align: start; }
.f-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.f-ico { color: var(--accent-strong); margin-bottom: 10px; }
.f-ico svg { width: 21px; height: 21px; }
.f-card h3 { font-size: .96rem; font-weight: 800; }
.f-card p { color: var(--muted); font-size: .83rem; line-height: 1.75; margin-top: 5px; }

/* faq */
.faq { max-width: 760px; margin: 24px auto 0; text-align: start; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.faq details + details { margin-top: 9px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 17px;
  font-weight: 800; font-size: .9rem; position: relative; padding-inline-end: 40px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; inset-inline-end: 16px; top: 50%;
  transform: translateY(-50%); font-family: var(--mono);
  color: var(--muted); font-weight: 700; font-size: 1.05rem;
}
.faq details[open] summary::after { content: '–'; }
.faq-body { padding: 0 17px 15px; color: var(--ink-2); font-size: .85rem; line-height: 1.8; }

/* about */
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about-main h2 { font-size: 1.35rem; }
.about-main > p { color: var(--muted); margin-top: 9px; max-width: 640px; font-size: .9rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ------------------------------------------------ footer */
.foot { margin-top: 52px; background: #F1F3F0; border-top: 1px solid var(--line); padding: 40px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.f-brand img { width: 28px; height: 28px; }
.f-brand b { font-weight: 800; }
.f-about { color: var(--muted); font-size: .8rem; line-height: 1.8; }
.f-col h4, .f-company h4 { font-size: .78rem; font-weight: 800; margin-bottom: 11px; color: var(--ink); }
.f-col li { margin-bottom: 7px; }
.f-col a { color: var(--muted); font-size: .83rem; }
.f-col a:hover { color: var(--accent-strong); }

.company-chip { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.company-chip img { border-radius: 8px; }
.company-chip b { display: block; font-size: .88rem; font-weight: 800; color: var(--ink); }
.company-chip i { display: block; font-style: normal; font-size: .73rem; color: var(--muted); }
.company-links { margin-top: 13px; }
.company-links li { margin-bottom: 7px; }
.company-links a { color: var(--muted); font-size: .83rem; }
.company-links a:hover { color: var(--accent-strong); }

.f-bottom {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line-2);
  color: var(--muted); font-size: .75rem;
}

/* ------------------------------------------------ toast */
#toast {
  position: fixed; inset-inline: 0; bottom: 26px; z-index: 70;
  display: flex; justify-content: center; pointer-events: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  color: #fff; font-weight: 700; font-size: .83rem;
}
#toast:not(:empty) {
  background: var(--ink); border-radius: 8px;
  padding: 10px 18px; max-width: calc(100% - 40px);
}
#toast.show { opacity: 1; transform: none; }

/* ------------------------------------------------ privacy / text pages */
.page-content { max-width: 820px; margin: 56px auto 84px; padding-inline: 4px; }
.page-content h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin: 8px 0 4px; }
.en-h2 {
  direction: ltr; unicode-bidi: isolate; text-align: right;
  color: var(--muted); font-size: .95rem; font-weight: 600; margin: 0 0 28px; letter-spacing: .2px;
}
.page-content section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px; margin: 14px 0;
}
.page-content h2 { font-size: 1.06rem; font-weight: 800; margin: 0 0 10px; }
.page-content p { color: var(--ink-2); font-size: .9rem; margin: 0 0 8px; }
.page-content p.en {
  direction: ltr; unicode-bidi: isolate; text-align: left; color: var(--muted); font-size: .84rem;
  padding-top: 8px; border-top: 1px dashed var(--line);
}
.page-content a { color: var(--accent-strong); font-weight: 600; }

/* ------------------------------------------------ responsive */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .hero { padding: 44px 0 26px; }
  .hero-badge { margin-bottom: 12px; }
  .lead { font-size: .96rem; }
  .chips { margin-top: 14px; }
  .chips .chip { font-size: .8rem; }
  .tool-card { padding: 16px 12px; border-radius: 10px; }
  .seg button span { font-size: .8rem; }
  .speed-opts { grid-template-columns: 1fr; }
  .td-opts { grid-template-columns: 1fr; }
  .td-card { padding: 16px; }
  #tierDialog { width: 94vw; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat b { font-size: .98rem; }
  .btn { width: 100%; justify-content: center; }
  .actions { flex-direction: column; }
  .about-links .btn { width: auto; }
  .dropzone { padding: 28px 14px; }
  .f-name { font-size: .86rem; }
  .section { padding: 24px 0 8px; }
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:last-child { display: none; }
  .hbtn span[data-i18n="install"] { display: none; }
  #installBtn { padding: 7px 9px; }
}

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

@media print {
  .topbar, #toast, .seg, .speed, .foot, #installBtn { display: none !important; }
  body { background: #fff; }
}
