:root {
  --ink: #111318;
  --muted: #5f6673;
  --line: #dadde4;
  --panel: #ffffff;
  --soft: #f3f5f8;
  --red: #d71920;
  --red-dark: #a40f16;
  --blue: #2266b8;
  --green: #147a5c;
  --shadow: 0 24px 70px rgba(13, 19, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8f9fb;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 36px rgba(16, 21, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
}

.nav {
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.header-action {
  opacity: 0.9;
}

.nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.86) 0%, rgba(8, 10, 16, 0.58) 38%, rgba(8, 10, 16, 0.12) 72%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.08), rgba(8, 10, 16, 0.42));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb6b9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.fullscreen-status {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.fullscreen-status.is-active {
  border-color: rgba(89, 217, 142, 0.72);
  background: rgba(20, 122, 92, 0.26);
  color: #d9ffe9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.28);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stats div {
  min-height: 142px;
  display: grid;
  place-items: center;
  gap: 8px;
  background: #fff;
  text-align: center;
}

.stats strong {
  font-size: clamp(28px, 4vw, 46px);
}

.stats span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 86px);
}

.split,
.charging,
.reserve {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.section-copy p,
.charging > div:first-child p,
.reserve > div:first-child p {
  max-width: 560px;
}

.model-grid {
  display: grid;
  gap: 18px;
}

.model-card,
.feature-row article,
.charge-panel,
.reserve-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(20, 29, 48, 0.08);
}

.model-card {
  padding: 26px;
}

.model-card p,
.feature-row p {
  margin-bottom: 18px;
}

.model-card span {
  color: var(--blue);
  font-weight: 800;
}

.charging {
  background: #111318;
  color: #fff;
}

.charging p {
  color: rgba(255, 255, 255, 0.72);
}

.charge-panel {
  padding: clamp(24px, 5vw, 44px);
  color: var(--ink);
}

.charge-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.charge-topline span {
  color: var(--muted);
  font-weight: 700;
}

.charge-topline strong {
  font-size: 52px;
}

.battery {
  height: 32px;
  overflow: hidden;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 7px;
}

.battery span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), #38c68d);
}

.charge-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
}

.charge-panel dt {
  color: var(--muted);
  font-size: 14px;
}

.charge-panel dd {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 800;
}

.experience {
  background: var(--soft);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.feature-row article {
  padding: 28px;
}

.reserve-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.reserve-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c8ced8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(34, 102, 184, 0.18);
  border-color: var(--blue);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 10, 16, 0.84) 0%, rgba(8, 10, 16, 0.48) 55%, rgba(8, 10, 16, 0.28) 100%);
  }

  .hero-content {
    align-self: start;
    margin: 0 auto;
    padding-top: 160px;
  }

  .stats,
  .feature-row,
  .split,
  .charging,
  .reserve {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-action {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  h1 {
    font-size: 48px;
  }

  .button {
    width: 100%;
  }

  .stats,
  .charge-panel dl {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
.ua-section { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr); gap: clamp(34px, 7vw, 96px); align-items: start; background: #111318; color: #fff; }
.ua-section p { color: rgba(255, 255, 255, 0.72); }
.ua-panel { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 48px rgba(20, 29, 48, 0.18); padding: clamp(20px, 4vw, 34px); }
.ua-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ua-field { display: grid; gap: 8px; margin-top: 4px; }
.ua-field span { color: var(--muted); font-size: 14px; font-weight: 800; }
.ua-field textarea { width: 100%; min-height: 260px; max-height: 460px; resize: vertical; overflow: auto; margin: 0; padding: 16px; border: 1px solid #2b3443; border-radius: 8px; background: #0f1116; color: #dbe8ff; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.ua-field textarea:focus { outline: 3px solid rgba(34, 102, 184, 0.22); border-color: var(--blue); }
.button.ghost { background: #eef2f7; color: var(--ink); border: 1px solid #c8ced8; }
[data-ua-output] { min-height: 220px; max-height: 420px; overflow: auto; margin: 0; padding: 16px; border-radius: 8px; background: #0f1116; color: #dbe8ff; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
.ua-message { min-height: 24px; margin: 14px 0 0; color: var(--green); font-weight: 800; }
@media (max-width: 860px) { .ua-section { grid-template-columns: 1fr; } }
