/* Lumina website — flat design, Lumina teal, system fonts. No external dependencies. */
:root {
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0f766e;          /* Lumina teal; white text on it = 5.5:1 */
  --primary-hover: #115e59;
  --on-primary: #ffffff;
  --primary-text: #0f766e;     /* teal used as text on --bg */
  --mint: #5eead4;
  --border: #d5e7e4;
  --border-strong: #99c9c2;
  --chip-bg: #ccfbf1;
  --chip-text: #134e4a;
  --shot-shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 12px 32px rgb(15 23 42 / 0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1514;
    --bg-soft: #0f1f1d;
    --surface: #13221f;
    --text: #e6f2f0;
    --text-muted: #a7bcb8;     /* 8.9:1 on --bg */
    --primary: #2dd4bf;        /* dark text on it = 10:1 */
    --primary-hover: #5eead4;
    --on-primary: #042f2e;
    --primary-text: #5eead4;
    --border: #23403b;
    --border-strong: #2f5a53;
    --chip-bg: #134e4a;
    --chip-text: #ccfbf1;
    --shot-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw + .5rem, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 2.6vw + .6rem, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
kbd {
  font: 600 .85em/1 var(--mono); padding: .2em .45em; border-radius: 6px;
  border: 1px solid var(--border-strong); border-bottom-width: 2px; background: var(--surface); color: var(--text);
  white-space: nowrap;
}
code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: .05em .35em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--text-muted); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); background: var(--bg-soft); }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-text); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; background: linear-gradient(var(--bg-soft), var(--bg)); }
.hero .icon { width: 96px; height: 96px; margin: 0 auto 18px; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.lede { font-size: clamp(1.1rem, 1vw + .9rem, 1.3rem); color: var(--text-muted); max-width: 44ch; margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { color: var(--text-muted); font-size: .9rem; margin-top: 14px; }
.hero-shot { margin: 48px auto 0; max-width: 1200px; padding: 0 20px; }
/* At-a-glance facts under the hero buttons: plain inline text (no list markers, flex or grid, so WebKit and Blink
   lay it out the same). Each fact never breaks inside; its "·" separator is part of the fact, so a wrapped line can
   end with a dot but never starts with one. */
.facts { margin: 18px auto 0; max-width: 58rem; text-align: center; color: var(--text-muted); font-size: .9rem; line-height: 1.75; text-wrap: balance; }
.facts span { white-space: nowrap; }
.facts span:not(:last-child)::after { content: "\00a0\00b7"; }

.shot { border-radius: 12px; box-shadow: var(--shot-shadow); border: 1px solid var(--border); background: var(--surface); }
figure { margin: 0; }
figcaption { color: var(--text-muted); font-size: .9rem; margin-top: 10px; text-align: center; }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 560px) { section { padding: 64px 0; } .hero { padding-top: 40px; } .section-head { margin-bottom: 36px; } }
section.alt { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-text); margin-bottom: 10px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; max-width: 62ch; margin-inline: auto; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.feature-gap { margin-top: 72px; }
.h3-gap { margin-top: 28px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--text-muted); }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 72px; }
}
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--primary-text); }

/* Preview gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 10px 14px; }
.gallery .shot { box-shadow: none; }
.gallery figcaption { text-align: left; padding: 0 4px; }
.gallery figcaption strong { color: var(--text); display: block; font-size: 1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--chip-bg); color: var(--chip-text); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.card p { color: var(--text-muted); margin: 0; }

/* Shortcuts table */
.keys { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .97rem; }
.keys caption { text-align: left; }
.keys th, .keys td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.keys th { width: 38%; font-weight: 500; }
.keys td { color: var(--text-muted); }

/* Pricing */
.price-card {
  max-width: 520px; margin: 0 auto; background: var(--surface); border: 2px solid var(--primary);
  border-radius: 20px; padding: 36px 32px; text-align: center;
}
.price { font: 800 3.5rem/1 var(--font-display); letter-spacing: -0.03em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.price-card .checks { text-align: left; max-width: 340px; margin: 24px auto 28px; }
.price-card .btn { width: 100%; }
.price-card .fine { margin-top: 14px; }
.price-card .fine.price-note { margin-top: 0; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 650; font-size: 1.08rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 20px; color: var(--text-muted); }

/* Final CTA */
.final { text-align: center; }
.final .icon { width: 88px; height: 88px; margin: 0 auto 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: .95rem; color: var(--text-muted); }
.copyright { margin: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-inline: -8px; }
.site-footer nav a { color: var(--text-muted); text-decoration: none; padding: 8px; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }

/* Long-form pages (legal, changelog, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc h3 { margin-top: 1.6em; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--text-muted); }
.doc.notfound { text-align: center; padding-top: 96px; padding-bottom: 120px; }
.doc.notfound .eyebrow { margin-bottom: 6px; color: var(--primary-text); }
.lede.lede-doc { margin: 0 0 24px; text-align: left; max-width: none; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.doc th, .doc td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
.release { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 32px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-text); vertical-align: middle; margin-left: 8px; letter-spacing: .02em; }
.note { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }

/* Not-yet-live actions (download, buy): look like a button, but are plain text, not links */
.btn.btn-soon, .btn.btn-soon:hover {
  background: var(--bg-soft); color: var(--text-muted); border: 1px dashed var(--border-strong);
  cursor: default; user-select: none;
}
.price-card .btn.btn-soon { white-space: normal; }
@media (max-width: 420px) { .price-card { padding: 28px 20px; } }
@media (max-width: 420px) { .cta-row .btn { width: 100%; } }
.nav .btn.btn-soon { white-space: nowrap; }

/* Quick Actions clip and the actions-per-kind list */
.clip { max-width: 960px; margin: 0 auto; }
.clip img { display: block; width: 100%; height: auto; }
/* Actions by file kind: one collapsible card (native details/summary, closed by default) */
.kinds { max-width: 960px; margin: 40px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.kinds summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; cursor: pointer; font: 600 1.125rem/1.3 var(--font-display); color: var(--text); border-radius: 16px; }
.kinds summary::-webkit-details-marker { display: none; }
.kinds summary::marker { content: ""; }
.kinds summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.kinds summary svg { flex: none; width: 20px; height: 20px; color: var(--text-muted); transition: transform .2s ease; }
.kinds summary:hover svg { color: var(--primary-text); }
.kinds[open] summary { border-bottom: 1px solid var(--border); border-radius: 16px 16px 0 0; }
.kinds[open] summary svg { transform: rotate(180deg); }
.kinds dl { margin: 0; padding: 4px 28px 12px; }
.kinds dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 14px 0; }
.kinds dl div + div { border-top: 1px solid var(--border); }
.kinds dt { font-weight: 650; color: var(--text); }
.kinds dd { margin: 0; color: var(--text-muted); }
@media (max-width: 560px) {
  .kinds summary { padding: 16px 18px; font-size: 1.05rem; }
  .kinds dl { padding: 2px 18px 8px; }
  .kinds dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
}

/* "Make it yours": one composed image of stacked windows (transparent background, works on light and dark pages) */
.themes { max-width: 1160px; margin: 0 auto; }
.themes img { display: block; width: 100%; height: auto; }
.themes-checks { max-width: 640px; margin: 32px auto 0; }
