/* Luminaris Systems — site styles */
:root {
  color-scheme: light dark;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #565b65;
  --line: #e2e2db;
  --accent: #e39b2d;
  --accent-ink: #875200;
  --glow: rgba(232, 163, 61, 0.24);
  --mark-bg: #111318;
  --radius: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --surface: #13161c;
    --ink: #edeef0;
    --muted: #a0a6b0;
    --line: #252a34;
    --accent: #f2b550;
    --accent-ink: #f5c16a;
    --glow: rgba(242, 181, 80, 0.15);
    --mark-bg: #1d212a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #111318; }

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

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; font-size: 16px; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .nav { gap: 16px; font-size: 14px; }
  .nav .hide-sm { display: none; }
}

/* Mark */
.mark-bg { fill: var(--mark-bg); }
.mark-sun { fill: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
  content: ""; position: absolute; top: -40px; right: -160px; width: 900px; height: 620px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 18px; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 680; margin: 0 0 22px; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; margin: 0 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { transform: translateY(-1px); }
.hero-art { width: 100%; max-width: 440px; justify-self: end; }
.hero-art .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.hero-art .horizon { stroke: var(--ink); stroke-width: 2; opacity: .85; }
@media (max-width: 820px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; max-width: 300px; justify-self: start; margin-left: -6px; }
}

/* Sections */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 40em; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 660; margin: 0; text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 6px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
@media (max-width: 560px) { .section { padding: 60px 0; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.product {
  display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.product-top { display: flex; align-items: center; gap: 16px; }
.product-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.product h3 { font-size: 1.5rem; margin: 0; }
.status { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.product p { margin: 0; color: var(--muted); }
.product-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 4px; font-size: 15px; }
.product-links a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.product-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.more { margin: 22px 0 0; color: var(--muted); font-size: 15px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.principles li { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; gap: 26px; } }

/* Company facts */
.facts { display: grid; grid-template-columns: 200px 1fr; margin: 48px 0 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { font-weight: 500; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 2px; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-email { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 650; letter-spacing: -0.02em; color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; word-break: break-word; }
.contact-card { padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card address { font-style: normal; }
.contact-card p { margin: 0 0 6px; }
.muted { color: var(--muted); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; gap: 28px; } }

/* Prose pages */
.page { padding: 56px 0 88px; }
.prose { max-width: 42em; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.35rem; margin: 44px 0 10px; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 8px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; }
.notfound .code { font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--accent-ink); margin: 0 0 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer address { font-style: normal; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-card .note { margin-top: 16px; }
.contact-card a, .facts a { color: var(--accent-ink); text-underline-offset: 3px; }
.f-name { margin: 0 0 4px; }
.f-copy { margin: 12px 0 0; }
.stop-a { stop-color: var(--accent); } .stop-b { stop-color: var(--accent); stop-opacity: .7; }
.nowrap { white-space: nowrap; }
