/*
Theme Name:  SuomiJobs
Theme URI:   https://suomijobs.com
Author:      SuomiJobs
Description: Premium USA technology talent platform. Dark navy B2B theme.
Version:     7.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.2
License:     Proprietary
Text Domain: suomijobs
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --ink-950: #02060f;
  --ink-900: #060d1c;
  --ink-800: #091221;
  --ink-700: #0e1a2e;
  --ink-600: #122038;
  --ink-border: rgba(255,255,255,0.07);

  --volt-500: #1a6cf6;
  --volt-400: #3d84f7;
  --volt-300: #6aa3f9;
  --volt-100: rgba(26,108,246,0.12);

  --text-white:  #ffffff;
  --text-bright: #e8edf5;
  --text-mid:    #8fa3c0;
  --text-dim:    #4d6280;

  --success: #10b981;
  --error:   #ef4444;
  --warn:    #f59e0b;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Fonts */
  --font-sans:    'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'Geist Mono', 'Fira Code', monospace;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(26,108,246,0.2);

  /* Layout */
  --wrap:    1200px;
  --wrap-sm: 720px;
  --wrap-xs: 560px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-mid);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--volt-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--volt-300); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap    { max-width: var(--wrap);    margin: 0 auto; padding: 0 var(--sp-6); }
.wrap-sm { max-width: var(--wrap-sm); margin: 0 auto; padding: 0 var(--sp-6); }

.section { padding-block: var(--sp-20); }
.section--dark { background: var(--ink-900); }
.section--darker { background: var(--ink-950); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-12); align-items: start; }
.grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-12); align-items: start; }

/* Section header styles */
.sec-hd { max-width: 640px; }
.sec-hd--c { text-align: center; max-width: 640px; margin: 0 auto; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.t-h1 { font-size: clamp(2.4rem, 5vw, var(--fs-6xl)); }
.t-h2 { font-size: clamp(1.8rem, 3.5vw, var(--fs-4xl)); }
.t-h3 { font-size: clamp(1.4rem, 2.5vw, var(--fs-3xl)); }
.t-h4 { font-size: var(--fs-xl); font-weight: 700; }
.t-lead { font-size: var(--fs-lg); color: var(--text-mid); line-height: 1.75; }
.t-sm   { font-size: var(--fs-sm); }
.t-xs   { font-size: var(--fs-xs); }

/* Gradient headline accent */
.t-grad {
  background: linear-gradient(135deg, var(--volt-400) 0%, #60c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Serif italic accent */
.t-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-400);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all 0.22s;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--volt-500);
  color: #fff;
  padding: var(--sp-3) var(--sp-6);
}
.btn-primary:hover {
  background: var(--volt-400);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,108,246,0.4);
}

.btn-primary-lg {
  background: var(--volt-500);
  color: #fff;
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
}
.btn-primary-lg:hover {
  background: var(--volt-400);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,108,246,0.45);
}

.btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-bright);
  padding: var(--sp-3) var(--sp-6);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-outline-lg {
  border-color: rgba(255,255,255,0.18);
  color: var(--text-bright);
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
}
.btn-outline-lg:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.btn-arr {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}

#site-header.scrolled {
  background: rgba(2,6,15,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ink-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 900;
  font-size: var(--fs-xl);
  color: var(--text-white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--text-white); }

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--volt-500);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
}

.nav-link {
  color: var(--text-mid);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active { color: var(--text-white); background: rgba(255,255,255,0.06); }

.nav-cta { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

/* Hamburger */
#nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
}
#nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav overlay */
#nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink-950);
  z-index: 800;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  overflow-y: auto;
}
#nav-mobile.is-open { display: flex; }

.nav-mob-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-10);
}

#nav-mob-close {
  font-size: 1.5rem;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
}
#nav-mob-close:hover { color: var(--text-white); }

.nav-mob-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.nav-mob-link {
  color: var(--text-bright);
  font-size: var(--fs-xl);
  font-weight: 700;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--ink-border);
  text-decoration: none;
  display: block;
}
.nav-mob-link:hover { color: var(--volt-400); }

.nav-mob-footer {
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,108,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}
.orb-blue-lg { width: 600px; height: 600px; background: radial-gradient(circle, var(--volt-500) 0%, transparent 70%); }
.orb-cyan-sm { width: 300px; height: 300px; background: radial-gradient(circle, #00d4ff 0%, transparent 70%); opacity: 0.15; }

.hero-body { position: relative; z-index: 1; width: 100%; padding-block: var(--sp-24); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(26,108,246,0.1);
  border: 1px solid rgba(26,108,246,0.25);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--volt-300);
  margin-bottom: var(--sp-8);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline { max-width: 740px; margin-bottom: var(--sp-6); }
.hero-sub { max-width: 560px; font-size: var(--fs-lg); margin-bottom: var(--sp-10); }

/* Hero float card */
.hero-float {
  background: rgba(9,18,33,0.9);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.hero-float-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--ink-border);
}
.hero-float-label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--success);
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }

.hero-role-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  transition: background 0.2s;
  margin-bottom: var(--sp-2);
}
.hero-role-item.active,
.hero-role-item:hover { background: rgba(26,108,246,0.08); }
.hero-role-icon { font-size: 1.2rem; width: 36px; text-align: center; flex-shrink: 0; }
.hero-role-name { font-size: var(--fs-sm); font-weight: 600; color: var(--text-bright); }
.hero-role-meta { font-size: var(--fs-xs); color: var(--text-dim); }
.hero-role-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 2px var(--sp-3);
  border-radius: var(--r-full);
  background: rgba(26,108,246,0.1);
  color: var(--volt-300);
}

/* Trust strip */
.trust-strip {
  background: var(--ink-900);
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
  padding-block: var(--sp-5);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-inner::-webkit-scrollbar { display: none; }
.trust-label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; flex-shrink: 0; }
.trust-item { font-size: var(--fs-sm); font-weight: 600; color: var(--text-mid); white-space: nowrap; flex-shrink: 0; }
.trust-divider { width: 1px; height: 16px; background: var(--ink-border); flex-shrink: 0; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 72px;
  padding-bottom: var(--sp-16);
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-border);
}
.page-hero-content { position: relative; z-index: 1; padding-top: var(--sp-16); max-width: 720px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  margin-bottom: var(--sp-5);
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--volt-400); }
.breadcrumb span { color: var(--text-dim); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--ink-800);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: rgba(26,108,246,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--volt-100);
  border: 1px solid rgba(26,108,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--sp-5);
}

.card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card p  { font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.75; }

/* Role blocks */
.role-block {
  display: block;
  background: var(--ink-800);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  text-decoration: none;
  transition: all 0.25s;
}
.role-block:hover {
  border-color: rgba(26,108,246,0.35);
  background: var(--ink-700);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.role-block-icon { font-size: 1.6rem; margin-bottom: var(--sp-4); }
.role-block-name { font-size: var(--fs-base); font-weight: 700; color: var(--text-bright); margin-bottom: var(--sp-1); }
.role-block-skills { font-size: var(--fs-xs); color: var(--text-dim); font-family: var(--font-mono); }
.role-block-arrow { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--volt-400); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-border), var(--ink-border), transparent);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--volt-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}
.step h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.step p  { font-size: var(--fs-sm); color: var(--text-mid); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink-border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-bright);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--volt-400); }
.faq-icon { font-size: 1.25rem; color: var(--volt-400); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: var(--sp-6); }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { color: var(--text-mid); line-height: 1.8; }

/* Checklist */
.check-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.check-item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--volt-100);
  border: 1px solid rgba(26,108,246,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--volt-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item span { font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.6; }

/* Tech tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.tech-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  padding: 3px var(--sp-3);
  border-radius: var(--r-sm);
  background: rgba(26,108,246,0.08);
  border: 1px solid rgba(26,108,246,0.15);
  color: var(--volt-300);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-shell {
  background: var(--ink-800);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.form-group { margin-bottom: var(--sp-5); }
.form-label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--text-bright); margin-bottom: var(--sp-2); }
.form-label .req { color: var(--volt-400); margin-left: 2px; }

.form-ctrl {
  width: 100%;
  background: var(--ink-700);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-base);
  color: var(--text-bright);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
  -webkit-appearance: none;
}
.form-ctrl::placeholder { color: var(--text-dim); }
.form-ctrl:focus {
  outline: none;
  border-color: var(--volt-500);
  box-shadow: 0 0 0 3px rgba(26,108,246,0.15);
}
.form-ctrl:invalid:not(:placeholder-shown) { border-color: var(--error); }

textarea.form-ctrl { resize: vertical; min-height: 110px; }
select.form-ctrl { cursor: pointer; }

/* File upload zone */
.file-zone {
  border: 2px dashed var(--ink-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--ink-700);
  position: relative;
}
.file-zone:hover,
.file-zone.drag-over {
  border-color: var(--volt-500);
  background: rgba(26,108,246,0.04);
}
.file-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-zone-icon { font-size: 1.8rem; margin-bottom: var(--sp-3); }
.file-zone-text { font-size: var(--fs-sm); color: var(--text-mid); }
.file-zone-text strong { color: var(--volt-400); display: block; margin-bottom: var(--sp-1); }
.file-zone-hint { font-size: var(--fs-xs); color: var(--text-dim); margin-top: var(--sp-2); font-family: var(--font-mono); }
.file-zone-name { font-size: var(--fs-sm); color: var(--success); margin-top: var(--sp-3); font-weight: 600; word-break: break-all; }

/* Consent checkbox */
.form-consent { display: flex; align-items: flex-start; gap: var(--sp-3); }
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink-border);
  border-radius: var(--r-sm);
  background: var(--ink-700);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  -webkit-appearance: none;
  appearance: none;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--volt-500);
  border-color: var(--volt-500);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.form-consent-label { font-size: var(--fs-xs); color: var(--text-dim); line-height: 1.6; }
.form-consent-label a { color: var(--volt-300); }

/* Form feedback */
.form-notice {
  display: none;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
}
.form-notice.show { display: flex; }
.form-notice--error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; }
.form-notice--success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #6ee7b7; }

/* Honeypot - always hidden */
.sj-hp { display: none !important; visibility: hidden !important; position: absolute !important; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: linear-gradient(135deg, var(--ink-700) 0%, var(--ink-800) 100%);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,108,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block .eyebrow { justify-content: center; margin-bottom: var(--sp-4); }
.cta-block h2 { margin-bottom: var(--sp-5); }
.cta-block p { color: var(--text-mid); max-width: 480px; margin: 0 auto var(--sp-8); }
.cta-block .btn-row { justify-content: center; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row { display: flex; gap: var(--sp-12); flex-wrap: wrap; margin-top: var(--sp-10); }
.stat-item { }
.stat-value { font-size: var(--fs-4xl); font-weight: 900; color: var(--text-white); line-height: 1; }
.stat-label { font-size: var(--fs-sm); color: var(--text-dim); margin-top: var(--sp-1); }

/* ============================================================
   FLOATING CTA BAR
   ============================================================ */
#float-cta {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 800;
  pointer-events: none;
}
#float-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.float-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(6,13,28,0.95);
  border: 1px solid rgba(26,108,246,0.3);
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.float-cta-text { font-size: var(--fs-sm); font-weight: 600; color: var(--text-mid); white-space: nowrap; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#cookie-bar {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  max-width: 360px;
  background: var(--ink-800);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-lg);
  z-index: 850;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#cookie-bar.show { transform: translateY(0); }
.cookie-bar-title { font-size: var(--fs-base); font-weight: 700; color: var(--text-white); margin-bottom: var(--sp-2); }
.cookie-bar-text { font-size: var(--fs-xs); color: var(--text-dim); line-height: 1.6; margin-bottom: var(--sp-5); }
.cookie-bar-text a { color: var(--volt-300); }
.cookie-bar-btns { display: flex; gap: var(--sp-3); }
#cookie-accept {
  flex: 1;
  padding: var(--sp-2) var(--sp-4);
  background: var(--volt-500);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
}
#cookie-accept:hover { background: var(--volt-400); }
#cookie-decline {
  padding: var(--sp-2) var(--sp-4);
  background: none;
  color: var(--text-dim);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
#cookie-decline:hover { color: var(--text-mid); border-color: rgba(255,255,255,0.2); }

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
#success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,6,15,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--ink-800);
  border: 1px solid rgba(26,108,246,0.3);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-10);
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.modal-icon { font-size: 2.5rem; margin-bottom: var(--sp-5); }
.modal-box h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.modal-box p { color: var(--text-mid); margin-bottom: var(--sp-8); line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--ink-900);
  border-top: 1px solid var(--ink-border);
  padding-top: var(--sp-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--ink-border);
}

.footer-brand-desc { font-size: var(--fs-sm); color: var(--text-dim); margin-top: var(--sp-4); line-height: 1.75; max-width: 280px; }

.footer-col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--sp-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link { font-size: var(--fs-sm); color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--volt-400); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  flex-wrap: wrap;
}

.footer-legal-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-legal-link { font-size: var(--fs-xs); color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-legal-link:hover { color: var(--text-mid); }

.footer-disclaimer {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  line-height: 1.75;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
  margin-block: var(--sp-5);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body h2 {
  font-size: var(--fs-xl);
  color: var(--text-white);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--ink-border);
}
.legal-body h3 { font-size: var(--fs-lg); color: var(--text-bright); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.legal-body p { margin-bottom: var(--sp-4); }
.legal-body ul { padding-left: var(--sp-6); margin-bottom: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.legal-body ul li { list-style: disc; color: var(--text-mid); font-size: var(--fs-base); }
.legal-body a { color: var(--volt-300); }
.legal-notice {
  background: rgba(26,108,246,0.05);
  border: 1px solid rgba(26,108,246,0.18);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-sm);
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   SKIP LINK / ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: fixed;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--volt-500);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-lg);
  font-weight: 700;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* Screen reader only */
.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;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4    { grid-template-columns: repeat(2, 1fr); }
  .grid-7-5,
  .grid-5-7  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .hero-float { position: static; margin-top: var(--sp-10); }
}

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

  .grid-2,
  .grid-3   { grid-template-columns: 1fr; }
  .steps    { grid-template-columns: 1fr; }
  .stats-row { gap: var(--sp-8); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-block { padding: var(--sp-10) var(--sp-6); }
  #cookie-bar { left: var(--sp-4); right: var(--sp-4); max-width: none; }
  .section { padding-block: var(--sp-16); }
}

@media (max-width: 480px) {
  .wrap { padding: 0 var(--sp-4); }
  .btn-primary-lg,
  .btn-outline-lg { padding: var(--sp-3) var(--sp-6); font-size: var(--fs-base); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; }
  .form-shell { padding: var(--sp-5); }
  .hero-body { padding-block: var(--sp-12); }
}
