/* Luminar site. One dark look: the product is light in a dark room.
   Apple-style: system font, tight display tracking, translucent nav, pill buttons. */
:root {
  --bg: #08080b;
  --surface: #121217;
  --fg: #f5f5f7;
  --fg-body: #c7c7ce;
  --fg-muted: #a1a1aa;
  --fg-faint: #8a8a94;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #ff5a9c;
  --accent-hover: #ff85b6;
  --glow-blue: rgba(70, 86, 255, 0.55);
  --glow-pink: rgba(240, 48, 127, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: var(--gutter-l); color: var(--bg); }

.wrap { max-width: 1160px; margin: 0 auto; }
.wrap-narrow { max-width: 920px; margin: 0 auto; }
.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Nav: translucent material, content scrolls under it */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 11, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { max-width: 1200px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { color: var(--fg); }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-link { color: var(--fg-body); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--fg); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 17px; font-weight: 600; white-space: nowrap;
  transition: transform 100ms ease-out, background-color 150ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-md { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-primary, .btn-primary:hover { color: var(--bg); }
.btn-primary { background: var(--fg); }
.btn-primary:hover { background: #fff; }
.btn-ghost, .btn-ghost:hover { color: var(--fg); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* Type */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }
.display { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--fg-muted); text-wrap: pretty; }
.body-lg { font-size: 19px; line-height: 1.55; color: var(--fg-muted); max-width: 30em; }
.muted { color: var(--fg-muted); }
.stack { display: flex; flex-direction: column; }
.shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); }

/* Home: hero */
.hero { padding-top: 112px; text-align: center; overflow-x: clip; }
.hero-copy { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-copy .lead { max-width: 620px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; padding-top: 8px; }
.hero-note { font-size: 13px; color: var(--fg-faint); }
.hero-media { position: relative; max-width: 1160px; margin: 88px auto 0; }
.hero-media::before {
  content: ""; position: absolute; inset: -12% -6% -18%; opacity: 0.6; pointer-events: none; filter: blur(40px);
  background:
    radial-gradient(ellipse 45% 55% at 22% 50%, var(--glow-blue), transparent 70%),
    radial-gradient(ellipse 45% 55% at 78% 50%, var(--glow-pink), transparent 70%);
}
.hero-media img { position: relative; border-radius: 24px; }

/* Home: sections */
.section { padding-top: 160px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
@media (max-width: 900px) {
  .split, .split-wide, .three { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section { padding-top: 112px; }
}
.copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.specs dt { font-size: 15px; font-weight: 600; }
.specs dd { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--fg-muted); }
@media (max-width: 420px) { .specs { grid-template-columns: minmax(0, 1fr); } }

.feature { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.feature svg { width: 32px; height: 32px; color: var(--accent); }
.feature h3 { font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.feature p { color: var(--fg-muted); line-height: 1.55; }

.rows { list-style: none; padding: 0; display: flex; flex-direction: column; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows span + span { color: var(--fg-muted); font-variant-numeric: tabular-nums; text-align: right; }

.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 28px; padding: clamp(28px, 6vw, 72px); }
.desktop { display: flex; flex-direction: column; gap: 48px; }
.desktop-head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.steps { list-style: none; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.step-no { font-size: 15px; font-weight: 600; color: var(--fg-faint); }
.step-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.step-text { font-size: 16px; line-height: 1.5; color: var(--fg-muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.closing { padding-top: 160px; padding-bottom: 144px; text-align: center; }
.closing .wrap { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.closing img { width: 168px; height: 168px; }
.closing h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }

/* Inner pages */
.page { padding-top: 104px; padding-bottom: 128px; }
.page-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 64px; }
.page-head .lead { max-width: 34em; }

.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.release:last-child { border-bottom: 1px solid var(--line); }
.release-meta { display: flex; flex-direction: column; gap: 6px; }
.release-ver { display: flex; align-items: center; gap: 10px; }
.release h2 { font-size: 28px; letter-spacing: -0.02em; font-weight: 700; font-variant-numeric: tabular-nums; }
.release time { font-size: 15px; color: var(--fg-faint); }
.release ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--fg-body); }
.release li::marker { color: #6b6b75; }
.pill { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bg); background: var(--accent); border-radius: 999px; padding: 3px 9px; }

.check { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.check:last-of-type { border-bottom: 1px solid var(--line); }
.check-no { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.check-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.check h2 { font-size: 26px; letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
.check p { color: var(--fg-body); line-height: 1.6; }
.check strong { color: var(--fg); font-weight: 600; }
.check img { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); }
.path { font-size: 15px; line-height: 2; color: var(--fg); background: rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 4px 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 20px; min-width: 160px; }
.stat b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--fg-muted); }
@media (max-width: 720px) {
  .release, .check { grid-template-columns: minmax(0, 1fr); padding: 32px 0; }
  .check { gap: 16px; }
}

.callout { margin-top: 64px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.callout h2 { font-size: 22px; letter-spacing: -0.015em; font-weight: 600; }
.callout p { color: var(--fg-muted); }

.prose { display: flex; flex-direction: column; gap: 20px; color: var(--fg-body); line-height: 1.65; max-width: 40em; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; font-weight: 600; color: var(--fg); padding-top: 28px; }
.prose ul { padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding-top: 32px; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; font-size: 13px; color: var(--fg-faint); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 20px; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --fg-muted: #d4d4da; --fg-faint: #c0c0c8; --line: rgba(255, 255, 255, 0.3); }
}

/* Video clips with a pause control */
.clip { position: relative; min-width: 0; }
.shot-square { aspect-ratio: 1 / 1; background: var(--surface); }
.clip-toggle {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg); background: rgba(8, 8, 11, 0.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 100ms ease-out, background-color 150ms ease-out;
}
.clip-toggle:hover { background: rgba(8, 8, 11, 0.75); }
.clip-toggle:active { transform: scale(0.94); }
.clip-toggle svg { width: 18px; height: 18px; }
.clip-toggle .i-play, .clip-toggle.is-paused .i-pause { display: none; }
.clip-toggle.is-paused .i-play { display: block; }
.clip-toggle[hidden] { display: none; }
@media (prefers-reduced-transparency: reduce) { .clip-toggle { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
