/* lumenview.app: no scripts, no external requests. Colours follow the app.
   Every animation is CSS and stops with "Reduce motion". */
:root {
  --night: #0B1426;
  --night-2: #101C33;
  --panel: #15223D;
  --line: #24345A;
  --gold: #C9A96E;
  --gold-light: #E9C27A;
  --text: #EEF1F7;
  --muted: #A3AECA;
  --warn: #E58A9C;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(11 20 38 / 0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 22px/1 var(--serif); }
.brand img { border-radius: 8px; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav .nav-cta { color: var(--night); background: var(--gold-light); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { color: var(--night); background: #fff; }
@media (max-width: 560px) { .site-nav a:not(.nav-cta):nth-child(n+3) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: 0.32; }
.aurora span:nth-child(1) { background: radial-gradient(closest-side, #E9C27A, transparent); top: -35vmax; left: -15vmax; animation: drift1 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: radial-gradient(closest-side, #3D5BA8, transparent); top: -20vmax; right: -30vmax; animation: drift2 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: radial-gradient(closest-side, #B35C7A, transparent); bottom: -45vmax; left: 20vmax; opacity: 0.18; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-10vmax, -12vmax) scale(1.2); } }

.hero-grid { position: relative; display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.launch { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border: 1px solid rgb(233 194 122 / 0.45); border-radius: 999px; background: rgb(233 194 122 / 0.08); color: var(--gold-light); font-size: 14px; animation: rise 700ms 100ms cubic-bezier(.2,.7,.2,1) both; }
.launch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgb(233 194 122 / 0.7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(233 194 122 / 0.7); } 80%, 100% { box-shadow: 0 0 0 12px rgb(233 194 122 / 0); } }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -0.015em; }
h1 .w { display: inline-block; animation: rise 800ms cubic-bezier(.2,.7,.2,1) both; }
h1 .w:nth-child(1) { animation-delay: 180ms; }
h1 .w:nth-child(2) { animation-delay: 300ms; }
h1 .shine { display: inline-block; animation: rise 900ms 460ms cubic-bezier(.2,.7,.2,1) both, shine 7s 1.4s ease-in-out infinite; }
.shine {
  background: linear-gradient(100deg, var(--gold) 0%, #FFE7B0 45%, var(--gold) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.lead { font-size: 19px; color: #D6DCEA; max-width: 36em; animation: rise 900ms 620ms cubic-bezier(.2,.7,.2,1) both; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; align-items: center; animation: rise 900ms 760ms cubic-bezier(.2,.7,.2,1) both; }
.platforms { color: var(--muted); font-size: 15px; animation: rise 900ms 860ms cubic-bezier(.2,.7,.2,1) both; }
.platforms strong { color: var(--gold-light); }
.store { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0B1426; text-decoration: none; padding: 9px 20px 9px 16px; border-radius: 14px; font: 600 20px/1.05 var(--sans); box-shadow: 0 10px 30px rgb(233 194 122 / 0.25); transition: transform 200ms ease, box-shadow 200ms ease; }
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.store:hover { color: #0B1426; transform: translateY(-2px); box-shadow: 0 16px 40px rgb(233 194 122 / 0.4); }
.store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(233 194 122 / 0.45) 50%, transparent 70%); transform: translateX(-120%); animation: glint 4.5s 2s ease-in-out infinite; }
@keyframes glint { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.store.big { font-size: 24px; padding: 12px 26px 12px 20px; border-radius: 16px; }
.ghost { display: inline-block; border: 1px solid var(--line); color: var(--text); text-decoration: none; padding: 12px 20px; border-radius: 999px; }
.ghost:hover { border-color: var(--gold); color: var(--text); }

/* The lens and the phone */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.lens { position: absolute; width: min(560px, 120%); height: auto; overflow: visible; }
.lens .l-glow { transform-origin: 512px 512px; animation: breathe 6s ease-in-out infinite; }
.lens .l-ring { transform-origin: 512px 512px; animation: spin 40s linear infinite, fadein 1.2s both; }
.lens .l-ring2 { transform-origin: 512px 512px; animation: spin 26s linear infinite reverse, fadein 1.6s both; }
.lens .l-core { transform-origin: 512px 512px; animation: core 1.4s 200ms cubic-bezier(.2,.7,.2,1) both; }
.lens .l-brackets path { animation: focus 1.3s 500ms cubic-bezier(.3,1.4,.4,1) both; transform-box: fill-box; }
.lens .b1 { transform-origin: 0 0; --fx: -60px; --fy: -60px; }
.lens .b2 { transform-origin: 100% 0; --fx: 60px; --fy: -60px; }
.lens .b3 { transform-origin: 100% 100%; --fx: 60px; --fy: 60px; }
.lens .b4 { transform-origin: 0 100%; --fx: -60px; --fy: 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes core { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0; } }
@keyframes focus { from { transform: translate(var(--fx), var(--fy)); opacity: 0; } to { transform: none; opacity: 1; } }

.phone { position: relative; margin: 0; width: min(270px, 62vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #3a4560, #121a2c 40%, #2b3550); box-shadow: 0 40px 90px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.08) inset; animation: phonein 1.2s 300ms cubic-bezier(.2,.7,.2,1) both, float 7s 1.6s ease-in-out infinite; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; background: var(--night); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 1; }
@keyframes phonein { from { opacity: 0; transform: translateY(60px) rotate(-6deg) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1deg); } }
.sweep { position: absolute; inset: -20% 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgb(255 231 176 / 0.16) 50%, transparent 60%); background-size: 250% 100%; animation: sweep 6s 1.8s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -20% 0; } }

/* Photo wall */
.wall { position: relative; padding: 32px 0 64px; overflow: hidden; border-top: 1px solid rgb(36 52 90 / 0.6); }
.wall .row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wall .row + .row { margin-top: 14px; }
.wall .track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.wall .r2 .track { animation-direction: reverse; animation-duration: 80s; }
.wall .row:hover .track { animation-play-state: paused; }
.wall img { width: 240px; height: 160px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.35); transition: transform 300ms ease; }
.wall img:hover { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.wall-copy { text-align: center; margin-top: 48px; }
.wall-copy .sub { margin-inline: auto; }
.gold { color: var(--gold-light); }

/* Sources */
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--night-2); color: #D6DCEA; font-size: 15px; transition: transform 200ms ease, border-color 200ms ease; }
.chips li:hover { transform: translateY(-3px); border-color: var(--gold); }
.chips li.pro { border-color: rgb(233 194 122 / 0.55); color: var(--gold-light); background: rgb(233 194 122 / 0.07); }
.legend { color: var(--muted); font-size: 14px; margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.key { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--gold-light); background: rgb(233 194 122 / 0.15); }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid rgb(36 52 90 / 0.6); }
.kicker { color: var(--gold-light); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(30px, 4.6vw, 46px); }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: linear-gradient(180deg, var(--panel), var(--night-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease; }
.card:hover { transform: translateY(-4px); border-color: rgb(233 194 122 / 0.6); box-shadow: 0 20px 50px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(233 194 122 / 0.15), 0 0 40px rgb(233 194 122 / 0.08); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0; color: #CBD3E4; font-size: 16px; }
.card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgb(201 169 110 / 0.14); color: var(--gold-light); font-size: 20px; margin-bottom: 14px; transition: transform 300ms cubic-bezier(.3,1.6,.5,1); }
.card:hover .ic { transform: rotate(-8deg) scale(1.12); }
.pro-sec .card { background: linear-gradient(180deg, rgb(233 194 122 / 0.07), var(--night-2) 55%); }

/* Devices */
.devices { display: grid; gap: 36px 28px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 760px) {
  .devices { grid-template-columns: 1.15fr 0.85fr; }
  .devices .mac { grid-column: 1 / -1; max-width: 900px; justify-self: center; }
}
.devices .ipad, .devices .iphone { justify-self: center; text-align: center; }
.tablet { width: min(420px, 84vw); aspect-ratio: 1050 / 1400; margin-inline: auto; border-radius: 30px; padding: 12px; background: linear-gradient(145deg, #3a4560, #121a2c 40%, #2b3550); box-shadow: 0 40px 90px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.08) inset; }
.tablet img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.phone.small { width: min(230px, 60vw); margin-inline: auto; animation: none; }
.phone.small::before { top: 18px; height: 18px; }
.dev:hover .tablet, .dev:hover .phone.small { transform: translateY(-6px); }
.tablet, .phone.small { transition: transform 400ms ease; }
.devices figure { margin: 0; }
.devices figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; }
.devices figcaption strong { color: var(--text); }
.shot { border-radius: 14px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5), 0 0 0 1px var(--line); transition: transform 400ms ease; }
.dev:hover .shot { transform: translateY(-6px) scale(1.01); }

/* Privacy */
.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid rgb(36 52 90 / 0.6); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 9px; color: var(--gold-light); font-weight: 700; }
.ticks li:last-child { border-bottom: 0; }
.seal { margin-top: 8px; width: 120px; }
.seal img { border-radius: 28px; box-shadow: 0 0 0 1px var(--line), 0 0 60px rgb(233 194 122 / 0.25); animation: breathe 6s ease-in-out infinite; }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--night-2); }
.plan.pro { border-color: var(--gold); background: linear-gradient(180deg, rgb(201 169 110 / 0.12), var(--night-2) 40%); box-shadow: 0 0 60px rgb(233 194 122 / 0.12); }
.plan h3 { font-size: 26px; margin-bottom: 4px; }
.price { font: 600 36px/1.1 var(--serif); margin: 8px 0 4px; }
.price s { color: var(--muted); font-size: 22px; margin-left: 10px; font-weight: 400; }
.note { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.ribbon { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--night); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; animation: wobble 4s 2s ease-in-out infinite; }
@keyframes wobble { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-5deg) scale(1.06); } 95% { transform: rotate(4deg) scale(1.06); } }
.slogan { text-align: center; font: italic 22px/1.4 var(--serif); color: var(--gold-light); margin: 40px auto 0; max-width: 34em; }

/* Finale */
.finale { text-align: center; padding: 96px 0 104px; position: relative; overflow: hidden; }
.finale::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgb(233 194 122 / 0.16), transparent 70%); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
.finale .wrap { position: relative; }
.finale-lens { width: 132px; margin: 0 auto 26px; }
.finale-lens img { border-radius: 30px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5), 0 0 80px rgb(233 194 122 / 0.3); animation: float 7s ease-in-out infinite; }
.finale .sub { margin-inline: auto; }

/* Scroll reveals: where the browser can tie animation to scrolling.
   Elsewhere everything is simply shown. */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
  .stagger li { animation: slidein linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  .chips li { animation: pop linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  .dev.reveal:nth-child(even) { animation-name: reveal-r; }
  .dev.reveal:nth-child(odd) { animation-name: reveal-l; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes reveal-l { from { opacity: 0; transform: translateX(-50px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes reveal-r { from { opacity: 0; transform: translateX(50px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.7) translateY(14px); } to { opacity: 1; transform: none; } }

/* Prose pages */
.prose { max-width: 760px; padding: 56px 0 72px; }
.prose h1 { font-size: clamp(36px, 5vw, 50px); }
.prose h2 { font-size: 26px; margin-top: 38px; }
.prose .updated { color: var(--muted); margin-top: -6px; }
.prose .short { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.prose li { margin: 6px 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: var(--night-2); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details[open] summary { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.site-footer .maker { color: var(--text); font: 600 17px/1.2 var(--serif); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #D0D7E6; --line: #5A6E9A; }
}
