:root {
  --bg: #f6f7f9;
  --bg-alt: #eceef2;
  --surface: #ffffff;
  --text: #15171c;
  --muted: #5b6270;
  --line: rgba(20, 24, 33, .10);
  --green: #2fbf57;
  --orange: #f08a24;
  --red: #e5484d;
  --blue: #3b82f6;
  --accent: #22a24a;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 32px rgba(15,20,30,.08);
  --shot-bg: #1c1c1e;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f12;
    --bg-alt: #121519;
    --surface: #181b20;
    --text: #eef0f3;
    --muted: #9aa1ad;
    --line: rgba(255,255,255,.09);
    --accent: #4ade80;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], main[id] { scroll-margin-top: 76px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code, kbd { font-family: var(--mono); font-size: .88em; }
p code, li code { background: var(--bg-alt); border: 1px solid var(--line); padding: .05em .4em; border-radius: 6px; white-space: nowrap; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; padding: .05em .45em; border-radius: 6px; background: var(--surface); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1, h2, .sec-head p { text-wrap: balance; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 48px); }
.ico { width: 16px; height: 16px; flex: none; }
.hero-grid > *, .grid > *, .steps > * { min-width: 0; }

.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; font-size: 17px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: linear-gradient(180deg, #34d065, #22a64a); color: #04150a; box-shadow: 0 6px 20px rgba(47,191,87,.30); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.btn-paypal { background: #0070e0; color: #fff; box-shadow: 0 6px 20px rgba(0,112,224,.28); }

.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.glow { position: absolute; inset: -20% -10% auto -10%; height: 760px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 30%, rgba(47,191,87,.18), transparent 70%),
    radial-gradient(30% 40% at 90% 10%, rgba(240,138,36,.14), transparent 70%),
    radial-gradient(30% 40% at 20% 0%, rgba(59,130,246,.10), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,191,87,.18); }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; }
.grad { background: linear-gradient(90deg, var(--green), #b5c22a 55%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.cmd { display: flex; align-items: center; gap: 12px; background: #111418; color: #e8eaee; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px 10px 10px 16px; width: fit-content; max-width: min(560px, 100%); box-shadow: var(--shadow); text-align: left; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 14.5px; scrollbar-width: none; }
.cmd .prompt { color: #4ade80; font-family: var(--mono); }
.copy { flex: none; font: 600 13px var(--font); color: #e8eaee; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 7px 12px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.14); }
.copy.ok { color: #04150a; background: #4ade80; border-color: #4ade80; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.hero-shot { margin: 0; justify-self: center; position: relative; }
.hero-shot figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

.mock { font: 13px/1.45 var(--font); color: #e6e7ea; background: #262626; text-align: left; }
.mock b { font-weight: 650; }
.mock .dim { color: #8b8f96; }
.alfred { width: min(420px, 100%); border-radius: 16px; padding: 14px; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 .5px rgba(0,0,0,.4); }
@media (prefers-color-scheme: light) {
  .alfred { box-shadow: 0 30px 80px rgba(15,20,30,.18), 0 0 0 .5px rgba(0,0,0,.1); }
}
.al-search { display: flex; align-items: center; gap: 10px; background: #2c2c2e; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.al-search img { width: 22px; height: 22px; border-radius: 6px; }
.al-q { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.al-caret { width: 2px; height: 18px; background: #4ade80; border-radius: 1px; }
.al-row { display: block; padding: 8px 12px; border-radius: 8px; margin-top: 2px; }
.al-row b { display: block; font-size: 14px; letter-spacing: -.01em; }
.al-row small { display: block; margin-top: 2px; color: #9aa0a8; font-size: 11.5px; }
.al-row.on { background: linear-gradient(180deg, #4b93c4, #2f6f9c); }
.al-row.on small { color: rgba(255,255,255,.84); }
.al-div { margin: 10px 12px 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8f96; }
.al-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #3a3a3c; color: #9aa0a8; font-size: 12px; }
.al-foot kbd { background: #3a3a3c; color: #eceef1; border-color: #4a4a4e; font-size: 11px; }
.mini-win { border-radius: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.06); }
.mini-win .al-row b { font-size: 13px; }

.key-strip { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.keycard { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.keycard kbd { flex: none; font-size: 14px; font-weight: 700; padding: 6px 10px; }
.keycard h3 { font-size: 16px; margin-bottom: 4px; }
.keycard p { margin: 0; color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.kicker { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent) !important; margin: 0 0 10px !important; }
.grid { display: grid; gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 18px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.shot { background: var(--shot-bg); border-radius: 12px; overflow: hidden; display: flex; justify-content: center; border: 1px solid rgba(255,255,255,.06); }
.shot-card { display: flex; flex-direction: column; }
.feat-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat-mini { grid-template-columns: repeat(3, 1fr); margin-top: 40px; gap: 28px 32px; }
.mini { display: flex; gap: 14px; align-items: flex-start; }
.mi { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--accent); font-family: var(--mono); }
.mini h4 { font-size: 16px; margin: 2px 0 4px; }
.mini p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, #34d065, #22a64a); color: #04150a; font-weight: 800; }
.steps h3 { font-size: 19px; margin: 16px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.privacy { padding: 30px 32px; }
.privacy h3 { margin: 0 0 14px; font-size: 21px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(47,191,87,.15); color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.more { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15px; }

.install-grid { grid-template-columns: 1.15fr 1fr 1fr; }
.install-grid .card h3 { margin-top: 12px; margin-bottom: 14px; }
.install-grid .card p { margin-bottom: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #04150a; background: #4ade80; padding: 3px 9px; border-radius: 6px; }
.tag-muted { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.cmd-sm { padding: 8px 8px 8px 14px; margin-bottom: 14px; box-shadow: none; }
.cmd-sm code { font-size: 13px; white-space: normal; overflow-wrap: normal; }
.reqs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.reqs li { margin: 4px 0; }
.reqs em { font-style: normal; font-weight: 600; color: var(--text); }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

.apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; height: 100%; }
a.app-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.app-card img { border-radius: 14px; flex: none; }
.app-card h3 { margin: 4px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-card p { margin-bottom: 10px; }
.app-card.current { opacity: .92; }
.soon { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 3px 10px; border-radius: 999px; }

.support { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 36px 40px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--green)), var(--surface) 60%); }
.support .logo { border-radius: 22px; width: 96px; height: 96px; }
.support h2 { font-size: 28px; font-weight: 800; }
.support p { margin: 10px 0 0; color: var(--muted); max-width: 36em; }
.support-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.support-cta .btn { justify-content: center; }
.support-cta .link { font-size: 13px; color: var(--muted); text-align: center; }

.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .fine { margin-top: 12px; line-height: 1.7; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.foot-links a { text-decoration: none; color: var(--text); opacity: .85; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.disclaimer p { margin: 0 0 6px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-grid, .steps, .install-grid, .apps-grid, .key-strip { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .cmd, .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .feat-shots, .feat-mini, .checks { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .support p { margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .alfred { margin-inline: auto; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .lede { font-size: 17px; }
  .feat-shots, .feat-mini, .checks { grid-template-columns: 1fr; }
  .cmd code { font-size: 12.5px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .privacy, .support { padding: 24px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .app-card, summary::after { transition: none; }
}
