/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #f7f8f5;
  --border: #e2e5df;
  --border-strong: #c9cec5;
  --text: #15201b;
  --text-2: #4e5a53;
  --text-3: #7c877f;
  --brand: #1f7a5c;
  --brand-strong: #165c45;
  --brand-soft: #e3f2ea;
  --brand-ink: #0f3d2d;
  --accent: #eb6834;
  --focus: #2a78d6;
  --shadow: 0 1px 2px rgba(20,30,25,.06), 0 6px 20px rgba(20,30,25,.06);
  --radius: 14px;
  --radius-sm: 8px;

  /* data-viz (validated reference palette, light) */
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --series-5: #e87ba4;
  --series-6: #008300;
  --series-7: #6250d6;
  --series-8: #e34948;
  --grid: #e6e8e3;
  --status-good: #0ca30c;
  --status-warning: #fab219;
  --status-serious: #ec835a;
  --status-critical: #d03b3b;

  /* Energy classes (EU label colors) */
  --class-A: #00a651; --class-B: #4cb848; --class-C: #bfd730; --class-D: #fff200;
  --class-E: #fdb913; --class-F: #f37021; --class-G: #ed1c24;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #131613; --surface: #1c201d; --surface-2: #232825; --border: #2f3531; --border-strong: #454c47;
    --text: #eef1ec; --text-2: #b9c1ba; --text-3: #869088;
    --brand: #3fb98c; --brand-strong: #5bcf9f; --brand-soft: #1d3a2f; --brand-ink: #d8f3e6;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
    --series-5: #d55181; --series-6: #008300; --series-7: #9085e9; --series-8: #e66767; --grid: #2d332f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131613; --surface: #1c201d; --surface-2: #232825; --border: #2f3531; --border-strong: #454c47;
  --text: #eef1ec; --text-2: #b9c1ba; --text-3: #869088;
  --brand: #3fb98c; --brand-strong: #5bcf9f; --brand-soft: #1d3a2f; --brand-ink: #d8f3e6;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-6: #008300; --series-7: #9085e9; --series-8: #e66767; --grid: #2d332f;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 30px; } h2 { font-size: 22px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0 0 .8em; }
small, .muted { color: var(--text-2); }
.tiny { font-size: 12px; color: var(--text-3); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.nav a.active { background: var(--brand-soft); color: var(--brand-ink); }
.nav a.disabled { opacity: .45; pointer-events: none; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.container { max-width: 1120px; margin: 0 auto; padding: 24px 16px 80px; }
.page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-header p { margin: 0; color: var(--text-2); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.grid-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.grid-wizard { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.sticky-side { position: sticky; top: 76px; }
@media (max-width: 800px) { .grid-main, .grid-hero, .grid-wizard { grid-template-columns: 1fr; } .sticky-side { position: static; } .demo-bar .tiny { display: none; } }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } .nav { display: none; } h1 { font-size: 24px; } }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; } .mt-s { margin-top: 8px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.soft { background: var(--surface-2); box-shadow: none; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-title h2, .card-title h3 { margin: 0; }
.section { margin-top: 32px; }
.section > h2 { margin-bottom: 4px; }
.section > .lead { color: var(--text-2); margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-weight: 560; cursor: pointer;
  transition: background .12s, transform .05s, border-color .12s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.danger { color: var(--status-critical); }
.btn.sm { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 560; font-size: 14px; }
.field .hint { font-size: 12.5px; color: var(--text-3); }
.input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 9px 12px; width: 100%;
}
.input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
textarea { min-height: 90px; resize: vertical; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 56px; }
.input-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 13px; pointer-events: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 13px; cursor: pointer;
  background: var(--surface); color: var(--text-2); font-weight: 500; font-size: 14px; user-select: none;
}
.choice:hover { border-color: var(--brand); color: var(--text); }
.choice.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.choice.wide { flex: 1 1 160px; }
.choice .sub { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle input { width: 42px; height: 24px; appearance: none; background: var(--border-strong); border-radius: 12px; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::after { transform: translateX(18px); }
.range { width: 100%; accent-color: var(--brand); }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }

/* ---------- Stepper ---------- */
.stepper { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.step { flex: 1 1 120px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); color: var(--text-3); font-size: 13px; font-weight: 500; }
.step .n { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--border); font-size: 12px; font-weight: 700; color: var(--text-2); flex-shrink: 0; }
.step.active { background: var(--brand-soft); color: var(--brand-ink); }
.step.active .n { background: var(--brand); color: #fff; }
.step.done { color: var(--text-2); }
.step.done .n { background: var(--brand); color: #fff; }

/* ---------- Badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.badge.brand { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; }
.badge.good { background: color-mix(in srgb, var(--status-good) 15%, transparent); color: var(--status-good); border-color: transparent; }
.badge.warn { background: color-mix(in srgb, var(--status-warning) 22%, transparent); color: #7a5300; border-color: transparent; }
:root[data-theme="dark"] .badge.warn { color: var(--status-warning); }
.badge.crit { background: color-mix(in srgb, var(--status-critical) 15%, transparent); color: var(--status-critical); border-color: transparent; }
.badge.info { background: color-mix(in srgb, var(--series-1) 14%, transparent); color: var(--series-1); border-color: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ---------- Stat tiles ---------- */
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .label { font-size: 13px; color: var(--text-2); }
.stat .value { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: 14px; font-weight: 500; color: var(--text-3); margin-left: 3px; }
.stat .delta { font-size: 13px; color: var(--text-2); }
.delta.good { color: var(--status-good); } .delta.bad { color: var(--status-critical); }
.hero-number { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Energy class ---------- */
.eclass { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; border-radius: 8px; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.eclass.xl { width: 84px; height: 84px; font-size: 44px; border-radius: 16px; }
.eclass.md { width: 36px; height: 36px; font-size: 18px; }
.eclass.sm { width: 26px; height: 26px; font-size: 13px; border-radius: 6px; }
.eclass.A { background: var(--class-A); } .eclass.B { background: var(--class-B); } .eclass.C { background: var(--class-C); color: #233; text-shadow: none; }
.eclass.D { background: var(--class-D); color: #233; text-shadow: none; } .eclass.E { background: var(--class-E); color: #233; text-shadow: none; }
.eclass.F { background: var(--class-F); } .eclass.G { background: var(--class-G); }
.escale { display: flex; flex-direction: column; gap: 4px; }
.escale .bar { display: flex; align-items: center; gap: 10px; height: 26px; }
.escale .bar .seg { height: 100%; border-radius: 0 6px 6px 0; display: flex; align-items: center; padding-left: 10px; font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); min-width: 34px; }
.escale .bar.C .seg, .escale .bar.D .seg, .escale .bar.E .seg { color: #233; text-shadow: none; }
.escale .bar .range { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.escale .bar .marker { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 6px; padding: 2px 8px; }
.escale .bar.is-current .seg { outline: 3px solid var(--text); outline-offset: 2px; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: 12.5px; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Charts ---------- */
.chart { width: 100%; height: auto; display: block; font-family: inherit; }
.chart text { fill: var(--text-2); font-size: 11.5px; }
.chart .axis line, .chart .grid line { stroke: var(--grid); stroke-width: 1; }
.chart .axis path { stroke: var(--border-strong); fill: none; }
.chart .label { fill: var(--text); font-weight: 600; }
.chart .mark { transition: opacity .12s; }
.chart .mark.dim { opacity: .35; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-2); margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.tooltip { position: fixed; pointer-events: none; z-index: 50; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; max-width: 240px; }
.tooltip b { font-variant-numeric: tabular-nums; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars .brow { display: grid; grid-template-columns: 150px 1fr 110px; align-items: center; gap: 10px; font-size: 14px; }
.bars .brow .track { height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; display: flex; }
.bars .brow .fill { height: 100%; border-radius: 0 4px 4px 0; }
.bars .brow .fill.after { background: var(--series-3); }
.bars .brow .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }
.bars .brow .name { color: var(--text); display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .bars .brow { grid-template-columns: 110px 1fr 90px; font-size: 13px; } }

/* ---------- Measures ---------- */
.measure { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .12s, background .12s; }
.measure:hover { border-color: var(--brand); }
.measure.on { border-color: var(--brand); background: var(--brand-soft); }
.measure .ck { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; margin-top: 2px; background: var(--surface); }
.measure.on .ck { background: var(--brand); border-color: var(--brand); color: #fff; }
.measure .mname { font-weight: 650; }
.measure .mdesc { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.measure .mnums { text-align: right; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.measure .mnums b { display: block; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.measure .mactions { grid-column: 2 / span 2; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.measure.na { opacity: .5; cursor: default; }
@media (max-width: 640px) { .measure { grid-template-columns: auto 1fr; } .measure .mnums { grid-column: 2; text-align: left; } .measure .mnums b { display: inline; margin-right: 6px; } .measure .mactions { grid-column: 1 / span 2; justify-content: flex-start; } }

/* ---------- Projects ---------- */
.pcard { display: flex; flex-direction: column; gap: 8px; }
.pcard h3 { margin: 0; }
.timeline { display: flex; gap: 0; margin: 6px 0 16px; }
.timeline .t { flex: 1; text-align: center; font-size: 12px; color: var(--text-3); position: relative; padding-top: 18px; }
.timeline .t::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--border-strong); z-index: 1; }
.timeline .t::after { content: ""; position: absolute; top: 9px; left: 50%; right: -50%; height: 2px; background: var(--border); }
.timeline .t:last-child::after { display: none; }
.timeline .t.done::before, .timeline .t.active::before { background: var(--brand); }
.timeline .t.done::after { background: var(--brand); }
.timeline .t.active { color: var(--brand-ink); font-weight: 650; }
.timeline .t.active::before { box-shadow: 0 0 0 4px var(--brand-soft); }
.quote { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.quote.chosen { border-color: var(--brand); background: var(--brand-soft); }
.quote .price { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.quote ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-2); }
.stars { color: var(--series-4); letter-spacing: 1px; font-size: 14px; }
.stars.lg { font-size: 20px; }
.review { padding: 12px 0; border-top: 1px solid var(--border); }
.review:first-child { border-top: 0; }
.review .who { font-weight: 600; font-size: 14px; }
.review .when { color: var(--text-3); font-size: 12px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.dropzone { border: 2px dashed var(--border-strong); border-radius: 12px; padding: 18px; text-align: center; color: var(--text-2); cursor: pointer; }
.dropzone:hover { border-color: var(--brand); color: var(--text); }
.dropzone input { display: none; }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: 420px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 12px; font-size: 14px; background: var(--surface); border: 1px solid var(--border); }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.msg .meta { display: block; font-size: 11px; opacity: .7; margin-top: 3px; }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.chat form .input { flex: 1; }

/* ---------- Contract ---------- */
.contract { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; font-family: Georgia, "Times New Roman", serif; line-height: 1.6; }
.contract h2 { font-family: inherit; font-size: 20px; margin-top: 0; }
.contract h3 { font-family: inherit; font-size: 15px; margin-top: 18px; }
.signbox { border: 1px dashed var(--border-strong); border-radius: 10px; padding: 14px; min-height: 90px; display: flex; flex-direction: column; justify-content: flex-end; }
.signbox .sig { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 26px; color: var(--series-1); }

/* ---------- Misc ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(10,14,12,.5); z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 16px; padding: 24px; width: min(520px, 100%); box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.toast-wrap { position: fixed; bottom: 60px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); max-width: 340px; }
.callout { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; }
.callout.warn { background: color-mix(in srgb, var(--status-warning) 18%, transparent); color: var(--text); }
.callout.info { background: color-mix(in srgb, var(--series-1) 12%, transparent); color: var(--text); }
.demo-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 8px 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; z-index: 30; flex-wrap: wrap; }
.demo-bar .tag { background: var(--accent); color: #fff; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-size: 11px; letter-spacing: .04em; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; }
.kv dt { color: var(--text-2); } .kv dd { margin: 0; font-weight: 500; }
.empty { text-align: center; padding: 40px 20px; color: var(--text-2); }
.empty h3 { color: var(--text); }
.progress { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.progress > div { height: 100%; background: var(--brand); border-radius: 4px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 48px 0 24px; }
.hero h1 { font-size: 40px; margin-bottom: 12px; }
.hero p.big { font-size: 18px; color: var(--text-2); }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; padding-top: 24px; } .hero h1 { font-size: 30px; } }
.feature { display: flex; gap: 12px; }
.feature .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; }
.unlock { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.unlock.locked { opacity: .6; }
.unlock .ic { font-size: 22px; }
.theme-btn { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); z-index: 30; }
.mobile-nav a { flex: 1; text-align: center; padding: 10px 4px; font-size: 12px; color: var(--text-2); }
.mobile-nav a.active { color: var(--brand); font-weight: 650; }
@media (max-width: 640px) { .mobile-nav { display: flex; } .demo-bar { bottom: 46px; } .container { padding-bottom: 140px; } }
