/* Cantabile website. The console's palette (platform/web/src/style.css) and the
   colours of the mark (hub/branding/cantabile-mark.svg, 2026-11-05: the hero's sun). System fonts, no external requests.
   Light and dark follow the visitor's system setting.
   Copyright © 2026 Setti Solutions S.R.L, www.setti.md */

:root {
  color-scheme: light dark;
  --ink: #1d3a2f; --soft: #4b6559; --line: #d6e4dc; --paper: #f6f9f7; --surface: #ffffff;
  --tint: #eaf4ee; --tint-2: #f1f7f3;
  --accent: #2f7d5b; --accent-ink: #23634a; --on-accent: #ffffff;
  --sun: #f39a1e; --sun-soft: #fff3d6; --sun-ink: #7a4b00;
  --info: #1d4b7a; --info-bg: #e3edf8; --warn: #7a4b00; --warn-bg: #fbecd0;
  --ok: #1f5d3a; --ok-bg: #dff1e6; --violet: #5b2a7a; --violet-bg: #efe3f7;
  --shadow: 0 1px 2px rgb(29 58 47 / 6%), 0 8px 24px rgb(29 58 47 / 7%);
  /* drawings */
  --il-sky: #e6f2ea; --il-ground: #d3e6da; --il-bld: #ffffff; --il-stroke: #1d3a2f;
  --il-win: #dbe8e0; --il-win-on: #ffd25a; --il-door: #2f7d5b; --il-pv: #24507a; --il-pv-line: #6f9cc6;
  --il-box: #f4f8f5; --il-batt: #3f9a3a; --il-car: #2f7d5b; --il-wheel: #1d3a2f; --il-display: #9fd3b6;
  --ch-price: #1d6fb8; --ch-pv: #f3b43c; --ch-charge: #3f9a3a; --ch-discharge: #c4561d; --ch-car: #7a4fb0;
  --ch-limit: #b3261e; --ch-before: #7d8f86; --ch-after: #2f7d5b;
  --radius: 10px; --radius-lg: 16px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e1efe7; --soft: #a9c1b5; --line: #2c3d35; --paper: #0f1813; --surface: #16221c;
    --tint: #1a2b23; --tint-2: #142019;
    --accent: #5cc493; --accent-ink: #7fd6aa; --on-accent: #0b1f15;
    --sun: #f7b52c; --sun-soft: #2e2512; --sun-ink: #f3c77e;
    --info: #9cc3ef; --info-bg: #18283a; --warn: #f3c77e; --warn-bg: #3a2c12;
    --ok: #a6e0bf; --ok-bg: #19302a; --violet: #d2b0ea; --violet-bg: #2c1f36;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    --il-sky: #15261e; --il-ground: #1c3027; --il-bld: #22342b; --il-stroke: #a9c1b5;
    --il-win: #2d4238; --il-win-on: #f3c14d; --il-door: #5cc493; --il-pv: #3b6fa3; --il-pv-line: #8fb7df;
    --il-box: #2a3d34; --il-batt: #74c46b; --il-car: #5cc493; --il-wheel: #0f1813; --il-display: #5cc493;
    --ch-price: #8fc1f0; --ch-pv: #f3c77e; --ch-charge: #74c46b; --ch-discharge: #f0a070; --ch-car: #c9a6ea;
    --ch-limit: #f08a80; --ch-before: #8aa196; --ch-after: #5cc493;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.025em; font-weight: 750; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
h4 { font-size: 1.02rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
small, .small { font-size: .9rem; color: var(--soft); }
strong { font-weight: 680; }
abbr { text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--surface); color: var(--ink);
  padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.top .brand { flex: none; margin-right: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-weight: 760; font-size: 1.22rem; letter-spacing: -.01em; }
.brand img { width: 36px; height: auto; }
.nav-wide { margin-left: auto; }
.nav-wide ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-wide li { margin: 0; }
.nav-wide a, .nav-narrow a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink);
  text-decoration: none; font-size: .95rem; font-weight: 560; white-space: nowrap; }
.nav-wide a:hover, .nav-narrow a:hover { background: var(--tint); }
.nav-wide a[aria-current="page"], .nav-narrow a[aria-current="page"] { color: var(--accent-ink); background: var(--tint); }
.top-end { display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.lang:hover { background: var(--tint); }
.nav-narrow { display: none; position: relative; }
.nav-narrow summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary span { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
  position: relative; }
.nav-narrow summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.nav-narrow[open] summary { background: var(--tint); }
.nav-narrow nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.nav-narrow ul { list-style: none; margin: 0; padding: 0; }
.nav-narrow li { margin: 0; }
.nav-narrow a { padding: 10px 12px; font-size: 1rem; }
@media (max-width: 1180px) {
  .nav-wide { display: none; }
  .nav-narrow { display: block; }
  .top-end { margin-left: auto; }
}
@media (max-width: 420px) { .top-end .btn-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 650; text-decoration: none; border: 2px solid var(--accent);
  line-height: 1.2; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn .ic { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--accent); color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* icons */
.ic { width: 24px; height: 24px; flex: none; vertical-align: middle; }
.ic-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--tint); color: var(--accent-ink); margin-bottom: 14px; }
.ic-badge.sun { background: var(--sun-soft); color: var(--sun-ink); }
.ic-badge .ic { width: 24px; height: 24px; }

/* hero */
.hero { padding: 64px 0 56px; background:
  radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--sun) 14%, transparent), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--soft); max-width: 62ch; }
.hero .lead { color: var(--ink); opacity: .86; }
.hero-small { padding: 56px 0 36px; }
.hero-small .lead { margin-bottom: 0; }
.hero-art { width: 100%; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 40px; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 520px; margin: 0 auto; }
}
.status { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 12px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); font-size: .95rem; max-width: 62ch; }
.status .ic { color: var(--accent-ink); width: 20px; height: 20px; margin-top: 2px; }

/* bands (sections) */
.band { padding: 72px 0; }
.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.tint { background: var(--tint-2); }
.band.tight { padding: 48px 0; }
@media (max-width: 600px) { .band { padding: 48px 0; } .band.tight { padding: 36px 0; } }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; display: block; }

/* cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cards h3, .aud h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.cards.five .card { padding: 20px; }
@media (max-width: 1100px) { .cards.five { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 400px) { .cards.two, .cards.three { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; }
.band.alt .card { background: var(--paper); box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more .ic { width: 18px; height: 18px; }
.card .more:hover { text-decoration: underline; }
a.card { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card ul { padding-left: 1.1em; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: .4em; }
.card-head h3 { margin: 0; }

/* tags */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 720; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.tag-today { background: var(--ok-bg); color: var(--ok); }
.tag-coming { background: var(--warn-bg); color: var(--warn); }
.tag-sim { background: var(--info-bg); color: var(--info); }
.tag-law { background: var(--violet-bg); color: var(--violet); }

/* split: text beside a figure */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; } }

/* checks */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-bg); }
.checks li::after { content: ""; position: absolute; left: 5px; top: calc(.3em + 5px); width: 8px; height: 4px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* the flow: devices -> hub -> agent -> cloud -> market */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow li { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 18px; box-shadow: var(--shadow); }
.band.alt .flow li { background: var(--paper); box-shadow: none; }
.flow li::after { content: ""; position: absolute; right: -13px; top: 50%; width: 12px; height: 12px;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.05rem; margin: 0 0 .35em; }
.flow p { font-size: .94rem; margin: 0; color: var(--soft); }
.flow .ic-badge { margin-bottom: 10px; }
.flow-note { margin-top: 18px; color: var(--soft); font-size: .95rem; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .flow li .ic-badge { grid-row: span 2; margin: 0; }
  .flow li::after { right: auto; left: 37px; top: auto; bottom: -15px; transform: rotate(135deg); }
}

/* the stack: four layers */
.stack { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; color: inherit; text-decoration: none; }
.layer:nth-child(1) { border-left-color: #24507a; }
.layer:nth-child(2) { border-left-color: var(--accent); }
.layer:nth-child(3) { border-left-color: #3f9a3a; }
.layer:nth-child(4) { border-left-color: var(--sun); }
.layer h3 { margin: 0; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.layer p { margin: 0; color: var(--soft); font-size: .96rem; }
a.layer:hover { border-color: var(--accent); }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 6px; } }

/* nested floors */
.small.after { margin-top: 16px; }
.after-tag { margin-top: 10px; }
.floors { display: grid; gap: 0; max-width: 560px; list-style: none; padding: 0; margin: 0; }
.floors li { border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .96rem; }
.floors .f1 { background: var(--ink); color: var(--paper); margin: 0; }
.floors .f2 { background: var(--tint); margin: 8px 24px 0; }
.floors .f3 { background: var(--surface); border: 1px solid var(--line); margin: 8px 48px 0; }
.floors .f4 { background: var(--tint); margin: 8px 72px 0; }
.floors .f5 { background: var(--sun-soft); color: var(--sun-ink); margin: 8px 96px 0; }
.floors span { display: block; font-weight: 400; font-size: .86rem; opacity: .85; }
@media (max-width: 500px) {
  .floors .f2 { margin: 8px 12px 0; } .floors .f3 { margin: 8px 24px 0; } .floors .f4 { margin: 8px 36px 0; } .floors .f5 { margin: 8px 48px 0; }
}

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--tint); font-size: .9rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 650; }
.table-wrap.min table { min-width: 680px; }
/* a wide table scrolls inside its frame: soft edges show there is more */
.table-wrap.min { background:
  linear-gradient(to right, var(--surface) 30%, transparent) left / 40px 100% no-repeat local,
  linear-gradient(to left, var(--surface) 30%, transparent) right / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 16%), transparent) left / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 16%), transparent) right / 14px 100% no-repeat scroll,
  var(--surface); }
.scroll-hint { display: none; font-size: .88rem; color: var(--soft); margin: 8px 0 0; }
@media (max-width: 760px) { .scroll-hint { display: block; } }

/* notes */
.note { border-radius: var(--radius); padding: 16px 20px; background: var(--tint); border-left: 4px solid var(--accent); margin: 24px 0; }
.note p:last-child { margin-bottom: 0; }
.note strong:first-child { display: block; margin-bottom: 4px; }
.note.legal { background: var(--violet-bg); border-left-color: var(--violet); }
.note.sim { background: var(--info-bg); border-left-color: var(--info); }
.note.todo { background: var(--warn-bg); border-left-color: var(--warn); color: var(--ink); }

/* figures and legends */
figure { margin: 0; }
.shot { display: block; width: auto; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff; }
.shots { display: grid; gap: 36px; }
.after-rows { margin-top: 40px; }
@media (min-width: 901px) { .shots.two { grid-template-columns: 1fr 1fr; align-items: start; } }
.shots figure { margin: 0; }
.shots figcaption .tag { margin-right: 6px; }
.figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.band.alt .figure { background: var(--paper); }
figcaption { font-size: .92rem; color: var(--soft); margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .92rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.sw { width: 18px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.sw.line { height: 3px; border-radius: 2px; }
.sw.dash { height: 0; border-top: 3px dashed; background: none !important; }
.sw-price { background: var(--ch-price); } .sw-pv { background: var(--ch-pv); } .sw-charge { background: var(--ch-charge); }
.sw-discharge { background: var(--ch-discharge); } .sw-car { background: var(--ch-car); }
.sw-limit { border-color: var(--ch-limit); } .sw-before { border-color: var(--ch-before); } .sw-after { background: var(--ch-after); }
.numkey { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.numkey li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; margin: 0; font-size: .96rem; }
.numkey b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent);
  color: var(--on-accent); font-size: .85rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.band.alt .stat { background: var(--paper); }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: .92rem; color: var(--soft); }

/* definition-style rows */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0; font-size: 1.05rem; }
.rows p { margin: 0; }
@media (max-width: 700px) { .rows > div { grid-template-columns: 1fr; gap: 6px; } }

/* audiences */
.aud { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.aud:first-of-type { border-top: 0; padding-top: 0; }
.aud h2 { font-size: 1.6rem; margin-top: 4px; }
.aud .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; gap: 12px; } .aud .cols { grid-template-columns: 1fr; gap: 8px; } }

/* call to action */
.cta-band { background: linear-gradient(135deg, #1d3a2f, #23634a); color: #f2f8f4; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9ebe1; margin: 0; }
.cta-band .btn { background: #ffd23f; border-color: #ffd23f; color: #1d3a2f; }
.cta-band .btn:hover { background: #ffe07a; border-color: #ffe07a; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* long text pages */
.prose { max-width: 760px; }
.todo-mark { background: var(--warn-bg); color: var(--warn); font-weight: 650; padding: 1px 6px; border-radius: 4px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 24px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.motto { font-style: italic; color: var(--soft); margin: 10px 0 6px; }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: .88rem; }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--soft); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* drawings */
.draw { display: block; width: 100%; height: auto; }
.il-sky { fill: var(--il-sky); }
.il-ground { fill: var(--il-ground); }
.il-bld { fill: var(--il-bld); stroke: var(--il-stroke); stroke-width: 2; stroke-linejoin: round; }
.il-roof { fill: none; stroke: var(--il-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-win { fill: var(--il-win); }
.il-win-on { fill: var(--il-win-on); }
.il-door { fill: var(--il-door); }
.il-pv { fill: var(--il-pv); }
.il-pv-line { fill: none; stroke: var(--il-pv-line); stroke-width: 1; }
.il-box { fill: var(--il-box); stroke: var(--il-stroke); stroke-width: 2; }
.il-batt { fill: var(--il-batt); }
.il-display { fill: var(--il-display); }
.il-fan { fill: none; stroke: var(--il-stroke); stroke-width: 2; }
.il-fan-blade { stroke: var(--il-stroke); stroke-width: 2; }
.il-car { fill: var(--il-car); }
.il-wheel { fill: var(--il-wheel); stroke: var(--il-bld); stroke-width: 2; }
.il-cable { fill: none; stroke: var(--il-stroke); stroke-width: 2; }
.il-pylon path { fill: none; stroke: var(--il-stroke); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.il-wire { fill: none; stroke: var(--il-stroke); stroke-width: 1.6; opacity: .55; }
.il-flow { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; }
.il-flow-sun { stroke: #f39a1e; }
.il-flow-green { stroke: #3f9a3a; }
@media (prefers-reduced-motion: no-preference) {
  .il-flow { animation: flow 1.6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -24; } }
}
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-axis { stroke: var(--soft); stroke-width: 1.5; }
.ch-tick { stroke: var(--soft); stroke-width: 1.5; }
.ch-num { fill: var(--soft); font: 600 20px var(--font); }
.ch-pv { fill: var(--ch-pv); opacity: .45; }
.ch-price { fill: none; stroke: var(--ch-price); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ch-charge { fill: var(--ch-charge); }
.ch-discharge { fill: var(--ch-discharge); }
.ch-car { fill: var(--ch-car); }
.ch-limit { stroke: var(--ch-limit); stroke-width: 2.5; stroke-dasharray: 8 6; }
.ch-before { fill: none; stroke: var(--ch-before); stroke-width: 3; stroke-dasharray: 6 6; stroke-linejoin: round; }
.ch-after { fill: none; stroke: var(--ch-after); stroke-width: 3.5; stroke-linejoin: round; }
.ch-after-area { fill: var(--ch-after); opacity: .14; }
.tp-flow { fill: none; stroke: #f39a1e; stroke-width: 3.5; stroke-linecap: round; }
.tp-flow.tp-grid { stroke: var(--soft); stroke-dasharray: 7 6; }
.tp-arrowhead { fill: var(--soft); }
.tp-num { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.tp-num-t { fill: var(--on-accent); font: 700 18px var(--font); }

@media print {
  .top, .foot, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
