/* NeoPad website. One stylesheet, no frameworks, no web fonts (the system's own UI font). */
:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0b0d14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef6;
  --muted: #9aa1b5;
  --dim: #6b7286;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --green: #34d399;
  --grad: linear-gradient(120deg, #a78bfa 0%, #818cf8 45%, #22d3ee 100%);
  --grad-btn: linear-gradient(135deg, #8b5cf6 0%, #6366f1 60%, #4f8cf7 100%);
  --radius: 18px;
  --max: 1180px;
  --sans: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SF Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
::selection { background: rgba(139, 92, 246, 0.45); }
:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- Background: soft glows + a faint grid ---------- */
.bg-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.bg-glow::before { width: 720px; height: 520px; left: 50%; top: -220px; transform: translateX(-70%); background: radial-gradient(closest-side, rgba(139, 92, 246, 0.55), transparent); }
.bg-glow::after { width: 640px; height: 480px; left: 50%; top: -120px; transform: translateX(5%); background: radial-gradient(closest-side, rgba(34, 211, 238, 0.32), transparent); }
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7, 8, 13, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 13, 0.82); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 42px; height: 38px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 30px -8px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(124, 92, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { background: var(--panel); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.24); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 40px; text-align: center; }
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); font-size: 14px; color: #d4ccff;
}
.eyebrow b { background: var(--grad-btn); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); margin: 26px auto 22px; max-width: 960px; letter-spacing: -0.04em; line-height: 1.02; }
.hero .lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dim); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); }

/* App window frame around screenshots */
.shot-frame {
  position: relative; border-radius: 16px; padding: 7px; margin-top: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 30px 140px -50px rgba(124, 92, 255, 0.55);
}
.shot-frame img { border-radius: 11px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #12131a; }
.hero .shot-frame { max-width: 1120px; margin-inline: auto; }
.hero .shot-frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: 17px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(167, 139, 250, 0.7), transparent 35%, transparent 65%, rgba(34, 211, 238, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; text-align: left;
  background: rgba(14, 16, 26, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); font-size: 13.5px; color: var(--muted);
}
.chip strong { display: block; color: var(--text); font-size: 17px; letter-spacing: -0.01em; }
.chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(139, 92, 246, 0.16); color: #c4b5fd; flex: none; }
.chip .dot svg { width: 18px; height: 18px; }
.chip-a { left: -28px; bottom: 16%; }
.chip-b { right: -28px; top: 18%; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #a78bfa; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; letter-spacing: -0.035em; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* Speed numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat .num small { font-size: 22px; font-weight: 600; margin-left: 3px; color: var(--muted); }
.stat .what { margin-top: 10px; color: var(--muted); font-size: 15px; }
.footnote { text-align: center; color: var(--dim); font-size: 13.5px; margin-top: 16px; }

/* Tabs with screenshots */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 15px; font-weight: 500;
  transition: all 0.2s;
}
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-selected="true"] { color: #fff; background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.5); }
.tab-panel { display: grid; grid-template-columns: 1fr 1.9fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 30px; margin-bottom: 14px; }
.tab-panel p { color: var(--muted); }
.tab-panel .shot-frame { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: rgba(52, 211, 153, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Two-column feature rows */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-row + .split-row { margin-top: 110px; }
.split-row.flip .split-text { order: 2; }
.split-text h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; letter-spacing: -0.03em; }
.split-text p { color: var(--muted); font-size: 17.5px; }
.split-row .shot-frame { margin-top: 0; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #67e8f9; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25); padding: 4px 11px; border-radius: 999px; margin-bottom: 18px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover { border-color: rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.045); transform: translateY(-2px); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(140deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.15)); color: #ddd6fe; border: 1px solid rgba(167, 139, 250, 0.25); }
.card .ico svg { width: 22px; height: 22px; }
.card h4 { font-size: 18.5px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .pro { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.35); padding: 2px 8px; border-radius: 999px; }
.card.wide { grid-column: span 2; }

/* Privacy band */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, rgba(139, 92, 246, 0.14), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(34, 211, 238, 0.1), transparent 55%), var(--bg-2); }
.privacy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.privacy p { color: var(--muted); font-size: 17.5px; }
.priv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.priv-item { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.priv-item b { display: block; margin-bottom: 4px; font-size: 15.5px; }
.priv-item span { color: var(--muted); font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.plan.featured { background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(99, 102, 241, 0.05) 40%, rgba(255, 255, 255, 0.02)); border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 40px 100px -40px rgba(124, 92, 255, 0.6); }
.plan .badge { position: absolute; top: -13px; left: 32px; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--grad-btn); color: #fff; }
.plan .badge.soon { background: rgba(255, 255, 255, 0.1); color: var(--muted); border: 1px solid var(--line-2); }
.plan h3 { font-size: 21px; margin-bottom: 6px; }
.plan .desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price .amount { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; }
.price .per { color: var(--muted); font-size: 15px; }
.plan .sub { color: var(--dim); font-size: 13.5px; margin-bottom: 22px; }
.plan .checks { margin: 22px 0 0; }
.plan .btn { width: 100%; margin-top: auto; }
.plan .spacer { flex: 1; min-height: 24px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; }

/* Final call to action */
.cta-band { text-align: center; padding: 90px 32px; border-radius: 30px; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--bg-2); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 0%, rgba(139, 92, 246, 0.3), transparent 70%), radial-gradient(50% 70% at 50% 110%, rgba(34, 211, 238, 0.16), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band img.mark { width: 72px; height: 72px; margin: 0 auto 26px; filter: drop-shadow(0 18px 40px rgba(124, 92, 255, 0.55)); }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 16px; letter-spacing: -0.035em; }
.cta-band p { color: var(--muted); font-size: 18.5px; margin-bottom: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 110px; padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h5 { color: var(--text); font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot .brand { color: var(--text); margin-bottom: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }

/* Plain pages (privacy, terms, changelog) */
.page-hero { position: relative; padding: 80px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.035em; margin-bottom: 14px; position: relative; }
.page-hero p { color: var(--muted); font-size: 18.5px; position: relative; max-width: 680px; margin: 0 auto; }
.prose { max-width: 760px; margin: 0 auto; padding: 40px 0 0; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: #c3c8d6; font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--dim); font-size: 14px; }
.note-box { padding: 16px 20px; border-radius: 14px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: #fde68a; font-size: 15px; }

.release { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.release:first-child { padding-top: 10px; }
.release .ver { font-weight: 700; font-size: 20px; }
.release .date { color: var(--dim); font-size: 14px; margin-top: 4px; }
.release .latest { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--green); }
.release ul { margin: 0; padding-left: 20px; }
.release li { color: #c3c8d6; margin-bottom: 8px; }

/* Download page */
.dl-card { max-width: 760px; margin: 40px auto 0; padding: 44px; border-radius: 26px; text-align: center; border: 1px solid rgba(139, 92, 246, 0.35); background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.02)); position: relative; }
.dl-card img.mark { width: 84px; height: 84px; margin: 0 auto 22px; filter: drop-shadow(0 18px 40px rgba(124, 92, 255, 0.5)); }
.dl-card h2 { font-size: 30px; margin-bottom: 8px; }
.dl-meta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; color: var(--dim); font-size: 14px; margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.step { padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: rgba(139, 92, 246, 0.18); color: #ddd6fe; margin-bottom: 14px; }
.step b { display: block; margin-bottom: 6px; }
.step span { color: var(--muted); font-size: 15px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1020px) {
  .tab-panel, .split-row, .privacy { grid-template-columns: 1fr; gap: 32px; }
  .split-row.flip .split-text { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chip-a { left: 12px; bottom: 12px; }
  .chip-b { right: 12px; top: 12px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .site-header.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 16px 22px; gap: 16px; margin: 0; background: rgba(7, 8, 13, 0.97); border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero { padding-top: 56px; }
  .section { padding: 76px 0; }
  .chip { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .privacy { padding: 30px 22px; }
  .priv-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 10px; }
  .cta-band { padding: 64px 20px; }
  .dl-card { padding: 30px 20px; }
  .foot { grid-template-columns: 1fr; }
}

/* Screenshots zoomed onto their right side (the email tools panel) */
.shot-frame.zoom-right img { aspect-ratio: 5 / 4; object-position: right top; }

/* ---------- Theme switch ---------- */
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.theme-btn:hover { color: var(--text); border-color: rgba(139, 92, 246, 0.5); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
html[data-theme="light"] .theme-btn .sun { display: block; }
html[data-theme="light"] .theme-btn .moon { display: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-tools .nav-cta { margin-left: 0; }
@media (max-width: 760px) { .nav-tools { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* ---------- Light theme ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --panel: rgba(15, 23, 42, 0.028);
  --panel-2: rgba(15, 23, 42, 0.055);
  --line: rgba(15, 23, 42, 0.09);
  --line-2: rgba(15, 23, 42, 0.16);
  --text: #0c1222;
  --muted: #4a5266;
  --dim: #6b7286;
  --grad: linear-gradient(120deg, #7c3aed 0%, #4f46e5 45%, #0891b2 100%);
}
html[data-theme="light"] .site-header { background: rgba(246, 247, 251, 0.7); }
html[data-theme="light"] .site-header.scrolled { background: rgba(246, 247, 251, 0.9); }
html[data-theme="light"] .site-header.open .nav-links { background: rgba(255, 255, 255, 0.98); }
html[data-theme="light"] .bg-glow::before { opacity: 0.35; }
html[data-theme="light"] .bg-glow::after { opacity: 0.3; }
html[data-theme="light"] .bg-grid { background-image: linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px); }
html[data-theme="light"] .eyebrow { color: #5b21b6; background: rgba(139, 92, 246, 0.09); }
html[data-theme="light"] .kicker { color: #6d28d9; }
html[data-theme="light"] .tag { color: #0e7490; background: rgba(8, 145, 178, 0.08); border-color: rgba(8, 145, 178, 0.25); }
html[data-theme="light"] .tab[aria-selected="true"] { color: #4c1d95; background: rgba(139, 92, 246, 0.1); }
html[data-theme="light"] .card .ico { color: #6d28d9; background: linear-gradient(140deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.1)); }
html[data-theme="light"] .card .pro { color: #6d28d9; }
html[data-theme="light"] .card:hover { background: rgba(139, 92, 246, 0.04); }
html[data-theme="light"] .card, html[data-theme="light"] .plan, html[data-theme="light"] .stats, html[data-theme="light"] .step, html[data-theme="light"] .priv-item { background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18); }
html[data-theme="light"] .plan.featured { background: linear-gradient(180deg, rgba(139, 92, 246, 0.1), #ffffff 45%); }
html[data-theme="light"] .plan .badge.soon { background: #eef0f6; color: var(--muted); }
html[data-theme="light"] .privacy { background: radial-gradient(120% 140% at 0% 0%, rgba(139, 92, 246, 0.1), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(34, 211, 238, 0.08), transparent 55%), #ffffff; }
html[data-theme="light"] .cta-band { background: #ffffff; }
html[data-theme="light"] .shot-frame { background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)); box-shadow: 0 40px 90px -36px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.05), 0 30px 120px -50px rgba(124, 92, 255, 0.45); }
html[data-theme="light"] .chip { background: rgba(255, 255, 255, 0.92); }
html[data-theme="light"] .chip .dot { color: #6d28d9; }
html[data-theme="light"] .prose p, html[data-theme="light"] .prose li, html[data-theme="light"] .release li { color: #2f3648; }
html[data-theme="light"] .prose a { color: #6d28d9; }
html[data-theme="light"] .note-box { color: #854d0e; background: rgba(251, 191, 36, 0.12); border-color: rgba(217, 119, 6, 0.35); }
html[data-theme="light"] .step .n { color: #5b21b6; }
html[data-theme="light"] .dl-card { background: linear-gradient(180deg, rgba(139, 92, 246, 0.1), #ffffff); }
html[data-theme="light"] .checks li::before { background-color: rgba(16, 185, 129, 0.12); }
html[data-theme="light"] ::selection { background: rgba(139, 92, 246, 0.25); }
