/* =====================================================================
   HAJ TECH — style.css
   Shared across index, legal pages and 404
   ===================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --bg:        #0A0A0B;
  --surface:   #111114;
  --line:      #232329;
  --text:      #F5F6F8;
  --muted:     #9A9CA6;
  --blue:      #2D6BFF;
  --blue-soft: rgba(45,107,255,.12);
  --ok:        #38D39F;
  --warn:      #FF5C5C;
  --max-w:     1120px;
  --nav-h:     64px;
  --radius:    12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }
button { font-family: inherit; }

/* ── FOCUS ──────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── UTILITY ────────────────────────────────────────────────────── */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 1rem;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

section { padding: 6rem 2rem; }

.bg-surface { background: var(--surface); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 0 28px var(--blue-soft);
}
.btn-primary:hover { background: #4480ff; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ── FADE-UP ANIMATION ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── NAVIGATION ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(10,10,11,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  display: none;
}
.nav-logo-text span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 2rem 1.75rem;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .mobile-cta {
  margin-top: 1.25rem;
  border-bottom: none;
  text-align: center;
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 2rem 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45,107,255,0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .eyebrow { margin-bottom: 1.25rem; }
.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 48ch;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── TERMINAL ───────────────────────────────────────────────────── */
.terminal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 56px var(--blue-soft);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.terminal-dot--red   { background: #FF5F57; }
.terminal-dot--amber { background: #FEBC2E; }
.terminal-dot--green { background: #28C840; }
.terminal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--muted);
  margin-left: auto;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  line-height: 1.85;
  white-space: pre;
  overflow-x: auto;
  min-height: 10rem;
}
.t-cmd   { color: var(--muted); }
.t-ok    { color: var(--ok); }
.t-warn  { color: var(--warn); }
.t-dim   { color: var(--line); }
.t-score { color: var(--text); }

.terminal-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── TRUST STRIP ────────────────────────────────────────────────── */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.125rem 2rem;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
}
.trust-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SECTION HEADERS ────────────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* ── SERVICE CARDS ──────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.card:hover { border-color: var(--blue); }
.card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}
.card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}
.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.card ul li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}
.card ul li::before {
  content: '\00B7';
  color: var(--blue);
  font-size: 1.2em;
  line-height: 1.4;
  flex-shrink: 0;
}
.cards-closing {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* ── AUTOMATION SECTION ─────────────────────────────────────────── */
.auto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.auto-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.auto-card:hover { border-color: var(--blue); }
.auto-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.auto-card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}
.auto-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.auto-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.auto-card ul li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}
.auto-card ul li::before {
  content: '\00B7';
  color: var(--blue);
  font-size: 1.2em;
  line-height: 1.4;
  flex-shrink: 0;
}
.auto-mini {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-top: auto;
}

/* ── HOW IT WORKS ───────────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  display: block;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.step p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ── PRICING TABLE ──────────────────────────────────────────────── */
.pricing-wrap { overflow-x: auto; border-radius: var(--radius); }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pricing-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.pricing-table td {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  background: var(--surface);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table td:first-child { font-weight: 600; color: var(--text); }
.price-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.desc-cell { color: var(--muted); }
.pricing-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.tag-monthly { color: var(--blue); background: var(--blue-soft); }
.tag-onetime { color: var(--muted); background: rgba(154,156,166,0.1); }
.row-monthly td { background: rgba(45,107,255,0.04); }
.pricing-cta { margin-top: 2.5rem; text-align: center; }

/* ── ABOUT ──────────────────────────────────────────────────────── */
.about-body { max-width: 66ch; }
.about-body p { font-size: 1.0625rem; color: var(--muted); line-height: 1.7; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
}
.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-icon {
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform 0.25s;
  flex-shrink: 0;
  line-height: 1;
  font-style: normal;
}
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.contact-info > p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.contact-email {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--text); }
.social-links { display: flex; gap: 0.75rem; align-items: center; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--blue); color: var(--blue); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.req { color: var(--blue); }
.form-input,
.form-select,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9CA6' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
option { background: #111114; }
.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin-top: 2px;
  cursor: pointer;
}
.form-check label {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}
.form-check label a { color: var(--blue); }
.form-check label a:hover { text-decoration: underline; }
.form-submit { width: 100%; margin-top: 1.25rem; }
.form-success {
  background: rgba(56,211,159,0.08);
  border: 1px solid rgba(56,211,159,0.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ok);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.honeypot { display: none; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 4rem 2rem 2rem;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.875rem;
}
.footer-brand-logo img { height: 36px; width: auto; }
.footer-brand-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  display: none;
}
.footer-brand-logo-text span { color: var(--blue); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-social-row {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social-icon:hover { border-color: var(--blue); color: var(--blue); }
.footer-social-icon svg { width: 16px; height: 16px; fill: currentColor; }
.footer-fiverr-link {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  margin-left: 0.25rem;
}
.footer-fiverr-link:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-legal-line {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── LEGAL PAGES ────────────────────────────────────────────────── */
.legal-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 4rem 2rem 3rem;
}
.legal-hero-inner { max-width: 800px; margin: 0 auto; }
.breadcrumb { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.legal-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.legal-hero p { font-size: 0.9375rem; color: var(--muted); }
.legal-content { max-width: 800px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.legal-section { margin-bottom: 3rem; }
.legal-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}
.legal-section p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-section ul,
.legal-section ol {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-section li { margin-bottom: 0.35rem; }
.legal-section a { color: var(--blue); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-info-box {
  background: var(--blue-soft);
  border: 1px solid rgba(45,107,255,0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}
.legal-info-box p { margin-bottom: 0; color: var(--text); font-size: 0.9rem; }
.legal-back { margin-top: 2rem; }

/* ── 404 ────────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}
.error-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.error-page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.error-page > div > p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  section { padding: 4rem 1.25rem; }

  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-sub { max-width: 100%; }

  .trust-strip { padding: 1rem 1.25rem; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-top   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  .legal-hero    { padding: 3rem 1.25rem 2rem; }
  .legal-content { padding: 3rem 1.25rem 4rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost { width: 100%; text-align: center; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
