/* LUT Cam site. The app's own palette: charcoal surfaces, one cyan signal
   colour. System fonts, dark only, no external requests. */

:root {
  --bg: #111417;
  --surface: #1B1F24;
  --raised: #252A31;
  --line: #313840;
  --text: #F2F4F5;
  --dim: #AEB6BD;
  --faint: #7D878F;
  --cyan: #36D9C8;
  --cyan-soft: #9DF5E8;
  --cyan-deep: #127F77;
  --on-cyan: #06201D;
  --rec: #FF4D4D;
  --radius: 18px;
  --wrap: 1120px;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--cyan-soft); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--cyan); color: var(--on-cyan); padding: 8px 14px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── header ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 20, 23, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
@media (max-width: 560px) { .nav .opt { display: none; } }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(54, 217, 200, 0.18), rgba(54, 217, 200, 0));
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(54, 217, 200, 0.1); border: 1px solid rgba(54, 217, 200, 0.28);
  padding: 7px 12px; border-radius: 999px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.2); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--cyan); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--dim); max-width: 36em; margin: 0 0 28px; }

.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 10px 20px; border-radius: 14px; text-decoration: none;
  background: var(--cyan); color: var(--on-cyan); font-weight: 700;
}
.play-badge small { display: block; font-weight: 500; font-size: 12px; opacity: 0.8; line-height: 1.2; }
.play-badge.is-soon { background: transparent; color: var(--dim); border: 1.5px dashed var(--line); font-weight: 600; }
.play-badge svg { width: 22px; height: 22px; flex: none; }
.fine { color: var(--faint); font-size: 14px; margin: 14px 0 0; }

.hero-shot { justify-self: center; width: min(340px, 82vw); position: relative; }
.hero-shot img { border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* ── sections ───────────────────────────────────────────────────────────── */
section { padding: 64px 0; }
.section-head { max-width: 42em; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--dim); margin: 12px 0 0; }
.eyebrow { font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; display: block; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.card h3 .ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(54, 217, 200, 0.12); display: grid; place-items: center; flex: none; }
.card h3 .ico svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card ul { margin: 0; padding-left: 18px; color: var(--dim); }
.card li + li { margin-top: 6px; }
.card p { color: var(--dim); margin: 0; }

/* ── screenshots strip ─────────────────────────────────────────────────── */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 16px; border: 1px solid var(--line); }
.shots figcaption { color: var(--faint); font-size: 14px; margin-top: 8px; }
.credit-note { color: var(--faint); font-size: 14px; margin-top: 12px; }

/* ── look chips ─────────────────────────────────────────────────────────── */
.looks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.looks span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--raised); color: var(--text); border: 1px solid var(--line); }
.looks span.pro { color: var(--dim); }
.looks span.pro::after { content: "PRO"; font: 700 10px/1 var(--mono); color: var(--on-cyan); background: var(--cyan); border-radius: 4px; padding: 2px 4px; margin-left: 6px; vertical-align: 1px; }

/* ── frame line demo ────────────────────────────────────────────────────── */
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.frame { aspect-ratio: 9 / 16; background: linear-gradient(160deg, #2A3139, #161A1E); border-radius: 12px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.frame i { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); border-top: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); background: rgba(54, 217, 200, 0.06); }
.frame b { position: absolute; left: 8px; bottom: 8px; font: 600 12px/1 var(--mono); color: var(--cyan); }

/* ── free vs pro ────────────────────────────────────────────────────────── */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 15px; color: var(--dim); background: var(--raised); }
.compare thead th:last-child { color: var(--cyan); }
.compare.credits thead th:last-child { color: var(--dim); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 600; }
.compare td { color: var(--dim); }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px 10px; font-size: 15px; } }

/* ── privacy band ───────────────────────────────────────────────────────── */
.band {
  background: linear-gradient(135deg, rgba(54, 217, 200, 0.14), rgba(18, 127, 119, 0.08));
  border: 1px solid rgba(54, 217, 200, 0.25); border-radius: 24px; padding: 36px;
}
.band h2 { font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 12px; }
.band p { color: var(--dim); margin: 0 0 12px; max-width: 46em; }
@media (max-width: 560px) { .band { padding: 24px; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font: 600 20px/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--dim); margin: 0 0 16px; }

/* ── documents (privacy, terms, support) ────────────────────────────────── */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; }
.doc .meta { color: var(--faint); font: 14px/1.5 var(--mono); margin: 0 0 28px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: #D5DADE; }
.doc strong { color: var(--text); }
.doc code { font-family: var(--mono); font-size: 0.88em; background: var(--raised); padding: 1px 6px; border-radius: 6px; color: var(--cyan-soft); overflow-wrap: anywhere; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 12px; padding: 18px 20px; }
.doc .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.doc .toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--raised); color: var(--text); }
.doc td { color: #D5DADE; }

.contact-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 20px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; background: var(--cyan); color: var(--on-cyan); font-weight: 700; text-decoration: none; }
.btn:hover { color: var(--on-cyan); filter: brightness(1.08); }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer p { margin: 0; }

/* ── reveal ─────────────────────────────────────────────────────────────── */
.reveal { opacity: 1; transform: none; }
html:not(.no-js) .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
html:not(.no-js) .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .reveal { opacity: 1; transform: none; transition: none; } }
