:root {
  --ink: #101820;
  --muted: #5d6972;
  --paper: #f4f1ec;
  --surface: #ffffff;
  --line: rgba(16, 24, 32, 0.14);
  --accent: #d7ff4f;
  --teal: #214d63;
  --red: #9c3b2f;
  --green: #315c45;
  --shadow: 0 26px 80px rgba(16, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  background: rgba(16, 24, 32, 0.88);
  backdrop-filter: blur(18px);
}

.brand span,
.site-footer span {
  font-size: 1.1rem;
  font-weight: 850;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: white;
  background: #111315;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: clamp(128px, 20vh, 190px) 0 170px clamp(18px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 12vw, 10rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  max-width: 880px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

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

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #101820;
  background: var(--accent);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.button.compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.hero-stats {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 26px;
  left: clamp(18px, 5vw, 70px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 960px;
}

.hero-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 10px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section,
.content-band,
.quote-section,
.configurator,
.sequence {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  background: var(--paper);
}

.section-heading {
  max-width: 980px;
}

.process-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.process-grid article,
.content-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 850;
}

.process-grid p,
.content-grid p,
.panel-copy,
.quote-copy p,
.sequence-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.sequence {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #101820;
  color: white;
}

.sequence-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.sequence-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sequence-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.configurator {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #e8ece6;
}

.config-preview {
  display: grid;
  place-items: center;
  min-height: min(620px, 72vw);
}

.charger-canvas {
  position: relative;
  width: min(640px, 88vw);
  aspect-ratio: 1 / 1;
}

.charger-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(390px, 52vw);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 34px 44px rgba(16, 24, 32, 0.22));
}

.body-layer {
  transform: translate(-24%, -49%) scale(0.94);
}

.front-layer {
  transform: translate(-63%, -50%);
}

.config-panel {
  max-width: 560px;
}

.control-group {
  border-top: 1px solid rgba(16, 24, 32, 0.16);
  padding: 22px 0;
}

.control-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.control-heading h3,
.control-heading strong {
  margin: 0;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 24, 32, 0.24);
  border-radius: 50%;
  background: var(--swatch, #111);
  cursor: pointer;
}

.swatch[aria-pressed="true"] {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.swatch span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  display: none;
  width: max-content;
  max-width: 180px;
  border-radius: 6px;
  padding: 6px 8px;
  color: white;
  background: #101820;
  font-size: 0.78rem;
  transform: translateX(-50%);
}

.swatch:hover span,
.swatch:focus-visible span {
  display: block;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(16, 24, 32, 0.16);
  padding-top: 20px;
}

.text-action {
  color: var(--teal);
  font-weight: 850;
}

.content-band {
  background: var(--surface);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  background: var(--paper);
}

.faq-section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin-top: 30px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
}

.quote-form textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.turnstile-slot {
  min-height: 0;
}

.turnstile-slot:not([hidden]) {
  min-height: 65px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: white;
  background: #101820;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(720px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  color: white;
  background: rgba(16, 24, 32, 0.94);
  box-shadow: 0 18px 54px rgba(16, 24, 32, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plain-page {
  background: var(--paper);
}

.site-header.solid {
  position: sticky;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 130px 0 72px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-page p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-page a:not(.button) {
  color: var(--teal);
  font-weight: 800;
}

.not-found {
  display: grid;
  align-content: center;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    display: none;
  }

  .hero-content {
    padding-right: 18px;
  }

  .hero-stats,
  .process-grid,
  .content-grid,
  .sequence,
  .configurator,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .config-preview {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 14px;
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 114px;
    padding-bottom: 260px;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats strong {
    font-size: 0.92rem;
  }

  .hero-stats span {
    font-size: 0.78rem;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .sequence-strip {
    grid-template-columns: 1fr;
  }

  .charger-layer {
    width: min(320px, 66vw);
  }
}
