:root { --night: #121417; --panel: #171a1e; --surface: #1d2025; --line: #262a30; --line-bright: #464d57; --ink: #e6e8eb; --muted: #8a919b; --faint: #5f666f; --accent: #5b9cf6; --danger: #f0908a; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 15px/1.45 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; display: flex; align-items: center; justify-content: center; padding: 16px; }
main { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
main.wide { max-width: 1040px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
main.wide header.brand h1 { font-size: 26px; }
main.wide header.brand span { font-size: 15px; }
main.wide .card { padding: 22px; }
header { display: flex; align-items: baseline; gap: 10px; }
header h1 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
header span { color: var(--muted); font-size: 13px; }
header .right { margin-left: auto; }
header.brand { align-items: center; gap: 14px; }
header.brand img { border-radius: 14px; flex: none; }
header.brand div { display: flex; flex-direction: column; gap: 2px; }
h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
p { margin: 0; }
a { color: var(--accent); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.now { display: flex; gap: 14px; align-items: center; min-height: 72px; }
.art { width: 72px; height: 72px; border-radius: 10px; background: var(--surface); flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; color: var(--muted); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.what { min-width: 0; }
.what .title { font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.what .more { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.big, button.big { appearance: none; display: block; text-align: center; text-decoration: none; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-size: 17px; font-weight: 600; background: var(--accent); color: var(--night); cursor: pointer; }
button.big[disabled] { background: var(--surface); color: var(--faint); cursor: default; }
button.big.on { background: var(--surface); color: var(--ink); border: 1px solid var(--line-bright); }
button.small { appearance: none; border: 1px solid var(--line-bright); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; background: transparent; color: var(--ink); cursor: pointer; }
button.small:hover { background: var(--surface); }
input[type=text], input:not([type]) { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-width: 0; }
input:focus { outline: none; border-color: var(--accent); }
label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; flex: 1; }
.row { display: flex; align-items: flex-end; gap: 12px; color: var(--muted); font-size: 13px; }
label.row { flex-direction: row; align-items: center; }
.row input[type=range] { flex: 1; accent-color: var(--accent); }
.status { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.status .live { color: var(--accent); }
.status .off { color: var(--faint); }
.status .bad { color: var(--danger); }
.muted { color: var(--muted); font-size: 13px; }
.notice { color: var(--accent); font-size: 13px; }
.link { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.key { min-width: 0; }
.key { display: flex; align-items: center; gap: 10px; }
.key code { flex: 1; font-size: 14px; word-break: break-all; background: var(--surface); padding: 8px 10px; border-radius: 8px; user-select: all; }
footer { color: var(--faint); font-size: 12px; text-align: center; }
footer a { color: var(--muted); }

/* --- the landing: Lucy's own page ---------------------------------- */
main.landing { max-width: 1120px; gap: 56px; padding-block: 8px 40px; }
main.landing h1, main.landing h2, main.landing h3 { color: var(--ink); }
.top { display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; }
.wordmark img { border-radius: 9px; }
.top .links { display: flex; gap: 22px; font-size: 14px; }
.top .links a { color: var(--muted); text-decoration: none; }
.top .links a:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { margin: 0 0 18px; font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.hero .lead { font-size: 17px; line-height: 1.55; color: var(--ink); opacity: 0.9; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions .big { display: inline-block; padding: 14px 22px; font-size: 16px; }
.big.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-bright); cursor: default; }
a.big.ghost { cursor: pointer; }
a.big.ghost:hover { border-color: var(--accent); }
.fine { margin-top: 16px; color: var(--muted); font-size: 13px; max-width: 40em; }
.shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.hero.alone { grid-template-columns: 1fr; }
.hero.alone .pitch { max-width: 44em; }
.verify { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; max-width: 44em; }
.verify .fine { margin: 0; }
.verify .fine code { font-size: 12px; background: var(--surface); padding: 2px 6px; border-radius: 6px; user-select: all; }
.verify .key code { font-size: 12px; }
/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.5; }
/* steps */
.steps { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.steps-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.steps ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: var(--surface); }
.steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--night); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.steps li b { font-weight: 600; }
.steps li span { color: var(--muted); font-size: 14px; }
.steps .big { align-self: flex-start; padding: 14px 22px; font-size: 16px; }
.steps .fine { margin: 0; }
/* the name */
.story { display: flex; align-items: center; gap: 24px; padding: 8px 4px; }
.story img { border-radius: 22px; flex: none; }
.story h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.story p { font-size: 15px; }
footer.bottom { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
footer.bottom a { color: var(--faint); text-decoration: none; }
footer.bottom a:hover { color: var(--muted); }
.top .links { align-items: center; }
.page-head b { color: var(--ink); font-weight: 600; }
.top .links form { display: inline; }
.page-head h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.02em; }
main.landing .page-head + .notice { margin-top: -32px; }
main.landing > .fine { margin-top: -24px; }
main.landing { min-height: calc(100vh - 32px); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
  .features, .steps ol { grid-template-columns: 1fr; }
  .top .links { gap: 14px; }
}
