/* Junk Cleaner landing, Mac page (/desktop). Loaded after site.css; only what differs from the phone page.
   Warm Pulse, flat: cream in light, navy in dark, brand blue #2F80ED for decoration and #1A5FC0 / #1F6FD6 for
   anything that carries text (white on those is 6.3:1 / 4.9:1). No gradients, no glow. */

:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --line: #E3DED4;
  --ink: #0A1020;
  --soft: #8A8577;
  --body: #565B69;
  --accent: #1A5FC0;
  --accent-dark: #14489A;
  --tint: #E4ECFA;
  --on-ink: #FFFFFF;
  --brand: #2F80ED;
  --btn: #1A5FC0;
  --btn-hover: #14489A;
  --nav-bg: rgba(246, 243, 238, .86);
  --card-shadow: 0 1px 0 rgba(10, 16, 32, .04), 0 24px 48px -28px rgba(10, 16, 32, .28);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1020;
    --surface: #111A30;
    --line: #22304F;
    --ink: #F3F5FA;
    --soft: #7481A0;
    --body: #A9B3C9;
    --accent: #6AA6FF;
    --accent-dark: #8DBBFF;
    --tint: #16264A;
    --on-ink: #0A1020;
    --btn: #1F6FD6;
    --btn-hover: #2F80ED;
    --nav-bg: rgba(10, 16, 32, .86);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -28px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
  .skip { background: #F3F5FA; color: #0A1020; }
  .promise { background: #111A30; color: #F3F5FA; }
  .promise .h2 { color: #F3F5FA; }
  .promise-grid h3 { color: #F3F5FA; }
  .promise-grid p { color: #A9B3C9; }
}

.nav { background: var(--nav-bg); }
.nav-links a:hover, .lang { background: var(--surface); }
.lang:hover { background: var(--line); }
.btn-accent, .btn-accent:visited { background: var(--btn); color: #fff; }
.btn-accent:hover { background: var(--btn-hover); }
.hero-icon { box-shadow: 0 14px 30px -14px rgba(47, 128, 237, .55); }
.foot a:hover { color: var(--ink); }
.doc-sep { margin-inline: 6px; }

/* Hero */
.dhero { padding-top: clamp(48px, 8vw, 110px); text-align: center; }
.dhero .eyebrow { margin-bottom: 14px; }
.dhero .display { max-width: 14ch; margin-inline: auto; }
.dhero .lead { max-width: 44ch; margin: 28px auto 0; }
.dhero .cta-row { align-items: center; }
.mac-btn small { font-size: 11px; }
.mac-btn.alt { background: transparent; color: var(--ink); border: 1.5px solid #b9b2a3; }
.mac-btn.alt:hover { background: var(--tint); }
@media (prefers-color-scheme: dark) { .mac-btn.alt { border-color: #3A4A6E; } }
.dhero .win { margin-top: 18px; color: var(--body); font-size: 15px; }
.hero-note {
  max-width: 62ch; margin: 22px auto 0; padding: 12px 18px; border-radius: 16px;
  background: var(--tint); color: var(--ink); font-size: 15px; line-height: 1.5; text-wrap: pretty;
}
.hero-note a { color: var(--accent); font-weight: 600; }

/* Screenshots */
.shots { padding-block: clamp(56px, 7vw, 100px) var(--section); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lead { margin-top: 18px; }
.shot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.shot-tabs[hidden] { display: none; }
.shot-tab {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--body);
  min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.shot-tab:hover { color: var(--ink); border-color: var(--soft); }
.shot-tab[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: #fff; }
.shot-stage { display: grid; gap: 28px; max-width: 1080px; margin-inline: auto; }
.shot { border-radius: 24px; overflow: hidden; background: #F6F3EE; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.shot[hidden] { display: none; }
/* Phones: keep the screenshot readable and let it scroll sideways inside its card. */
@media (max-width: 700px) { .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; } .shot img { width: 760px; max-width: none; } html[dir="rtl"] .shot img { margin-inline-start: auto; } }

/* Features */
.dfeat { padding-bottom: var(--section); }
.dfeat .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.group + .group { margin-top: clamp(40px, 5vw, 64px); }
.group-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--body); margin-bottom: 16px; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px 28px; }
.tool > svg { width: 28px; height: 28px; margin-bottom: 16px; color: var(--brand); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tool h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 18px; line-height: 1.25; letter-spacing: -0.025em; font-weight: 650; }
.tool p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--body); }
.pro { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #FFB800; color: #0A1020; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }

/* Promise band: reuses site.css; page background changes the corners' surroundings only */
.promise { margin-bottom: 0; }
.promise .fine { margin-top: clamp(28px, 4vw, 44px); color: #A7B0C4; }

/* Editions */
.editions { padding-block: var(--section); }
.ed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin-inline: auto; }
.ed { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3vw, 36px); }
.ed-tag { align-self: flex-start; border: 1px solid transparent; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ed.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ed h3 { margin-top: 18px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 700; }
.ed .lead { margin-top: 12px; font-size: 17px; }
.ed .ticks { margin-top: 22px; gap: 12px; font-size: 16px; }
.ed .ticks li { font-weight: 500; }
@media (max-width: 860px) { .ed-grid { grid-template-columns: 1fr; } }

/* FAQ, final */
.dfaq { padding-block: 0 var(--section); }
.final .cta-row { align-items: center; }
.final .fine { margin-top: 18px; }

/* RTL: the button icon and stacked labels follow the reading direction */
[dir="rtl"] .mac-btn { text-align: start; }
[dir="rtl"] .mac-btn small { text-align: start; }

/* CJK: no negative tracking on the small labels */
html:is([lang="ja"], [lang="ko"], [lang="zh-Hans"], [lang="zh-Hant"]) .dhero .display { max-width: 11em; }
html:is([lang="ar"], [lang="hi"], [lang="th"]) .group-title, html:is([lang="ar"], [lang="hi"], [lang="th"]) .eyebrow, html:is([lang="ar"], [lang="hi"], [lang="th"]) .pro { text-transform: none; }
