/* Moray pages on vlightsoft.com — standalone (no site bundle), light + dark */
:root {
  --bg: #f7f7fc; --surface: #ffffff; --surface-2: #eef0fb; --text: #151a3d; --muted: #5c6285;
  --line: #dfe2f2; --brand: #3346d3; --brand-2: #1e2a8c; --accent: #f5a524; --ok: #1f9d63; --warn-bg: #fff6e5; --warn: #8a5a00;
  --shadow: 0 1px 2px rgba(21, 26, 61, .05), 0 8px 24px rgba(21, 26, 61, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14; --surface: #0f1729; --surface-2: #131e34; --text: #f4f7fd; --muted: #98a8bf;
    --line: #1f2b45; --brand: #7d8cff; --brand-2: #a9b3ff; --accent: #f5b544; --ok: #45d597; --warn-bg: #2a2110; --warn: #f5c56b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: Manrope, Inter, system-ui, sans-serif; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: 1.35rem; margin-top: 2rem; }
h3 { font-size: 1.05rem; margin-top: 1.25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin: .25rem 0; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: Manrope, Inter, sans-serif; font-weight: 800; letter-spacing: .12em; }
.brand img { width: 30px; height: 31px; }
.brand small { font-weight: 600; letter-spacing: 0; color: var(--muted); font-size: .8rem; }
.top nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.hero { padding: 56px 0 32px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; border: 0; font-size: 1rem; cursor: pointer; }
@media (prefers-color-scheme: dark) { .btn { color: #0b1030; } }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.note { color: var(--muted); font-size: .9rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 16px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 10px; font-size: 1.1rem; }

.plans { margin-bottom: 14px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan .price { font-family: Manrope, Inter, sans-serif; font-size: 1.6rem; font-weight: 800; }
.plan .price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan.best { border: 2px solid var(--brand); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--brand); margin-left: 6px; vertical-align: middle; }

.doc { padding: 40px 0 24px; }
.doc .meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.doc h2 { padding-top: 1rem; border-top: 1px solid var(--line); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 1.5rem; }
.toc ol { margin: 0; columns: 2 220px; }
.callout { background: var(--surface-2); border-radius: 14px; padding: 16px 18px; margin: 1rem 0 1.25rem; }
.callout.warn { background: var(--warn-bg); color: var(--warn); }
.callout > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .94rem; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .steps li::before { color: #0b1030; } }

.center { text-align: center; }
.bounce { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 40px 0; }
.bounce .card { max-width: 440px; width: 100%; text-align: center; padding: 32px 22px; }
.bounce img { width: 56px; height: 58px; margin-bottom: 8px; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 36px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a { color: var(--muted); }
footer .sp { margin-left: auto; }
@media (max-width: 640px) {
  .top nav { margin-left: 0; width: 100%; padding-bottom: 8px; }
  .hero { padding-top: 36px; }
  footer .sp { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .top, footer, .actions { display: none; } body { background: #fff; color: #000; } }
