/* Lumivento site. Colours follow docs/BRAND.md and web/src/styles/tokens.css. */
:root {
  --bg-0: #0a0a14; --bg: #10111d; --panel: #181a2e; --panel-2: #1f2139; --raised: #262842; --track: #2c2f4b;
  --line: #2c2f4b; --line-2: #3d4061;
  --text: #eeeef9; --dim: #a6a9c6; --faint: #71759a;
  --accent: #ff5d73; --accent-ink: #2a0a14;
  --accent-fill: linear-gradient(135deg, #ff9a52 0%, #ff5d73 55%, #f2457f 100%);
  --brand-grad: linear-gradient(135deg, #ff9a52 0%, #ff5d73 45%, #7b5cff 100%);
  --violet: #7b5cff; --gold: #ffd84d; --sky: #9ed6ff; --ok: #3ecf8e;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg-0); color: var(--text); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-fill); }
h1, h2, h3 { font-family: var(--round); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin: 14px 0 16px; }
.lead { color: var(--dim); font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; margin: 0; }
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary { background: var(--accent-fill); color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 93, 115, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 93, 115, .75); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 10, 20, .72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--round); letter-spacing: -.02em; }
.logo img { width: 38px; height: 38px; }
.logo .v { background: linear-gradient(135deg, #ff7a8a, #ffb0c0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: 150px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 -10%; z-index: -1;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(123, 92, 255, .35), transparent 70%),
    radial-gradient(500px 380px at 80% 20%, rgba(255, 93, 115, .28), transparent 70%),
    radial-gradient(700px 500px at 60% 80%, rgba(255, 154, 82, .12), transparent 70%);
}
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .5; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .1; transform: scale(.6); } }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 14px; color: var(--dim); font-weight: 600;
}
.pill b { background: var(--accent-fill); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 900; margin: 22px 0 22px; }
.hero .lead { font-size: clamp(18px, 1.8vw, 21px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--dim); font-size: 14px; font-weight: 600; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--ok); flex: none; }

.hero-visual { position: relative; height: 600px; }
.hero-visual .desk { position: absolute; right: -60px; top: 30px; width: 640px; transform: perspective(1600px) rotateY(-14deg) rotateX(4deg); transform-origin: left center; }
.hero-visual .phone { position: absolute; left: 10px; top: 80px; width: 250px; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.hero-visual .lumi-float { position: absolute; z-index: 3; width: 120px; left: 210px; top: 10px; animation: fly 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
@keyframes floaty { 50% { transform: translateY(-14px); } }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(14px, -18px) rotate(5deg); } }

/* Device frames */
.phone-frame {
  border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #3a3d5c, #14152a);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone-screen { position: relative; border-radius: 30px; overflow: hidden; background: var(--bg); aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; }
.phone-screen .notch { position: absolute; top: 8px; left: 50%; translate: -50%; width: 80px; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.ps-status { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 11px; font-weight: 700; color: var(--text); }
.ps-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 6px; }
.ps-top b { font-size: 18px; font-family: var(--round); }
.ps-top .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; }
.ps-month { padding: 6px 14px; font-size: 11px; font-weight: 700; color: var(--dim); }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 0 2px; flex: 1; align-content: start; overflow: hidden; }
.ps-grid div { aspect-ratio: 1; background-size: cover; background-position: center; position: relative; }
.ps-grid div.star::after { content: "★★★★★"; position: absolute; left: 4px; bottom: 3px; font-size: 7px; color: var(--gold); letter-spacing: -1px; text-shadow: 0 1px 2px #000; }
.ps-grid div.flag::before { content: ""; position: absolute; right: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); }
.ps-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 4px 14px; border-top: 1px solid var(--line); background: var(--bg); }
.ps-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; color: var(--faint); font-weight: 600; }
.ps-tabs span.on { color: var(--accent); }
.ps-tabs svg { width: 16px; height: 16px; }

.win {
  border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(123, 92, 255, .35);
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3d4061; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar .t { margin-left: 12px; font-size: 12px; color: var(--dim); font-weight: 600; }
.win-body { display: grid; grid-template-columns: 150px 1fr 170px; height: 400px; }
.wb-side { background: var(--panel); border-right: 1px solid var(--line); padding: 14px 10px; font-size: 11.5px; color: var(--dim); }
.wb-side h6 { margin: 10px 6px 6px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.wb-side p { margin: 0; padding: 5px 8px; border-radius: 6px; display: flex; justify-content: space-between; }
.wb-side p.on { background: var(--raised); color: var(--text); }
.wb-side p em { font-style: normal; color: var(--faint); }
.wb-main { padding: 12px; overflow: hidden; }
.wb-filter { display: flex; gap: 6px; margin-bottom: 10px; }
.wb-filter span { font-size: 10.5px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); color: var(--dim); font-weight: 600; }
.wb-filter span.on { background: var(--accent); color: var(--accent-ink); }
.wb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wb-grid div { aspect-ratio: 1; border-radius: 6px; background-size: cover; background-position: center; position: relative; }
.wb-grid div.sel { outline: 2px solid var(--accent); outline-offset: 1px; }
.wb-grid div::after { position: absolute; left: 5px; bottom: 3px; font-size: 8px; color: var(--gold); text-shadow: 0 1px 2px #000; }
.wb-grid div[data-s="5"]::after { content: "★★★★★"; } .wb-grid div[data-s="4"]::after { content: "★★★★"; } .wb-grid div[data-s="3"]::after { content: "★★★"; }
.wb-info { background: var(--panel); border-left: 1px solid var(--line); padding: 12px; font-size: 11px; color: var(--dim); }
.wb-info .th { aspect-ratio: 4/3; border-radius: 6px; background-size: cover; background-position: center; margin-bottom: 10px; }
.wb-info b { display: block; color: var(--text); font-size: 12px; margin-bottom: 8px; }
.wb-info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; margin: 0; }
.wb-info dt { color: var(--faint); } .wb-info dd { margin: 0; color: var(--text); text-align: right; }

/* Marquee strip */
.strip { padding: 26px 0; border-block: 1px solid var(--line); background: rgba(24, 26, 46, .5); overflow: hidden; }
.strip-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.strip span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--dim); font-weight: 700; font-size: 15px; }
.strip span::before { content: "✦"; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature + .feature { margin-top: clamp(90px, 12vw, 150px); }
.feature.flip .f-text { order: 2; }
.f-text ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.f-text li { display: flex; gap: 14px; color: var(--dim); }
.f-text li b { color: var(--text); font-weight: 700; }
.f-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 93, 115, .12); color: var(--accent); }
.f-ico.v { background: rgba(123, 92, 255, .15); color: #a993ff; }
.f-ico.g { background: rgba(255, 216, 77, .12); color: var(--gold); }
.f-ico.s { background: rgba(158, 214, 255, .12); color: var(--sky); }
.f-shot { position: relative; }
.f-shot::before { content: ""; position: absolute; inset: 10% 5%; z-index: -1; filter: blur(60px); opacity: .55; background: var(--brand-grad); border-radius: 50%; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.card {
  padding: 26px; border-radius: 20px; background: linear-gradient(180deg, var(--panel), rgba(24, 26, 46, .5));
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }

/* Demo */
.demo { background: linear-gradient(180deg, var(--bg-0), var(--bg) 20%, var(--bg) 80%, var(--bg-0)); }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); margin: 34px 0 30px; gap: 4px; }
.tabs button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--dim); cursor: pointer; transition: .2s; }
.tabs button[aria-selected="true"] { background: var(--accent-fill); color: #fff; }
.demo-panel[hidden] { display: none; }
.editor { display: grid; grid-template-columns: 1fr 320px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); text-align: left; }
.editor > *, .lib, .lib-grid > * { min-width: 0; }
.ed-stage { position: relative; background: #07070e; display: flex; flex-direction: column; min-height: 640px; }
.ed-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.ed-head b { color: var(--text); }
.ed-head .tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(62, 207, 142, .12); color: var(--ok); }
.ed-canvas { position: relative; flex: 1; display: grid; place-items: center; padding: 18px; overflow: hidden; user-select: none; touch-action: none; }
.ed-photo { position: relative; max-width: 100%; max-height: 520px; aspect-ratio: var(--ar, 4/3); height: 520px; border-radius: 6px; overflow: hidden; }
.ed-photo .layer { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ed-photo .edited { clip-path: inset(0 0 0 var(--split, 0%)); }
.ed-photo .tint, .ed-photo .vig, .ed-photo .grain { position: absolute; inset: 0; pointer-events: none; }
.ed-photo .tint { mix-blend-mode: soft-light; }
.ed-photo .vig { background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .9) 120%); }
.ed-photo .grain { mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.split-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 0%); width: 0; z-index: 4; display: none; }
.compare .split-handle { display: block; }
.split-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .6); }
.split-handle span { position: absolute; top: 50%; left: 0; translate: -50% -50%; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #10111d; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); font-weight: 900; font-size: 14px; }
.ba-label { position: absolute; top: 12px; z-index: 3; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); display: none; }
.compare .ba-label { display: block; }
.ba-label.l { left: 12px; } .ba-label.r { right: 12px; }
.ed-strip { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); overflow-x: auto; }
.ed-strip button { flex: none; width: 64px; height: 48px; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; cursor: pointer; opacity: .6; transition: .2s; }
.ed-strip button[aria-pressed="true"] { border-color: var(--accent); opacity: 1; }
.ed-strip button:hover { opacity: 1; }
.ed-side { background: var(--panel); border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.ed-side h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.looks button { border: 2px solid transparent; background: none; padding: 0; cursor: pointer; border-radius: 10px; text-align: center; font-size: 11px; font-weight: 700; color: var(--dim); }
.looks button i { display: block; aspect-ratio: 1; border-radius: 8px; background-size: cover; background-position: center; margin-bottom: 4px; }
.looks button[aria-pressed="true"] { color: var(--text); }
.looks button[aria-pressed="true"] i { outline: 2px solid var(--accent); outline-offset: 2px; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 13px; }
.slider label { color: var(--dim); font-weight: 600; }
.slider output { color: var(--text); font-variant-numeric: tabular-nums; font-size: 12px; min-width: 34px; text-align: right; }
.slider input { grid-column: 1 / -1; width: 100%; }
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; height: 22px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--track); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--track); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 93, 115, .35); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 93, 115, .35); }
.slider.temp input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #4c8dff, #3a3d5c, #ffb04c); }
.slider.temp input::-moz-range-track { background: linear-gradient(90deg, #4c8dff, #3a3d5c, #ffb04c); }
.ed-actions { display: flex; gap: 8px; margin-top: auto; }
.ed-actions button { flex: 1; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.ed-actions button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ed-note { font-size: 12px; color: var(--faint); display: flex; gap: 8px; align-items: flex-start; margin: 0; }

/* Library demo */
.lib { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); text-align: left; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); }
.lib-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.search input { flex: 1; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: var(--panel-2); color: var(--dim); height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: .15s; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lib-sugg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px 0; font-size: 13px; color: var(--faint); }
.lib-sugg button { border: 0; background: rgba(123, 92, 255, .14); color: #b9a8ff; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; }
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; min-height: 380px; align-content: start; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; transition: transform .35s var(--ease), opacity .35s; }
.tile.out { display: none; }
.tile:hover { transform: scale(1.02); }
.tile .bar { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 8px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.tile .rate { display: flex; }
.tile .rate button { border: 0; background: none; padding: 1px; cursor: pointer; color: rgba(255, 255, 255, .45); font-size: 17px; line-height: 1; transition: color .1s, transform .15s; }
.tile .rate button.on { color: var(--gold); }
.tile .rate button:hover { transform: scale(1.25); }
.tile .flag { border: 0; background: rgba(0, 0, 0, .35); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.tile .flag.on { background: var(--accent); color: var(--accent-ink); }
.tile .tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.tile .tags span { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); }
.lib-foot { padding: 0 16px 16px; font-size: 13px; color: var(--faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--dim); padding: 60px 0; }
.empty img { width: 90px; margin: 0 auto 10px; }
kbd { font: 700 11px var(--font); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); }

/* How it works */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 60px; }
.node { padding: 28px 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.node .big { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; }
.node h3 { font-size: 20px; margin-bottom: 8px; }
.node p { margin: 0; color: var(--dim); font-size: 15px; }
.node.mid { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--brand-grad) border-box; border: 1.5px solid transparent; }
.link { position: relative; width: 70px; align-self: center; height: 2px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%); background-size: 12px 2px; animation: dash 1s linear infinite; }
.link::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-2); }
@keyframes dash { to { background-position: 12px 0; } }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vault { position: relative; aspect-ratio: 1; max-width: 460px; margin: auto; display: grid; place-items: center; }
.vault .ring { position: absolute; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.vault .ring:nth-child(1) { inset: 0; } .vault .ring:nth-child(2) { inset: 14%; animation-direction: reverse; animation-duration: 30s; } .vault .ring:nth-child(3) { inset: 28%; border-style: solid; border-color: rgba(255, 93, 115, .3); }
.vault .ring b { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background-size: cover; border: 2px solid var(--bg); }
.vault .core { width: 38%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; background: linear-gradient(145deg, #9a7bff, #3b1e9e); box-shadow: 0 30px 80px -10px rgba(123, 92, 255, .6); }
.vault .core svg { width: 44%; height: 44%; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks div { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.checks b { display: block; margin-bottom: 2px; }
.checks p { margin: 0; color: var(--dim); font-size: 15px; }

/* Lumi */
.meet { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; padding: 50px; border-radius: 30px; background: linear-gradient(135deg, #3a1fb0, #6a3cf0 55%, #8a5cff); overflow: hidden; position: relative; }
.meet::after { content: ""; position: absolute; width: 400px; height: 400px; right: -100px; top: -150px; border-radius: 50%; background: radial-gradient(rgba(255, 216, 77, .35), transparent 70%); }
.meet img { width: 220px; animation: fly 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.meet h2 { color: #fff; }
.meet p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 0; max-width: 620px; }
.bubble { display: inline-block; margin-top: 22px; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: #fff; color: #2a1a5e; font-weight: 700; max-width: 440px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }

/* Platforms */
.plat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.plat div { padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.plat b { display: block; margin: 12px 0 4px; font-size: 17px; }
.plat span { color: var(--dim); font-size: 14px; }
.plat em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(62, 207, 142, .12); color: var(--ok); }
.plat em.soon { background: rgba(255, 216, 77, .12); color: var(--gold); }

/* FAQ */
.faq { max-width: 820px; margin: 50px auto 0; display: grid; gap: 12px; text-align: left; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--dim); }

/* CTA + footer */
.cta { text-align: center; padding: clamp(60px, 8vw, 90px) 30px; border-radius: 32px; background: radial-gradient(600px 300px at 50% 0%, rgba(255, 93, 115, .25), transparent), var(--panel); border: 1px solid var(--line); }
.cta img { width: 96px; margin: 0 auto 12px; }
.cta .hero-ctas { justify-content: center; margin-bottom: 0; }
footer { padding: 50px 0 40px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; } footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 700px; margin: 0 auto; width: 100%; }
  .hero-visual .desk { right: 0; width: 560px; }
  .editor { grid-template-columns: 1fr; }
  .ed-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .plat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .nav.open { background: rgba(10, 10, 20, .96); }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(10, 10, 20, .96); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .feature, .privacy { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .link { width: 2px; height: 40px; justify-self: center; background-image: linear-gradient(180deg, var(--line-2) 50%, transparent 50%); background-size: 2px 12px; }
  .link::after { right: -4px; top: auto; bottom: -6px; border-left-color: transparent; border-top-color: var(--line-2); }
  .meet { grid-template-columns: 1fr; text-align: center; padding: 40px 24px; }
  .meet img { margin: 0 auto; width: 170px; }
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
  .ed-photo { width: 100%; height: auto; max-height: none; }
  .ed-stage { min-height: 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: 120px; }
  .hero-visual { height: 470px; }
  .hero-visual .desk { width: 440px; right: -140px; top: 40px; }
  .hero-visual .phone { width: 210px; left: 0; }
  .hero-visual .lumi-float { width: 90px; left: 170px; }
  .cards, .plat { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .tabs button { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- v2: benefits, waiting list, flying Lumi ---------- */
[id] { scroll-margin-top: 90px; }
a.pill { text-decoration: none; }
.band { background: linear-gradient(180deg, var(--bg-0), var(--bg) 18%, var(--bg) 82%, var(--bg-0)); }
.fine { color: var(--faint); font-size: 14px; max-width: 720px; margin: 26px auto 0; text-align: center; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; text-align: left; font-size: 15px; color: var(--text); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg) scale(.8); transform-origin: left; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.trio .node { padding: 30px 26px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.stats > div { position: relative; padding: 30px 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.stats b { display: block; font: 800 clamp(34px, 4.2vw, 52px)/1.05 var(--round); letter-spacing: -.03em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats b small { font-size: .5em; margin-left: 2px; }
.stats span { display: block; margin-top: 10px; color: var(--dim); font-size: 15px; }
.stats em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255, 216, 77, .12); color: var(--gold); }

.cmp-wrap { margin-top: 50px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; text-align: center; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 14px; border-bottom: 1px solid var(--line); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 14px; color: var(--dim); font-weight: 700; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--text); padding-left: 22px; }
.cmp .us { background: rgba(255, 93, 115, .08); color: var(--text); font-weight: 800; }
.cmp thead .us { font-size: 16px; }
.cmp thead .us img { display: inline-block; vertical-align: -7px; margin-right: 6px; }
.cmp td { color: var(--dim); font-weight: 600; }
.cmp td.y { color: var(--ok); } .cmp td.n { color: var(--faint); } .cmp td.m { color: var(--dim); }
.cmp td.us.y { color: var(--ok); }

.badge { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-fill); color: #fff; }
.badge.soon { background: rgba(255, 216, 77, .12); color: var(--gold); }
.road { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; text-align: left; }
.road .card { position: relative; }
.road .badge { position: absolute; top: 24px; right: 24px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; text-align: left; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.plan.best { background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, var(--brand-grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px rgba(255, 93, 115, .45); }
.plan .badge { align-self: flex-start; margin-bottom: 14px; }
.plan h3 { font-size: 22px; margin: 0; }
.plan .price { margin: 6px 0 0; font: 800 30px/1.2 var(--round); letter-spacing: -.02em; }
.plan .ticks { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }

.beta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: 32px; background: linear-gradient(135deg, #3a1fb0, #6a3cf0 55%, #8a5cff); position: relative; overflow: hidden; }
.beta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -170px; border-radius: 50%; background: radial-gradient(rgba(255, 216, 77, .35), transparent 70%); pointer-events: none; }
.beta > * { position: relative; z-index: 1; min-width: 0; }
.beta h2 { color: #fff; }
.beta p { color: rgba(255, 255, 255, .88); font-size: 17px; }
.beta .wl-note { font-size: 13px; color: rgba(255, 255, 255, .7); }
.beta .wl-msg { font-size: 14px; color: #ffd0c8; }
.beta .wl-done p { font-size: 15px; }
.beta .fine { color: rgba(255, 255, 255, .7); }
.steps { margin: 20px 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; color: rgba(255, 255, 255, .9); }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #3a1fb0; font-weight: 800; font-size: 14px; }
.steps b { color: #fff; }
.beta-box { padding: 26px; border-radius: 24px; background: rgba(10, 10, 20, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.seats-big { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.seats-big b { font: 800 64px/1 var(--round); color: var(--gold); letter-spacing: -.03em; }
.seats-big span { color: rgba(255, 255, 255, .85); font-weight: 700; }

/* Waiting-list form */
.wl { margin: 30px 0 26px; max-width: 520px; }
.wl-center .wl { margin: 30px auto 0; }
.beta-box .wl { margin: 0; }
.wl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.wl-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 93, 115, .18); }
.wl-row input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.wl-row input::placeholder { color: var(--faint); }
.wl-row .btn { flex: none; white-space: nowrap; }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-beta { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; }
.wl-beta input, .wl-dev input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.wl-beta .seats { color: var(--gold); font-weight: 800; white-space: nowrap; }
.wl-dev { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; padding-left: 28px; font-size: 14px; color: var(--dim); text-align: left; }
.wl-dev[hidden] { display: none; }
.wl-dev label { display: inline-flex; gap: 7px; align-items: flex-start; cursor: pointer; color: var(--text); }
.wl-dev .wl-google { flex-basis: 100%; flex-direction: column; gap: 6px; cursor: text; color: var(--dim); }
.wl-dev .wl-google input { width: 100%; max-width: 360px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(0, 0, 0, .18); color: var(--text); font: inherit; font-size: 15px; }
.wl-from { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--faint); }
.wl-msg { margin: 10px 0 0; min-height: 0; font-size: 14px; font-weight: 600; color: #ffb4a8; text-align: left; }
.wl-msg:empty { display: none; }
.wl-note { margin: 10px 0 0; font-size: 13px; color: var(--faint); text-align: left; }
.wl-center .wl-note, .wl-center .wl-msg { text-align: center; }
.wl-center .wl-beta, .wl-center .wl-dev { justify-content: center; }
.wl-done { margin: 30px 0 26px; max-width: 520px; padding: 22px 24px; border-radius: 22px; background: rgba(62, 207, 142, .1); border: 1px solid rgba(62, 207, 142, .4); text-align: left; animation: pop .5s var(--ease); }
.wl-center .wl-done { margin-inline: auto; } .beta-box .wl-done { margin: 0; }
.wl-done b { display: block; font: 800 22px/1.25 var(--round); }
.wl-done p { margin: 8px 0 0; color: var(--dim); font-size: 15px; }
.wl-done .num { color: var(--gold); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }

/* Flying Lumi */
#flyer { position: fixed; left: 0; top: 0; z-index: 40; width: 0; height: 0; pointer-events: none; transition: opacity .4s; }
#flyer.off { opacity: 0; visibility: hidden; }
.fly-y { position: absolute; left: 0; top: 0; }
.fly-lumi { position: absolute; left: 0; top: 0; width: 84px; height: 84px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); transition: rotate .5s var(--ease), scale .3s var(--ease); animation: floaty 3.4s ease-in-out infinite; }
#flyer.off .fly-lumi { pointer-events: none; }
.fly-lumi:hover { scale: 1.12; }
.fly-lumi svg { display: block; width: 100%; height: 100%; overflow: visible; }
#flyer.go-r .fly-lumi { rotate: 14deg; } #flyer.go-l .fly-lumi { rotate: -14deg; }
.fly-lumi .wing { animation: flap .5s ease-in-out infinite alternate; }
.fly-lumi .wing-l { transform-origin: 64px 102px; }
.fly-lumi .wing-r { transform-origin: 136px 102px; animation-name: flap-r; }
#flyer.moving .wing { animation-duration: .13s; }
.fly-lumi .spark { animation: twinkle 1.6s ease-in-out infinite; transform-origin: 120px 24px; }
.fly-lumi .eyes { animation: blink 5s infinite; transform-origin: 100px 104px; }
#flyer.love .fly-lumi { animation: joy .9s var(--ease) 2; }
@keyframes flap { from { transform: rotate(-16deg); } to { transform: rotate(12deg); } }
@keyframes flap-r { from { transform: rotate(16deg); } to { transform: rotate(-12deg); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes joy { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-34px) rotate(360deg) scale(1.15); } 100% { transform: translateY(0) rotate(360deg); } }
.fly-bubble { position: absolute; bottom: 6px; width: max-content; max-width: 180px; padding: 10px 14px; background: #fff; color: #2a1a5e; font-weight: 700; font-size: 14px; line-height: 1.35; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .55); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .35s var(--ease); pointer-events: none; }
#flyer.at-r .fly-bubble { right: -84px; border-radius: 16px 16px 4px 16px; transform-origin: right bottom; }
#flyer.at-l .fly-bubble { left: 0; border-radius: 16px 16px 16px 4px; transform-origin: left bottom; }
#flyer.say .fly-bubble { opacity: 1; transform: none; }
.fly-spark { position: fixed; z-index: 39; width: 14px; height: 14px; pointer-events: none; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sparkout .9s ease-out forwards; }
@keyframes sparkout { from { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); } to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 20px)) scale(.2) rotate(140deg); } }

@media (max-width: 1080px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .nav .wrap { gap: 18px; } .nav-links { gap: 18px; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .nav.open { background: rgba(10, 10, 20, .96); }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(10, 10, 20, .96); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .trio, .plans, .road, .beta { grid-template-columns: 1fr; }
  .fly-lumi { width: 64px; height: 64px; }
  #flyer.at-r .fly-bubble { right: -64px; }
}
@media (max-width: 600px) {
  .stats { gap: 12px; } .stats > div { padding: 24px 14px; }
  .wl-row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .wl-row input { text-align: center; }
  .wl-row .btn { width: 100%; }
  .fly-lumi { width: 54px; height: 54px; }
  #flyer.at-r .fly-bubble { right: -54px; }
  .fly-bubble { max-width: 170px; font-size: 13px; padding: 8px 12px; }
  .seats-big b { font-size: 52px; }
  .nav .wrap { gap: 10px; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn { white-space: nowrap; padding: 0 14px; font-size: 13px; height: 36px; }
  .logo { font-size: 19px; gap: 7px; } .logo img { width: 32px; height: 32px; }
  .beta-box { padding: 18px; }
}
@media print { #flyer { display: none; } }

/* ---------- v3: sub-pages (features, formats), brand rows, feature tables ---------- */
.page-hero { padding: 150px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 14px 0 14px; }
.page-hero .lead { margin-inline: auto; }
.page-sec { padding: clamp(40px, 6vw, 70px) 0; }
.page-sec h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 8px; }
.page-sec > .wrap > p { color: var(--dim); max-width: 760px; margin: 0; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.jump a { text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--dim); transition: color .2s, border-color .2s; }
.jump a:hover { color: var(--text); border-color: var(--line-2); }

.brands { margin-top: 26px; }
.brands > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-row.left { justify-content: flex-start; }
.brand { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font: 800 15px/1 var(--round); letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
.brand small { font: 600 12px/1 var(--font); color: var(--faint); }
.brands-band { text-align: center; padding: 40px 0 0; }
.brands-band a { color: var(--sky); font-weight: 700; font-size: 14px; }

.ft-wrap { margin-top: 28px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); -webkit-overflow-scrolling: touch; }
.ft { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ft th, .ft td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.ft tr:last-child th, .ft tr:last-child td { border-bottom: 0; }
.ft thead th { position: sticky; top: 0; background: var(--panel-2); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.ft thead th.hot { color: var(--text); background: rgba(255, 93, 115, .14); }
.ft tbody th { text-align: left; font-weight: 600; color: var(--text); }
.ft tbody th small { display: block; font-weight: 500; color: var(--faint); font-size: 13px; margin-top: 2px; }
.ft td { color: var(--dim); font-weight: 600; width: 17%; }
.ft td.hot { background: rgba(255, 93, 115, .05); }
.ft tr.grp th { text-align: left; background: rgba(255, 255, 255, .03); color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; padding: 10px 16px; }
.ft .yes { display: inline-block; width: 16px; height: 9px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); margin-bottom: 4px; }
.ft .no { color: var(--faint); }
.ft .soon { color: var(--gold); font-size: 13px; }

.fmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 28px; }
.fmt { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.fmt b { display: block; font: 800 17px/1.2 var(--round); margin-bottom: 10px; }
.fmt div { display: flex; flex-wrap: wrap; gap: 6px; }
.fmt code { font: 700 12.5px/1 ui-monospace, "Cascadia Code", Consolas, monospace; padding: 6px 9px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--sky); }
.fmt p { margin: 10px 0 0; color: var(--faint); font-size: 13px; }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.ai-card { padding: 26px 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.ai-card h3 { font-size: 19px; margin: 0 0 4px; }
.ai-card .big-n { font: 800 34px/1.1 var(--round); letter-spacing: -.02em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 12px 0 2px; }
.ai-card .sub { color: var(--faint); font-size: 13px; margin: 0; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: 1fr; } .page-hero { padding-top: 120px; } }

/* ---------- v4: cameras by maker, format detail tables ---------- */
.cam-search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 30px auto 0; padding: 0 20px; height: 58px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); color: var(--dim); transition: border-color .2s, box-shadow .2s; }
.cam-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 93, 115, .18); }
.cam-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.cam-search input::placeholder { color: var(--faint); }
.cam-out { min-height: 22px; margin: 10px 0 0; font-weight: 700; font-size: 14px; color: var(--gold); }
.makers { display: grid; gap: 10px; margin-top: 28px; }
.maker { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); padding: 0 20px; }
.maker[open] { border-color: var(--line-2); }
.maker summary { cursor: pointer; list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 16px 0; }
.maker summary::-webkit-details-marker { display: none; }
.maker summary b { font: 800 18px/1.2 var(--round); min-width: 190px; }
.maker .exts { display: flex; flex-wrap: wrap; gap: 6px; }
.maker code, .dt code { font: 700 12.5px/1 ui-monospace, "Cascadia Code", Consolas, monospace; padding: 5px 8px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--sky); white-space: nowrap; }
.maker .n { margin-left: auto; color: var(--dim); font-weight: 700; font-size: 14px; }
.maker .n::after { content: "+"; display: inline-block; margin-left: 12px; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .3s; vertical-align: -2px; }
.maker[open] .n::after { transform: rotate(45deg); }
.maker > p { margin: 0 0 10px; color: var(--faint); font-size: 14px; }
.models { list-style: none; margin: 0; padding: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.models li { padding: 5px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.models li[hidden] { display: none; }
.models li.t { border-color: rgba(62, 207, 142, .5); color: var(--text); }
.models li.t em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); margin-left: 4px; }
.ft.dt td { width: auto; text-align: left; font-weight: 500; }
.ft.dt td:last-child, .ft.dt th:last-child { text-align: center; white-space: nowrap; }
.ft.dt thead th { text-align: left; }
.ft.dt tbody th { width: 30%; }
.ft.dt tbody th code { margin-left: 4px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(158, 214, 255, .12); color: var(--sky); }
.tag.ok { background: rgba(62, 207, 142, .14); color: var(--ok); }
.tag.warn { background: rgba(255, 216, 77, .12); color: var(--gold); }
@media (max-width: 600px) { .maker summary b { min-width: 0; width: 100%; } .maker .n { margin-left: 0; } }
.ft.dt tr.grp th { text-align: left; }

/* ---------- v5: fills the window on big screens, first screen fits, calmer hero ---------- */
main, footer, .nav > .wrap { zoom: var(--z, 1); }
.hero { min-height: calc(100svh / var(--z, 1) - 68px); display: flex; align-items: center; padding: 104px 0 36px; }
.hero > .wrap { width: min(var(--max), 100% - 40px); }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); margin: 20px 0 18px; text-wrap: balance; }
.hero .lead { max-width: 520px; }
.hero .wl { margin: 26px 0 18px; }
.hero-proof { font-size: 13.5px; }
.strip { padding: 0; height: 66px; display: flex; align-items: center; }
.strip-track { animation-duration: 60s; }
@media (max-width: 1080px) { .hero { min-height: 0; display: block; padding: 120px 0 60px; } }
@media (max-height: 700px) and (min-width: 1081px) { .hero-visual { height: 520px; } .hero h1 { font-size: clamp(36px, 4.4vw, 54px); } }
@media (min-width: 861px) {
  .fly-lumi { width: calc(84px * var(--z, 1)); height: calc(84px * var(--z, 1)); }
  #flyer.at-r .fly-bubble { right: calc(-84px * var(--z, 1)); }
  .fly-bubble { font-size: calc(14px * var(--z, 1)); max-width: calc(180px * var(--z, 1)); }
}

/* ---------- v6: language menu, right-to-left ---------- */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 13px; color: var(--text); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(255, 255, 255, .1); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 170px; padding: 6px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .8); display: grid; }
.lang.up .lang-menu { top: auto; bottom: calc(100% + 8px); }
.lang-menu a { padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--dim); font-weight: 600; font-size: 14px; text-align: start; }
.lang-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.lang-menu a[aria-current] { color: var(--text); background: rgba(255, 93, 115, .14); }
.lang-foot { margin-top: 26px; display: flex; justify-content: center; }
.nav-cta { align-items: center; }
@media (max-width: 600px) { .nav-cta .lang { display: none; } }

[dir="rtl"] .ticks, [dir="rtl"] .wl-beta, [dir="rtl"] .wl-dev, [dir="rtl"] .wl-msg, [dir="rtl"] .wl-note, [dir="rtl"] .wl-done, [dir="rtl"] .faq,
[dir="rtl"] .road, [dir="rtl"] .plans, [dir="rtl"] .plat, [dir="rtl"] .ft tbody th, [dir="rtl"] .ft.dt td, [dir="rtl"] .ft.dt thead th, [dir="rtl"] .ft tr.grp th, [dir="rtl"] .cmp tbody th { text-align: right; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; transform: rotate(-45deg) scale(.8); transform-origin: right; }
[dir="rtl"] .steps li { padding-left: 0; padding-right: 44px; }
[dir="rtl"] .steps li::before { left: auto; right: 0; }
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
[dir="rtl"] .wl-dev { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .fine[style], [dir="rtl"] .beta .fine { text-align: right !important; }
[dir="rtl"] .maker .n { margin-left: 0; margin-right: auto; }
[dir="rtl"] .road .badge { right: auto; left: 24px; }
[dir="rtl"] .cmp tbody th { padding-left: 14px; padding-right: 22px; }
[dir="rtl"] .hero-visual, [dir="rtl"] .editor, [dir="rtl"] .lib, [dir="rtl"] .strip, [dir="rtl"] code, [dir="rtl"] .models { direction: ltr; }
[dir="rtl"] body { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, var(--font); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .btn, [dir="rtl"] .logo { letter-spacing: 0; }
:lang(ja) h1, :lang(ja) h2 { letter-spacing: 0; line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
.nav-links a, .nav-cta .btn, .lang summary { white-space: nowrap; }
[dir="rtl"] .hero-visual .desk { right: auto; left: -60px; transform: perspective(1600px) rotateY(14deg) rotateX(4deg); transform-origin: right center; }
[dir="rtl"] .hero-visual .phone { left: auto; right: 10px; }
[dir="rtl"] .hero-visual .lumi-float { left: auto; right: 210px; }
[dir="rtl"] .nav-links { gap: 20px; }
[dir="rtl"] .hero h1 { line-height: 1.3; }
@media (max-width: 1080px) { [dir="rtl"] .hero-visual .desk { left: 0; } }
@media (max-width: 600px) { [dir="rtl"] .hero-visual .desk { left: -140px; } [dir="rtl"] .hero-visual .phone { right: 0; } [dir="rtl"] .hero-visual .lumi-float { right: 170px; } }
.nav .logo { flex-shrink: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:lang(ja) .hero h1 { font-size: clamp(34px, 4.2vw, 54px); }
:lang(ja) .nav-links { gap: 18px; }
:lang(ja) .nav-links a { font-size: 14px; }
@media (max-width: 600px) { .nav .wrap { gap: 10px; } .nav-cta .btn-primary { font-size: 12px; padding: 8px 11px; letter-spacing: 0; } }
