.neab-header-logo { display:block; width:220px; height:auto; max-width:100%; }
.neab-footer-logo { display:block; width:340px; height:auto; max-width:100%; border-radius:4px; }
@media (max-width:639px) { .neab-header-logo { width:210px; } }
/* The added Careers link needs the existing compact menu through tablet widths. */
@media (min-width: 768px) and (max-width: 1199px) {
  header nav.hidden.md\:flex,
  header div.hidden.md\:flex { display: none !important; }
  header .md\:hidden { display: block !important; }
}
/* NEAB Careers additions. Uses the site's existing theme variables
   (--primary, --border, --foreground, --muted-foreground) from the original CSS. */

/* Get Started: 4-card grid (replaces original md:grid-cols-3 / max-w-5xl) */
.neab-getstarted-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:80rem;margin-inline:auto}
@media (min-width:768px){.neab-getstarted-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1280px){.neab-getstarted-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.neab-card-thumb{height:3rem;width:3rem;border-radius:1rem;object-fit:cover;display:block}

/* Careers hero */
.neab-careers-hero{padding:4rem 0}
@media (min-width:1024px){.neab-careers-hero{padding:6rem 0}}
.neab-hero-grid{display:grid;gap:2.5rem;align-items:center;max-width:72rem;margin-inline:auto}
@media (min-width:1024px){.neab-hero-grid{grid-template-columns:1.1fr 1fr;gap:3.5rem}}
.neab-eyebrow-pill{display:inline-flex;align-items:center;background:hsl(var(--primary)/.1);border:1px solid hsl(var(--primary)/.2);color:hsl(var(--primary));font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;padding:.375rem .75rem;border-radius:9999px;margin-bottom:1.25rem}
.neab-hero-title{font-size:2.25rem;line-height:1.1;font-weight:700;letter-spacing:-.025em;color:hsl(var(--foreground));margin-bottom:1rem}
@media (min-width:768px){.neab-hero-title{font-size:3rem}}
.neab-hero-text{font-size:1.125rem;line-height:1.65;color:hsl(var(--muted-foreground));max-width:36rem;margin-bottom:2rem}
.neab-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.neab-hero-media{position:relative}
.neab-hero-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:1.5rem;border:4px solid #fff;box-shadow:0 20px 40px -18px rgba(15,40,80,.35)}

.neab-btn-primary,.neab-btn-outline,.neab-btn-light{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.875rem;padding:.75rem 1.5rem;border-radius:.75rem;transition:background-color .2s,color .2s,box-shadow .2s,transform .2s}
.neab-btn-primary{background:hsl(var(--primary));color:#fff;box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}
.neab-btn-primary:hover{background:hsl(var(--primary)/.9);box-shadow:0 10px 15px -3px rgba(0,0,0,.1)}
.neab-btn-outline{border:2px solid hsl(var(--primary));color:hsl(var(--primary));background:#fff}
.neab-btn-outline:hover{background:hsl(var(--primary));color:#fff}
.neab-btn-light{background:#fff;color:hsl(var(--primary))}
.neab-btn-light:hover{transform:translateY(-1px);box-shadow:0 10px 20px -8px rgba(0,0,0,.25)}

/* Why join */
.neab-section-head{text-align:center;max-width:46rem;margin:0 auto 2.5rem}
.neab-reasons{display:grid;gap:1.25rem;max-width:72rem;margin-inline:auto;grid-template-columns:1fr}
@media (min-width:768px){.neab-reasons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.neab-reasons{grid-template-columns:repeat(6,minmax(0,1fr))}.neab-reason{grid-column:span 2}.neab-reason:nth-child(4){grid-column:2 / span 2}.neab-reason:nth-child(5){grid-column:4 / span 2}}
.neab-reason{padding:1.75rem}
.neab-reason-icon{height:3rem;width:3rem;border-radius:1rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.neab-tone-blue{background:#eff6ff;color:hsl(var(--primary))}
.neab-tone-emerald{background:#ecfdf5;color:#059669}
.neab-tone-orange{background:#fff7ed;color:#ea580c}
.neab-tone-red{background:#fef2f2;color:#ef4444}

/* Portal */
.neab-portal-section{padding:4rem 0;background:#f8fafc;scroll-margin-top:5rem}
.careers-portal-container{max-width:80rem;margin-inline:auto;background:#fff;border:1px solid hsl(var(--border));border-radius:1rem;overflow:hidden;box-shadow:0 1px 3px rgba(15,23,42,.06)}
.careers-portal-container iframe{display:block;width:100%;height:1100px;border:0;background:#fff}
@media (max-width:1023px){.careers-portal-container iframe{height:1000px}}
@media (max-width:639px){.careers-portal-container{border-radius:.75rem}.careers-portal-container iframe{height:85vh;min-height:640px}}
.neab-portal-fallback{text-align:center;font-size:.875rem;color:hsl(var(--muted-foreground));margin-top:1rem}

/* Closing */
.neab-closing{max-width:56rem;margin-inline:auto;padding:3rem 1.5rem;text-align:center;color:#fff}
.neab-closing-title{font-size:1.875rem;font-weight:700;margin-bottom:.75rem;color:#fff}
.neab-closing-text{opacity:.9;max-width:36rem;margin:0 auto 1.75rem}
.neab-closing-links{margin-top:1.5rem;font-size:.875rem;opacity:.85}
