:root {
  --bg: #0a0a0a;
  --bg-elev: #14110d;
  --text: #f5f0e8;
  --text-dim: #c9b89e;
  --text-mute: #8a7c66;

  --orange: #ff6b1a;
  --orange-bright: #ff9933;
  --orange-deep: #b94400;
  --orange-glow: rgba(255,107,26,0.15);

  --border: #2a221a;
  --border-soft: #1a1612;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Space Grotesk', ui-monospace, 'SF Mono', system-ui, sans-serif;

  --content-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html { overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; }

main { position: relative; z-index: 1; overflow-x: clip; }
.section {
  padding: 80px 48px;
  max-width: var(--content-max);
  margin: 60px auto;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.72) 50%,
    rgba(10, 10, 10, 0.55) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 6px;
  position: relative;
}
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; font-weight: 700; }
.section-heading { font-family: var(--font-display); font-style: normal; font-size: clamp(28px, 3.8vw, 44px); color: var(--text); margin-bottom: 36px; font-weight: 700; letter-spacing: -1px; }
.section-body { font-size: 16px; line-height: 1.8; color: var(--text-dim); max-width: 720px; }
.section-featured {
  border-left: 2px solid var(--orange);
  background: linear-gradient(90deg, rgba(255,107,26,0.10), rgba(10,10,10,0.72) 60%);
  padding-left: 56px;
}

.btn-gold { display: inline-block; background: var(--orange); color: var(--bg); padding: 14px 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; transition: opacity 0.2s; cursor: pointer; }
.btn-gold:hover { opacity: 0.85; }

.footer { padding: 32px; max-width: var(--content-max); margin: 0 auto; display: flex; justify-content: space-between; font-size: 11px; color: var(--orange-deep); border-top: 1px solid var(--border); }

.topbar {
  position: fixed;
  top: 30px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  /* Solid-ish bg instead of backdrop-blur: the bar sits over the animated hero, and
     backdrop-filter re-blurs that region on every composite frame (expensive). */
  background: rgba(10,10,10,0.88);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--border);
}
.logo {
  display: block;
  height: 40px;
  text-decoration: none;
}
.logo img {
  height: 100%;
  width: auto;
  border-radius: 4px;
  display: block;
}
@media (max-width: 880px) {
  .logo { height: 34px; }
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav a:hover { color: var(--orange); }
.nav .nav-cta {
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 6px 14px;
  border-radius: 2px;
}
.nav .nav-cta:hover {
  background: var(--orange);
  color: var(--bg);
}
.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 12px;
  align-items: center;
}
.lang-btn {
  color: var(--text-dim);
  padding: 4px;
}
.lang-btn.active { color: var(--orange); }
.lang-sep { color: var(--border); }

/* Mobile-only quick CTAs in the top bar; PL/EN moves into the menu on mobile */
.topbar-cta { display: none; }
.lang-switch--menu { display: none; }

.hamburger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.2s; }

main { padding-top: 110px; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 32px 60px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  min-width: 0;
}
.hero-logo {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 40px rgba(255,107,26,0.25));
  border-radius: 4px;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.hero-title-line {
  display: block;
  color: var(--text);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-title-accent {
  display: block;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(180deg, #ff9933 0%, #ff6b1a 55%, #b94400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 620px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #0a0a0a;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border-radius: 2px;
}
.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,26,0.4);
}
.btn-secondary {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}
/* width/height 100% force the low-res backing buffer to upscale to fill the viewport
   (canvas is a replaced element — without explicit size it would render at buffer size) */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55; }
#cyber-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.service-card {
  background: var(--bg-elev);
  padding: 32px 28px;
  transition: background 0.3s, transform 0.3s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}
.service-card:hover {
  background: linear-gradient(180deg, rgba(255,107,26,0.04), transparent);
}
.service-card:hover::before {
  border-color: var(--orange);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.3px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.service-card .service-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange-deep);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.approach-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.approach-step {
  background: var(--bg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 60px 180px 1fr;
  gap: 24px;
  align-items: baseline;
  transition: background 0.3s;
}
.approach-step:hover {
  background: linear-gradient(90deg, rgba(255,107,26,0.05), transparent 60%);
}
.approach-step .step-num {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--orange);
  letter-spacing: 1px;
  font-weight: 700;
}
.approach-step .step-title {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.approach-step .step-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .approach-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.section-featured .section-body {
  margin-bottom: 32px;
  max-width: 680px;
}
.section-featured .btn-gold {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .section-featured {
    padding-left: 32px;
  }
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}
.case-item {
  display: grid;
  grid-template-columns: 200px 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.case-item:first-child { border-top: 0; padding-top: 0; }
.case-sector {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
}
.case-scale {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}
.case-result {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .case-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 580px;
  margin-top: 24px;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 4px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--orange-deep);
}
.contact-form .btn-gold {
  align-self: flex-start;
  margin-top: 8px;
}
.contact-info {
  margin-top: 40px;
  font-size: 14px;
}
.contact-info a {
  color: var(--orange);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-info a:hover { border-bottom-color: var(--orange); }

.section,
.hero-inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.revealed,
.hero-inner.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section, .hero-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    border-left: 1px solid var(--border);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav a { font-size: 16px; }

  .hamburger { display: flex; z-index: 101; }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .topbar { padding: 16px 20px; }
  .section { padding: 44px 16px; margin: 14px 6px; }
  .section-featured { padding-left: 16px; }
  .hero { padding: 96px 16px 48px; }

  /* Show the key CTAs (Ocena CRA + SBOM) in the bar, hide bar lang switch */
  .lang-switch--bar { display: none; }
  .topbar-cta { display: flex; gap: 8px; align-items: center; }
  .topbar-cta a {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 5px 10px;
    border-radius: 2px;
  }
  .topbar-cta a:active { background: var(--orange); color: var(--bg); }

  /* PL/EN inside the slide-out menu */
  .lang-switch--menu { display: flex; gap: 12px; margin-top: 12px; font-size: 16px; }
  .lang-switch--menu .lang-btn { font-size: 16px; padding: 6px 8px; }
}

/* Small phones: shrink hero title so long Polish words never overflow (Safari) */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(19px, 6vw, 28px); letter-spacing: -0.4px; line-height: 1.12; }
  .hero-title-line, .hero-title-accent {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
  .section { margin: 12px 5px; }
}

/* ============ Eyebrow bar ============ */
.eyebrow {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: #000;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
}
.eyebrow-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 7px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.eyebrow-sep {
  color: var(--orange);
}
.eyebrow-tagline {
  color: var(--text-mute);
  text-transform: uppercase;
}
.eyebrow-right {
  margin-left: auto;
}
.eyebrow-link {
  color: var(--text-dim);
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.eyebrow-link:hover { color: var(--orange); }

/* Adjust topbar position to sit below eyebrow */

/* ============ Hero — eyebrow line + stats grid ============ */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 7px 14px;
  border: 1px solid var(--orange);
  border-radius: 100px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,107,26,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,26,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255,107,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,26,0); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 44px;
  max-width: 660px;
}
.hero-stat {
  background: var(--bg-elev);
  padding: 18px 22px;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* ============ Service card tags ============ */
.service-tags {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--orange);
  text-transform: uppercase;
}

/* ============ Why us section ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.why-card {
  background: var(--bg-elev);
  padding: 32px 28px;
  position: relative;
  transition: background 0.3s;
}
.why-card:hover { background: linear-gradient(180deg, rgba(255,107,26,0.06), var(--bg-elev) 80%); }
.why-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  font-style: normal;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ============ Contact section subhead ============ */
.contact-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 640px;
  margin-top: -12px;
  margin-bottom: 28px;
  line-height: 1.7;
}

@media (max-width: 880px) {
  .eyebrow-inner { padding: 8px 20px; font-size: 10px; }
  .eyebrow-tagline { display: none; }
}
@media (max-width: 600px) {
  .eyebrow-right { display: none; }
}

/* ============ Footer brand ============ */
.footer {
  /* override existing footer to flex column-ish */
  padding: 32px 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  height: 28px;
  width: auto;
  border-radius: 3px;
  display: block;
}
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.footer-copy { color: var(--text-mute); }

/* ============ Brand mark - top-left of hero, absolute positioned ============ */
.brand-mark {
  position: absolute;
  top: 24px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.brand-mark-logo {
  height: 64px;
  width: auto;
  border-radius: 6px;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(255,107,26,0.30));
}
.brand-mark-text {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -1.2px;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 600px) {
  .brand-mark { top: 16px; left: 20px; gap: 12px; }
  .brand-mark-logo { height: 44px; }
}

/* ============ Cyber HUD overlay ============ */
.hud {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--orange-deep);
  text-transform: uppercase;
  mix-blend-mode: screen;
}
.hud-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  min-width: 180px;
}
.hud-tl { top: 80px; left: 0; align-items: flex-start; }
.hud-tr { top: 80px; right: 0; align-items: flex-end; text-align: right; }
.hud-bl { bottom: 0; left: 0; align-items: flex-start; }
.hud-br { bottom: 0; right: 0; align-items: flex-end; text-align: right; }

.hud-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.hud-tr .hud-line, .hud-br .hud-line { justify-content: flex-end; }
.hud-key {
  color: rgba(255,107,26,0.45);
  font-size: 9px;
  letter-spacing: 2px;
}
.hud-val {
  color: var(--orange-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hud-unit {
  color: rgba(255,107,26,0.55);
  font-size: 9px;
  margin-left: 2px;
}
@keyframes hud-blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.35; }
}
.hud-blink {
  animation: hud-blink 1.6s infinite step-end;
  color: #6effaa; /* slight green for "online" status */
}

/* Crosshair / viewport corners */
.hud-crosshair { position: absolute; inset: 80px 20px 20px 20px; pointer-events: none; }
.ch {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,107,26,0.4);
}
.ch-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.ch-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.ch-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.ch-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Subtle CRT scanlines across whole viewport */
.hud-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,107,26,0.04) 0px,
    rgba(255,107,26,0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  opacity: 0.5;
}

/* Hide HUD content on small screens to avoid clutter */
@media (max-width: 880px) {
  .hud-corner { font-size: 9px; padding: 10px; min-width: 0; }
  .hud-tl, .hud-tr { display: none; } /* top corners overlap with topbar */
  .hud-crosshair { display: none; }
}
@media (max-width: 600px) {
  .hud-bl, .hud-br { font-size: 8px; }
  .hud-scanlines { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hud-blink { animation: none; opacity: 0.6; }
}

/* ============ CRA modal ============ */
.cra-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cra-modal[aria-hidden="false"] { display: flex; }
.cra-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cra-modal-panel {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--orange);
  border-radius: 8px;
  max-width: 640px;
  width: 100%;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,107,26,0.18);
  font-family: var(--font-mono);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.cra-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.cra-modal-close:hover { color: var(--orange); }
.cra-modal-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-soft);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.cra-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-bright), var(--orange));
  transition: width 0.4s ease;
}
.cra-modal-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 700;
}
.cra-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.cra-step-num {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-mute);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cra-question {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}
.cra-answers {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.cra-answer-btn {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  border-radius: 4px;
}
.cra-answer-btn:hover {
  border-color: var(--orange);
  background: rgba(255,107,26,0.06);
}
.cra-answer-btn-yes:hover { color: #ff6b1a; }
.cra-answer-btn-no:hover { color: var(--text); }
.cra-result {
  text-align: left;
}
.cra-result-verdict {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
}
.cra-result-in-scope {
  color: var(--orange);
  border-left-color: var(--orange);
  background: rgba(255,107,26,0.08);
}
.cra-result-excluded {
  color: #6effaa;
  border-left-color: #6effaa;
  background: rgba(110,255,170,0.06);
}
.cra-result-explain {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.cra-result-meta {
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 24px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 4px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}
.cra-result-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cra-result-restart {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 12px 20px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.cra-result-restart:hover { border-color: var(--orange); color: var(--orange); }

@media (max-width: 600px) {
  .cra-modal-panel { padding: 28px 22px 24px; }
  .cra-answers { flex-direction: column; }
}

/* ============ CRA: simplified 2-button row ============ */
.cra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.cra-action {
  flex: 1 1 280px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 24px 26px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.cra-action:hover { border-color: var(--orange); transform: translateY(-2px); background: rgba(255,107,26,0.05); }
.cra-action-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.cra-action-tag-paid {
  background: var(--orange);
  color: #0a0a0a;
  padding: 3px 10px;
  border-radius: 2px;
}
.cra-action-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-top: 4px;
  line-height: 1.25;
}
.cra-action-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ============ Dossier wizard modal ============ */
.dossier-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dossier-modal[aria-hidden="false"] { display: flex; }
.dossier-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dossier-modal-panel {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--orange);
  border-radius: 8px;
  max-width: 860px;
  width: 100%;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 80px rgba(255,107,26,0.15);
  font-family: var(--font-mono);
}
.dossier-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  z-index: 2;
}
.dossier-modal-close:hover { color: var(--orange); }
.dossier-modal-progress {
  position: relative;
  height: 3px;
  background: var(--border-soft);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.dossier-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-bright), var(--orange));
  transition: width 0.4s ease;
}
.dossier-modal-header {
  padding: 24px 32px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.dossier-modal-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 700;
}
.dossier-modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.dossier-modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}
.dossier-modal-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.dossier-modal-footer .btn-secondary:disabled,
.dossier-modal-footer .btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Form fields inside wizard */
.step-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.step-intro {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.7;
}
.form-section {
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(10,10,10,0.6);
  border-radius: 4px;
  border-left: 2px solid var(--orange-deep);
}
.form-section-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.form-section-intro {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.6;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.field-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 700;
}
.field-hint {
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 6px;
  line-height: 1.5;
  font-style: italic;
}
.field input[type=text],
.field input[type=email],
.field input[type=url],
.field input[type=number],
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 3px;
  transition: border-color 0.2s;
  font-weight: 400;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.6;
}
.field-error { border-color: #ff4444 !important; }
.field-yesno {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: rgba(10,10,10,0.4);
  border-radius: 3px;
  border: 1px solid var(--border-soft);
}
.field-yesno-label {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
}
.field-yesno-options {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.yn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.yn input { display: none; }
.yn:hover { border-color: var(--orange); color: var(--orange); }
.yn input:checked ~ span { color: var(--orange); }
.yn:has(input:checked) { border-color: var(--orange); background: rgba(255,107,26,0.08); color: var(--orange); }
.field-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  cursor: pointer;
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }

.step-banner {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 20px;
  border-left: 3px solid;
}
.step-banner-ok {
  background: rgba(110,255,170,0.06);
  border-left-color: #6effaa;
  color: #6effaa;
  font-weight: 700;
}
.step-banner-warn {
  background: rgba(255,107,26,0.10);
  border-left-color: var(--orange);
  color: var(--orange);
  font-weight: 700;
}
.ecr-row {
  padding: 16px;
  margin-bottom: 14px;
  background: rgba(10,10,10,0.45);
  border-radius: 3px;
  border-left: 2px solid var(--orange-deep);
}
.ecr-row-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.ecr-row-sub {
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 10px;
  line-height: 1.5;
}
.ecr-row-radio { display: flex; gap: 10px; margin-bottom: 10px; }
.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.summary-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
}
.summary-table td:first-child {
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10px;
  width: 40%;
}
.summary-table td:last-child { color: var(--text); }
.docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--border-soft);
}
.docs-list li:first-child { border-top: 0; }
.docs-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.payment-card {
  background: linear-gradient(180deg, rgba(255,107,26,0.10), rgba(10,10,10,0.6) 80%);
  border: 1px solid var(--orange);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
}
.payment-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -1.5px;
  line-height: 1;
}
.payment-title {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 8px;
  margin-bottom: 24px;
  font-weight: 700;
}
.payment-incl {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  font-size: 13px;
  color: var(--text-dim);
  display: inline-block;
}
.payment-incl li { padding: 5px 0; }
.payment-note {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .dossier-modal-panel { border-radius: 4px; }
  .dossier-modal-header,
  .dossier-modal-body,
  .dossier-modal-footer { padding-left: 18px; padding-right: 18px; }
  .form-section { padding: 14px; }
}

/* ============ Standalone tool subpages (cra-check.html / cra-dossier.html) ============ */
body.subpage {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,107,26,0.08), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(255,107,26,0.05), transparent 50%),
    #0a0a0a;
  min-height: 100vh;
}
.subpage-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.subpage-bar .logo { height: 38px; }
.subpage-back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.subpage-back:hover { color: var(--orange); }

.subpage-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.subpage-main-wide { max-width: 880px; }

.tool-head { margin-bottom: 28px; }
.tool-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 14px;
}
.tool-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 14px;
}
.tool-lead {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 620px;
}
.tool-card {
  background: rgba(20,17,13,0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.5);
}
.tool-progress {
  height: 3px;
  background: var(--border-soft);
  overflow: hidden;
}
.tool-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-bright), var(--orange));
  transition: width 0.4s ease;
}
#check-root,
#dossier-root {
  padding: 32px 32px 8px;
}
.tool-disclaimer {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-mute);
}
.cra-qhint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin: -14px 0 22px;
  line-height: 1.5;
}

/* Dossier step lead + nav */
.dossier-steplead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 22px 32px 0;
}
.dossier-stepcount {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.dossier-steptitle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.dossier-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border-soft);
  margin-top: 12px;
}
.dossier-nav .btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.payment-btn { display: inline-block; margin-top: 8px; text-align: center; }

@media (max-width: 600px) {
  .subpage-bar { padding: 14px 20px; }
  .subpage-main { padding: 36px 16px 60px; }
  #check-root, #dossier-root { padding: 22px 18px 8px; }
  .dossier-steplead, .dossier-nav { padding-left: 18px; padding-right: 18px; }
}

/* ============ Dossier stepper (numbered dots) ============ */
.stepper {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 24px 32px 4px;
}
.stepper-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  min-width: 0;
}
/* connector line to the previous dot */
.stepper-item::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.stepper-item:first-child::before { display: none; }
.stepper-item.is-done::before,
.stepper-item.is-active::before { background: var(--orange); }
.stepper-dot {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  background: var(--bg-elev);
  border: 2px solid var(--border);
  transition: all 0.25s ease;
}
.stepper-item.is-done .stepper-dot {
  background: var(--orange-deep);
  border-color: var(--orange);
  color: #fff;
}
.stepper-item.is-active .stepper-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 0 0 4px rgba(255,107,26,0.18);
  transform: scale(1.12);
}
.stepper-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.2;
}
.stepper-item.is-active .stepper-label { color: var(--orange); font-weight: 700; }
.stepper-item.is-done .stepper-label { color: var(--text-dim); }
.stepper-item.is-clickable { cursor: pointer; }
.stepper-item.is-clickable:hover .stepper-dot { border-color: var(--orange-bright); }

@media (max-width: 640px) {
  .stepper { padding: 18px 14px 2px; }
  .stepper-dot { width: 26px; height: 26px; font-size: 11px; }
  .stepper-item::before { top: 12px; }
  .stepper-label { display: none; }
}

/* ============ Dossier license activation ============ */
.license-box {
  margin-top: 24px;
  padding: 24px;
  background: rgba(10,10,10,0.6);
  border: 1px dashed var(--orange-deep);
  border-radius: 6px;
}
.license-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.license-input {
  flex: 1 1 280px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.license-input:focus { outline: none; border-color: var(--orange); }
.license-status {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  min-height: 18px;
}
.license-status-err { color: #ff6b6b; }
.license-status-wait { color: var(--text-dim); }
@media (max-width: 600px) {
  .license-box { padding: 16px; }
  .license-row .btn-primary { width: 100%; text-align: center; }
}

/* Full-width "contact" action below the CRA 2-button row */
.cra-action-contact {
  flex: 1 1 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10,10,10,0.5);
  border-style: dashed;
  padding: 20px 28px;
}
.cra-action-contact .cra-action-label { margin-top: 0; }
.cra-action-contact .cra-action-hint { margin-top: 0; color: var(--orange); }
@media (max-width: 600px) {
  .cra-action-contact { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* SBOM check — recommendations block in result */
.sbom-recs { margin: 4px 0 24px; }
.sbom-recs-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ============ Mobile overflow safety ============ */
.hero-title,
.hero-title-line,
.hero-title-accent,
.section-heading,
.tool-title,
.brand-mark-text,
.cra-action-label,
.dossier-steptitle,
.service-card h3,
.approach-step .step-title,
.why-card h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* flex children must be allowed to shrink below content width */
.cra-action,
.hero-stat,
.license-input,
.field input,
.field textarea,
.field select { min-width: 0; }
/* tables / long values inside cards */
.summary-table { table-layout: fixed; width: 100%; }
.summary-table td { overflow-wrap: anywhere; word-break: break-word; }
/* never let media exceed viewport */
img, canvas, svg, video, table { max-width: 100%; }

/* ============ Footer with key links ============ */
.footer {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding: 44px 32px 36px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-links .footer-cta {
  color: var(--orange);
  font-weight: 700;
  border: 1px solid var(--orange);
  padding: 4px 12px;
  border-radius: 2px;
}
.footer-links .footer-cta:hover { background: var(--orange); color: var(--bg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-mute);
}
@media (max-width: 600px) { .footer { padding: 32px 18px; } }
