:root {
  --bg: #ffffff; --bg-soft: #f4f5fb; --text: #14151a; --muted: #5d6070; --line: #e3e5ef;
  --accent: #3d6bf0; --accent-2: #7340d9; --card: #ffffff; --screen: #e9ecf8; --dock: #2a2c3a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f14; --bg-soft: #14161e; --text: #f2f3f8; --muted: #9a9db0; --line: #262938;
    --accent: #6f93ff; --accent-2: #9a74f0; --card: #181a24; --screen: #1f2230; --dock: #dfe2f2;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { width: 100%; max-width: 740px; margin: 0 auto; padding: 0 20px; }

/* Header / footer */
header.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a.on, .nav nav a:hover { color: var(--text); text-decoration: none; }
footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 30px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Buttons and headings */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 17px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(25px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
h3 { margin: 0 0 6px; font-size: 19px; }
.lead { max-width: 640px; color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); margin: 0; }
.center { text-align: center; } .center .lead { margin: 0 auto; }
.sub { color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.center .sub, .sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Home hero */
.hero { text-align: center; padding: 56px 0 28px; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 40px rgba(80, 70, 200, .30); margin-bottom: 26px; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.price-note { color: var(--muted); font-size: 15px; }
.req { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Page header for inner pages */
.page-head { padding: 54px 0 34px; }
.page-head .lead { max-width: 680px; }

/* Sections, cards, grids */
section { padding: 56px 0 8px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; font-size: 15px; }
.soft { background: var(--bg-soft); margin-top: 64px; padding: 64px 0 72px; }
.soft section { padding: 0; }
.banner { text-align: center; padding: 44px 20px; border-radius: 24px; background: var(--bg-soft); margin-top: 64px; }

/* Prose pages (privacy, terms, about) */
.prose h2 { font-size: 24px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--text); }
.meta { color: var(--muted); font-size: 15px; }

/* Settings table */
.settings { width: 100%; border-collapse: collapse; margin-top: 8px; }
.settings th, .settings td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.settings th { width: 32%; font-weight: 600; }
.settings td { color: var(--muted); }

/* Pricing */
.price { max-width: 440px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px 28px; }
.price .big { font-size: 64px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.price .big small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; color: var(--muted); font-size: 16px; }
.price li { padding: 7px 0 7px 28px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.faq-group { margin: 34px 0 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Animated demo: the Dock follows the pointer to the other screen. */
.scene { position: relative; width: min(640px, 92%); aspect-ratio: 2 / 1; margin: 44px auto 0; }
.screen { position: absolute; top: 0; bottom: 14%; width: 48.5%; background: var(--screen); border: 2px solid var(--line); border-radius: 14px; }
.screen.a { left: 0; } .screen.b { right: 0; }
.stand { position: absolute; bottom: 5%; height: 9%; width: 14%; background: var(--line); border-radius: 6px; }
.stand.a { left: 17%; } .stand.b { right: 17%; }
.dock { position: absolute; top: 12%; height: 56%; width: 3.2%; border-radius: 99px; background: var(--dock); opacity: .9; animation: dock 12s ease-in-out infinite; }
.cursor { position: absolute; top: 40%; width: 22px; height: 22px; animation: cursor 12s ease-in-out infinite; }
.cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.zone { position: absolute; top: 0; bottom: 0; right: 0; width: 20%; border-radius: 0 12px 12px 0; border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent); opacity: 0; animation: zone 12s ease-in-out infinite; }
@keyframes dock   { 0%,52% { left: 2.6%; } 58%,93% { left: 94.2%; } 100% { left: 2.6%; } }
@keyframes cursor { 0%,36% { left: 18%; } 48%,88% { left: 84%; } 98%,100% { left: 18%; } }
@keyframes zone   { 0%,44% { opacity: 0; } 48%,56% { opacity: 1; } 60%,100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dock, .cursor, .zone { animation: none; } .dock { left: 2.6%; } .cursor { left: 40%; } }

/* Screenshots */
.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 20, 60, .18); }
.shots figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
