* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy-900: #060E1A; --navy-800: #0B1A2E; --navy-700: #122A4A; --navy-600: #1B3D6B;
  --teal-500: #1D9E75; --teal-400: #5DCAA5; --teal-300: #9FE1CB; --teal-100: #E1F5EE;
  --white: #FFFFFF; --gray-100: #F4F6F8; --gray-200: #E2E6EB; --gray-400: #8A94A0;
  --gray-600: #4A5568; --gray-800: #1A202C;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--gray-800); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* NAV */
nav { background: var(--navy-800); padding: 0 2rem; position: fixed; top: 0; width: 100%; z-index: 100; border-bottom: 1px solid var(--navy-700); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.logo span { color: var(--teal-400); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--teal-300); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--teal-500); color: var(--white) !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; transition: background 0.2s; }
.nav-cta:hover { background: #178A64; }

/* HERO */
.careers-hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%); padding: 8rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
.careers-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 80%, rgba(29,158,117,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 20%, rgba(93,202,165,0.05) 0%, transparent 40%); }
.careers-hero .inner { position: relative; max-width: 700px; margin: 0 auto; }
.careers-hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
.careers-hero h1 em { font-style: normal; color: var(--teal-400); }
.careers-hero p { font-size: 1.15rem; color: var(--teal-300); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* PERKS */
.perks { padding: 4rem 2rem; background: var(--gray-100); }
.perks .inner { max-width: 1100px; margin: 0 auto; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.perk-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.5rem; text-align: center; }
.perk-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.perk-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.perk-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* OPEN POSITIONS */
.positions { padding: 4rem 2rem; }
.positions .inner { max-width: 900px; margin: 0 auto; }
.section-label { display: inline-block; color: var(--teal-500); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.75rem; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.75rem; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1rem; color: var(--gray-600); max-width: 600px; line-height: 1.7; margin-bottom: 2rem; }
.no-openings { background: var(--teal-100); border: 1px solid rgba(29,158,117,0.2); border-radius: 12px; padding: 2rem 2.5rem; text-align: center; }
.no-openings h3 { color: var(--teal-500); font-size: 1.1rem; margin-bottom: 0.5rem; }
.no-openings p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }
.no-openings a { color: var(--teal-500); font-weight: 600; }

/* APPLICATION FORM */
.apply { padding: 4rem 2rem; background: var(--gray-100); }
.apply .inner { max-width: 900px; margin: 0 auto; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.apply-form { display: flex; flex-direction: column; gap: 1rem; }
.apply-form label { font-size: 0.85rem; font-weight: 600; color: var(--gray-800); margin-bottom: -0.5rem; }
.apply-form input, .apply-form select, .apply-form textarea {
  padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 15px; font-family: inherit; transition: border-color 0.2s;
  background: var(--white);
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--teal-400); }
.apply-form textarea { resize: vertical; min-height: 140px; }
.apply-form select { color: var(--gray-600); cursor: pointer; appearance: auto; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.file-upload { position: relative; }
.file-upload input[type="file"] { width: 100%; padding: 10px 16px; border: 1px dashed var(--gray-200); border-radius: 8px; background: var(--white); cursor: pointer; font-size: 14px; color: var(--gray-600); }
.file-upload input[type="file"]::file-selector-button {
  background: var(--teal-100); color: var(--teal-500); border: none;
  padding: 6px 14px; border-radius: 5px; font-weight: 600; font-size: 13px;
  cursor: pointer; margin-right: 10px;
}
.file-hint { font-size: 0.78rem; color: var(--gray-400); margin-top: -0.5rem; }
.btn-primary { background: var(--teal-500); color: var(--white); padding: 14px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: #178A64; transform: translateY(-1px); }
.apply-info { padding-top: 0.5rem; }
.apply-info h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.apply-info p { color: var(--gray-600); margin-bottom: 0.75rem; line-height: 1.6; font-size: 0.95rem; }
.apply-info a { color: var(--teal-500); font-weight: 500; }
.values-list { list-style: none; padding: 0; margin-top: 1.25rem; }
.values-list li { padding: 0.5rem 0; color: var(--gray-600); font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.values-list li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--teal-500); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.privacy-note { margin-top: 1.5rem; padding: 1rem; background: var(--teal-100); border-radius: 8px; color: var(--teal-500); font-size: 0.85rem; line-height: 1.5; }

/* FOOTER */
footer { background: var(--navy-900); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .logo { margin-bottom: 0.75rem; display: inline-block; }
.footer-brand p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--gray-400); font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom { border-top: 1px solid var(--navy-700); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--gray-400); font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .careers-hero h1 { font-size: 2rem; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .perks-grid { grid-template-columns: 1fr; }
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
/* Utility classes for careers.html */
.u-29 { margin-top: 2rem; }

/* S57 utility additions */
.u-8 { color:var(--teal-500);font-weight:600; }
.u-23 { position:absolute;left:-9999px;top:-9999px; }

/* S88: .apply-info a outranks .btn-primary -> Questions button text was teal-on-teal */
.apply-info a.btn-primary { color: var(--white); }
