/* ---------- fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/caveat-latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/merriweather-latin.woff2) format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/patrick-hand-latin.woff2) format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --bg: #fbfaf7;
  --bg-2: #f3f1ea;
  --card: #ffffff;
  --text: #1c1b22;
  --muted: #5f5d6b;
  --line: #e7e4da;
  --accent: #5b5bd6;
  --accent-2: #4747c2;
  --accent-soft: #ecebfd;
  --on-accent: #ffffff;
  --guide: #ec4899;
  --shadow-sm: 0 1px 2px rgba(28, 27, 34, .06), 0 2px 8px rgba(28, 27, 34, .05);
  --shadow: 0 2px 6px rgba(28, 27, 34, .06), 0 18px 40px -12px rgba(28, 27, 34, .22);
  --radius: 18px;
  /* note colours, exactly as in the app */
  --mint-bg: #d1fae5; --mint-bar: #a7f0cd; --mint-ink: #123b2b;
  --yellow-bg: #fff7b0; --yellow-bar: #fde96b; --yellow-ink: #3f3a14;
  --sky-bg: #dbeafe; --sky-bar: #bcd6fc; --sky-ink: #13284d;
  --pink-bg: #fce7f3; --pink-bar: #f9c7e2; --pink-ink: #4c1630;
  --lavender-bg: #ede9fe; --lavender-bar: #d8cffd; --lavender-ink: #2e1f5e;
  --peach-bg: #ffedd5; --peach-bar: #fed3a6; --peach-ink: #4a2508;
  --graphite-bg: #2a2b31; --graphite-bar: #36373f; --graphite-ink: #ececf1;
  --font: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}
:root[data-theme="dark"] {
  --bg: #121217; --bg-2: #18181f; --card: #1d1d25; --text: #ececf1; --muted: #a2a1ad; --line: #2c2c37;
  --accent: #8b8bf0; --accent-2: #a5a5f5; --accent-soft: #24244a; --on-accent: #15152e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -12px rgba(0, 0, 0, .7);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
kbd { font: 600 12.5px/1 var(--font); padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--card); color: var(--text); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.lede { color: var(--muted); font-size: 18px; max-width: 620px; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .lede { margin: 14px auto 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font: 700 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgba(20, 20, 40, .45); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
.win { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 10px 16px; font-size: 14.5px; border-radius: 12px; }
.theme-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.theme-btn .ico { width: 18px; height: 18px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .wrap { gap: 12px; } .nav .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 640px; background:
  radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--mint-bar) 55%, transparent), transparent 70%),
  radial-gradient(35% 45% at 80% 20%, color-mix(in srgb, var(--yellow-bar) 55%, transparent), transparent 70%),
  radial-gradient(35% 45% at 65% 70%, color-mix(in srgb, var(--sky-bar) 50%, transparent), transparent 70%);
  opacity: .55; pointer-events: none; z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 18px; }
.hero h1 .hand { font-family: var(--hand); font-weight: 700; font-size: 1.12em; color: var(--accent); letter-spacing: 0; white-space: nowrap; margin-right: .12em; }
.hero .lede { font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ico { width: 16px; height: 16px; color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
.pill b { background: var(--accent); color: var(--on-accent); border-radius: 99px; padding: 2px 9px; font-size: 12px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* ---------- note (same look as the app) ---------- */
.note { --bg-c: var(--mint-bg); --bar-c: var(--mint-bar); --ink: var(--mint-ink);
  width: 280px; border-radius: 10px; background: var(--bg-c); color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, .06);
  display: flex; flex-direction: column; overflow: hidden; font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; font-size: 14.5px; line-height: 1.5; text-align: left; }
.note.yellow { --bg-c: var(--yellow-bg); --bar-c: var(--yellow-bar); --ink: var(--yellow-ink); }
.note.sky { --bg-c: var(--sky-bg); --bar-c: var(--sky-bar); --ink: var(--sky-ink); }
.note.pink { --bg-c: var(--pink-bg); --bar-c: var(--pink-bar); --ink: var(--pink-ink); }
.note.lavender { --bg-c: var(--lavender-bg); --bar-c: var(--lavender-bar); --ink: var(--lavender-ink); }
.note.peach { --bg-c: var(--peach-bg); --bar-c: var(--peach-bar); --ink: var(--peach-ink); }
.note.graphite { --bg-c: var(--graphite-bg); --bar-c: var(--graphite-bar); --ink: var(--graphite-ink); }
.note.graphite .tools { border-top-color: rgba(255, 255, 255, .1); }
.note.graphite .tools .sep { background: rgba(255, 255, 255, .16); }
.note .bar { display: flex; align-items: center; gap: 2px; height: 38px; padding: 0 6px; background: var(--bar-c); flex-shrink: 0; }
.note .bar .t { flex: 1; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.note .ib { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; opacity: .72; }
.note .ib .ico { width: 15px; height: 15px; }
.note .ib.on { opacity: 1; color: #d9480f; }
.note .body { padding: 12px 16px; flex: 1; }
.note .body p { margin: 0 0 4px; }
.note .tools { display: flex; align-items: center; gap: 2px; height: 36px; padding: 0 6px; border-top: 1px solid rgba(0, 0, 0, .07); font-size: 12.5px; }
.note .tools .ib { width: 24px; height: 24px; font-weight: 700; }
.note .tools .sep { width: 1px; height: 16px; background: rgba(0, 0, 0, .12); margin: 0 3px; }
.note .tools .font { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 12px; padding-right: 4px; white-space: nowrap; }
.note .tools .font .ico { width: 12px; height: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: rgba(0, 0, 0, .07); font-size: 12px; font-weight: 600; margin-top: 10px; }
.chip .ico { width: 13px; height: 13px; }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: rgba(0, 0, 0, .07); }
.check { display: flex; align-items: flex-start; gap: 9px; padding: 3px 0; }
.box { width: 17px; height: 17px; border-radius: 5px; border: 1.8px solid currentColor; opacity: .55; flex-shrink: 0; margin-top: 3px; display: grid; place-items: center; }
.check.done .box { opacity: 1; background: currentColor; }
.check.done .box .ico { width: 11px; height: 11px; color: var(--bg-c); stroke-width: 3.2; }
.check.done span { text-decoration: line-through; opacity: .75; }
.progress { height: 4px; border-radius: 99px; background: rgba(0, 0, 0, .08); margin: 2px 0 10px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 33%; background: currentColor; opacity: .5; border-radius: 99px; }
.note .hw { font-family: var(--hand); font-size: 23px; line-height: 1.2; }

/* ---------- hero stage ---------- */
.stage { position: relative; height: 520px; }
.stage .note { position: absolute; }
.stage .n1 { left: 0; top: 34px; height: 360px; transform: rotate(-2.2deg); z-index: 2; }
.stage .n2 { left: 280px; top: 34px; height: 360px; transform: rotate(-2.2deg); transform-origin: -140px 180px; z-index: 3; }
.stage .n3 { left: 120px; top: 300px; width: 300px; transform: rotate(3deg); z-index: 4; }
.guide-h { position: absolute; left: -14px; top: 33px; width: 590px; height: 2px; background: var(--guide); transform: rotate(-2.2deg); transform-origin: 0 0; z-index: 5; box-shadow: 0 0 0 3px color-mix(in srgb, var(--guide) 20%, transparent); opacity: 0; animation: guide 5s ease-in-out infinite; }
.stage .n2 { animation: snapin 5s ease-in-out infinite; }
@keyframes snapin { 0%, 12% { translate: 70px 34px; } 42% { translate: 18px 6px; } 50%, 100% { translate: 0 0; } }
@keyframes guide { 0%, 30% { opacity: 0; } 38%, 62% { opacity: 1; } 75%, 100% { opacity: 0; } }
.stage-label { position: absolute; z-index: 6; font-family: var(--hand); font-size: 24px; color: var(--guide); display: flex; align-items: center; gap: 6px; right: 6px; top: -6px; transform: rotate(-3deg); }
.stage-label svg { width: 42px; height: 30px; }
@media (max-width: 1120px) and (min-width: 961px) { .stage { transform: scale(.88); transform-origin: left top; } }
@media (max-width: 960px) { .stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 10px; }
  .stage .note { position: relative; left: auto; top: auto; transform: none !important; animation: none; translate: none; height: auto !important; width: min(100%, 340px); }
  .guide-h, .stage-label { display: none; } }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip .ico { color: var(--accent); }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 700; margin: 0; }
.card p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.badge { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--b, var(--mint-bg)); color: var(--bi, var(--mint-ink)); }
.badge .ico { width: 22px; height: 22px; }
.b-yellow { --b: var(--yellow-bg); --bi: var(--yellow-ink); }
.b-sky { --b: var(--sky-bg); --bi: var(--sky-ink); }
.b-pink { --b: var(--pink-bg); --bi: var(--pink-ink); }
.b-lav { --b: var(--lavender-bg); --bi: var(--lavender-ink); }
.b-peach { --b: var(--peach-bg); --bi: var(--peach-ink); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } section { padding: 72px 0; } }

/* ---------- spotlight rows ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot + .spot { margin-top: 110px; }
.spot.flip .copy { order: 2; }
.spot h2 { margin: 12px 0 16px; }
.spot ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.spot li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.spot li .ico { color: var(--accent); margin-top: 3px; }
.spot li b { color: var(--text); font-weight: 650; }
.visual { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; min-height: 380px; display: grid; place-items: center; padding: 36px 20px; position: relative; overflow: hidden; }
@media (max-width: 960px) { .spot { grid-template-columns: 1fr; gap: 36px; } .spot.flip .copy { order: 0; } }

/* reminder visual */
.toast { position: absolute; right: 22px; top: 22px; width: 300px; max-width: calc(100% - 44px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 12px; font-size: 14px; z-index: 3; animation: toast 4s ease-in-out infinite; }
.toast svg.logo { width: 34px; height: 34px; }
.toast b { display: block; font-size: 13.5px; }
.toast span { color: var(--muted); font-size: 13px; }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(-10px); } 16%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-10px); } }
.ring { animation: ring 4s ease-in-out infinite; }
@keyframes ring { 0%, 14%, 40%, 100% { rotate: 0deg; } 18% { rotate: -2deg; } 22% { rotate: 2deg; } 26% { rotate: -2deg; } 30% { rotate: 2deg; } 34% { rotate: -1deg; } }
.repeat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.repeat span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(0, 0, 0, .14); }
.repeat span.on { background: var(--ink); color: var(--bg-c); border-color: transparent; }

/* lock visual */
.pinpad { width: 280px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: var(--lavender-bg); color: var(--lavender-ink); font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; }
.pinpad .bar { height: 38px; background: var(--lavender-bar); display: flex; align-items: center; padding: 0 12px; gap: 8px; font-weight: 600; font-size: 13px; }
.pinpad .bar .ico { width: 15px; height: 15px; }
.pinpad .in { padding: 34px 20px 30px; text-align: center; }
.pinpad .lockbig { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; background: rgba(0, 0, 0, .07); display: grid; place-items: center; }
.pinpad .lockbig .ico { width: 26px; height: 26px; }
.dots { display: flex; justify-content: center; gap: 10px; margin: 16px 0 6px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; opacity: .45; }
.dots i.f { background: currentColor; opacity: 1; animation: dot 3.2s infinite; }
.dots i.f:nth-child(2) { animation-delay: .25s; } .dots i.f:nth-child(3) { animation-delay: .5s; }
@keyframes dot { 0%, 10% { transform: scale(.4); opacity: .2; } 20%, 100% { transform: none; opacity: 1; } }
.pinpad small { font-size: 12px; }
.cipher { position: absolute; left: 18px; bottom: 16px; right: 18px; font: 12px/1.4 Consolas, "Cascadia Mono", monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* snap visual */
.snapdemo { position: relative; width: 420px; max-width: 100%; height: 300px; }
.snapdemo .note { position: absolute; width: 190px; height: 210px; font-size: 13px; }
.snapdemo .note .bar { height: 32px; }
.snapdemo .note .body { padding: 10px 12px; }
.snapdemo .a { left: 10px; top: 40px; }
.snapdemo .b { left: 200px; top: 40px; height: 170px; animation: snap2 5s ease-in-out infinite; }
@keyframes snap2 { 0%, 10% { translate: 54px 46px; } 40% { translate: 10px 8px; } 48%, 100% { translate: 0 0; } }
.snapdemo .g { position: absolute; left: 0; right: 0; top: 249px; height: 2px; background: var(--guide); opacity: 0; animation: g2 5s ease-in-out infinite; box-shadow: 0 0 0 3px color-mix(in srgb, var(--guide) 20%, transparent); }
.snapdemo .g.v { top: 30px; bottom: 30px; left: 199px; right: auto; width: 2px; height: auto; }
@keyframes g2 { 0%, 32% { opacity: 0; } 40%, 64% { opacity: 1; } 76%, 100% { opacity: 0; } }
.snapdemo .b { height: 210px; }
@media (max-width: 480px) { .snapdemo { zoom: .74; } .visual { min-height: 300px; } }

/* ---------- colours & fonts ---------- */
.palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.sw { width: 132px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, .06); text-align: left; }
.sw div:first-child { height: 26px; }
.sw div:last-child { height: 74px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.fonts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: 15px; }
.fonts span { display: inline-flex; align-items: baseline; gap: 8px; }
.fonts em { font-style: normal; color: var(--text); font-size: 20px; }

/* ---------- shortcuts ---------- */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.keybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.keybox h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); padding: 16px 0 6px; }
.krow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.krow:first-of-type { border-top: 0; }
.krow span:last-child { display: flex; gap: 4px; }
.keynote { margin-top: 18px; color: var(--muted); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; }
.keynote .ico { color: var(--accent); margin-top: 3px; }
@media (max-width: 760px) { .keys { grid-template-columns: 1fr; } .keybox { padding: 6px 16px; } }

/* ---------- languages ---------- */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.lang { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; min-width: 130px; text-align: center; box-shadow: var(--shadow-sm); }
.lang b { display: block; font-size: 22px; font-weight: 600; }
.lang span { color: var(--muted); font-size: 13px; }

/* ---------- privacy ---------- */
.privacy { background: var(--bg-2); border-block: 1px solid var(--line); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.promise { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.promise .ico { color: var(--accent); width: 24px; height: 24px; }
.promise h3 { font-size: 16.5px; margin: 14px 0 6px; }
.promise p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- download ---------- */
.download { position: relative; }
.dl-card { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; color: #1c1b22; background: linear-gradient(120deg, var(--mint-bar), var(--yellow-bar) 55%, var(--peach-bar)); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.dl-card h2 { color: #1c1b22; }
.dl-card p { color: #3b3946; font-size: 17px; margin: 14px 0 0; }
.dl-card .btn-primary { background: #1c1b22; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.dl-card .btn-primary:hover { background: #000; }
.dl-card .btn-ghost { background: rgba(255, 255, 255, .55); border-color: rgba(0, 0, 0, .12); color: #1c1b22; }
.req { background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .08); border-radius: 18px; padding: 22px 24px; font-size: 14.5px; color: #2a2935; }
.req h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; color: #1c1b22; }
.req div { display: flex; gap: 10px; padding: 6px 0; align-items: flex-start; }
.req .ico { width: 17px; height: 17px; margin-top: 3px; color: #4747c2; }
.smartscreen { margin: 14px 0 0; font-size: 13.5px; background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 10px 12px; }
@media (max-width: 860px) { .dl-card { grid-template-columns: 1fr; padding: 34px 24px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 16.5px; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform .2s ease; color: var(--muted); }
details[open] summary .ico { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- what's new (GitHub release notes) ---------- */
.notes summary small { margin-left: auto; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.notes .body { padding-bottom: 14px; color: var(--muted); }
.notes .body h2 { font-size: 17px; margin: 6px 0 4px; color: var(--text); }
.notes .body h3 { font-size: 15.5px; margin: 14px 0 4px; color: var(--text); }
.notes .body ul { margin: 0 0 8px; padding-left: 20px; }
.notes .body li { margin: 3px 0; }
.notes .body a { color: var(--accent); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--text); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .guide-h, .snapdemo .g { opacity: 1; }
}

/* ---------- one-off overrides (were inline styles) ---------- */
.u1 { position:absolute !important; }
.u2 { stroke-width:2.2 !important; }
.u3 { margin-top:12px !important; }
.u4 { padding-top:24px !important; }
.u5 { width:270px !important; margin-top:64px !important; }
.u6 { padding-top:40px !important; }
.u7 { background:var(--mint-bar) !important; }
.u8 { background:var(--mint-bg) !important; color:var(--mint-ink) !important; }
.u9 { background:var(--yellow-bar) !important; }
.u10 { background:var(--yellow-bg) !important; color:var(--yellow-ink) !important; }
.u11 { background:var(--sky-bar) !important; }
.u12 { background:var(--sky-bg) !important; color:var(--sky-ink) !important; }
.u13 { background:var(--pink-bar) !important; }
.u14 { background:var(--pink-bg) !important; color:var(--pink-ink) !important; }
.u15 { background:var(--lavender-bar) !important; }
.u16 { background:var(--lavender-bg) !important; color:var(--lavender-ink) !important; }
.u17 { background:var(--peach-bar) !important; }
.u18 { background:var(--peach-bg) !important; color:var(--peach-ink) !important; }
.u19 { background:var(--graphite-bar) !important; }
.u20 { background:var(--graphite-bg) !important; color:var(--graphite-ink) !important; }
.u21 { font-family:'Segoe UI',system-ui !important; }
.u22 { font-family:Caveat,cursive !important; }
.u23 { font-family:'Patrick Hand','Segoe Print',cursive !important; }
.u24 { font-family:Merriweather,Georgia,serif !important; }
.u25 { font-family:'JetBrains Mono',Consolas,monospace !important; }
.u26 { padding-top:0 !important; }
.u27 { margin-bottom:0 !important; }
