/* Keep AI Local: everything is self-hosted. No external fonts, scripts or trackers. */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0E1014; --panel: #161A21; --panel2: #1E232C; --line: #2A303B;
  --text: #ECEEF1; --muted: #9CA5B2; --accent: #5EEAD4; --accent-dim: #143430;
  --red: #F87171; --red-dim: #3A1A1C; --ink: #06201C;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -0.01em; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.lead { font-size: 21px; line-height: 1.5; }
.lead.center { max-width: 720px; margin-left: auto; margin-right: auto; }

main > section { max-width: var(--max); margin: 0 auto; padding: 88px 24px; }
main > section.band { max-width: none; background: var(--panel); border-block: 1px solid var(--line); }
main > section.band > * { max-width: var(--max); margin: 0 auto; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; background: rgba(14,16,20,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--accent); font-weight: 900; letter-spacing: .18em; text-decoration: none; font-size: 17px; white-space: nowrap; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.top nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .top nav { display: none; } }

/* buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 600;
  border-radius: 12px; padding: 13px 22px; font-size: 17px; transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: #8AF3E3; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.big { padding: 16px 28px; font-size: 19px; }
.btn.huge { padding: 22px 40px; font-size: 24px; border-radius: 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.cta-row.center { justify-content: center; }

/* privacy line */
.lock { color: var(--accent); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.lock::before {
  content: ""; flex: 0 0 16px; height: 18px; margin-top: 4px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235EEAD4' d='M6 10V7a6 6 0 0 1 12 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h8V7a4 4 0 0 0-8 0v3z'/%3E%3C/svg%3E");
}
.lock.wide { background: var(--accent-dim); border-radius: 14px; padding: 18px 22px; font-size: 19px; margin-top: 32px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 64px !important; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-video { margin: 0; }
.hero-video video {
  display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; aspect-ratio: 9 / 16;
  border-radius: 22px; border: 2px solid var(--accent); background: #000;
}
.hero-video figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 36px; } }

/* cards */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.band .card { background: var(--panel2); }
.card p:last-child { margin-bottom: 0; }

/* download */
.download h2 { text-align: center; }
.dl-main { text-align: center; margin: 36px 0 12px; }
.dl-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 28px auto 18px; }
@media (max-width: 640px) { .dl-others { grid-template-columns: 1fr; } }
.dl-os {
  display: flex; flex-direction: column; gap: 2px; padding: 16px; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.dl-os:hover, .dl-os.mine { border-color: var(--accent); }
.dl-os span { color: var(--muted); font-size: 14px; }
.notice { max-width: 720px; margin: 32px auto; text-align: center; background: var(--accent-dim); border: 2px solid var(--accent); border-radius: 18px; padding: 28px; }
.notice .url { font-size: 34px; font-weight: 900; color: var(--accent); margin: 8px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 720px; margin: 44px auto 20px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 18px 64px; font-size: 19px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 900; display: grid; place-items: center;
}

/* why */
.timeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin: 32px 0; }
.tl { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.tl.hi { border-color: var(--accent); }
.tl-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tl-arrow { align-self: center; color: var(--accent); font-size: 28px; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .tl-arrow { transform: rotate(90deg); justify-self: center; } }
.feature { background: var(--accent-dim); border: 2px solid var(--accent); border-radius: 20px; padding: 30px; margin-top: 28px; }
.feature h3 { font-size: 28px; font-weight: 900; }
.feature p { font-size: 19px; }
.feature .punch { font-size: 30px; font-weight: 900; color: var(--accent); margin: 8px 0 16px; }
.feature.warn { background: var(--red-dim); border-color: var(--red); }
.feature.warn .punch { color: var(--red); }

/* ideas */
.ideas { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.ideas li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ideas em { font-style: normal; color: var(--muted); font-size: 15px; text-align: right; flex: 0 0 34%; }
@media (max-width: 640px) { .ideas li { flex-direction: column; gap: 2px; } .ideas em { text-align: left; } }

/* community */
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 760px) { .links { grid-template-columns: 1fr; } }
.link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); }
.link:hover { border-color: var(--accent); }
.link strong { font-size: 19px; }
.link span { color: var(--text); font-size: 16px; }
.link code { color: var(--muted); }

/* verify / faq */
.hash { word-break: break-all; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 20px; }
.faq details p { margin: 12px 0 0; color: var(--text); }

/* closing */
.note { text-align: center; }
.note blockquote { max-width: 820px; margin: 0 auto 40px; }
.note blockquote p { font-size: clamp(24px, 3vw, 32px); line-height: 1.45; }
.note blockquote footer { color: var(--muted); font-size: 18px; }
.note .tag { margin-top: 28px; font-size: 26px; font-weight: 900; }

.bottom { border-top: 1px solid var(--line); padding: 32px 24px 48px; max-width: var(--max); margin: 0 auto; }

.verify > .small { margin-top: 22px; }

.feature.neutral { background: var(--panel); border-color: var(--line); }
.who { max-width: 820px !important; }

.heads-up { max-width: 980px; margin: 40px auto 8px; background: #2A2410; border: 2px solid #FBBF24; border-radius: 20px; padding: 26px 28px; }
.heads-up h3 { color: #FBBF24; font-size: 26px; font-weight: 900; }
.heads-up h4 { margin: 0 0 6px; font-size: 19px; }
.heads-up .three { margin-top: 18px; }
.heads-up .card { background: rgba(0,0,0,.25); border-color: rgba(251,191,36,.35); }

/* purpose statement */
.purpose { padding-top: 24px !important; padding-bottom: 48px !important; }
.purpose-box { background: var(--accent-dim); border: 2px solid var(--accent); border-radius: 24px; padding: 36px 40px; }
.purpose-box h2 { font-size: clamp(28px, 3.6vw, 40px); }
.purpose-box .lead:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .purpose-box { padding: 24px 22px; } }

/* not all local AI is the same */
.feature.amber { background: #2A2410; border-color: #FBBF24; }
.feature.amber .punch { color: #FBBF24; font-size: 26px; line-height: 1.3; }
.big-p { font-size: 23px !important; font-weight: 600; line-height: 1.45; }
.check-title { margin-top: 40px; font-size: 24px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 12px; }
.checklist li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 58px; }
.checklist li::before { content: "✓"; position: absolute; left: 18px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 16px; }

/* Windows: shown right after clicking the download */
.win-steps { text-align: left; max-width: 980px; margin: 26px auto 8px; background: var(--accent-dim); border: 2px solid var(--accent); border-radius: 20px; padding: 24px 28px; }
.win-steps h3 { font-size: 24px; font-weight: 900; }
.win-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.win-grid ol { margin: 0; padding-left: 22px; font-size: 18px; }
.win-grid li { margin-bottom: 12px; }
.win-grid img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 760px) { .win-grid { grid-template-columns: 1fr; } }

/* the maker's other app, under the community links */
.maker-app { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; padding: 22px 24px; text-decoration: none; color: var(--text);
  background: var(--accent-dim); border: 2px solid var(--accent); border-radius: 18px; }
.maker-app:hover { background: #18403A; }
.maker-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.maker-app strong { font-size: 24px; font-weight: 900; }
.maker-app code { color: var(--accent); font-size: 17px; }
