/* Lumi — lumi-launcher.dev */
:root {
  color-scheme: dark;
  --bg: #07080f;
  --bg-2: #0c0f1e;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --ink: #eef1fb;
  --muted: #9ba4c2;
  --faint: #6c7594;
  --accent: #8ccbff;
  --accent-ink: #06101f;
  --violet: #9d8cff;
  --glow: #ffe7b8;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(140, 203, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ── Top bar ─────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 8, 15, .72);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand small { font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-left: 2px; }
.topnav { margin-left: auto; display: flex; gap: 4px; }
.topnav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.topnav a:hover { color: var(--ink); background: var(--surface); }
.topnav .nav-cta { background: var(--ink); color: var(--bg); }
.topnav .nav-cta:hover { background: #fff; color: var(--bg); }
@media (max-width: 720px) {
  .topnav a:not(.nav-cta) { display: none; }
  .brand small { display: none; }
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #ffffff, #cfe8ff); color: var(--accent-ink); box-shadow: 0 10px 40px -12px rgba(140, 203, 255, .7); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ── Hero ────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -30% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(255, 231, 184, .28), rgba(140, 203, 255, .16) 45%, rgba(157, 140, 255, .08) 70%, transparent);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto auto -40% -20%; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(157, 140, 255, .16), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 10px #5ee0a0; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .light { background: linear-gradient(100deg, #fff6dd 0%, #9fd3ff 45%, #a99bff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* Device collage */
.devices { position: relative; aspect-ratio: 1.08; max-width: 560px; justify-self: center; width: 100%; }
.dev { position: absolute; border-radius: 22px; background: linear-gradient(160deg, #161a30, #0b0d1a); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.dev-car { left: 0; top: 6%; width: 92%; aspect-ratio: 16 / 10; padding: 4.5%; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr auto; gap: 4%; }
.dev-car .tile { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 8%; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.dev-car .tile b { font-size: clamp(10px, 1.5vw, 14px); color: var(--muted); font-weight: 600; }
.dev-car .tile em { font-style: normal; font-size: clamp(18px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.dev-car .map { background: radial-gradient(circle at 70% 40%, rgba(140, 203, 255, .35), transparent 40%), repeating-linear-gradient(35deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px), repeating-linear-gradient(-55deg, rgba(255,255,255,.04) 0 2px, transparent 2px 30px), #0e1326; }
.dev-car .route { width: 62%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #9fd3ff, #fff6dd); box-shadow: 0 0 14px #9fd3ff; }
.dev-car .side { display: grid; gap: 8%; grid-template-rows: 1fr 1fr; min-height: 0; }
.dev-car .dock { grid-column: 1 / -1; display: flex; justify-content: space-around; padding: 3% 4%; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.dev-car .dock i { width: clamp(14px, 2.6vw, 24px); aspect-ratio: 1; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); }
.dev-car .dock i:nth-child(3) { background: linear-gradient(135deg, #fff6dd, #9fd3ff); border-color: transparent; }
.dev-phone { right: 2%; bottom: 0; width: 30%; aspect-ratio: 9 / 18.5; border-radius: 26px; padding: 9% 8%; display: flex; flex-direction: column; gap: 6%; }
.dev-phone .notch { width: 34%; height: 4px; border-radius: 4px; background: var(--line-strong); align-self: center; }
.dev-phone .car-art { flex: 1; border-radius: 14px; background: radial-gradient(ellipse at 50% 70%, rgba(140, 203, 255, .3), transparent 60%), var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: clamp(8px, 1.45vw, 15px); white-space: nowrap; letter-spacing: -.01em; }
.dev-phone .pill { height: 12%; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: clamp(9px, 1.3vw, 12px); color: var(--muted); font-weight: 700; }
.dev-phone .pill.on { background: linear-gradient(135deg, rgba(255, 246, 221, .9), rgba(159, 211, 255, .9)); color: var(--accent-ink); border-color: transparent; }
.dev-watch { left: 8%; bottom: 2%; width: 23%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; border-width: 3px; }
.dev-watch b { display: block; font-size: clamp(16px, 2.8vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.dev-watch span { font-size: clamp(9px, 1.2vw, 11px); color: var(--muted); font-weight: 600; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .devices { max-width: 520px; }
}

/* ── Sections ────────────────────────────── */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { margin-top: 10px; font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Product trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.product::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; background: radial-gradient(closest-side, var(--tint, rgba(140, 203, 255, .22)), transparent); }
.product .badge { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.product h3 { position: relative; margin-top: 20px; font-size: 22px; font-weight: 800; }
.product .for { position: relative; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.product p { position: relative; margin-top: 10px; color: var(--muted); }
.product.link { --tint: rgba(157, 140, 255, .24); }
.product.watch { --tint: rgba(255, 231, 184, .2); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); background: rgba(140, 203, 255, .1); padding: 4px 10px; border-radius: 999px; }
.feature h3 { margin-top: 14px; font-size: 22px; font-weight: 800; }
.feature ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.feature li { padding-left: 26px; position: relative; color: var(--muted); }
.feature li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6dd, #8ccbff 60%, transparent 62%); }
.feature li strong { display: block; color: var(--ink); font-weight: 700; }
.feature .more { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--accent); text-decoration: none; }
.feature .more:hover { text-decoration: underline; }
.caption { margin-top: 18px; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Install tabs */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: transparent; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps[hidden] { display: none; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; background: linear-gradient(135deg, #fff6dd, #9fd3ff); color: var(--accent-ink); }
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.update-band { margin-top: 24px; display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(140, 203, 255, .1), rgba(157, 140, 255, .08)); }
.update-band .icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.update-band h3 { font-size: 18px; font-weight: 800; }
.update-band p { margin-top: 4px; color: var(--muted); }
@media (max-width: 600px) { .update-band { flex-direction: column; align-items: flex-start; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details p a { color: var(--accent); }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.dl.featured { background: linear-gradient(160deg, rgba(140, 203, 255, .12), rgba(157, 140, 255, .06) 60%, var(--surface)); border-color: rgba(140, 203, 255, .3); }
.dl .for { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.dl h3 { margin-top: 8px; font-size: 26px; font-weight: 800; }
.dl .desc { margin-top: 4px; color: var(--muted); }
.dl dl { margin: 20px 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.dl dt { color: var(--faint); }
.dl dd { margin: 0; font-weight: 700; }
.dl .btn { margin-top: auto; width: 100%; }
.dl details { margin-top: 14px; font-size: 13px; color: var(--faint); }
.dl details summary { cursor: pointer; }
.dl details p { margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; white-space: pre-line; word-break: break-all; }
@media (max-width: 960px) { .downloads { grid-template-columns: 1fr; } }
.notice { margin-top: 24px; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 231, 184, .25); background: rgba(255, 231, 184, .06); color: #f3e3c3; font-size: 15px; }
.notice strong { color: var(--glow); }
.status-line { margin-top: 16px; font-size: 14px; color: var(--faint); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Footer */
.footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); font-size: 17px; }
.footer .brand img { width: 26px; height: 26px; }

/* Document pages (privacy, licenses, release notes) */
.doc-main { width: min(760px, 100% - 32px); margin: 0 auto; padding: 56px 0 96px; }
.doc-main .back-link { display: inline-block; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 28px; }
.doc-main .back-link:hover { color: var(--ink); }
.doc-main h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; }
.doc-main .article-intro { margin-top: 14px; color: var(--muted); font-size: 18px; }
.doc-main h2 { margin-top: 44px; font-size: 22px; font-weight: 800; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-main p { margin-top: 12px; color: var(--muted); }
.doc-main .eyebrow { margin-top: 6px; color: var(--accent); font-size: 12px; }
.doc-main ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.doc-main .text-link { display: inline-block; margin-top: 12px; }
.doc-main code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }

/* ── Real screenshots ────────────────────── */
.screen { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #1b2038, #0a0c18); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); }
.screen img { width: 100%; height: auto; border-radius: 10px; background: #0b0d1a; }
.hero-shot { margin: 0; justify-self: center; width: 100%; max-width: 620px; position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(140, 203, 255, .35), rgba(157, 140, 255, .18) 60%, transparent); filter: blur(30px); }
.hero-shot figcaption, .shot-wide figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--faint); }

.theme-viewer { display: grid; gap: 18px; }
.theme-viewer img { transition: opacity .25s ease; }
.theme-viewer img.is-loading { opacity: .35; }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.theme-chips button { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.theme-chips button:hover { color: var(--ink); background: var(--surface-2); }
.theme-chips button[aria-pressed="true"] { color: var(--accent-ink); background: linear-gradient(135deg, #fff6dd, #9fd3ff); border-color: transparent; }
.shot-wide { margin: 36px 0 0; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.shot-wide img { width: 100%; height: auto; border-radius: 12px; }

.section-head.sub { margin-top: 80px; }
.shots { display: grid; grid-template-columns: 2.6fr 1fr; gap: 20px; align-items: start; }
.shot { margin: 0; }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }
.shot figcaption strong { display: block; color: var(--ink); font-size: 17px; }
.shot.portrait .screen { max-width: 300px; margin-inline: auto; }
.shot.portrait figcaption { max-width: 300px; margin-inline: auto; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

.cluster-set { margin-top: 56px; }
.cluster-set h3 { font-size: 22px; font-weight: 800; }
.cluster-set > p { margin-top: 8px; color: var(--muted); }
.cluster-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cluster-grid figure { margin: 0; padding: 8px; border-radius: 16px; background: #000; border: 1px solid var(--line-strong); }
.cluster-grid img { width: 100%; height: auto; border-radius: 10px; }
.cluster-grid figcaption { padding: 8px 4px 2px; font-size: 14px; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) { .cluster-grid { grid-template-columns: 1fr; } }
