:root {
  color-scheme: light;
  --blue: #135cff;
  --blue-dark: #0b3aa8;
  --orange: #f06424;
  --green: #078957;
  --red: #c92f2a;
  --ink: #101219;
  --muted: #5f6876;
  --line: #d7deea;
  --soft: #f4f7fb;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; min-width: 0; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f5a000; outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand img { width: 128px; height: auto; }
.primary-nav { display: flex; justify-content: center; gap: 24px; }
.primary-nav a, .footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.primary-nav a[aria-current="page"], .primary-nav a:hover, .footer-links a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; }

.button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: var(--white); color: var(--blue); border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); }
.button-dark { background: var(--ink); color: var(--white); }
.text-link { color: var(--blue); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.hero {
  min-height: 580px;
  height: calc(88svh - 76px);
  max-height: 760px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  color: var(--white);
  background-image: url("assets/charging-at-night.png");
  background-size: cover;
  background-position: center 60%;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 8, 14, .56); }
.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 70px;
}
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow { color: #74a5ff; }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  font-weight: 850;
}
.hero-copy { max-width: 680px; margin: 24px 0 30px; color: #f1f4f8; font-size: clamp(19px, 2vw, 25px); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button-secondary { background: rgba(255,255,255,.92); }

.band { padding: 80px 0; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--ink); color: var(--white); }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, .page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.section-head p, .page-hero p { color: var(--muted); font-size: 19px; }
.band-dark .section-head p { color: #c6ced8; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-item { min-height: 230px; padding: 28px; background: var(--white); }
.feature-index { color: var(--orange); font-size: 14px; font-weight: 900; }
.feature-item h3 { margin: 50px 0 10px; font-size: 23px; }
.feature-item p { margin: 0; color: var(--muted); }

.product-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.product-media { overflow: hidden; border-radius: 8px; background: #02060b; }
.product-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { padding: 0; margin: 24px 0 30px; list-style: none; display: grid; gap: 14px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); font-weight: 650; }
.check-list li::before { content: ""; width: 12px; height: 12px; position: absolute; left: 0; top: 6px; background: var(--green); border-radius: 50%; }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 44px; background: #eaf1ff; border-left: 8px solid var(--blue); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 46px); }
.cta-band p { margin: 0; color: var(--muted); }

.page-hero { padding: 90px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 760px; margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.steps { counter-reset: steps; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { counter-increment: steps; display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 28px; background: var(--white); }
.step::before { content: counter(steps); width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); color: var(--white); border-radius: 50%; font-weight: 900; }
.step h2 { margin: 0 0 6px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); }

.integration-live { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 36px; align-items: center; padding: 34px; border: 2px solid var(--green); border-radius: 8px; }
.integration-live img { max-height: 120px; object-fit: contain; }
.status-label { color: var(--green); font-weight: 900; text-transform: uppercase; }
.coming-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.coming-item { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.coming-item strong { display: block; }
.coming-item span { color: var(--muted); font-size: 14px; }

.pricing-message { max-width: 800px; padding: 40px; border: 2px solid var(--blue); border-radius: 8px; }
.pricing-message h2 { margin-top: 0; font-size: 34px; }
.pricing-message p { color: var(--muted); font-size: 18px; }

.form-shell { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { color: #333b48; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(19,92,255,.15); }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-weight: 750; }
.form-status[data-state="success"] { color: var(--green); }
.form-status[data-state="error"] { color: var(--red); }
.privacy-note { color: var(--muted); font-size: 14px; }

.legal-layout { max-width: 820px; }
.legal-layout h2 { margin-top: 40px; font-size: 26px; }
.legal-layout p, .legal-layout li { color: #404957; }
.review-banner { padding: 14px 18px; background: #fff2d4; border-left: 6px solid #e39a00; font-weight: 800; }

.site-footer { border-top: 1px solid var(--line); padding: 46px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.footer-brand img { width: 150px; }
.footer-brand p { max-width: 330px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.footer-links h2 { margin: 0 0 12px; font-size: 15px; }
.footer-links nav { display: grid; gap: 9px; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 25; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 900; cursor: pointer; box-shadow: 0 8px 24px rgba(16,18,25,.2); }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 26; width: min(360px, calc(100% - 40px)); max-height: min(540px, calc(100svh - 120px)); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 18px 60px rgba(16,18,25,.22); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-head h2 { margin: 0; font-size: 21px; }
.icon-button { width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 50%; font-size: 22px; cursor: pointer; }
.chat-copy { color: var(--muted); }
.chat-options { display: grid; gap: 8px; }
.chat-options button { width: 100%; padding: 11px 12px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--blue); font-weight: 800; cursor: pointer; }
.chat-answer { margin-top: 14px; padding: 14px; background: var(--soft); border-left: 4px solid var(--orange); }

.cookie-bar { position: fixed; inset: auto 0 0; z-index: 40; padding: 18px 0; background: var(--ink); color: var(--white); }
.cookie-bar[hidden] { display: none; }
.cookie-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-inner p { margin: 0; color: #d9dee5; }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: fixed; inset: 76px 0 0; padding: 28px 20px; background: var(--white); flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .header-actions .button-secondary { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-layout, .two-col, .form-shell { grid-template-columns: 1fr; }
  .coming-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-shell { width: min(calc(100% - 24px), var(--max)); height: 68px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand img { width: 112px; }
  .menu-toggle { grid-column: 2; width: auto; min-width: 52px; padding: 0 4px; font-size: 16px; font-weight: 800; }
  .header-actions { display: none; }
  .primary-nav { inset-block-start: 68px; }
  .hero { height: 78svh; min-height: 560px; background-position: 54% center; }
  .hero-inner, .container, .cookie-inner { width: min(100% - 28px, var(--max)); }
  .hero-inner { padding-bottom: 42px; }
  .hero h1 { font-size: 45px; }
  .hero-copy { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .band { padding: 58px 0; }
  .feature-grid, .coming-list { grid-template-columns: 1fr; }
  .feature-item { min-height: 180px; }
  .feature-item h3 { margin-top: 28px; }
  .cta-band { grid-template-columns: 1fr; padding: 28px; }
  .integration-live { grid-template-columns: 1fr; }
  .integration-live img { max-width: 110px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-meta, .cookie-inner { align-items: flex-start; flex-direction: column; }
  .cookie-inner .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
