/* Public showcase + ideas pages */
:root { color-scheme: light; --bg: #faf9f6; --surface: #ffffff; --surface2: #f1efe9; --border: #e5e2da; --text: #16140f; --muted: #5d5a52; --primary: #c2410c; --accent: #1d4ed8; --radius: 16px; }
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; --bg: #11100e; --surface: #1a1916; --surface2: #25231f; --border: #34312b; --text: #f6f4ef; --muted: #b9b4a8; --primary: #fb923c; --accent: #60a5fa; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Inter, system-ui, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; max-width: 1180px; margin: 0 auto; }
header.site .brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
header.site nav { display: flex; gap: 16px; }
header.site nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.hero { padding: 48px 20px 28px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.02em; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 720px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 26px 0 20px; }
.tab { border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 99px; font: 600 15px inherit; font-family: inherit; cursor: pointer; }
.tab.on { background: var(--text); color: var(--bg); border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.demo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.demo .poster { padding: 26px 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.demo .poster .engine { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.demo .poster .title { font-size: 28px; line-height: 1.05; }
.demo .poster .event { opacity: .8; font-size: 14px; }
.demo .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.demo .body h3 { margin: 0; font-size: 17px; }
.demo .body p { margin: 0; color: var(--muted); font-size: 14px; }
.demo .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--text); color: var(--bg); border-color: transparent; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: var(--surface2); color: var(--muted); }
.chip.warn { background: #facc15; color: #1a1400; }
section.block { padding: 36px 0; }
section.block h2 { font-size: 28px; margin: 0 0 6px; }
section.block > p { color: var(--muted); margin: 0 0 18px; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.how div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.how b { display: block; font-size: 30px; color: var(--primary); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters select, .filters input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.idea { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.idea h3 { margin: 0; font-size: 18px; }
.idea p { margin: 0; font-size: 14px; }
.idea .how-it { color: var(--muted); }
.fam { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.live { font-size: 12px; font-weight: 700; color: #15803d; }
@media (prefers-color-scheme: dark) { .live { color: #4ade80; } }
footer { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 14px; }
.filters select, .filters label { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (pointer: coarse) { .tab, .btn, .filters select, .filters input, header.site nav a { min-height: 44px; } header.site nav a { display: inline-flex; align-items: center; } }
