:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f2f0eb;
  --border: #e4e1da;
  --text: #1b1a18;
  --muted: #69655e;
  --accent: #c85a24;
  --accent-strong: #a8461a;
  --accent-soft: #fbeade;
  --accent-text: #ffffff;
  --good: #1f8a4c;
  --warn: #b7791f;
  --danger: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 28px rgb(0 0 0 / 0.06);
  --max: 1080px;
  --shot-shadow: 0 24px 60px rgb(40 24 10 / 0.12), 0 2px 8px rgb(0 0 0 / 0.05);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1b1a18;
    --surface-2: #24231f;
    --border: #33312c;
    --text: #eeece7;
    --muted: #a39e94;
    --accent: #ec7a40;
    --accent-strong: #f39360;
    --accent-soft: #3a2418;
    --accent-text: #1a0d05;
    --good: #45c77c;
    --warn: #e7b04e;
    --danger: #ff7a6b;
    --shadow: none;
    --shot-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: 0.95rem; }
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-text); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none;
}
.btn:hover { border-color: var(--muted); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-danger { color: var(--danger); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section .intro { color: var(--muted); max-width: 60ch; margin-bottom: 32px; font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.1rem; margin-bottom: 6px; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 6px 0 2px; }
.plan .price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.plan li { padding-left: 26px; position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; 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: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* ---------- account, download and legal pages ---------- */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: 2rem; margin-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.9rem; }
input[type="email"], input[type="text"] {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%;
}
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.code-input { font-size: 1.5rem; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.error { color: var(--danger); font-weight: 600; font-size: 0.92rem; margin: 8px 0 0; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); margin-bottom: 16px; font-size: 0.95rem; }
.notice.good { background: color-mix(in srgb, var(--good) 14%, transparent); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.badge.pro { background: var(--accent); color: var(--accent-text); }
.meter { margin: 14px 0; }
.meter-label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.meter-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter-fill { height: 100%; background: var(--accent); border-radius: 999px; width: 0; transition: width 0.4s; }
.meter-fill.low { background: var(--warn); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.95rem; margin: 0 0 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.3em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.callout p:last-child { margin-bottom: 0; }

.install-steps { padding-left: 1.3em; }
.install-steps li { margin-bottom: 10px; }
kbd { font: 0.85em ui-monospace, Consolas, monospace; padding: 2px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); }

/* ---------- more buttons ---------- */
.btn-block { width: 100%; }
.center { text-align: center; }
.btn-large { min-height: 52px; padding: 12px 22px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: #fff; border-color: #fff; color: #1b1a18; }
.btn-light:hover { background: #f6efe8; border-color: #f6efe8; }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* ---------- home ---------- */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 0.9rem; }
.trust li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 6px; }

/* Real screenshots of the app, framed like a window. */
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shot-shadow); overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.shot img { display: block; width: 100%; height: auto; }
/* Long screenshots fade out instead of ending in a hard cut. */
.shot.fade picture { display: block; max-height: 540px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }
.shot.tall picture { max-height: 620px; }

.showcase { display: grid; gap: 88px; margin-top: 12px; }
.show-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.show-row.flip .show-copy { order: 2; }
@media (max-width: 880px) {
  .showcase { gap: 56px; }
  .show-row { grid-template-columns: 1fr; gap: 24px; }
  .show-row.flip .show-copy { order: 0; }
}
.show-copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 12px 0; }
.show-copy p { color: var(--muted); font-size: 1.02rem; }
.show-copy kbd { font-size: 0.62em; vertical-align: 0.2em; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800; color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent);
}

.privacy-band { background: var(--surface); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
@media (max-width: 780px) { .privacy-grid { grid-template-columns: 1fr; gap: 20px; } }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.icon-badge svg { width: 22px; height: 22px; }

.plan { position: relative; }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-text); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plans-note { text-align: center; margin: 18px 0 0; }

.cta-band { background: linear-gradient(135deg, #c85a24, #a0431a); color: #fff; padding: 68px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 10px; }
.cta-band p { color: rgb(255 255 255 / 0.88); font-size: 1.1rem; margin-bottom: 26px; }
.cta-band .cta-row { justify-content: center; }

/* ---------- account dashboard ---------- */
.page-wide .wrap { max-width: 1040px; }
.auth { max-width: 460px; margin: 8px auto 0; }
.auth h1 { text-align: center; }
.auth > .muted { text-align: center; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.dash-head h1 { margin-bottom: 2px; }
.dash-head p { margin: 0; }
.dash { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-nav { position: sticky; top: 84px; display: grid; gap: 2px; }
.dash-nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.dash-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
@media (max-width: 800px) {
  .dash { grid-template-columns: 1fr; gap: 16px; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .dash-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--border); }
}
.dash-main { display: grid; gap: 16px; }
.dash-main .card { margin: 0; scroll-margin-top: 80px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.card-head h2 { margin: 0; }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.plan-head h2 { font-size: 1.5rem; margin: 8px 0 4px; }
.plan-head p { margin: 0; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
@media (max-width: 560px) { .meters { grid-template-columns: 1fr; } }
.meter-left { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.meter-left small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.activity { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.activity li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 0.95rem; }
.activity .count { color: var(--muted); }
.activity .bar { grid-column: 1 / -1; height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.activity .bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.devices { list-style: none; padding: 0; margin: 8px 0 0; }
.devices li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.devices li:first-child { border-top: 0; }
.device-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.device-icon svg { width: 20px; height: 20px; }
.device-info { flex: 1; min-width: 0; }
.device-info strong { overflow-wrap: anywhere; }
.device-info .muted { display: block; font-size: 0.88rem; }
.badge.here { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); margin-left: 6px; }
.upsell { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.upsell .ticks { margin: 4px 0 18px; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }

/* ---------- download ---------- */
.download-hero { text-align: center; padding: 8px 0 32px; }
.download-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.download-hero .lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; }
.download-hero .notice { max-width: 560px; margin: 0 auto 20px; }
.install-cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .install-cards { grid-template-columns: 1fr; } }
.install-cards .card { margin: 0; }
.install-cards h2 { font-size: 1.05rem; margin: 0 0 6px; }
.install-cards p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 12px; }
/* A small drawing of the Windows warning, so people recognise it. */
.smartscreen { background: #0067b8; color: #fff; border-radius: 6px; padding: 14px; font: 0.8rem/1.45 "Segoe UI", system-ui, sans-serif; margin-top: 14px; }
.smartscreen strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.smartscreen .more { text-decoration: underline; font-weight: 600; }
.smartscreen .buttons { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.smartscreen .buttons span { border: 1px solid rgb(255 255 255 / 0.85); padding: 3px 12px; }
.smartscreen .buttons .run { outline: 2px solid #ffd27a; outline-offset: 2px; }

/* ---------- the AI behind it ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.ai-card h3 { font-size: 1.3rem; margin: 10px 0 4px; }
.ai-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.ai-by { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.ai-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ai-note { margin: 18px 0 0; }
