/* Kinolamp — installation page, styled to feel at home in Lampa. */
:root { color-scheme: dark; --bg: #171719; --surface: #222225; --text: #f4f4f5; --muted: #a6a6b0; --accent: #a5efc8; --border: #ffffff12; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; letter-spacing: -.9px; text-decoration: none; }
.brand img { border-radius: 12px; }
.brand-dot { color: var(--accent); }
.header-link { font-size: 14px; color: #d0d0d6; text-decoration: none; }
.header-link span { margin-left: 12px; color: var(--accent); }
.hero { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; min-height: 540px; gap: 32px; padding: 64px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--accent); font-size: 12px; line-height: 1.5; letter-spacing: 2px; font-weight: 700; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -2px; font-weight: 700; }
h1 span { color: #92929d; }
.lead { max-width: 485px; margin: 24px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border-radius: 8px; padding: 13px 22px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.primary { color: #151b18; background: var(--accent); }
.primary:hover { color: #151b18; background: #c3f8dc; transform: translateY(-2px); }
.button span { font-size: 13px; }
.hero-tags { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: #85858f; font-size: 13px; }
.hero-tags span::before { content: '✓'; color: var(--accent); margin-right: 6px; }
.hero-art { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; inset: 12%; z-index: -1; border-radius: 50%; background: #69cf9c0c; box-shadow: 0 0 100px 32px #69cf9c08; }
.art-card { display: flex; flex-direction: column; align-items: center; width: 230px; padding: 29px 20px; background: linear-gradient(145deg, #303035, #202023); border: 1px solid #ffffff12; border-radius: 24px; box-shadow: 0 24px 60px #0004; transform: rotate(-6deg); }
.art-card img { border-radius: 33px; box-shadow: 0 12px 24px #0002; }
.art-card span { font-size: 26px; font-weight: 700; letter-spacing: -1px; margin-top: 12px; }
.art-card small { color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.art-orbit { position: absolute; z-index: -1; border: 1px solid #ffffff08; border-radius: 50%; width: 310px; height: 310px; }
.orbit-two { width: 370px; height: 370px; }
.art-caption { position: absolute; bottom: -8px; color: #75757f; font-size: 12px; letter-spacing: 1px; }
.setup { padding-top: 30px; border-top: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 0 30px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: -.7px; }
.section-note { max-width: 230px; font-size: 14px; color: #85858f; text-align: right; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step { display: flex; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.step > div { min-width: 0; }
.step-number { color: var(--accent); font-size: 12px; line-height: 26px; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.5; margin: 0 0 11px; letter-spacing: -.3px; }
.step p, .note p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.step p + p { margin-top: 12px; }
.step strong { color: #e0e0e6; font-weight: 400; }
.step a { color: #c1eed6; }
.field-label { display: block; margin: 17px 0 7px; color: #90909a; font-size: 12px; }
.plugin-url { display: block; width: 100%; min-width: 0; border: 1px solid #ffffff16; border-radius: 6px; background: #18181b; padding: 11px 10px; color: var(--accent); font: 13px/1.5 monospace; }
.step p.hint { margin-top: 8px; font-size: 12px; color: #85858f; }
.hint a { white-space: nowrap; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 42px 0 32px; }
.note { position: relative; padding-left: 36px; }
.note-symbol { position: absolute; top: 0; left: 0; color: var(--accent); font-size: 25px; line-height: 1; }
.note h3 { font-size: 14px; margin-bottom: 8px; }
.note p { font-size: 14px; color: #92929d; }
.troubleshooting { border: 1px solid var(--border); border-radius: 9px; padding: 18px 22px; color: #bbb; font-size: 14px; }
.troubleshooting summary { cursor: pointer; color: #d3d3da; }
.troubleshooting p { line-height: 1.9; margin-bottom: 0; }
footer { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--border); margin-top: 48px; padding: 25px 0; }
footer > span { font-size: 19px; font-weight: 700; letter-spacing: -.6px; }
footer p { color: #767680; font-size: 13px; margin: 0; }
footer > a { margin-left: auto; color: #93939c; font-size: 13px; text-decoration: none; }
@media (max-width: 900px) {
  .shell { padding: 0 28px; }
  .hero { grid-template-columns: 1.5fr 1fr; gap: 0; min-height: 470px; }
  .art-card { width: 180px; padding: 22px 16px; }
  .art-card img { width: 112px; height: 112px; border-radius: 26px; }
  .art-orbit { width: 220px; height: 220px; }
  .orbit-two { width: 270px; height: 270px; }
  .step { padding: 22px 18px; gap: 12px; }
}
@media (max-width: 640px) {
  .shell { padding: 0 20px; }
  .header { min-height: 78px; }
  .brand { font-size: 22px; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .header-link { font-size: 12px; }
  .header-link span { margin-left: 4px; }
  .hero { display: block; min-height: 0; padding: 52px 0 42px; }
  .hero-art { display: none; }
  h1 { font-size: clamp(32px, 8vw, 48px); letter-spacing: -1.4px; }
  .lead { font-size: 14px; }
  .hero-tags { gap: 13px; font-size: 12px; }
  .section-heading { display: block; }
  h2 { font-size: 24px; }
  .section-note { display: block; max-width: none; margin-top: 12px; text-align: left; }
  .steps, .notes { grid-template-columns: 1fr; }
  .step { padding: 23px 18px; }
  .notes { gap: 28px; }
  .plugin-url { font-size: 12px; }
  footer { flex-wrap: wrap; gap: 8px 20px; }
  footer p { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.purpose { padding: 14px 0 48px; }
.purpose .section-heading { margin-bottom: 18px; }
.purpose-lead { max-width: 860px; margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.use-case { padding: 26px; background: #1e1e21; border: 1px solid var(--border); border-radius: 12px; }
.case-tag { display: block; margin-bottom: 14px; color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.use-case h3 { font-size: 19px; }
.use-case p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.case-route { margin-top: 22px; color: #c7c7cf; font-size: 13px; }
.purpose-footnote { margin: 22px 0 0; color: #92929d; font-size: 14px; line-height: 1.9; }
@media (max-width: 640px) {
  .use-cases { grid-template-columns: 1fr; }
  .use-case { padding: 23px 18px; }
  .purpose-lead { font-size: 15px; }
}

.tv-note { padding: 24px 26px; margin: 0 0 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: #a5efc808; }
.tv-note h3 { font-size: 19px; }
.tv-note p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }

.step:last-child { grid-column: 1 / -1; }
.troubleshooting + .troubleshooting { margin-top: 12px; }

/* Current feature guide and TV setup. */
.guide-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.guide-nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.guide-nav a:hover { color: var(--accent); }
.features { padding: 36px 0 48px; border-top: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: #1e1e21; }
.feature-card h3 { font-size: 18px; }
.feature-card p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.feature-card a { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--accent); }
.usage { margin-top: 48px; padding: 36px 0 12px; border-top: 1px solid var(--border); }
.use-case p + p { margin-top: 12px; }
.section-note { max-width: 260px; font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .header { flex-wrap: wrap; padding: 18px 0; }
  .guide-nav { order: 3; width: 100%; gap: 10px 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding-top: 28px; }
  .section-note { max-width: none; }
}
