/* Vaatur Cloud: one stylesheet for the client app, sign-in pages and installer page. */
:root {
  --bg: #17222b;
  --bg-2: #1b2832;
  --card: #1f2e3a;
  --card-2: #253746;
  --line: rgba(236, 240, 241, 0.09);
  --line-2: rgba(236, 240, 241, 0.16);
  --text: #ecf0f1;
  --muted: #9aabb8;
  --faint: #6f8291;
  --accent: #5cbf7a;
  --accent-2: #4aa868;
  --accent-ink: #0d1a12;
  --warn: #e8b65c;
  --danger: #f08070;
  --info: #7fb2e5;
  --heat: #f0935a;
  --dhw: #5aa9e6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.25);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 24px; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 18px; margin: 0; }
button, input, select { font: inherit; color: inherit; }
.center { text-align: center; }
.sub { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.fine { color: var(--faint); font-size: 12.5px; text-align: center; margin: 18px 0 0; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo .mark { width: 40px; height: 27px; display: block; }
.logo .wordmark { font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.logo-lg .mark { width: 52px; height: 35px; }
.logo-lg .wordmark { font-size: 23px; }

/* ---------- language switch ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--faint); }
.lang-switch button {
  background: none; border: 0; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  color: var(--muted); font-weight: 600; letter-spacing: 0.04em;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.on { color: var(--text); background: rgba(236, 240, 241, 0.08); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover:not(:disabled) { background: #6ccb88; }
.btn-soft { background: rgba(92, 191, 122, 0.12); color: var(--accent); border-color: rgba(92, 191, 122, 0.25); }
.btn-soft:hover { background: rgba(92, 191, 122, 0.18); }
.btn-soft svg { fill: currentColor; stroke: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(236, 240, 241, 0.05); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(240, 128, 112, 0.35); }
.btn-danger:hover { background: rgba(240, 128, 112, 0.08); }
.btn-google { width: 100%; background: #fff; color: #1f2937; border-color: #fff; }
.btn-google:hover { background: #f1f3f4; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted);
}
.icon-btn:hover { color: var(--text); background: rgba(236, 240, 241, 0.05); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input[type="email"], input[type="text"], input[type="password"], input:not([type]), select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-size: 16px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: var(--faint); }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92, 191, 122, 0.18); }
input.bad { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(240, 128, 112, 0.15); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px; }
.pw-eye {
  position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none;
  color: var(--faint); cursor: pointer; display: grid; place-items: center; border-radius: 8px;
}
.pw-eye:hover, .pw-eye.on { color: var(--text); }
.pw-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.form-error { color: var(--danger); font-size: 14px; margin: -4px 0 14px; }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; border: 1px solid; line-height: 1.45; }
.alert.ok { background: rgba(92, 191, 122, 0.1); border-color: rgba(92, 191, 122, 0.3); color: #bfe8cb; }
.alert.error { background: rgba(240, 128, 112, 0.1); border-color: rgba(240, 128, 112, 0.32); color: #f7c4bb; }
.alert.info { background: rgba(127, 178, 229, 0.1); border-color: rgba(127, 178, 229, 0.3); color: #cfe2f5; }
.link-muted { color: var(--muted); font-size: 14px; }
.link-muted:hover { color: var(--text); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--faint); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- auth layout (sign in, forgot, invite, reset) ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; }
.hero {
  display: none; position: relative; overflow: hidden; width: 55%; padding: 40px 48px;
  flex-direction: column; justify-content: space-between;
  background: radial-gradient(1200px 600px at 20% 10%, #22394a 0%, transparent 60%), linear-gradient(140deg, #131c24 0%, #1a2b37 60%, #1d3341 100%);
  border-right: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero > * { position: relative; }
.hero-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 0; }
.hero h2 { font-size: 30px; line-height: 1.2; margin-top: 34px; letter-spacing: -0.01em; }
.hero p { color: var(--muted); max-width: 420px; margin: 12px auto 0; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.pills span { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; color: rgba(236, 240, 241, 0.8); background: rgba(236, 240, 241, 0.07); border: 1px solid rgba(236, 240, 241, 0.12); }
.hero-foot { color: var(--faint); font-size: 12.5px; }

.hero-art { position: relative; width: 300px; height: 250px; }
.art-card {
  position: absolute; left: 30px; top: 10px; width: 240px; padding: 18px; border-radius: 18px;
  background: rgba(236, 240, 241, 0.06); border: 1px solid rgba(236, 240, 241, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); text-align: left;
}
.art-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.art-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(92, 191, 122, 0.18); flex: none; }
.art-line { display: block; height: 7px; border-radius: 4px; background: rgba(236, 240, 241, 0.25); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.art-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); margin-bottom: 12px; }
.art-tabs span { flex: 1; height: 18px; border-radius: 7px; }
.art-tabs span.on { background: rgba(236, 240, 241, 0.16); }
.art-stat { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(236, 240, 241, 0.08); }
.art-stat b { font-size: 17px; font-variant-numeric: tabular-nums; }
.art-stat.total b { color: var(--accent); }
.art-badge {
  position: absolute; right: -34px; bottom: -22px; width: 150px; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; background: #233746; border: 1px solid rgba(236, 240, 241, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.art-badge .art-line { flex: 1; }

.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 18px 16px 32px; }
.auth-top { width: 100%; max-width: 420px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; min-height: 44px; }
.auth-card { width: 100%; max-width: 420px; padding: 28px 22px; margin: 4vh 0 auto; }
.auth-card.center h1 { font-size: 21px; }
.mobile-tag { width: 100%; max-width: 420px; margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.mobile-tag b { display: block; color: var(--text); font-size: 22px; line-height: 1.25; margin-bottom: 4px; }
.auth-card h1 { margin-bottom: 0; }
.badge-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(92, 191, 122, 0.12); color: var(--accent); border: 1px solid rgba(92, 191, 122, 0.25); }
.badge-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge-icon.warn { background: rgba(232, 182, 92, 0.12); color: var(--warn); border-color: rgba(232, 182, 92, 0.28); }
.auth-card.center .badge-icon { margin-left: auto; margin-right: auto; }
.auth-card .btn + .center, .auth-card form .center { margin: 16px 0 0; }
.auth-solo .auth-main { justify-content: flex-start; }

@media (min-width: 1024px) {
  .hero { display: flex; }
  .logo-mobile { visibility: hidden; }
  .mobile-tag { display: none; }
  .auth-main { justify-content: center; padding: 28px 40px; }
  .auth-top { position: absolute; top: 24px; right: 32px; width: auto; margin: 0; }
  .auth-card { padding: 36px 34px; margin: 0; }
  .auth-solo .auth-main { justify-content: center; }
  .auth-solo .auth-top { position: static; width: 100%; max-width: 420px; margin-bottom: 28px; }
  .auth-solo .logo-mobile { visibility: visible; }
}

.auth .logo:hover { text-decoration: none; }
#auth .auth-card { margin-bottom: 0; }
.to-home { width: 100%; max-width: 420px; margin: 14px 0 auto; text-align: center; }
.to-home a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; }
.to-home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1024px) {
  .to-home { position: absolute; left: 55%; top: 24px; width: auto; margin: 0 0 0 24px; }
}

/* ---------- public main page ---------- */
.landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.landing main { flex: 1; }
.l-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.l-nav {
  position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top);
  background: rgba(23, 34, 43, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.l-nav-in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.l-nav .logo:hover { text-decoration: none; }
.l-nav .logo .mark { width: 34px; height: 23px; }
.l-nav .logo .wordmark { font-size: 18px; }
.l-nav-act { display: flex; align-items: center; gap: 6px; }

.l-eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.l-h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; margin: 10px 0 0; max-width: 22ch; }

/* hero */
.l-hero {
  position: relative; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 520px at 85% 0%, rgba(92, 191, 122, 0.10) 0%, transparent 60%), radial-gradient(1000px 600px at 0% 0%, #213646 0%, transparent 65%);
}
.l-hero-in { display: grid; gap: 40px; padding-top: 34px; padding-bottom: 48px; }
.l-title { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.l-title h1 { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.l-appicon {
  width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; color: var(--text);
  background: linear-gradient(160deg, #263a49, #1a2833); border: 1px solid var(--line-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.l-appicon .mark { width: 44px; height: 29px; display: block; }
.l-lead { margin: 18px 0 0; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; color: var(--text); max-width: 20ch; }
.l-sub { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
.l-cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 26px; }
.l-btn { min-height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.l-btn:hover { text-decoration: none; }
.l-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 6px;
  border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer;
}
.l-more:hover { color: var(--text); }
.l-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.l-trust { margin: 10px 0 0; font-size: 13px; color: var(--faint); text-align: center; }

/* phone mock (decorative) */
.l-shot { position: relative; display: flex; justify-content: center; height: 400px; overflow: hidden; margin: 0 -20px -48px; padding-top: 6px;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.l-glow { position: absolute; left: 50%; top: 40px; width: 340px; height: 340px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 191, 122, 0.22) 0%, rgba(92, 191, 122, 0) 65%); pointer-events: none; }
.l-phone {
  position: relative; width: 270px; height: 548px; flex: none; padding: 10px; border-radius: 44px;
  background: linear-gradient(160deg, #3a4b58, #1c2730 40%, #2c3a45); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.l-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: var(--bg); border: 1px solid rgba(0, 0, 0, 0.6); }
.l-island { position: absolute; left: 50%; top: 9px; width: 76px; height: 22px; transform: translateX(-50%); border-radius: 12px; background: #05090c; z-index: 2; }
.m-top { display: flex; align-items: center; justify-content: space-between; padding: 40px 14px 10px; border-bottom: 1px solid var(--line); }
.m-top .logo { gap: 6px; }
.m-top .logo .mark { width: 24px; height: 16px; }
.m-top .logo .wordmark { font-size: 13px; }
.m-pkg { font-size: 10px; font-weight: 600; color: var(--accent); padding: 4px 8px; border-radius: 7px; background: rgba(92, 191, 122, 0.12); border: 1px solid rgba(92, 191, 122, 0.25); }
.m-body { padding: 14px 14px 0; }
.m-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.m-sample { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); padding: 3px 7px; border-radius: 6px; background: rgba(232, 182, 92, 0.1); border: 1px solid rgba(232, 182, 92, 0.3); }
.m-status { display: flex; align-items: center; gap: 6px; margin: 4px 0 12px; font-size: 10.5px; color: var(--muted); }
.m-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(92, 191, 122, 0.16); flex: none; }
.m-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 10px; }
.m-tabs span { text-align: center; font-size: 10.5px; font-weight: 600; color: var(--muted); line-height: 24px; border-radius: 7px; }
.m-tabs span.on { background: var(--card-2); color: var(--text); }
.m-stats { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.m-stat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.m-stat:first-child { border-top: 0; }
.m-stat.total { background: rgba(92, 191, 122, 0.06); }
.m-lbl { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.m-lbl .sw { width: 8px; height: 8px; border-radius: 2px; }
.m-val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
.m-val b { font-size: 16px; }
.m-val small { font-size: 10px; color: var(--muted); font-weight: 600; }
.m-val em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }
.m-stat.total b { color: var(--accent); font-size: 18px; }
.m-stat.total em { color: var(--text); font-weight: 600; }
.m-fee { display: flex; justify-content: space-between; margin-top: 8px; padding: 8px 12px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.m-fee span:last-child { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.m-note { margin: 10px 2px 0; font-size: 9.5px; color: var(--faint); }

/* features */
.l-features { padding: 52px 0 20px; scroll-margin-top: 60px; }
.l-list { list-style: none; margin: 28px 0 0; padding: 0; }
.l-item {
  display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "ico kick" "ico title" "ico text";
  column-gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-2);
}
.l-kicker { grid-area: kick; font: 600 12.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--faint); letter-spacing: 0.04em; }
.l-ico {
  grid-area: ico; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(92, 191, 122, 0.1); border: 1px solid rgba(92, 191, 122, 0.24); color: var(--accent);
}
.l-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-item h3 { grid-area: title; margin: 8px 0 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.l-item p { grid-area: text; margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.l-note { display: block; margin-top: 8px; font-size: 13px; color: var(--faint); }

/* final call */
.l-final { padding: 20px 0 56px; }
.l-final-box {
  padding: 26px 22px; border-radius: var(--radius); border: 1px solid rgba(92, 191, 122, 0.25);
  background: linear-gradient(160deg, rgba(92, 191, 122, 0.10), rgba(92, 191, 122, 0.02)), var(--card);
}
.l-final .l-h2 { margin: 0; font-size: 23px; }
.l-final p { margin: 10px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 52ch; }
.l-final-box .btn { width: 100%; }

/* footer */
.l-foot { border-top: 1px solid var(--line); background: #131c23; padding: 30px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 14px; }
.l-foot-in { display: grid; gap: 22px; }
.l-foot .logo .mark { width: 30px; height: 20px; }
.l-foot .logo .wordmark { font-size: 16px; }
.l-foot-brand p { margin: 10px 0 0; color: var(--muted); max-width: 34ch; }
.l-foot-contact { display: flex; flex-direction: column; gap: 6px; }
.l-foot-contact b { color: var(--text); }
.l-foot-contact a { color: var(--muted); align-self: flex-start; }
.l-foot-contact a:hover { color: var(--text); }
.l-foot-copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }

@media (min-width: 720px) {
  .l-wrap { padding: 0 32px; }
  .l-h2 { font-size: 32px; }
  .l-cta { flex-direction: row; align-items: center; gap: 18px; }
  .l-trust { text-align: left; margin-top: 16px; }
  .l-features { padding: 72px 0 28px; }
  .l-item { grid-template-columns: 56px 44px minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "kick ico title text"; column-gap: 20px; align-items: start; padding: 28px 0; }
  .l-kicker { font-size: 15px; padding-top: 14px; }
  .l-item h3 { margin-top: 9px; font-size: 20px; }
  .l-item p { margin-top: 9px; max-width: 56ch; }
  .l-item h3 { padding-right: 12px; }
  .l-final { padding: 28px 0 80px; }
  .l-final-box { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t b" "p b"; column-gap: 32px; align-items: center; padding: 32px 36px; }
  .l-final .l-h2 { grid-area: t; font-size: 26px; }
  .l-final p { grid-area: p; margin-bottom: 0; }
  .l-final-box .btn { grid-area: b; width: auto; }
  .l-foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .l-foot-contact { text-align: right; align-items: flex-end; }
  .l-foot-contact a { align-self: flex-end; }
}
@media (min-width: 1024px) {
  .l-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 0; min-height: 600px; }
  .l-hero-text { padding-bottom: 56px; }
  .l-title { margin-top: 22px; gap: 20px; }
  .l-title h1 { font-size: 88px; }
  .l-appicon { width: 84px; height: 84px; border-radius: 21px; }
  .l-appicon .mark { width: 58px; height: 38px; }
  .l-lead { font-size: 32px; margin-top: 22px; }
  .l-sub { font-size: 17px; }
  .l-cta { margin-top: 32px; }
  .l-shot { height: 540px; margin: 0; padding-top: 0; align-self: end; align-items: flex-start;
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, #000 84%, transparent 100%); }
  .l-phone { width: 300px; height: 610px; }
  .l-glow { width: 520px; height: 520px; top: 20px; }
  .m-top { padding-top: 44px; }
  .m-body { padding: 16px 16px 0; }
}
@media (max-width: 380px) {
  .l-nav .logo .wordmark { display: none; }
  .l-title h1 { font-size: 48px; }
}

/* ---------- signed-in shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(23, 34, 43, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top);
}
.topbar-in { max-width: 1120px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar .logo .mark { width: 34px; height: 23px; }
.topbar .logo .wordmark { font-size: 18px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.container { max-width: 720px; margin: 0 auto; padding: 22px 16px calc(40px + env(safe-area-inset-bottom)); }

/* pump screen */
.obj-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.obj-title { min-width: 0; flex: 1; }
.obj-title h1 { font-size: 26px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obj-select { height: 44px; font-size: 18px; font-weight: 700; max-width: 100%; }
.status { display: flex; align-items: center; gap: 9px; margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.status.on .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(92, 191, 122, 0.16); }
.status.off { color: #f4c3a0; }
.status.off .dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(232, 182, 92, 0.16); }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 15px; }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--card-2); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }

.stats { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label kwh" "label eur"; align-items: center; column-gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; }
.stat-label { grid-area: label; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.stat-kwh { grid-area: kwh; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-kwh b { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.stat-kwh small { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat-eur { grid-area: eur; text-align: right; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 21px; }
.stat.total { background: rgba(92, 191, 122, 0.06); }
.stat.total .stat-kwh b { color: var(--accent); font-size: 26px; }
.stat.total .stat-eur { color: var(--text); font-weight: 600; font-size: 15px; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.sw-heat { background: var(--heat); }
.sw-dhw { background: var(--dhw); }
.need-pkg { color: var(--warn); font-size: 13px; font-weight: 600; }
.stats.loading .v-kwh { color: var(--faint); }

.fee-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; margin-top: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.fee-row span:last-child { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid; }
.chip.info { color: #cfe2f5; background: rgba(127, 178, 229, 0.1); border-color: rgba(127, 178, 229, 0.28); }
.chip.warn { color: #f5dcaa; background: rgba(232, 182, 92, 0.1); border-color: rgba(232, 182, 92, 0.3); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(232, 182, 92, 0.07); border: 1px dashed rgba(232, 182, 92, 0.35); }
.cta p { margin: 0; font-size: 14px; color: #ecdcbc; }
.note { color: var(--faint); font-size: 13px; margin: 18px 2px 0; line-height: 1.5; }
.empty { padding: 28px 22px; text-align: center; color: var(--muted); }

@media (min-width: 720px) {
  .container { padding-top: 36px; }
  .obj-title h1 { font-size: 32px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); background: none; border: 0; box-shadow: none; gap: 12px; overflow: visible; }
  .stat { grid-template-columns: 1fr; grid-template-areas: "label" "kwh" "eur"; row-gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
  .stat:first-child { border-top: 1px solid var(--line); }
  .stat.total { background: linear-gradient(180deg, rgba(92, 191, 122, 0.1), rgba(92, 191, 122, 0.03)), var(--card); border-color: rgba(92, 191, 122, 0.25); }
  .stat-kwh, .stat-eur { text-align: left; }
  .stat-kwh { margin-top: 10px; }
  .stat-kwh b { font-size: 30px; }
  .stat.total .stat-kwh b { font-size: 30px; }
}

/* package page */
.page-head { display: flex; align-items: center; gap: 12px; }
.page-head .back { flex: none; }
.sub-obj { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.page-head + .sub { margin-top: 14px; }
.pkg-form .group { margin: 0 0 14px; padding: 16px 18px 4px; min-width: 0; }
.pkg-form legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.pkg-form .group > :not(legend) { clear: both; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 14px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; height: 40px; line-height: 40px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--card-2); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.field.num { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
.field.num > span:first-child { margin: 0; color: var(--text); font-size: 15px; }
.field.num small { display: block; color: var(--faint); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.num-wrap {
  display: flex; align-items: center; height: 48px; border-radius: 12px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color 0.15s, box-shadow 0.15s;
}
.num-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92, 191, 122, 0.18); }
.num-wrap:has(input.bad) { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(240, 128, 112, 0.15); }
.num-wrap input, .num-wrap input:focus, .num-wrap input.bad {
  flex: 1; min-width: 0; height: 46px; border: 0; box-shadow: none; background: transparent;
  text-align: right; padding: 0 8px 0 14px; font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 600;
}
.num-wrap em { flex: none; font-style: normal; color: var(--muted); font-size: 13px; padding: 0 14px 0 4px; white-space: nowrap; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.form-actions .btn { min-width: 120px; }
@media (max-width: 719px) {
  .form-actions .btn { flex: 1; }
}
@media (min-width: 720px) {
  .field.num { grid-template-columns: 1fr 260px; align-items: center; gap: 20px; }
}

/* ---------- toast, boot ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: #e8f5ec; color: #0d1a12; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 50; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #fbe1dc; color: #3a0f08; }
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 40; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(236, 240, 241, 0.15); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- installer page ---------- */
.container.wide { max-width: 1120px; }
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.adm-head .sub { margin: 4px 0 0; }
.who { color: var(--muted); font-size: 14px; }
.adm-grid { display: grid; gap: 18px; }
.panel { padding: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 16px; }
.count { color: var(--faint); font-weight: 600; font-size: 13px; margin-left: 6px; }
.panel-body { padding: 18px; }
.panel-body .field:last-of-type { margin-bottom: 14px; }
.hint { color: var(--faint); font-size: 13px; margin: -4px 0 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.08); }
table.list td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 600; }
table.list .muted { color: var(--muted); }
table.list .act { text-align: right; white-space: nowrap; }
@media (min-width: 720px) {
  table.list .act { width: 1%; padding-left: 8px; }
  table.list th, table.list td { padding-left: 14px; padding-right: 14px; }
  table.list th:first-child, table.list td:first-child { padding-left: 18px; }
  table.list th:last-child, table.list td:last-child { padding-right: 18px; }
}
table.list td.lead { white-space: nowrap; }
table.list tr.off td:not(.act) { opacity: 0.55; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.on { color: var(--accent); background: rgba(92, 191, 122, 0.1); border-color: rgba(92, 191, 122, 0.25); }
.tag.off { color: var(--warn); background: rgba(232, 182, 92, 0.1); border-color: rgba(232, 182, 92, 0.25); }
.tag.dis { color: var(--faint); background: rgba(236, 240, 241, 0.04); border-color: var(--line-2); }
.objchips { display: flex; flex-wrap: wrap; gap: 6px; }
.objchip { font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: rgba(236, 240, 241, 0.07); border: 1px solid var(--line); white-space: nowrap; }
.empty-row { padding: 22px 18px; color: var(--faint); text-align: center; }
.invite-box { margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(92, 191, 122, 0.08); border: 1px solid rgba(92, 191, 122, 0.28); font-size: 13.5px; color: #cfeed8; }
.invite-box p { margin: 0 0 10px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { height: 40px; font-size: 13px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.copy-row .btn { flex: none; }

@media (min-width: 1024px) {
  .adm-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .adm-col { display: grid; gap: 18px; min-width: 0; }
}
@media (max-width: 1023px) {
  .adm-col { display: grid; gap: 18px; }
}

/* tables fold into cards on phones */
@media (max-width: 719px) {
  .adm-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .who { display: none; }
  table.list thead { display: none; }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  table.list tr:last-child { border-bottom: 0; }
  table.list td { padding: 0; border: 0; }
  table.list td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 1px; }
  table.list td.lead { grid-row: 1; grid-column: 1; font-size: 16px; font-weight: 600; align-self: center; }
  table.list td.lead::before, table.list td.side::before, table.list td.wide::before { display: none; }
  table.list td.side { grid-row: 1; grid-column: 2; align-self: center; text-align: right; }
  table.list td.wide { grid-column: 1 / -1; color: var(--muted); margin-bottom: 4px; }
  table.list td.full { grid-column: 1 / -1; }
  table.list td.act { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
  table.list td.act .btn { width: 100%; }
  .row3 { grid-template-columns: 1fr 1fr 1fr; }
  .top-actions .btn-ghost.hide-sm { display: none; }
}
@media (max-width: 380px) {
  .topbar .logo .wordmark { display: none; }
}
