:root {
  --bg: #030914;
  --bg-soft: #07172b;
  --panel: rgba(5, 18, 34, 0.90);
  --panel-strong: rgba(3, 10, 20, 0.97);
  --line: rgba(82, 145, 255, 0.26);
  --line-strong: rgba(111, 169, 255, 0.44);
  --text: #edf5ff;
  --muted: #a9bdd6;
  --faint: #758aa8;
  --blue: #0a56ff;
  --blue-strong: #6ea8ff;
  --cyan: #86bdff;
  --danger: #ff8b8b;
  --success: #a9ccff;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(10, 86, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 86% 6%, rgba(95, 154, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, #020611 0%, var(--bg) 44%, #07172b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(0deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 28%, transparent 0, rgba(3, 9, 20, 0.44) 62%, rgba(3, 9, 20, 0.72) 100%);
  z-index: -1;
}

a { color: inherit; }

.site-header,
.site-footer,
.hero-shell,
.contact-layout {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand img { filter: drop-shadow(0 0 18px rgba(10, 86, 255, 0.48)); }

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.top-nav a,
.language-switch {
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.language-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(8, 27, 52, 0.72);
}

.language-switch:hover {
  border-color: var(--blue-strong);
  background: rgba(10, 86, 255, 0.16);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.6fr);
  gap: 32px;
  align-items: center;
  padding: 62px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
}

h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signal-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #cfe5ff;
  background: rgba(12, 38, 70, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.terminal-card,
.context-card,
.form-card,
.thank-you-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 29, 52, 0.92), rgba(5, 14, 27, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.terminal-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(103, 163, 255, 0.55);
}

.terminal-top strong {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.terminal-lines {
  padding: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-lines p {
  margin: 0 0 16px;
  color: #c5ddff;
}

.terminal-lines p:last-child { margin-bottom: 0; color: var(--success); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 22px 0 70px;
}

.context-card,
.form-card,
.thank-you-card {
  border-radius: var(--radius);
  padding: 28px;
}

.context-card {
  position: sticky;
  top: 22px;
}

.context-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.context-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.6;
}

.context-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(10, 86, 255, 0.9);
}

.incident-note {
  margin: 26px 0 0;
  border: 1px solid rgba(255, 139, 139, 0.22);
  border-radius: 16px;
  padding: 14px;
  color: #ffd9d9;
  background: rgba(255, 139, 139, 0.08);
  line-height: 1.55;
}

.form-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-errors {
  margin: 24px 0;
  border: 1px solid rgba(255, 139, 139, 0.34);
  border-radius: 16px;
  padding: 16px 18px;
  color: #ffd7d7;
  background: rgba(255, 139, 139, 0.08);
}

.form-errors ul { margin: 10px 0 0; padding-left: 22px; }

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

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

label span,
.full span {
  display: block;
  margin-bottom: 8px;
  color: #cfe5ff;
  font-size: 0.92rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(4, 14, 27, 0.74);
  outline: none;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

select { appearance: auto; }

textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.13);
  background: rgba(7, 22, 41, 0.92);
}

small {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  line-height: 1.45;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.consent-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.legal-line {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.6;
}

.legal-line a,
.site-footer a {
  color: #cbe2ff;
  text-decoration: underline;
  text-decoration-color: rgba(103, 163, 255, 0.4);
  text-underline-offset: 4px;
}

.submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #0a56ff, #6ea8ff);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(53, 213, 255, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 20px 54px rgba(53, 213, 255, 0.29);
}

.submit-button.secondary {
  color: var(--text);
  background: rgba(7, 29, 59, 0.82);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--faint);
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.thank-you-card {
  width: min(640px, 100%);
  text-align: center;
}

.thank-you-card img { margin-bottom: 20px; filter: drop-shadow(0 0 18px rgba(10, 86, 255, 0.48)); }

.thank-you-card p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.language-switch.standalone {
  display: inline-flex;
  margin-top: 24px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero-shell,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-shell { padding-top: 34px; }
  .context-card { position: static; }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero-shell,
  .contact-layout { width: min(100% - 24px, 1180px); }
  .top-nav { gap: 10px; }
  .grid.two { grid-template-columns: 1fr; }
  .context-card,
  .form-card,
  .thank-you-card { padding: 22px; border-radius: 18px; }
  h1 { font-size: clamp(2.35rem, 16vw, 4rem); }
  .submit-button { width: 100%; }
}
