/* EVDash site styles. Self-hosted, system fonts, no external resources. */
:root {
  --bg: #07090c;
  --bg-2: #0d1117;
  --panel: #111821;
  --panel-2: #16202b;
  --line: #1f2a36;
  --text: #e8f0f7;
  --muted: #8b9bab;
  --accent: #2ee6a6;      /* "power" green */
  --accent-2: #38b6ff;    /* "battery" blue */
  --warn: #ffb547;        /* "camera alert" amber */
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(46,230,166,.10), transparent 60%),
              radial-gradient(900px 500px at -10% 10%, rgba(56,182,255,.08), transparent 60%), var(--bg);
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(7,9,12,.78); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span b { color: var(--accent); font-weight: 700; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 1.2rem; cursor: pointer; }
#site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
#site-nav.open { display: block; }
#site-nav ul { list-style: none; margin: 0; padding: 0; }
#site-nav li a { display: block; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--line); }
#site-nav li:last-child a { border-bottom: 0; }
.lang-slot { color: var(--muted); font-size: .8rem; font-family: var(--mono); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  #site-nav { display: flex !important; position: static; background: none; border: 0; padding: 0; align-items: center; gap: 20px; }
  #site-nav ul { display: flex; gap: 22px; }
  #site-nav li a { padding: 0; border: 0; color: var(--muted); font-size: .95rem; }
  #site-nav li a:hover { color: var(--text); text-decoration: none; }
}

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); background: rgba(46,230,166,.08); border: 1px solid rgba(46,230,166,.25); padding: 5px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.02em; }
h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 600; cursor: default; }
.badge-soon svg { width: 20px; height: 20px; }
.badge-soon small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.btn-ghost { display: inline-flex; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }
@media (min-width: 900px) { .hero { padding: 88px 0 64px; } .hero .wrap { grid-template-columns: 1.1fr .9fr; } }

/* Dashboard illustration (pure CSS/SVG, clearly an illustration, not a screenshot) */
.dash { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04); max-width: 440px; margin: 0 auto; width: 100%; }
.dash-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; font-family: var(--mono); }
.dash-top .ok { color: var(--accent); }
.gauge { position: relative; margin: 10px auto 4px; width: 100%; max-width: 300px; }
.gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 34px; }
.gauge-num strong { font-size: 4rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.gauge-num span { color: var(--muted); font-size: .85rem; font-family: var(--mono); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.stat { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.stat small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.stat b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.stat .bar { height: 5px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.stat .bar i { display: block; height: 100%; background: var(--accent-2); }
.alert { margin-top: 12px; display: flex; align-items: center; gap: 12px; background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.35); border-radius: 14px; padding: 10px 12px; color: var(--warn); font-size: .9rem; }
.alert svg { flex: 0 0 22px; height: 22px; }
.illus-note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 12px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin: 0 0 10px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; }
.kicker { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,230,166,.08); border: 1px solid rgba(46,230,166,.22); color: var(--accent); }
.icon.blue { background: rgba(56,182,255,.08); border-color: rgba(56,182,255,.22); color: var(--accent-2); }
.icon.amber { background: rgba(255,181,71,.08); border-color: rgba(255,181,71,.25); color: var(--warn); }
.icon svg { width: 22px; height: 22px; }

/* Privacy strip */
.privacy-strip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: rgba(46,230,166,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232ee6a6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* How it works placeholder */
.steps { counter-reset: step; }
.step { position: relative; }
.step .num { font-family: var(--mono); color: var(--accent); font-size: .85rem; }
.shot-slot { margin-top: 14px; aspect-ratio: 9 / 16; max-height: 260px; border: 1.5px dashed var(--line); border-radius: 16px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 12px; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,.015) 10px 20px); }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Placeholder pages */
.placeholder { padding: 80px 0; min-height: 50vh; }
.placeholder .card { max-width: 640px; }
.tag { display: inline-block; font-family: var(--mono); font-size: .75rem; color: var(--warn); border: 1px solid rgba(255,181,71,.35); border-radius: 8px; padding: 2px 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.soon { font-size: .7rem; color: var(--warn); margin-left: 4px; }
.disclaimer { font-size: .8rem; max-width: 60em; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.dash-stats { grid-template-columns: repeat(2, 1fr); }
.stat .bar i.w35 { width: 35%; } .stat .bar i.w72 { width: 72%; } .stat .bar i.green { background: var(--accent); }
.h1-sm { font-size: 2rem; }
/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 10px 0 6px; }
.legal-meta { color: var(--muted); font-size: .85rem; margin: 0 0 18px; }
.legal-intro { font-size: 1.05rem; color: var(--text); margin: 0 0 24px; }
.draft-note { display: inline-block; margin: 0; font-family: var(--mono); font-size: .75rem; color: var(--warn); border: 1px solid rgba(255,181,71,.35); background: rgba(255,181,71,.06); border-radius: 8px; padding: 3px 10px; }
.legal-toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 28px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-toc a { color: var(--muted); font-size: .92rem; }
.legal-sec { padding: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.legal-sec h2 { font-size: 1.12rem; margin: 0 0 8px; color: var(--text); }
.legal-sec p, .legal-sec li { color: #c4d0db; font-size: .97rem; }
.legal-sec ul { padding-left: 1.2rem; margin: 8px 0; }
.legal-sec li { margin: 6px 0; }
.legal-sec strong { color: var(--text); }
.legal-back { margin-top: 32px; }
/* Screenshots */
.shot { display: block; }
.shot img { width: 100%; height: auto; display: block; border-radius: 14px; background: #000; }
.hero-wrap { grid-template-columns: 1fr !important; }
.hero-wrap > div:first-child { max-width: 760px; }
.hero-shot { margin: 0; }
.hero-shot .shot img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px #0b0f14, 0 0 0 7px var(--line); }
.hero-shot figcaption, .g-item figcaption { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: center; }
@media (min-width: 900px) { .hero-shot { margin-top: 8px; } }
.step-shot { margin-top: 14px; }
.step-shot img { border: 1px solid var(--line); border-radius: 12px; }
.gallery { display: grid; gap: 22px; }
.g-item { margin: 0; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 14px; }
.g-item figcaption { text-align: left; padding: 0 4px; color: #c4d0db; }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } .g-wide { grid-column: 1 / -1; } }
h2, h3 { line-height: 1.2; }

/* Support / tip (TIP_TEST_20261021) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tip { padding: 16px 0 72px; }
.tip-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; align-items: center; padding: 28px 22px;
  border-radius: 24px; border: 1px solid rgba(46,230,166,.22);
  background: linear-gradient(150deg, rgba(46,230,166,.09), rgba(56,182,255,.05) 50%, rgba(17,24,33,0) 80%), var(--panel);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05); }
.tip-card::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56,182,255,.16), rgba(46,230,166,.08) 55%, transparent); pointer-events: none; }
.tip-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(160deg, rgba(46,230,166,.16), rgba(56,182,255,.08)); border: 1px solid rgba(46,230,166,.3);
  box-shadow: 0 0 32px rgba(46,230,166,.18), inset 0 1px 0 rgba(255,255,255,.06); }
.tip-icon svg { width: 30px; height: 30px; }
.tip-body .kicker { display: block; margin-bottom: 6px; }
.tip-body h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 4vw, 1.85rem); letter-spacing: -.01em; line-height: 1.2; }
.tip-body p { margin: 0; color: var(--muted); max-width: 36em; }
.tip-body .tip-note { margin-top: 12px; font-size: .84rem; display: inline-flex; align-items: center; gap: 8px; color: #9fb0c0; }
.tip-body .tip-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); flex: none; }
.tip-action { display: grid; gap: 10px; justify-items: stretch; }
.btn-tip { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; color: #03110c;
  background: linear-gradient(95deg, var(--accent), #33cfd2 55%, var(--accent-2));
  box-shadow: 0 10px 30px rgba(46,230,166,.25), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn-tip svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn-tip:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 16px 40px rgba(46,230,166,.32), 0 0 28px rgba(56,182,255,.25), 0 0 0 1px rgba(255,255,255,.18) inset; }
.btn-tip:hover svg { transform: scale(1.15); }
.btn-tip:active { transform: translateY(0); }
.btn-tip:focus-visible, .foot-tip:focus-visible { outline: 3px solid rgba(56,182,255,.75); outline-offset: 3px; }
.tip-meta { font-size: .78rem; color: var(--muted); text-align: center; }
@media (min-width: 820px) {
  .tip-card { grid-template-columns: auto 1fr auto; gap: 28px; padding: 34px 38px; }
  .tip-action { justify-items: end; }
  .tip-meta { text-align: right; }
}
.foot-tip-row { margin: 14px 0 10px; }
.foot-tip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: var(--text); background: rgba(46,230,166,.06); border: 1px solid rgba(46,230,166,.22); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.foot-tip svg { width: 14px; height: 14px; color: var(--accent); }
.foot-tip:hover { text-decoration: none; border-color: rgba(46,230,166,.55); background: rgba(46,230,166,.1); box-shadow: 0 0 18px rgba(46,230,166,.15); }
@media (prefers-reduced-motion: reduce) { .btn-tip, .btn-tip svg, .foot-tip { transition: none; } .btn-tip:hover { transform: none; } }
