:root {
  --bg-top: #e9f6f8;
  --bg-mid: #f5f4fb;
  --bg-bottom: #fbf7ee;
  --card: #ffffff;
  --card-border: #ebe9f3;
  --text: #1d1b2c;
  --muted: #5f5c75;
  --faint: #8f8ca3;
  --accent: #7b5cf0;
  --accent-2: #a084ff;
  --accent-soft: #efeaff;
  --shadow: 0 18px 50px rgba(48, 32, 120, 0.10);
  --radius: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #131a24;
    --bg-mid: #16141f;
    --bg-bottom: #1c1820;
    --card: #201e2b;
    --card-border: #2f2c3e;
    --text: #f2f0fa;
    --muted: #b3afc8;
    --faint: #827e99;
    --accent: #8f74ff;
    --accent-2: #b09bff;
    --accent-soft: #2d2547;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(170deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%) fixed;
  background-color: var(--bg-mid);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg-mid) 78%, transparent);
  border-bottom: 1px solid var(--card-border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
nav.links { display: flex; gap: 22px; align-items: center; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: var(--accent); }
@media (max-width: 720px) { nav.links a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid var(--card-border); color: var(--text); background: var(--card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { color: #fff; border: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.disabled { opacity: .55; pointer-events: none; }

/* Hero */
.hero { padding: 84px 0 40px; text-align: center; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px auto 18px; max-width: 820px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { color: var(--faint); font-size: 14px; margin-top: 14px; }

.shot {
  margin: 48px auto 0; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--card-border); box-shadow: var(--shadow); background: var(--card);
}

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; text-align: center; }
section p.sub { color: var(--muted); text-align: center; max-width: 680px; margin: 0 auto 44px; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 21px; }

/* Showcase rows */
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; margin: 0 0 72px; }
.row.flip { grid-template-columns: 1.25fr 1fr; }
.row.flip .text { order: 2; }
.row > * { min-width: 0; }
.row .text h3 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.2; }
.row .text p { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.row .text ul { color: var(--muted); padding-left: 20px; margin: 0; }
.row .text li { margin: 6px 0; }
.row img { border-radius: 16px; border: 1px solid var(--card-border); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 22px; }
  .row.flip .text { order: 0; }
}
kbd { background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 1px 7px; font-family: inherit; font-weight: 700; font-size: .9em; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.price { position: relative; text-align: center; padding: 34px 28px; }
.price.best { border: 2px solid var(--accent); }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.price .amount { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.price .per { color: var(--muted); margin: 0 0 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); text-align: left; }
.price li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--card-border); }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.trial { text-align: center; color: var(--muted); margin-top: 22px; }

/* Download */
.download { text-align: center; }
.download .card { max-width: 640px; margin: 0 auto; padding: 36px; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.reqs { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 18px 22px; margin: 0 0 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--card-border); padding: 34px 0 46px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--accent); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--faint); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; text-align: left; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal .card { margin: 18px 0; }

/* Forms */
.form { display: grid; gap: 16px; padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text); }
.form .req { color: var(--accent); }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg-mid);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.form-status { margin: 0; color: var(--accent); font-weight: 600; min-height: 1.2em; }
.form .fine { margin: 0; font-size: 14px; color: var(--faint); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.download .install { text-align: left; margin: 22px auto 0; max-width: 520px; }
.download .install h3 { margin: 0 0 6px; font-size: 17px; }
.download .install ol { color: var(--muted); padding-left: 20px; margin: 0 0 8px; font-size: 15.5px; }
.download .install li { margin: 6px 0; }
.download .install p { color: var(--faint); font-size: 14px; margin: 0; }
