/* ============================================================
   Weeltec — static company site
   Design system: dark infra / precision-engineering
   Accent: volt lime (#B9F24D) — exactly one accent color.
   Radius: sharp (0) everywhere; 4px on inputs/buttons only
   (documented rule, applied consistently).
   Fonts: system stacks, zero external dependencies.
   Motion: restrained, one-shot reveals; reduced-motion safe.
   ============================================================ */

:root {
  --bg: #0A0C0F;
  --bg-2: #0E1116;
  --surface: #12161C;
  --surface-2: #171C23;
  --line: #1F252E;
  --line-strong: #2B333E;
  --text: #E9ECEF;
  --muted: #98A2AD;
  --accent: #B9F24D;
  --accent-dim: rgba(185, 242, 77, 0.10);
  --danger: #F07A6B;
  --ok: #7ED99A;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --radius: 4px;
  --maxw: 1200px;
  --header-h: 68px;
}

/* ---------- reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

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

ul,
ol {
  list-style: none;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.display {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.display--xl {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 62ch;
}

.lead--lg {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.mono {
  font-family: var(--mono);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--accent);
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-cta {
  margin-left: 0.75rem;
}

/* services dropdown */

.nav-drop {
  position: relative;
}

.nav-drop-toggle::after {
  content: "▾";
  margin-left: 0.35rem;
  opacity: 0.6;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-menu a {
  font-size: 0.92rem;
  padding: 0.6rem 0.75rem;
  color: var(--muted);
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-drop-menu a:hover {
  background: var(--accent-dim);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
  line-height: 0;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: #c8ff5e;
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

/* ---------- hero (home) ---------- */

.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 78% 8%, rgba(185, 242, 77, 0.06), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero .display {
  margin-bottom: 1.4rem;
}

.hero .lead {
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-trust {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.hero-trust span::before {
  content: "▮";
  color: var(--accent);
  margin-right: 0.5rem;
}

/* terminal asset */

.terminal {
  border: 1px solid var(--line-strong);
  background: #0C0F13;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.terminal-dot:first-child {
  background: #3A4450;
}

.terminal-title {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.terminal-body {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.85;
  padding: 1.25rem 1.25rem 1.5rem;
  overflow-x: auto;
}

.terminal-body .p {
  color: var(--accent);
}

.terminal-body .c {
  color: var(--muted);
}

.terminal-body .ok {
  color: var(--ok);
}

.terminal-body .err {
  color: var(--danger);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(185, 242, 77, 0.25);
  padding: 0.45rem 0.85rem;
  margin-top: 1rem;
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ---------- section heads ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .idx {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 0.8rem;
}

.section-head p {
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- service tiles (home) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  background: var(--bg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.2s ease;
}

.tile:hover {
  background: var(--bg-2);
}

.tile .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.18em;
}

.tile h3 a {
  transition: color 0.15s ease;
}

.tile:hover h3 a {
  color: var(--accent);
}

.tile p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46ch;
}

.tile-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tile-link::after {
  content: "→";
  color: var(--accent);
  transition: transform 0.18s ease;
}

.tile:hover .tile-link::after {
  transform: translateX(4px);
}

/* ---------- stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.stat {
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat .value {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ---------- split (problem / what we do) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.split h2 {
  margin-bottom: 1.1rem;
}

.split p {
  color: var(--muted);
  max-width: 58ch;
}

.split .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.split .tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.split .tag--warn::before {
  background: var(--danger);
}

/* ---------- spec rows (capabilities) ---------- */

.spec-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 1px solid var(--line);
}

.spec-row .num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.spec-row h3 {
  font-size: 1.05rem;
}

.spec-row p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 58ch;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.step .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.18em;
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- product hero ---------- */

.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 88% 0%, rgba(185, 242, 77, 0.05), transparent 55%),
    var(--bg);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.page-hero .display {
  margin-bottom: 1.3rem;
}

.page-hero .lead {
  margin-bottom: 2rem;
}

/* spec card (right column of product hero) */

.spec-card {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.spec-card-head {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-card-head .live {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.spec-card-head .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.spec-row-mini {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.spec-row-mini:last-child {
  border-bottom: 0;
}

.spec-row-mini .k {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.spec-row-mini .v {
  color: var(--text);
}

/* ---------- faq ---------- */

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  font-weight: 600;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  color: var(--muted);
  padding-bottom: 1.4rem;
  max-width: 70ch;
  font-size: 0.96rem;
}

/* ---------- forms ---------- */

.form-wrap {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.5rem;
}

.field {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--text);
  background: #0B0E12;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5C6672;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field select:invalid {
  color: #5C6672;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field-error {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--danger);
}

.field input.invalid,
.field textarea.invalid,
.field select.invalid {
  border-color: var(--danger);
}

.form-note {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

/* success state */

.form-success {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border: 1px solid rgba(185, 242, 77, 0.25);
  background: var(--accent-dim);
}

.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.4rem;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.form-success p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.8rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(185, 242, 77, 0.07), transparent 60%),
    var(--bg);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.cta-band .display {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.1rem;
}

.cta-band .lead {
  margin: 0 auto 2rem;
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}

.footer-brand .brand {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.footer-bottom .mono-accent {
  color: var(--accent);
}

/* ---------- reveal (motion) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .terminal-cursor,
  .status-pill .dot {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

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

@media (max-width: 768px) {
  .hero-grid,
  .page-hero-grid,
  .split,
  .section-head {
    grid-template-columns: 1fr;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.4rem 1rem;
  }

  .spec-row p {
    grid-column: 2;
  }

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

  /* mobile nav */

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.8rem 0.5rem;
  }

  .nav-drop {
    display: flex;
    flex-direction: column;
  }

  .nav-drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    display: none;
  }

  .nav-drop.open .nav-drop-menu {
    display: flex;
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:first-child {
    border-top: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

/* ============================================================
   Pomax v3 — customer area
   Extends the Weeltec design system (identical tokens/colors).
   Adds: auth layout, auth card, alert banner, auth links.
   ============================================================ */

.brand .brand-ver {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(185, 242, 77, 0.3);
  background: var(--accent-dim);
  padding: 0.15rem 0.4rem;
  margin-left: 0.15rem;
}

/* ---------- auth layout ---------- */

.auth {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 55% at 82% 0%, rgba(185, 242, 77, 0.06), transparent 60%),
    var(--bg);
  min-height: calc(100vh - var(--header-h) - 260px);
  display: flex;
  align-items: center;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.auth-card {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.auth-card .eyebrow {
  margin-bottom: 1rem;
}

.display--auth {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.auth-card > .lead {
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.auth-form .field:last-of-type {
  margin-bottom: 1.6rem;
}

.auth-form .btn {
  width: 100%;
}

.auth-form .btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

/* alert banner */

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--danger);
  background: rgba(240, 122, 107, 0.08);
  border: 1px solid rgba(240, 122, 107, 0.3);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}

.auth-alert::before {
  content: "!";
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--danger);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.72rem;
}

/* links row */

.auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.15s ease;
}

.auth-links a::after {
  content: "→";
  color: var(--accent);
}

.auth-links a:hover {
  color: var(--accent);
}

.auth-links a.auth-links--plain::after {
  content: "";
}

.auth-foot {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.auth-foot a {
  color: var(--accent);
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}
