/* CleanMacster site. Light and dark follow the visitor's system setting. */

:root {
  --bg: #f4f4f6;
  --bg-elevated: #fafafc;
  --card: #ffffff;
  --ink: #1b1b22;
  --ink-inverse: #ffffff;
  --muted: #5e5f6c;
  --subtle: #8a8b97;
  --line: rgba(27, 27, 34, 0.08);
  --line-strong: rgba(27, 27, 34, 0.14);
  --fill: rgba(27, 27, 34, 0.045);
  --fill-strong: rgba(27, 27, 34, 0.08);
  --accent: #5a60f0;
  --accent-soft: rgba(90, 96, 240, 0.12);
  --good: #23a26d;
  --good-soft: rgba(35, 162, 109, 0.12);
  --shadow-soft: 0 1px 2px rgba(16, 16, 24, 0.04), 0 8px 24px -8px rgba(16, 16, 24, 0.1);
  --shadow-window: 0 2px 6px rgba(16, 16, 24, 0.05), 0 30px 80px -20px rgba(16, 16, 24, 0.28);

  --c-violet: #8577f2;
  --c-green: #33ad80;
  --c-rose: #e45f8d;
  --c-orange: #f0874f;
  --c-blue: #4c8ced;
  --c-amber: #e6ab32;
  --c-teal: #2aa9bb;
  --c-indigo: #6870ee;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141418;
    --bg-elevated: #1b1b20;
    --card: #232329;
    --ink: #f1f1f4;
    --ink-inverse: #16161b;
    --muted: #a7a8b3;
    --subtle: #85868f;
    --line: rgba(255, 255, 255, 0.085);
    --line-strong: rgba(255, 255, 255, 0.15);
    --fill: rgba(255, 255, 255, 0.055);
    --fill-strong: rgba(255, 255, 255, 0.1);
    --accent: #8f95ff;
    --accent-soft: rgba(143, 149, 255, 0.16);
    --good: #4fd09b;
    --good-soft: rgba(79, 208, 155, 0.14);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-window: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 80px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ink-inverse);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 56rem; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------- Buttons, pills, keys ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background-color 0.15s, opacity 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--ink-inverse); }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary { background: var(--fill); border-color: var(--line); }
.btn-secondary:hover { background: var(--fill-strong); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; height: 48px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn[aria-disabled="true"]:active { transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 5px; border-radius: 999px;
  background: var(--fill); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.pill-tag {
  display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px;
  background: var(--ink); color: var(--ink-inverse); font-size: 12px; font-weight: 600;
}
.pill-plain { padding: 0 12px; }
.pill-good .pill-tag { background: var(--good-soft); color: var(--good); }
.pill strong { color: var(--ink); font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--fill); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; }
.chip-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--tile, var(--accent)) 15%, transparent);
  color: var(--tile, var(--accent));
}
.icon-tile svg { width: 20px; height: 20px; }

/* ---------- Navigation ---------- */

.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; }
@media (min-width: 640px) { .site-header { padding-top: 16px; } }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  max-width: 56rem; height: 52px; margin: 0 auto; padding: 0 8px 0 10px;
  border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-soft);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: none; gap: 2px; }
.nav-links a { padding: 6px 11px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover { color: var(--ink); background: var(--fill); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .btn { height: 36px; padding: 0 16px; font-size: 14px; }
.nav-actions .btn-secondary { display: none; }
@media (min-width: 820px) {
  .nav-links { display: flex; }
}
@media (min-width: 980px) {
  .nav-actions .btn-secondary { display: inline-flex; }
}

/* ---------- Section headings ---------- */

section { position: relative; }
.section { padding: 96px 0; }
@media (min-width: 640px) { .section { padding: 128px 0; } }
.section-head { max-width: 44rem; margin: 0 auto 56px; text-align: center; }
.section-title {
  font-size: 34px; line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance;
}
@media (min-width: 640px) { .section-title { font-size: 48px; } }
.section-title em { font-weight: 500; }
.section-lede { margin-top: 16px; font-size: 17px; color: var(--muted); text-wrap: pretty; }
@media (min-width: 640px) { .section-lede { font-size: 19px; } }

/* ---------- Hero ---------- */

.hero { padding-top: 56px; text-align: center; overflow-x: clip; }
@media (min-width: 640px) { .hero { padding-top: 80px; } }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero h1 {
  max-width: 56rem; margin: 24px auto 0;
  font-size: 44px; line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance;
}
@media (min-width: 640px) { .hero h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 84px; } }
.gradient-text {
  font-style: italic; font-weight: 600; padding-right: 0.06em;
  background: linear-gradient(95deg, #5f67ff 0%, #9b6cf6 34%, #e2679f 68%, #f2a23a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 38rem; margin: 24px auto 0; font-size: 18px; color: var(--muted); text-wrap: pretty; }
.hero-sub strong { color: var(--ink); font-weight: 500; }
@media (min-width: 640px) { .hero-sub { font-size: 20px; } }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-ctas .btn { height: 48px; padding: 0 26px; font-size: 16px; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--subtle); }

.hero-stage { position: relative; margin-top: 56px; }
@media (min-width: 640px) { .hero-stage { margin-top: 72px; } }
.hero-glow {
  position: absolute; inset: 8% -6% -4%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 60%, rgba(95, 103, 255, 0.28), transparent 70%),
    radial-gradient(35% 45% at 82% 55%, rgba(226, 103, 159, 0.22), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(242, 162, 58, 0.16), transparent 70%);
  filter: blur(40px);
}

.module-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.module-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 6px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.15s, border-color 0.15s, transform 0.15s var(--ease);
}
.module-chip img { width: 28px; height: 28px; object-fit: contain; }
.module-chip:hover { color: var(--ink); }
.module-chip[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
.module-strip-note { margin-top: 16px; font-size: 14px; color: var(--subtle); }

/* ---------- App window replica (sizes in container units, so it scales as one picture) ---------- */

.appwin {
  container-type: inline-size;
  position: relative; width: 100%; max-width: 68rem; margin: 0 auto;
  aspect-ratio: 1.58;
  border-radius: clamp(10px, 1.3vw, 16px);
  overflow: hidden;
  background: #16172d url("img/app-bg.webp") center / cover no-repeat;
  box-shadow: var(--shadow-window), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #fff; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  user-select: none;
}
.appwin::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.aw-lights { position: absolute; left: 1.7cqw; top: 1.7cqw; display: flex; gap: 0.75cqw; z-index: 2; }
.aw-lights i { width: 1.15cqw; height: 1.15cqw; border-radius: 50%; background: #ff5f57; box-shadow: 0 0 0 0.08cqw rgba(0, 0, 0, 0.25) inset; }
.aw-lights i:nth-child(2) { background: #febc2e; }
.aw-lights i:nth-child(3) { background: #28c840; }

.aw-main { position: absolute; left: 0; top: 0; bottom: 0; width: 79%; }
.aw-art {
  position: absolute; left: 7%; top: 22%; width: 29%; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 2cqw 2.5cqw rgba(0, 0, 0, 0.35));
}
.aw-copy { position: absolute; left: 50.5%; top: 25%; width: 44%; }
.aw-title { font-size: 3.9cqw; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.aw-sub { margin-top: 1.4cqw; font-size: 1.55cqw; line-height: 1.45; color: rgba(255, 255, 255, 0.66); }
.aw-feats { margin-top: 3.2cqw; display: grid; gap: 1.9cqw; }
.aw-feat { display: flex; align-items: center; gap: 1.5cqw; font-size: 1.5cqw; font-weight: 600; }
.aw-feat i {
  display: grid; place-items: center; width: 2.5cqw; height: 2.5cqw; border-radius: 0.6cqw;
  background: linear-gradient(180deg, #8d93e6, #5c62b9); box-shadow: 0 0.2cqw 0.6cqw rgba(0, 0, 0, 0.3);
}
.aw-feat i svg { width: 1.35cqw; height: 1.35cqw; color: #fff; }
.aw-swap { transition: opacity 0.28s var(--ease), transform 0.4s var(--ease); }
.aw-swap.is-out { opacity: 0; transform: translateY(0.8cqw); }

.aw-by { position: absolute; left: 2%; bottom: 3.2%; font-size: 1.15cqw; color: rgba(255, 255, 255, 0.62); display: flex; align-items: center; gap: 0.5cqw; }
.aw-by b { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.aw-scan {
  position: absolute; left: 73%; bottom: 3%; width: 7.8cqw; height: 7.8cqw; transform: translateX(-50%);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6cqw; font-weight: 500; color: #fff;
  background: radial-gradient(circle at 50% 35%, #5a62c4, #2c3180 75%);
  box-shadow: 0 0 0 0.3cqw rgba(214, 218, 255, 0.85), 0 0 4cqw rgba(140, 148, 255, 0.5);
  border: 0;
}
.aw-scan::before, .aw-scan::after {
  content: ""; position: absolute; inset: -1.8cqw; border-radius: 50%;
  background: rgba(150, 156, 230, 0.13); z-index: -1;
  animation: aw-breathe 3.6s ease-in-out infinite;
}
.aw-scan::after { inset: -3.2cqw; background: rgba(150, 156, 230, 0.07); animation-delay: 0.6s; }
@keyframes aw-breathe { 50% { transform: scale(1.08); opacity: 0.6; } }

.aw-side {
  position: absolute; right: 0; top: 0; bottom: 0; width: 21%;
  border-left: 0.08cqw solid rgba(255, 255, 255, 0.07);
  padding: 8.2cqw 1.1cqw 2.2cqw;
  display: flex; flex-direction: column;
}
.aw-bell {
  position: absolute; right: 7%; top: 2.2cqw; width: 2.6cqw; height: 2.6cqw; border-radius: 0.6cqw;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); border: 0.08cqw solid rgba(255, 255, 255, 0.12);
}
.aw-bell svg { width: 1.3cqw; height: 1.3cqw; }
.aw-nav { display: grid; gap: 0.5cqw; }
.aw-nav-bottom { margin-top: auto; }
.aw-item {
  display: flex; align-items: center; gap: 1.5cqw; width: 100%;
  height: 4.4cqw; padding: 0 1.3cqw; border-radius: 1cqw;
  background: transparent; border: 0.08cqw solid transparent;
  font-size: 1.32cqw; font-weight: 600; color: rgba(255, 255, 255, 0.92); text-align: left;
  transition: background-color 0.15s;
}
.aw-item svg { width: 2.1cqw; height: 2.1cqw; flex: none; color: #e9eaff; }
button.aw-item:hover { background: rgba(255, 255, 255, 0.05); }
.aw-item[aria-current="true"] {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0.3cqw 1cqw rgba(0, 0, 0, 0.18);
}
.aw-item-static { cursor: default; }

/* ---------- Scan demo ---------- */

.scanbox {
  display: flex; align-items: center; gap: 12px;
  max-width: 42rem; height: 58px; margin: 0 auto; padding: 0 12px 0 18px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  font-size: 17px;
}
.scanbox > svg { width: 20px; height: 20px; color: var(--subtle); flex: none; }
.scanbox-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scanbox-text::after {
  content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em;
  background: var(--accent); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.scanbox-status { font-size: 12.5px; color: var(--subtle); display: none; }
@media (min-width: 640px) { .scanbox-status { display: inline; } }
.scan-understood {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
  min-height: 30px; margin-top: 14px; font-size: 13px; color: var(--subtle);
  transition: opacity 0.3s;
}
.scan-results { margin-top: 40px; transition: opacity 0.3s; }
.scan-results-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.scan-results-head .count { font-size: 12px; font-weight: 500; color: var(--muted); padding: 2px 8px; background: var(--fill); border-radius: 999px; }
.scan-results-head .total { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
.file-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .file-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.file-card {
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  padding: 10px; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.file-card.is-in { opacity: 1; transform: none; }
.file-thumb {
  position: relative; display: grid; place-items: center; aspect-ratio: 1.45; border-radius: 12px;
  background: color-mix(in srgb, var(--tile) 12%, var(--bg-elevated));
  color: var(--tile);
}
.file-thumb svg { width: 38%; height: 38%; }
.file-thumb .badge {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em;
  padding: 2px 7px; border-radius: 999px; background: var(--card);
}
.file-thumb .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tile); }
.file-name { margin-top: 10px; padding: 0 4px; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-path { padding: 0 4px 4px; font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-mono); font-size: 11px; }
.scan-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.preset {
  height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted);
  transition: all 0.15s;
}
.preset:hover { color: var(--ink); }
.preset[aria-pressed="true"] { background: var(--ink); color: var(--ink-inverse); border-color: var(--ink); }

/* ---------- Before / after ---------- */

.segmented {
  display: inline-flex; padding: 4px; border-radius: 999px; background: var(--fill); border: 1px solid var(--line);
}
.segmented button {
  height: 34px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: all 0.2s var(--ease);
}
.segmented button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-soft); }
.ba-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.disk-card {
  max-width: 56rem; margin: 0 auto; padding: 28px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-window);
}
@media (min-width: 640px) { .disk-card { padding: 40px; } }
.disk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.disk-top .disk-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--fill); color: var(--muted); }
.disk-top .disk-icon svg { width: 30px; height: 30px; }
.disk-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.disk-detail { font-size: 14px; color: var(--muted); }
.disk-free { margin-left: auto; text-align: right; }
.disk-free b { display: block; font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.disk-free span { font-size: 13px; color: var(--muted); }
.disk-bar { display: flex; height: 22px; margin-top: 28px; border-radius: 8px; overflow: hidden; background: var(--fill); gap: 2px; }
.disk-bar span { height: 100%; background: var(--seg); transition: flex-basis 0.9s var(--ease); flex: 0 0 auto; }
.disk-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 22px; }
@media (min-width: 720px) { .disk-legend { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.disk-legend li { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.disk-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--seg); margin-bottom: 8px; }
.disk-legend b { font-size: 16px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.disk-note { margin-top: 24px; font-size: 13px; color: var(--subtle); }

/* ---------- Two-up highlight blocks ---------- */

.duo { display: grid; gap: 20px; margin-top: 80px; }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.duo-copy { padding: 32px 28px 8px; }
@media (min-width: 640px) { .duo-copy { padding: 40px 40px 8px; } }
.duo-title { margin-top: 16px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 640px) { .duo-title { font-size: 36px; } }
.duo-title em { font-weight: 500; }
.duo-copy p { margin-top: 14px; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; gap: 10px; }
.ticks li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent);
}
.duo-visual { flex: 1; display: grid; place-items: center; padding: 32px 20px 36px; }

.mini-window {
  width: 100%; max-width: 360px; border-radius: 18px; padding: 16px;
  background: var(--bg-elevated); border: 1px solid var(--line-strong); box-shadow: var(--shadow-window);
}
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.mini-row:last-of-type { border-bottom: 0; }
.mini-row .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.mini-row .icon-tile svg { width: 18px; height: 18px; }
.mini-row div { flex: 1; min-width: 0; }
.mini-row b { display: block; font-size: 14px; font-weight: 600; }
.mini-row small { display: block; font-size: 12.5px; color: var(--muted); }
.mini-row .val { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-row .ok { color: var(--good); }
.mini-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mini-foot { display: flex; gap: 8px; margin-top: 12px; }
.mini-foot .btn { flex: 1; height: 38px; font-size: 14px; }

.menubar-strip {
  width: 100%; max-width: 320px; height: 26px; margin-bottom: 8px; padding: 0 12px; border-radius: 8px;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  background: var(--fill); font-size: 12px; font-weight: 600; color: var(--muted);
}
.menubar-strip .mb-active { display: grid; place-items: center; width: 24px; height: 20px; border-radius: 5px; background: var(--fill-strong); color: var(--ink); }
.menubar-strip svg { width: 14px; height: 14px; }
.vital { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.vital:last-of-type { border-bottom: 0; }
.vital-top { display: flex; justify-content: space-between; font-size: 13px; }
.vital-top b { font-weight: 600; }
.vital-top span { color: var(--muted); font-variant-numeric: tabular-nums; }
.meter { height: 6px; margin-top: 8px; border-radius: 99px; background: var(--fill-strong); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--tile, var(--accent)); }
.spark { display: block; width: 100%; height: 30px; margin-top: 6px; color: var(--tile, var(--accent)); }

/* ---------- Numbered features ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px 0; }
.feature > *, .duo > *, .freeup > *, .bento > *, .card-grid > * { min-width: 0; }
.feature + .feature { border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 72px 0; }
  .feature.is-flipped .feature-copy { order: 2; }
}
.feature-tag { display: flex; align-items: center; gap: 10px; }
.feature-num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--fill); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted);
}
.feature-title { margin-top: 20px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 640px) { .feature-title { font-size: 40px; } }
.feature-title em { font-weight: 500; }
.feature-copy > p { margin-top: 16px; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.feature-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }

.panel {
  position: relative; border-radius: 24px; padding: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-window);
}
@media (min-width: 640px) { .panel { padding: 24px; } }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel-head img { width: 44px; height: 44px; object-fit: contain; }
.panel-head b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.panel-head small { display: block; font-size: 13px; color: var(--muted); }
.panel-head .total { margin-left: auto; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rows { margin-top: 8px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px;
}
.row + .row { border-top: 1px solid var(--line); }
.row .check {
  flex: none; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.row .check svg { width: 12px; height: 12px; }
.row .check.off { background: transparent; border: 1.5px solid var(--line-strong); }
.row .check.off svg { display: none; }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main small { display: block; font-size: 12px; color: var(--subtle); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-size { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .badge-keep { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--good-soft); color: var(--good); white-space: nowrap; }
.row .app-ico {
  flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px; background: var(--tile);
}
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.photo {
  position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, var(--p1), var(--p2));
}
.photo::after {
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; height: 70%; transform: translateX(-50%);
  border-radius: 50%; background: var(--p3);
}
.photo::before { content: ""; position: absolute; right: 18%; top: 16%; width: 20%; height: 20%; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.photo .best { position: absolute; z-index: 1; left: 6px; top: 6px; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 99px; background: var(--good); color: #fff; }
.photo.dim { opacity: 0.45; }

.bubbles { position: relative; height: 340px; }
@media (min-width: 640px) { .bubbles { height: 400px; } }
.bubble {
  position: absolute; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: color-mix(in srgb, var(--tile) 16%, var(--card));
  border: 1.5px solid color-mix(in srgb, var(--tile) 45%, transparent);
  color: var(--ink); transition: transform 0.3s var(--ease);
}
.bubble:hover { transform: scale(1.03); }
.bubble b { font-size: 14px; font-weight: 600; }
.bubble span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bubble.sm b { font-size: 12px; }
.bubble.sm span { font-size: 11px; }

.status-hero { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: var(--good-soft); margin-top: 6px; }
.status-hero .icon-tile { --tile: var(--good); width: 48px; height: 48px; border-radius: 50%; background: var(--good); color: #fff; }
.status-hero b { display: block; font-size: 17px; }
.status-hero small { font-size: 13px; color: var(--muted); }
.browser-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ---------- Free-up block ---------- */

.freeup {
  position: relative; overflow: hidden; display: grid; gap: 40px; align-items: center;
  padding: 36px 24px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
@media (min-width: 960px) { .freeup { grid-template-columns: 1fr 1fr; padding: 64px; gap: 56px; } }
.freeup::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(95, 103, 255, 0.18), transparent); filter: blur(30px);
}
.freeup-title { margin-top: 20px; font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .freeup-title { font-size: 76px; } }
.freeup-copy > p { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 30rem; }
.freeup-note { margin-top: 28px; font-size: 12.5px; color: var(--subtle); }
.freeup-list { position: relative; padding: 20px; border-radius: 22px; background: var(--bg-elevated); border: 1px solid var(--line-strong); }
.stack-bar { display: flex; height: 10px; gap: 2px; border-radius: 99px; overflow: hidden; background: var(--fill-strong); margin-bottom: 10px; }
.stack-bar span { background: var(--tile); transition: flex-grow 0.5s var(--ease); flex-basis: 0; }
.fu-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 6px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px;
}
.fu-row:last-of-type { border-bottom: 0; }
.fu-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tile); flex: none; }
.fu-row .label { flex: 1; }
.fu-row .size { font-weight: 600; font-variant-numeric: tabular-nums; }
.fu-row .check { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--accent); color: #fff; transition: all 0.15s; }
.fu-row .check svg { width: 13px; height: 13px; }
.fu-row[aria-pressed="false"] .check { background: transparent; border: 1.5px solid var(--line-strong); }
.fu-row[aria-pressed="false"] .check svg { opacity: 0; }
.fu-row[aria-pressed="false"] .label, .fu-row[aria-pressed="false"] .size { color: var(--subtle); }
.fu-actions { display: flex; gap: 8px; margin-top: 16px; }
.fu-actions .btn { flex: 1; height: 42px; font-size: 14px; }

/* ---------- Grid cards ---------- */

.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.card h3 { margin-top: 20px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.card .card-corner { position: absolute; right: 20px; top: 22px; display: flex; gap: 4px; }

.works-with {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px;
  margin-top: 40px; padding: 20px; border-radius: var(--radius); border: 1px dashed var(--line-strong);
}
.works-with .label { width: 100%; text-align: center; font-size: 13px; font-weight: 500; color: var(--subtle); margin-bottom: 4px; }
@media (min-width: 900px) { .works-with .label { width: auto; margin: 0 8px 0 0; } }

/* ---------- Safety bento ---------- */

.bento { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .bento { grid-template-columns: 1.15fr 1fr 1fr; }
  .bento .bento-main { grid-row: span 3; }
}
.bento-main { display: flex; flex-direction: column; padding: 32px; }
.bento-main h3 { margin-top: 24px; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
.bento-main h3 em { font-weight: 500; }
.bento-main > p { margin-top: 12px; font-size: 16px; }
.spec-list { display: grid; gap: 18px; margin-top: 28px; }
.spec-list li { display: flex; gap: 12px; font-size: 14px; }
.spec-list li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.spec-list b { display: block; font-weight: 600; }
.spec-list span { color: var(--muted); }
.bento .card h3 { margin-top: 16px; font-size: 16px; }
.bento .card p { font-size: 14.5px; }
.bento .card { padding: 24px; }

/* ---------- Pricing ---------- */

.price-card {
  max-width: 26rem; margin: 0 auto; padding: 28px; border-radius: 30px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-window);
}
@media (min-width: 640px) { .price-card { padding: 32px; } }
.price-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price-top b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.price-top small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 4px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); }
.seats button { height: 38px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 500; color: var(--muted); transition: all 0.2s var(--ease); }
.seats button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-soft); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; }
.price b { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; color: var(--muted); }
.price-terms { margin-top: 8px; font-size: 14px; color: var(--muted); }
.price-list { display: grid; gap: 12px; margin: 28px 0; font-size: 15px; }
.price-list li { display: flex; gap: 12px; }
.price-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--good); }
.price-actions { display: grid; gap: 10px; }
.price-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--subtle); text-align: center; }
.price-foot svg { width: 14px; height: 14px; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; color: var(--subtle); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 40rem; }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* ---------- Closing CTA and footer ---------- */

.cta { overflow: hidden; padding: 64px 0 96px; text-align: center; }
.cta-art { display: flex; justify-content: center; gap: 4px; margin-bottom: 32px; }
.cta-art img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18)); }
.cta-art img:nth-child(odd) { transform: translateY(8px) rotate(-4deg); }
.cta-art img:nth-child(even) { transform: rotate(4deg); }
@media (min-width: 640px) { .cta-art img { width: 96px; height: 96px; } }
.cta h2 { max-width: 48rem; margin: 0 auto; font-size: 40px; line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
@media (min-width: 640px) { .cta h2 { font-size: 64px; } }
.cta p { margin: 20px auto 0; max-width: 32rem; font-size: 18px; color: var(--muted); }
.cta .hero-ctas { margin-top: 32px; }
.cta .hero-meta { margin-top: 18px; font-size: 13px; color: var(--subtle); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */

.legal { max-width: 44rem; margin: 0 auto; padding: 72px 16px 96px; }
.legal h1 { font-size: 40px; letter-spacing: -0.035em; line-height: 1.1; }
.legal .updated { margin-top: 10px; color: var(--subtle); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 21px; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
