/* Same palette as the app (src/renderer/styles.css). */
:root {
  color-scheme: dark;
  --bg: #111317;
  --bg-2: #171a1f;
  --panel: #1c2026;
  --panel-2: #222730;
  --border: #2c323c;
  --text: #e6e9ee;
  --muted: #9aa3b0;
  --faint: #6b7380;
  --accent: #7c6cff;
  --accent-2: #9b8fff;
  --teal: #4fd1c5;
  --ok: #3ccf8e;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--panel-2); padding: 1px 5px; border-radius: 5px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(17, 19, 23, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--teal)); }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--muted); font-size: 15px; }
.top-nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-weight: 600; color: #fff; background: var(--accent); border: 1px solid transparent; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--panel); }

/* Hero */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px -10% auto; height: 620px; background: radial-gradient(closest-side, rgba(124, 108, 255, 0.22), transparent), radial-gradient(closest-side at 70% 40%, rgba(79, 209, 197, 0.12), transparent); pointer-events: none; }
.hero-inner { position: relative; text-align: center; max-width: 1020px; }
.eyebrow { color: var(--accent-2); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 750; }
.grad { background: linear-gradient(90deg, var(--accent-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 19px); margin: 22px auto 0; max-width: 720px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.fine { color: var(--faint); font-size: 14px; margin-top: 16px; }

/* Screenshots */
.shot { margin: 40px 0 0; }
.shot img { border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 108, 255, 0.08); }
.shot figcaption { color: var(--faint); font-size: 14px; text-align: center; margin-top: 14px; }
.hero-shot { position: relative; margin-top: 64px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Sections */
.section { padding: 88px 0; scroll-margin-top: 60px; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; text-align: center; }
.head { text-align: center; max-width: 760px; margin: 0 auto; }
.kicker { color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.sub { color: var(--muted); text-align: center; max-width: 680px; margin: 14px auto 0; }

.ticks { list-style: none; padding: 0; margin: 40px auto 0; display: grid; gap: 16px 40px; max-width: 980px; }
.ticks.cols { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ok); background: rgba(60, 207, 142, 0.12); }
.ticks b { color: var(--text); font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--teal)); margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tile { display: block; color: inherit; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.tile:hover { text-decoration: none; border-color: rgba(124, 108, 255, 0.5); transform: translateY(-2px); }
.tile img { border-bottom: 1px solid var(--border); }
.tile h3 { font-size: 18px; margin: 18px 20px 8px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0 20px 20px; }
.tile b { color: var(--text); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

details { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); margin-top: 12px; }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 20px 18px; }

.final { text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--faint); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .top-inner { justify-content: space-between; }
  .hero { padding: 56px 0 48px; }
  .hero-shot { margin-top: 40px; }
  .steps, .gallery, .grid, .ticks.cols { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .shot { margin-top: 28px; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
