/* Omnia Lux Labs — single stylesheet, no external dependencies. */
:root {
  --bg: #0b1020;
  --bg-2: #111832;
  --card: #151d3a;
  --line: #24305a;
  --text: #e9ecf5;
  --muted: #a3acc4;
  --accent: #ffc861;
  --accent-2: #ff8a4c;
  --link: #ffd58a;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbf9f4;
    --bg-2: #f3efe5;
    --card: #ffffff;
    --line: #e6e0d2;
    --text: #15182a;
    --muted: #5b6075;
    --accent: #e09b14;
    --accent-2: #e2632a;
    --link: #a5620a;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand img { width: 30px; height: 30px; }
.brand span small { font-weight: 500; color: var(--muted); }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--text); }
@media (max-width: 560px) { nav a { margin-left: 14px; } nav .hide-sm { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%);
  pointer-events: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); font-weight: 700; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
h1 .glow { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 6px; }
section { padding: 56px 0; }
.section-intro { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600;
  text-decoration: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #1a1205; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip.soon { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .15s ease, border-color .15s ease; }
.app-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.app-card header { display: flex; align-items: center; gap: 14px; }
.app-card .icon { width: 60px; height: 60px; border-radius: 16px; flex: none; }
.app-card p { margin: 0; color: var(--muted); }
.app-card .more { margin-top: auto; color: var(--link); font-weight: 600; font-size: 15px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.principle { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.principle p { margin: 0; color: var(--muted); font-size: 16px; }
.principle .mark { font-size: 22px; margin-bottom: 8px; }

/* App page */
.app-hero { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.app-hero .icon { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 18px 50px -18px rgba(0,0,0,.6); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.features li { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.features li strong { display: block; margin-bottom: 2px; }
.features li span { color: var(--muted); font-size: 15.5px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; width: 220px; scroll-snap-align: start; }
.shots img { border-radius: 22px; border: 1px solid var(--line); aspect-ratio: 540 / 1140; object-fit: cover; background: var(--bg-2); }
.shots figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.callout { padding: 22px 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { margin: 4px 0; }
.note { font-size: 14.5px; color: var(--muted); }

/* Long-form (policies) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { margin-top: 26px; font-size: 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 14px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 600; }
.prose code { font-size: 14px; background: var(--bg-2); padding: 1px 6px; border-radius: 6px; }
.meta { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 46px; color: var(--muted); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer nav a { margin: 0 18px 0 0; }
h1.tight { margin-bottom: 8px; }
h1.doc-title { font-size: clamp(32px, 5vw, 44px); }
.after-list { margin: 12px 0 0; }
.app-card .icon, .app-hero .icon { outline: 1px solid color-mix(in srgb, var(--text) 14%, transparent); outline-offset: -1px; }
