@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

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

:root {
  --bg:        #0d0d10;
  --bg2:       #111116;
  --surface:   #16161c;
  --surface2:  #1c1c24;
  --border:    #24242e;
  --border2:   #2e2e3a;
  --teal:      #1D9E75;
  --teal-glow: rgba(29,158,117,.18);
  --teal-dim:  rgba(29,158,117,.08);
  --text:      #f0f0f2;
  --muted:     #7070848;
  --muted:     #72728a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.loader-logo em { color: var(--teal); font-style: normal; }
.loader-bar {
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--teal);
  border-radius: 2px;
  animation: loadFill 1.1s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ── ANNOUNCEMENT BAR ── */
.announce {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 9px 16px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .01em;
}
.announce em { color: var(--teal); font-style: normal; font-weight: 600; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,16,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo em { color: var(--teal); font-style: normal; }

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-contact {
  font-size: 13px; font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 7px;
  padding: 7px 15px;
  transition: border-color .15s, color .15s;
}
.btn-contact:hover { border-color: var(--teal); color: var(--teal); }

/* lang switcher */
.lang-wrap { position: relative; }
#lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 7px 10px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: inherit; letter-spacing: .04em;
  transition: border-color .15s, color .15s;
}
#lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
#lang-toggle svg { width: 13px; height: 13px; }

#lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; min-width: 140px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 200;
}
#lang-dropdown.open { display: block; }
#lang-dropdown [data-lang] {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 13px; font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: background .12s, color .12s;
  border: none; background: none; width: 100%; font-family: inherit;
}
#lang-dropdown [data-lang]:hover { background: var(--border); color: var(--text); }
.lang-code { font-size: 11px; font-weight: 700; color: var(--teal); min-width: 22px; }

/* mobile */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer {
  display: none; flex-direction: column;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  padding: 12px 28px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-center, .btn-contact { display: none; }
  .nav-burger { display: flex; }
}

/* ── DEV NOTICE ── */
.dev-notice {
  background: rgba(234,179,8,.08);
  border-bottom: 1px solid rgba(234,179,8,.2);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: #ca9e0a;
  text-align: center;
}
.dev-notice strong { font-weight: 700; }
.dev-notice-close {
  background: none; border: none; cursor: pointer;
  color: #ca9e0a; font-size: 15px; line-height: 1;
  padding: 0 0 0 8px; opacity: .7;
  transition: opacity .15s;
  flex-shrink: 0;
}
.dev-notice-close:hover { opacity: 1; }

/* ── WATERMARK ── */
/* ── HERO ── */
.hero-wrap {
  padding: 72px 32px 64px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-wrap { grid-template-columns: 1fr; padding: 52px 24px 48px; }
  .hero-visual { display: none; }
}

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(29,158,117,.4);
  border-radius: 999px; padding: 5px 13px;
  font-size: 12px; font-weight: 500; color: var(--teal);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--teal); }
  50%      { box-shadow: 0 0 14px var(--teal); }
}

.hero-text h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.hero-text h1 em { color: var(--teal); font-style: normal; }

.hero-text p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text); background: transparent;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s, color .15s, background .15s, transform .12s, box-shadow .15s;
}
.btn:hover {
  border-color: var(--teal); color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--teal-glow);
}
.btn-primary {
  background: var(--teal); border-color: var(--teal); color: #fff;
}
.btn-primary:hover {
  background: #21b888; border-color: #21b888; color: #fff;
  box-shadow: 0 4px 20px rgba(29,158,117,.4);
}

/* trust row */
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-top: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted);
}
.trust-item svg { width: 14px; height: 14px; color: var(--teal); }

/* ── TERMINAL VISUAL ── */
.hero-visual { perspective: 1000px; }

.terminal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border);
  animation: floatCard 4s ease-in-out infinite;
  font-family: 'JetBrains Mono', monospace;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0) rotateX(2deg); }
  50%      { transform: translateY(-8px) rotateX(2deg); }
}

.terminal-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #febc2e; }
.t-dot.g { background: #28c840; }
.t-title {
  font-size: 11px; color: var(--muted);
  margin: 0 auto; font-family: 'JetBrains Mono', monospace;
}

.terminal-body { padding: 18px 20px; font-size: 13px; line-height: 2; }

.t-line { display: flex; align-items: center; gap: 6px; }
.t-prompt { color: var(--teal); }
.t-cmd { color: #79c0ff; }
.t-arg { color: #ffa657; }
.t-out { color: #7ee787; padding-left: 6px; }
.t-out::before { content: '✓ '; color: var(--teal); }
.t-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--teal); border-radius: 1px;
  animation: blink .9s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* floating badge on visual */
.visual-wrap { position: relative; }
.visual-badge {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  animation: floatBadge 3.5s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.vb-val { font-size: 18px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.vb-lbl { font-size: 10.5px; color: var(--muted); }

/* ── DIVIDER ── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── BG GRID (subtle) ── */
.grid-bg {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  opacity: .3;
  position: absolute; inset: 0; pointer-events: none;
}

/* ── SERVICES ── */
.services-wrap {
  position: relative;
  padding: 72px 32px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.section-label {
  text-align: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted); font-size: 14.5px;
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.card:hover {
  border-color: rgba(29,158,117,.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(29,158,117,.1);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: block; width: 36px; height: 36px;
  background: var(--teal-dim); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 16px; flex-shrink: 0;
}
.card-icon svg { width: 18px; height: 18px; }

.card h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.card p  { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ── PROCESS ── */
.process-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
}
.process-inner {
  max-width: 1100px; margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: calc(16.6% + 12px); right: calc(16.6% + 12px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--border), var(--teal));
  opacity: .4;
}
.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--teal);
  margin: 0 auto 20px;
  font-family: 'JetBrains Mono', monospace;
  transition: background .2s, box-shadow .2s;
  position: relative; z-index: 1;
}
.step:hover .step-num {
  background: var(--teal-dim);
  box-shadow: 0 0 20px var(--teal-glow);
}
.step h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 720px) {
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
}

/* ── STATS ── */
.stats {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 40px 24px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--surface); }
.stat-val {
  font-size: 28px; font-weight: 800; color: var(--teal);
  letter-spacing: -.03em; margin-bottom: 5px;
}
.stat-lbl { font-size: 12.5px; color: var(--muted); }

@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}

/* ── BOTTOM CTA ── */
.cta-strip {
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(29,158,117,.12), transparent);
  pointer-events: none;
}
.cta-strip h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 12px;
}
.cta-strip h2 em { color: var(--teal); font-style: normal; }
.cta-strip p { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 60px 32px 44px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(29,158,117,.07), transparent);
  pointer-events: none;
}
.page-header-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.page-header h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px;
}
.page-header h1 em { color: var(--teal); font-style: normal; }
.page-header p { color: var(--muted); font-size: 14.5px; }

/* ── INNER SECTION ── */
.section {
  padding: 52px 32px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ── ABOUT ── */
.about-body p {
  color: var(--muted); font-size: 14.5px; line-height: 1.8;
  max-width: 600px; margin-bottom: 18px;
}
.meta-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.meta-list li { display: flex; gap: 16px; font-size: 13.5px; align-items: baseline; }
.meta-list li b {
  color: var(--teal); font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; min-width: 90px;
}
.meta-list li span { color: var(--muted); }

/* ── SERVICES PAGE ── */
.services-cta { margin-top: 48px; text-align: center; }
.services-cta p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ── CONTACT ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 720px) { .contact-wrap { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px;
}
.contact-info h2 em { color: var(--teal); font-style: normal; }
.contact-info > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 32px; }

.c-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 12px;
}
.c-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--teal-dim); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}

form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 5px; }
label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
input, textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-size: 13.5px; font-family: inherit;
  padding: 11px 13px; outline: none; resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,.1);
}
textarea { min-height: 120px; }

.form-success {
  display: none;
  background: rgba(29,158,117,.07);
  border: 1px solid rgba(29,158,117,.3);
  border-radius: 8px; padding: 12px 14px;
  font-size: 13px; color: var(--teal);
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── ENTRANCE ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.announce       { animation: fadeIn  .4s ease both; }
nav             { animation: fadeIn  .4s .05s ease both; }
.hero-text .badge { animation: fadeUp .5s .15s ease both; }
.hero-text h1   { animation: fadeUp  .55s .25s ease both; }
.hero-text p    { animation: fadeUp  .5s  .38s ease both; }
.hero-btns      { animation: fadeUp  .5s  .48s ease both; }
.hero-trust     { animation: fadeUp  .5s  .56s ease both; }
.hero-visual    { animation: fadeUp  .6s  .3s  ease both; }

/* ── CAREER PAGE ── */
/* ── CAREERS HERO ── */
.careers-hero {
  padding: 80px 32px 60px;
  text-align: center;
}
.careers-hero .page-header-inner { max-width: 720px; }
.careers-eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.careers-hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.careers-hero p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}
.careers-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.careers-hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.careers-hero-stats strong {
  font-size: 26px; font-weight: 800; color: var(--teal);
  letter-spacing: -.02em;
}
.careers-hero-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .careers-hero { padding: 56px 24px 44px; }
  .careers-hero-stats { gap: 28px; }
}

.jobs-header {
  text-align: center;
  margin-bottom: 44px;
}
.jobs-header h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}
.jobs-header p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.jobs-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.jobs-filter-group {
  max-width: 980px;
  margin: 0 auto 6px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.jobs-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  width: 74px;
  text-align: right;
}
.jobs-filter-group .jobs-filters {
  justify-content: flex-start;
  margin-bottom: 0;
  flex: 1;
}
.jobs-count {
  max-width: 980px;
  margin: 22px auto 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 560px) {
  .jobs-filter-label { width: auto; text-align: left; }
  .jobs-filter-group { gap: 6px; }
}
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, color .15s, background .15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.job-card:hover { border-color: rgba(29,158,117,.3); transform: translateY(-2px); }
.job-card.expanded {
  border-color: rgba(29,158,117,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.job-summary {
  padding: 30px 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: background .15s;
}
.job-summary:hover { background: var(--surface2); }

.job-icon {
  width: 58px; height: 58px;
  background: var(--teal-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.job-icon svg { width: 28px; height: 28px; }

.job-meta { flex: 1; min-width: 0; }
.job-meta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.job-teaser {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card.expanded .job-teaser { display: none; }
.job-tags {
  display: flex; gap: 9px; flex-wrap: wrap;
}
.job-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 11px;
}
.job-tag.teal { color: var(--teal); background: var(--teal-dim); }

.job-arrow {
  width: 24px; height: 24px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .25s;
}
.job-card.expanded .job-arrow { transform: rotate(180deg); }

.job-details {
  display: none;
  padding: 4px 32px 32px;
  border-top: 1px solid var(--border);
}
.job-card.expanded .job-details { display: block; }

.job-details p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 20px 0;
}

@media (max-width: 560px) {
  .job-summary { padding: 22px 20px; gap: 16px; }
  .job-icon { width: 48px; height: 48px; border-radius: 12px; }
  .job-icon svg { width: 23px; height: 23px; }
  .job-meta h3 { font-size: 17px; }
  .job-details { padding: 4px 20px 24px; }
}
.job-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin: 26px 0 12px;
}
.job-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.job-details li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}
.job-details li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .6;
}

.job-apply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 14px;
}
.job-apply-bar p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.job-apply-bar .btn { font-size: 14px; padding: 11px 26px; }

.jobs-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ── AUTH PAGE ── */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* LEFT BRAND PANEL */
.auth-brand {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 48px 40px;
}
.auth-brand-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  height: 100%; max-width: 420px;
}
.auth-brand-content {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
}
.auth-brand h1 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}
.auth-brand h1 em { color: var(--teal); font-style: normal; }
.auth-brand-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.auth-brand-features {
  display: flex; flex-direction: column; gap: 14px;
}
.auth-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.auth-feature svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

.auth-brand-footer {
  padding-top: 32px;
}
.auth-brand-footer p { font-size: 12px; color: var(--muted); }

.auth-brand-glow {
  position: absolute;
  bottom: -40%; right: -30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,158,117,.12), transparent 70%);
  pointer-events: none;
}

/* RIGHT FORM PANEL */
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.auth-form-inner {
  max-width: 380px;
  width: 100%;
}
.auth-form-inner h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.auth-subtitle {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-mobile-logo { display: none; margin-bottom: 32px; }

.auth-label-row { display: flex; align-items: center; justify-content: space-between; }
.auth-forgot { font-size: 11.5px; color: var(--teal); cursor: pointer; font-weight: 500; }
.auth-forgot:hover { text-decoration: underline; }

.auth-submit {
  width: 100%;
  padding: 11px;
  font-size: 14px;
}

.auth-legal {
  margin-top: 24px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}
.auth-legal a { color: var(--teal); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-logo { display: block; }
  .auth-form-side { padding: 40px 24px; min-height: 100vh; }
}

.auth-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s, background .15s;
}
.auth-tab.active {
  background: var(--surface2);
  color: var(--text);
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .form-row { display: flex; flex-direction: column; gap: 5px; }

.auth-error {
  display: none;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #f87171;
}
.auth-success {
  display: none;
  background: var(--teal-dim);
  border: 1px solid rgba(29,158,117,.3);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--teal);
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-switch a { color: var(--teal); font-weight: 600; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

/* ── PORTAL ── */
.portal-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 32px;
}
.portal-hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
}
.portal-avatar {
  width: 56px; height: 56px;
  background: var(--teal-dim);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--teal);
  flex-shrink: 0;
}
.portal-hero-text { flex: 1; min-width: 0; }
.portal-hero h1 {
  font-size: 24px; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 4px;
}
.portal-hero h1 em { color: var(--teal); font-style: normal; }
.portal-email {
  color: var(--muted); font-size: 13.5px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.portal-since { position: relative; padding-left: 11px; }
.portal-since:not(:empty)::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: var(--muted);
}
.portal-hero-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) {
  .portal-hero-inner { flex-wrap: wrap; }
  .portal-hero-actions { width: 100%; margin-top: 4px; }
}

.profile-card-icon {
  width: 15px; height: 15px; color: var(--teal);
  vertical-align: -2px; margin-right: 5px;
}
.profile-card h3 { display: flex; align-items: center; }
.profile-danger-text { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.portal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-bottom: 8px;
}

.portal-section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.portal-section-header h2 {
  font-size: 18px; font-weight: 800; letter-spacing: -.02em;
}

.portal-empty {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 24px;
}
.portal-empty-icon { font-size: 36px; margin-bottom: 12px; }
.portal-empty h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.portal-empty p { color: var(--muted); font-size: 13.5px; }

.portal-jobs {
  display: flex; flex-direction: column; gap: 8px;
}
.portal-job-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px;
  transition: border-color .15s, background .15s, transform .15s;
  color: inherit;
}
.portal-job-row:hover {
  border-color: rgba(29,158,117,.3);
  background: var(--surface2);
  transform: translateX(4px);
}
.portal-job-row div { display: flex; flex-direction: column; gap: 2px; }
.portal-job-row strong { font-size: 14px; font-weight: 700; }
.portal-job-row span { font-size: 12.5px; color: var(--muted); }
.portal-job-arrow { font-size: 18px; color: var(--teal); }

/* ── APPLY PAGE ── */
.apply-back {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 24px;
  transition: color .15s;
}
.apply-back:hover { color: var(--teal); }

.apply-header { margin-bottom: 40px; }
.apply-header h1 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px;
}
.apply-header h1 em { color: var(--teal); font-style: normal; }
.apply-header p { color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 540px; }

.apply-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px;
  margin-bottom: 16px;
}
.apply-section-title {
  font-size: 14px; font-weight: 700;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}

.apply-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 500px) { .apply-row-2 { grid-template-columns: 1fr; } }

.apply-hint {
  font-size: 12px; color: var(--muted); margin-top: 6px;
}
.apply-hint a { color: var(--teal); }

.apply-type-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 500px) { .apply-type-tabs { grid-template-columns: 1fr; } }

.apply-type {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 16px;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s;
  text-align: left; color: var(--text);
}
.apply-type:hover { border-color: var(--teal); }
.apply-type.active {
  border-color: var(--teal);
  background: var(--teal-dim);
}
.apply-type svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.apply-type strong { font-size: 14px; display: block; margin-bottom: 2px; }
.apply-type span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* FILE DROP */
.file-drop {
  border: 2px dashed var(--border2);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.file-drop:hover, .file-drop.drag {
  border-color: var(--teal);
  background: var(--teal-dim);
}
.file-drop p { font-size: 13.5px; color: var(--text); margin: 0; }
.file-drop-sub { font-size: 12px !important; color: var(--muted) !important; }
.file-selected {
  margin-top: 10px;
  background: var(--surface2);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--teal);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 480px; width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 22px; cursor: pointer; line-height: 1;
  transition: color .15s;
}
.modal-close:hover { color: var(--text); }
.modal h2 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.modal h2 em { color: var(--teal); font-style: normal; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }

.apply-choice {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.choice-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s;
  color: var(--text);
}
.choice-card:hover {
  border-color: var(--teal);
  background: var(--teal-dim);
}
.choice-card strong { font-size: 14px; font-weight: 700; }
.choice-card span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── ADMIN DASHBOARD ── */
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-bottom: 36px;
}
.admin-stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 16px; text-align: center;
}
.admin-stat-card .a-val {
  font-size: 28px; font-weight: 800; color: var(--teal);
  letter-spacing: -.02em;
}
.admin-stat-card .a-lbl {
  font-size: 11.5px; color: var(--muted); margin-top: 4px;
}

.app-list { display: flex; flex-direction: column; gap: 10px; }
.app-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px;
  transition: border-color .2s;
}
.app-card:hover { border-color: rgba(29,158,117,.25); }
.app-card-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.app-card-header h3 { font-size: 14px; font-weight: 700; }
.app-status {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em;
}
.app-status.pending { background: rgba(234,179,8,.1); color: #eab308; }
.app-status.reviewed { background: var(--teal-dim); color: var(--teal); }
.app-status.rejected { background: rgba(239,68,68,.08); color: #f87171; }

.app-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 12px;
}
.app-content p {
  font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 6px;
}
.app-content strong { color: var(--text); font-weight: 600; }
.app-actions {
  display: flex; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.app-actions button { font-size: 12.5px; padding: 6px 14px; }
.app-contact-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 14px;
}
.app-contact-actions .btn { font-size: 12.5px; padding: 6px 14px; }
.app-meta a { text-decoration: none; }
.app-meta a:hover { text-decoration: underline; }
.admin-empty {
  text-align: center; padding: 48px; color: var(--muted); font-size: 14px;
}

/* role tag + section heads */
.role-tag {
  display: inline-block; vertical-align: middle;
  font-size: 12px; font-weight: 700; color: var(--teal);
  background: var(--teal-dim); border: 1px solid rgba(29,158,117,.3);
  border-radius: 20px; padding: 3px 12px; margin-left: 8px;
  letter-spacing: .02em;
}
.admin-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 44px 0 16px;
}
.admin-section-head .section-title { margin: 0 !important; }

/* admin form cards */
.admin-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 22px; margin-bottom: 16px;
}
.admin-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.admin-card .form-row { margin-bottom: 12px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .admin-grid-2 { grid-template-columns: 1fr; } }
.admin-card label .hint, .form-row .hint { font-weight: 400; color: var(--muted); font-size: 11px; }
.admin-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text); margin: 10px 0; cursor: pointer;
}
.admin-check input { width: 15px; height: 15px; accent-color: var(--teal); }
.admin-perms { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 4px; }
.admin-form-actions { display: flex; gap: 8px; margin-top: 16px; }

/* admin list rows */
.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
}
.admin-row-main { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.admin-row-main strong { font-size: 14px; font-weight: 700; }
.admin-row-sub { font-size: 12.5px; color: var(--muted); }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.admin-row-actions .btn { font-size: 12px; padding: 5px 12px; }
.job-pill {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0;
}
.job-pill.open { background: var(--teal-dim); color: var(--teal); }
.job-pill.closed { background: rgba(120,120,138,.12); color: var(--muted); }
.job-pill.verified { background: rgba(59,130,246,.12); color: #3b82f6; }
html.light .job-pill.verified { background: rgba(29,92,69,.1); color: var(--teal); }

/* ── PLATSBANKEN EXPORT PANEL ── */
.af-steps {
  margin: 0 0 18px 18px;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
}
.af-steps li { padding-left: 4px; }
.af-steps a { color: var(--teal); font-weight: 600; }

.af-field { margin-bottom: 12px; }
.af-field-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 4px;
}
.af-field-head label {
  font-size: 11.5px; font-weight: 700; color: var(--text);
  letter-spacing: .01em;
}
.af-field textarea {
  width: 100%; resize: vertical;
  font-size: 13px; line-height: 1.55;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 7px; padding: 8px 11px; color: var(--text);
  font-family: inherit;
}
.af-copy {
  background: none; border: 1px solid var(--border2);
  border-radius: 6px; padding: 3px 11px;
  font-size: 11.5px; font-weight: 600; color: var(--teal);
  cursor: pointer; font-family: inherit; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.af-copy:hover { border-color: var(--teal); background: var(--teal-dim); }

.af-warn {
  background: rgba(234,179,8,.07);
  border: 1px solid rgba(234,179,8,.3);
  border-radius: 9px; padding: 15px 17px; margin-bottom: 18px;
}
.af-lang-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 6px;
}
.af-lang-hint {
  font-size: 12px; color: var(--muted);
  line-height: 1.55; margin-bottom: 16px;
}

/* selection + bulk bar */
.job-select {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--teal); cursor: pointer;
}
.bulk-bar {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  background: var(--teal-dim);
  border: 1px solid rgba(29,158,117,.3);
  border-radius: 10px;
  padding: 11px 16px; margin-bottom: 12px;
}
.bulk-bar > span {
  font-size: 13px; font-weight: 700; color: var(--teal); flex-shrink: 0;
}
.bulk-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.bulk-actions .btn { font-size: 12px; padding: 5px 12px; }

.job-pill.posted { background: rgba(29,158,117,.14); color: var(--teal); }

.af-warn strong { font-size: 13.5px; display: block; margin-bottom: 6px; }
.af-warn p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.af-warn em { color: var(--text); font-style: normal; font-weight: 600; }
@media (max-width: 560px) {
  .admin-row { flex-wrap: wrap; }
  .admin-row-actions { width: 100%; }
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--teal), #2ee8a5);
  transition: width .08s linear;
  pointer-events: none;
}

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s, background .15s, border-color .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--teal-dim); border-color: var(--teal); }
.back-top svg { width: 18px; height: 18px; }

/* ── COOKIE CONSENT ── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  animation: slideUp .35s ease both;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-bar p { font-size: 13px; color: var(--muted); max-width: 540px; }
.cookie-bar a { color: var(--teal); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btns button { font-size: 12.5px; padding: 7px 16px; }

/* ── SEARCH BAR ── */
.search-wrap {
  max-width: 480px; margin: 0 auto 28px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px 12px 42px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,.1);
}
.search-wrap input::placeholder { color: var(--muted); }
.search-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.search-icon svg { width: 16px; height: 16px; }

/* ── PROFILE SECTION ── */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.profile-card h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 18px;
}
.profile-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 500px) { .profile-row { grid-template-columns: 1fr; } }
.profile-actions {
  display: flex; gap: 8px; margin-top: 18px;
  padding-top: 18px; border-top: 1px solid var(--border);
}

/* ── 404 ── */
.page-404 {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 60vh; text-align: center; padding: 40px 24px;
}
.page-404 .e404 {
  font-size: clamp(72px, 15vw, 140px);
  font-weight: 800; color: var(--teal);
  letter-spacing: -.05em; opacity: .15;
  line-height: 1;
}
.page-404 h1 { font-size: 24px; font-weight: 800; margin: -10px 0 10px; }
.page-404 p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }

/* ── TOAST ── */
.toast-container {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 9500;
  display: flex; flex-direction: column-reverse;
  gap: 8px; align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 13.5px;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease both;
  max-width: 400px;
}
.toast.out { animation: toastOut .25s ease both; }
.toast.success { border-color: rgba(29,158,117,.4); }
.toast.success .toast-icon { color: var(--teal); }
.toast.error { border-color: rgba(239,68,68,.3); }
.toast.error .toast-icon { color: #f87171; }
.toast-icon { font-size: 16px; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ── PASSWORD TOGGLE ── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; width: 100%; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 13px; padding: 4px;
  transition: color .15s;
}
.pw-toggle:hover { color: var(--teal); }

/* ── NAV USER STATE ── */
.nav-user {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted);
}
.nav-user-avatar {
  width: 26px; height: 26px;
  background: var(--teal-dim);
  border: 1px solid rgba(29,158,117,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--teal);
  flex-shrink: 0;
}
.nav-user a { color: var(--teal); font-weight: 600; font-size: 12px; }

/* ── NAV USER DROPDOWN ── */
.nav-user-wrap { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 9px 5px 6px;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.nav-user-btn:hover, .nav-user-btn.open { border-color: var(--teal); background: var(--surface); }
.nav-user-name { font-size: 12.5px; font-weight: 600; color: var(--text); }
.nav-user-caret { width: 13px; height: 13px; color: var(--muted); transition: transform .2s; }
.nav-user-btn.open .nav-user-caret { transform: rotate(180deg); }

.nav-user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  z-index: 300;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-user-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.nav-user-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.nav-user-avatar.lg { width: 38px; height: 38px; font-size: 15px; }
.nav-user-meta { display: flex; flex-direction: column; min-width: 0; }
.nav-user-meta strong { font-size: 13px; font-weight: 700; color: var(--text); }
.nav-user-meta span {
  font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
}

.nav-user-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: var(--text);
  transition: background .12s, color .12s;
}
.nav-user-item svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.nav-user-item:hover { background: var(--surface2); }
.nav-user-item.admin { color: var(--teal); }
.nav-user-item.admin svg { color: var(--teal); }
.nav-user-item.danger:hover { background: rgba(239,68,68,.08); color: #f87171; }
.nav-user-item.danger:hover svg { color: #f87171; }
.nav-user-divider { height: 1px; background: var(--border); margin: 6px 4px; }

/* ── LOADING SPINNER ── */
.btn.loading {
  pointer-events: none; opacity: .7;
  position: relative;
}
.btn.loading::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ANNOUNCE CLOSE ── */
.announce { position: relative; }
.announce-close {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 14px; opacity: .6;
  transition: opacity .15s;
  padding: 4px;
}
.announce-close:hover { opacity: 1; }

/* ── PAGE TRANSITION ── */
.page-enter {
  animation: pageIn .35s ease both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── INLINE VALIDATION ── */
input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(239,68,68,.4);
}
input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: rgba(29,158,117,.3);
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.team-card:hover { border-color: rgba(29,158,117,.3); transform: translateY(-3px); }
.team-avatar {
  width: 56px; height: 56px;
  background: var(--teal-dim); border: 2px solid var(--teal);
  border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--teal);
}
.team-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.team-role { font-size: 12.5px; color: var(--teal); font-weight: 600; display: block; margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.team-card a { color: var(--teal); font-weight: 600; }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.blog-card:hover { border-color: rgba(29,158,117,.3); transform: translateY(-3px); }
.blog-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--teal); background: var(--teal-dim);
  border-radius: 4px; padding: 3px 8px;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 12px;
}
.blog-card h2 { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; letter-spacing: -.02em; }
.blog-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }

/* ── NEWSLETTER ── */
.newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.newsletter-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.newsletter-text p { font-size: 13.5px; color: var(--muted); }
.newsletter-form {
  display: flex; gap: 8px; flex-shrink: 0;
}
.newsletter-form input {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; color: var(--text);
  font-size: 13.5px; font-family: inherit; outline: none;
  width: 220px; transition: border-color .15s;
}
.newsletter-form input:focus { border-color: var(--teal); }
@media (max-width: 600px) {
  .newsletter-box { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; }
}

/* ── TESTIMONIALS ── */
.testimonials {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
  background: var(--bg2);
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px; margin-top: 40px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 48px; font-weight: 800;
  color: var(--teal); opacity: .2;
  position: absolute; top: 14px; left: 20px;
  line-height: 1;
}
.testimonial-card blockquote {
  font-size: 14px; color: var(--text);
  line-height: 1.7; margin-bottom: 16px;
  padding-top: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-author-avatar {
  width: 32px; height: 32px;
  background: var(--teal-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--teal);
}
.testimonial-author div { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: 13px; font-weight: 700; }
.testimonial-author span { font-size: 11.5px; color: var(--muted); }

/* ── BOOKING CTA ── */
.booking-strip {
  padding: 64px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.booking-strip h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px;
}
.booking-strip h2 em { color: var(--teal); font-style: normal; }
.booking-strip p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.booking-strip .booking-info {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: var(--muted);
}
.booking-strip .booking-info span {
  display: flex; align-items: center; gap: 6px;
}

/* ── DARK/LIGHT MODE ── */
.theme-toggle {
  background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 6px 8px;
  cursor: pointer; color: var(--muted);
  display: flex; align-items: center;
  transition: border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════════════════
   LIGHT THEME — "classic firm" look
   Warm paper tones, forest green + brass, serif display headings
   ════════════════════════════════════════════════════════════ */
html.light {
  --bg:        #f7f3ea;   /* warm paper */
  --bg2:       #efe9dc;   /* aged paper */
  --surface:   #fffdf7;   /* ivory card */
  --surface2:  #f4efe3;
  --border:    #e2dbc9;
  --border2:   #cfc6ad;
  --teal:      #1d5c45;   /* forest green */
  --text:      #2a2620;   /* warm ink */
  --muted:     #6f6a5c;
  --teal-glow: rgba(29,92,69,.14);
  --teal-dim:  rgba(29,92,69,.07);
  --gold:      #b3862d;   /* brass accent */
  --gold-dim:  rgba(179,134,45,.12);
}
html.light body {
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(179,134,45,.06), transparent),
    var(--bg);
}

/* Serif display headings — the letterhead feel */
html.light h1, html.light h2, html.light h3,
html.light .hero-text h1, html.light .section-title,
html.light .stat-val, html.light .careers-hero h1,
html.light .jobs-header h2, html.light .cta-strip h2,
html.light .apply-header h1, html.light .contact-info h2,
html.light .auth-brand h1, html.light .auth-form-inner h2,
html.light .portal-hero h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -.01em;
}
html.light .hero-text h1 em,
html.light .careers-hero h1 em,
html.light .cta-strip h2 em { font-style: italic; color: var(--teal); }

/* Announce bar → deep green banner, like a ribbon */
html.light .announce {
  background: var(--teal);
  border-bottom: 2px solid var(--gold);
  color: #efe9dc;
}
html.light .announce em { color: #e8c87a; }
html.light .announce-close { color: #efe9dc; }

/* Nav — ivory with a brass hairline under it */
html.light nav {
  background: rgba(255,253,247,.95);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 1px 0 rgba(179,134,45,.25);
}
html.light .nav-logo em { color: var(--teal); }

/* Section labels get classic rules: ── WHAT WE DO ── */
html.light .section-label {
  color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
html.light .section-label::before,
html.light .section-label::after {
  content: ''; height: 1px; width: 44px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
html.light .section-label::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Badge → brass-trimmed pill */
html.light .badge {
  border-color: var(--gold);
  color: var(--teal);
  background: var(--gold-dim);
}
html.light .badge-dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* Buttons — green fill, brass hover trim */
html.light .btn-primary { box-shadow: 0 2px 0 rgba(29,92,69,.35); }
html.light .btn-primary:hover { background: #256e54; border-color: #256e54; }
html.light .btn:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 4px 16px var(--gold-dim); }
html.light .btn-primary:hover { color: #fff; box-shadow: 0 4px 18px rgba(29,92,69,.3); }

/* Cards — ivory with warm shadow; brass top rule on hover */
html.light .card, html.light .job-card, html.light .admin-card,
html.light .profile-card, html.light .app-card, html.light .team-card,
html.light .blog-card, html.light .apply-section, html.light .auth-card {
  box-shadow: 0 2px 10px rgba(90,75,40,.06);
}
html.light .card::before { background: linear-gradient(90deg, var(--gold), transparent); }
html.light .card:hover, html.light .job-card:hover, html.light .team-card:hover,
html.light .blog-card:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(90,75,40,.14); }
html.light .card-icon { background: var(--gold-dim); color: var(--teal); }

/* Stats strip — serif numerals in brass on aged paper */
html.light .stats { background: var(--bg2); border-top: 2px solid var(--border2); }
html.light .stat { border-color: var(--border2); }
html.light .stat-val { color: var(--gold); font-weight: 700; }
html.light .stat:hover { background: var(--surface); }

/* Process section — aged paper band */
html.light .process-section { background: var(--bg2); }
html.light .step-num {
  font-family: 'Fraunces', Georgia, serif;
  border-color: var(--gold);
  color: var(--gold);
  background: var(--surface);
}
html.light .process-steps::before {
  background: linear-gradient(90deg, var(--gold), var(--border2), var(--gold));
}

/* Hero glow → warm brass light */
html.light .cta-strip::before { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(179,134,45,.12), transparent); }
html.light .page-header::before { background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(179,134,45,.08), transparent); }

/* Terminal stays a dark code window (contrast + charm) */
html.light .terminal {
  background: #1d2a24;
  border-color: #2d4038;
  box-shadow: 0 20px 60px rgba(60,50,25,.25), 0 0 0 4px rgba(179,134,45,.15);
}
html.light .terminal-bar { background: #24332c; border-color: #2d4038; }
html.light .t-title { color: #7e9a8c; }
html.light .visual-badge { background: var(--surface); border-color: var(--gold); }
html.light .vb-val { color: var(--gold); font-family: 'Fraunces', Georgia, serif; }

/* Footer — classic letterhead double rule */
html.light footer {
  border-top: 3px double var(--border2);
  background: var(--bg2);
}
html.light .footer-links a:hover { color: var(--gold); }

/* Misc surfaces */
html.light .nav-user-menu, html.light .cookie-bar,
html.light .toast, html.light #lang-dropdown { box-shadow: 0 12px 32px rgba(90,75,40,.18); }
html.light #loader { background: var(--bg); }
html.light .loader-bar-fill { background: var(--gold); }
html.light .filter-btn.active, html.light .filter-btn:hover {
  border-color: var(--gold); color: var(--teal); background: var(--gold-dim);
}
html.light .salary-badge { border-color: rgba(179,134,45,.4); color: var(--teal); background: var(--gold-dim); }
html.light .careers-eyebrow { color: var(--gold); }
html.light input:focus, html.light textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

/* nav account buttons */
.nav-signin, .nav-admin-quick { display: inline-flex; align-items: center; white-space: nowrap; }
.nav-admin-quick { border-color: var(--teal); color: var(--teal); font-weight: 600; }
.nav-admin-quick:hover { background: var(--teal-dim); }

/* ── LEGAL ── */
.legal-content h2 {
  font-size: 16px; font-weight: 700; margin: 28px 0 10px;
  color: var(--text);
}
.legal-content p, .legal-content li {
  font-size: 14px; color: var(--muted); line-height: 1.75;
}
.legal-content ul {
  list-style: disc; padding-left: 20px;
  display: flex; flex-direction: column; gap: 4px;
  margin: 8px 0;
}
.legal-content a { color: var(--teal); }

/* ── SALARY BADGE ── */
.salary-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(29,158,117,.08);
  border: 1px solid rgba(29,158,117,.2);
  border-radius: 8px; padding: 7px 14px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  margin-top: 4px;
}

/* ── APPLICATION TIMELINE ── */
.app-timeline {
  display: flex; align-items: center; gap: 0;
  margin-top: 12px;
}
.app-stage {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.app-stage.done { color: var(--teal); }
.app-stage.active { color: var(--text); }
.app-stage-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.app-stage.done .app-stage-dot { border-color: var(--teal); background: var(--teal-dim); }
.app-stage.active .app-stage-dot { border-color: var(--text); background: var(--surface2); }
.app-stage-line {
  width: 24px; height: 1px;
  background: var(--border); margin: 0 4px;
  flex-shrink: 0;
}
.app-stage.done + .app-stage-line { background: var(--teal); }
@media (max-width: 500px) {
  .app-timeline { flex-wrap: wrap; gap: 4px; }
  .app-stage-line { width: 12px; }
}

/* ── FOOTER ── */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 24px 32px; text-align: center;
  color: var(--muted); font-size: 12.5px;
}
.footer-links {
  display: flex; justify-content: center; gap: 20px;
  flex-wrap: wrap; margin-top: 8px;
}
.footer-links a { color: var(--muted); font-size: 12.5px; transition: color .15s; }
.footer-links a:hover { color: var(--teal); }
