/* MacSweep website. System fonts (SF on Apple devices), light and dark, no external requests. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --good: #1f9d55;
  --warn: #c66a00;
  --brand-a: #2f7cf6;
  --brand-b: #34c3c7;
  --nav: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --window: #fbfbfd;
  --sidebar: #eceef2;
  --chip: #e8f0fe;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101012;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383d;
    --accent: #0a84ff;
    --accent-hover: #409cff;
    --link: #2997ff;
    --good: #30d158;
    --warn: #ff9f0a;
    --nav: rgba(22, 22, 23, 0.78);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --window: #1c1c1e;
    --sidebar: #2a2a2d;
    --chip: #0a2a4a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--text); opacity: 0.8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 680px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 980px; padding: 11px 22px;
  font-size: 17px; font-weight: 400; border: 0; cursor: pointer; transition: background 0.2s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-small { padding: 4px 12px; font-size: 12px; }
.btn-ghost { color: var(--link); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { text-decoration: underline; }
.btn[aria-disabled="true"] { background: var(--bg-alt); color: var(--muted); cursor: default; box-shadow: inset 0 0 0 1px var(--line); }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.dark { background: #000; color: #f5f5f7; }
.dark .muted { color: #a1a1a6; }
.center { text-align: center; }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.headline { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; }
.title { font-size: clamp(32px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.005em; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--muted); max-width: 720px; margin: 18px auto 0; font-weight: 400; }
.muted { color: var(--muted); }
.gradient-text { background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctas { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { padding: 88px 0 0; overflow: hidden; }
.hero .stage { margin: 64px auto -40px; max-width: 980px; }

/* Mac window mockup */
.window { background: var(--window); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; text-align: left; letter-spacing: -0.01em; }
.window .bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--sidebar); }
.window .bar i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.window .bar i:nth-child(1) { background: #ff5f57; } .window .bar i:nth-child(2) { background: #febc2e; } .window .bar i:nth-child(3) { background: #28c840; }
.window .body { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.window .side { background: var(--sidebar); padding: 10px 10px 18px; font-size: 13px; }
.window .side .group { font-size: 11px; font-weight: 600; color: var(--muted); margin: 14px 8px 4px; }
.window .side .item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; }
.window .side .item.on { background: var(--accent); color: #fff; }
.window .side .item .dot { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); flex: none; }
.window .side .item.on .dot { background: rgba(255, 255, 255, 0.9); }
.window .main { padding: 28px 32px; }
.window .big { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; }
.window .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 14px; }
.row .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.row .grow { flex: 1; }
.row .sz { font-variant-numeric: tabular-nums; }
.check { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.window .foot { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 18px; font-size: 14px; }
.pill { background: var(--accent); color: #fff; border-radius: 7px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.pill.grey { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 720px) { .window .body { grid-template-columns: 1fr; } .window .side { display: none; } .window .main { padding: 22px; } .window .big { font-size: 36px; } }

/* Chat mockup */
.chat { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.bubble-user { align-self: flex-end; background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 9px 14px; border-radius: 16px; max-width: 75%; }
.bubble-ai { max-width: 92%; }
.card-mock { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.card-mock b { font-size: 15px; }
.card-mock .small { font-size: 13px; color: var(--muted); }
.card-mock .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }
.split h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.split p { font-size: 19px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 17px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--good); font-weight: 700; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.tile { background: var(--bg-alt); border-radius: var(--radius); padding: 30px; }
.alt .tile { background: var(--card); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.tile h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .pro { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 6px; vertical-align: middle; }

/* Trust band */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; margin-top: 56px; text-align: left; }
.trust h3 { font-size: 19px; margin-bottom: 6px; }
.trust p { margin: 0; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 6px; position: relative;
  box-shadow: 0 0 0 1px var(--line); }
.plan.featured { box-shadow: 0 0 0 2px var(--accent); }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 980px; }
.plan h3 { font-size: 24px; }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; }
.plan .price small { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 14px; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "–"; color: var(--muted); }
.plan .btn { width: 100%; }

table.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.compare th, .compare td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.yes { color: var(--good); font-weight: 700; }
.nope { color: var(--muted); }
.table-scroll { overflow-x: auto; }

.guarantee { display: flex; gap: 22px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 28px 30px; margin-top: 40px; box-shadow: 0 0 0 1px var(--line); }
.guarantee .seal { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); }
.guarantee h3 { font-size: 21px; margin-bottom: 4px; }
.guarantee p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Legal pages */
.doc { padding: 72px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; }
.doc .updated { color: var(--muted); margin: 10px 0 40px; font-size: 15px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc h3 { font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--bg-alt); border-radius: 16px; padding: 20px 22px; margin: 22px 0; }

/* Footer */
footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 28px 0 40px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 14px; }
footer a { color: var(--text); opacity: 0.8; }
footer .sep { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Gentle entrance for sections */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
