/* ── Hero ── */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: var(--space-32) 0 var(--space-16);
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  top: 0;
  right: 0;
  width: 900px;
  height: 900px;
  background: rgba(249, 115, 22, 0.05);
  filter: blur(150px);
  transform: translateY(-50%) translateX(33%);
}
.hero-orb-2 {
  bottom: 0;
  left: 0;
  width: 700px;
  height: 700px;
  background: rgba(249, 115, 22, 0.03);
  filter: blur(120px);
  transform: translateY(50%) translateX(-33%);
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
}
.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  margin-bottom: var(--space-8);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero-lead {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 36rem;
  margin-bottom: var(--space-6);
  line-height: 1.75;
}
@media (min-width: 640px) {
  .hero-lead {
    font-size: var(--text-xl);
    max-width: 44rem;
  }
}
@media (min-width: 1024px) {
  .hero-lead { max-width: 52rem; }
}
@media (min-width: 1280px) {
  .hero-lead { max-width: 56rem; }
}
.hero-trust { margin-bottom: var(--space-10); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.hero-note { font-size: var(--text-sm); color: var(--fg-muted); }

.scroll-indicator {
  position: absolute;
  bottom: var(--space-12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(134, 139, 148, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: scroll-bounce 1.5s ease infinite;
}

/* ── Sections ── */
.section { padding: var(--space-24) 0; position: relative; }
.section-alt {
  padding: var(--space-32) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.section-alt .container { position: relative; z-index: 2; }
.section-header { text-align: center; max-width: 40rem; margin: 0 auto var(--space-20); }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.section-header p { color: var(--fg-muted); font-size: var(--text-lg); line-height: 1.7; }

/* Steps */
.steps-grid { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-16); } }
.step-card { text-align: center; }
.step-icon-wrap { position: relative; width: 80px; margin: 0 auto var(--space-8); }
.step-icon-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.step-card:hover .step-icon-box {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-sm);
}
.step-icon-box svg { width: 32px; height: 32px; color: var(--fg-muted); transition: color var(--transition); }
.step-card:hover .step-icon-box svg { color: var(--accent); }
.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-sm);
}
.step-card h3 { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-3); }
.step-card p { color: var(--fg-muted); line-height: 1.75; }

/* Trust section */
.trust-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--space-20); } }
.trust-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.trust-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
  border: 1px solid var(--accent-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-10) var(--space-8) calc(var(--space-16) + var(--space-12));
}
.trust-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.1), transparent 70%);
}
.trust-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}
.trust-visual-shield svg { width: 56px; height: 56px; color: var(--accent); opacity: 0.9; }
.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6) var(--space-8);
}
.trust-stat { display: flex; flex-direction: column; gap: 4px; }
.trust-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}
.trust-stat-label {
  font-size: var(--text-xs);
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.trust-float {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  right: var(--space-8);
  background: rgba(22, 26, 34, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.light .trust-float { background: rgba(255, 255, 255, 0.92); }
.trust-float-header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.trust-float-header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }
.trust-float-header span { font-size: var(--text-xs); font-weight: 500; color: var(--success); }

/* CTA section */
.cta-section {
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section .hero-mesh { opacity: 0.5; }
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 48rem; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.cta-inner p {
  color: var(--fg-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-10);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Page hero (opportunities, etc.) ── */
.page-hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: var(--space-12);
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.6;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.page-hero p {
  color: var(--fg-muted);
  max-width: 42rem;
  font-size: var(--text-lg);
  line-height: 1.7;
}
.page-header { padding-top: 100px; padding-bottom: var(--space-12); }
.page-header h1 { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 500; margin-bottom: var(--space-4); }
.page-header p { color: var(--fg-muted); max-width: 42rem; font-size: var(--text-lg); }

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.jobs-count {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}
.jobs-count strong { color: var(--fg); font-weight: 600; }
.opportunities-page main { position: relative; }
.opportunities-page main::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.opportunities-page .container { position: relative; z-index: 1; }
.jobs-list { display: flex; flex-direction: column; gap: var(--space-6); padding-bottom: var(--space-24); }

/* ── Job detail ── */
.job-page {
  padding-top: 100px;
  padding-bottom: var(--space-16);
  position: relative;
}
.job-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.job-page .container { position: relative; z-index: 1; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-bottom: var(--space-8);
  transition: color var(--transition);
}
.back-link:hover { color: var(--fg); }
.back-link svg { width: 16px; height: 16px; }

.job-layout { display: grid; gap: var(--space-12); }
@media (min-width: 1024px) { .job-layout { grid-template-columns: 2fr 1fr; gap: var(--space-12); } }

.job-header {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-8);
}
.job-header-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.job-header h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 500;
  margin-bottom: var(--space-3);
  line-height: 1.15;
}
.job-header-company { font-size: var(--text-lg); color: var(--fg-muted); margin-bottom: var(--space-4); }
.job-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--fg-muted);
}
.job-header-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-header-meta svg { width: 16px; height: 16px; opacity: 0.7; }

.summary-callout {
  padding: var(--space-6);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}
.summary-callout p {
  font-weight: 500;
  color: var(--fg);
  line-height: 1.65;
}

.job-content { display: flex; flex-direction: column; gap: var(--space-10); }
.job-content section {
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--border);
}
.job-content section:last-child { border-bottom: none; padding-bottom: 0; }
.job-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}
.job-content p { color: var(--fg-muted); line-height: 1.8; }
.job-content .check-list { gap: var(--space-3); }
.job-content .check-list li span { color: var(--fg-muted); line-height: 1.65; }
.job-content .check-list.accent-list svg { color: var(--accent); }
.job-content .check-list.success-list svg { color: var(--success); }

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.process-step {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
}
.process-arrow {
  color: var(--accent);
  font-size: var(--text-sm);
  opacity: 0.7;
}

/* Nice-to-have sub-section within a job section */
.job-subsection { margin-top: var(--space-8); }
.job-subsection h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

/* Compensation / team label-value grid */
.compensation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
@media (min-width: 640px) { .compensation-grid { grid-template-columns: 1fr 1fr; } }
.compensation-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compensation-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}
.compensation-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.5;
}
.compensation-grid + p { margin-top: 0; }

/* Benefits / perks chips */
.benefit-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.benefit-chip {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--fg);
  border: 1px solid var(--border);
}

/* Hiring process notes */
.hiring-notes {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.7;
}

.job-sidebar { display: flex; flex-direction: column; gap: var(--space-6); }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition);
}
.sidebar-card:hover { border-color: rgba(249, 115, 22, 0.15); }
.sidebar-card-cta {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(22, 26, 34, 0.95) 100%);
  border-color: rgba(249, 115, 22, 0.15);
  box-shadow: var(--shadow-md);
}
.light .sidebar-card-cta {
  background: linear-gradient(180deg, #fff 0%, #fafaf9 100%);
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.sidebar-card > p { font-size: var(--text-sm); color: var(--fg-muted); margin-bottom: var(--space-6); line-height: 1.65; }
.sidebar-card-sm h3 { font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-3); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.quick-info dl { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--text-sm); }
.quick-info .row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.quick-info .row:last-child { border-bottom: none; padding-bottom: 0; }
.quick-info dt { color: var(--fg-muted); white-space: nowrap; }
.quick-info dd { font-weight: 500; text-align: right; }

/* Package at a glance card */
.package-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--accent-muted) 240%);
  border-color: var(--accent-border);
}
.package-card .package-salary {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-3);
}
.package-card .package-line {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}
.package-card .package-line span {
  display: inline-block;
  min-width: 52px;
  font-weight: 600;
  color: var(--fg);
}
.package-card .package-note {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  line-height: 1.6;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.sidebar-cta { position: sticky; top: 100px; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-6);
  background: rgba(22, 26, 34, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 50;
}
.light .sticky-cta { background: rgba(255, 255, 255, 0.95); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* Schedule / Thank you */
.page-centered {
  padding-top: 100px;
  padding-bottom: var(--space-24);
  min-height: 100vh;
  position: relative;
}
.page-centered::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.page-centered .container { position: relative; z-index: 1; }
.calendly-embed {
  max-width: 1000px;
  margin: 0 auto;
  min-width: 320px;
  overflow: visible;
}
.calendly-embed iframe {
  display: block;
}
.schedule-invite-note {
  max-width: 900px;
  margin: 0 auto var(--space-6);
  padding: var(--space-6) var(--space-8);
  text-align: center;
}
.schedule-invite-label {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.schedule-invite-email {
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.schedule-signin-hint {
  font-size: var(--text-sm);
  margin: 0;
}
.schedule-signin-hint a {
  color: var(--accent);
  text-decoration: none;
}
.schedule-signin-hint a:hover { text-decoration: underline; }
.thankyou-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-12) var(--space-6);
}
.thankyou-wrap h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }

/* ── Legal pages (privacy / terms) ── */
.legal-page { padding-top: 120px; padding-bottom: var(--space-24); }
.legal-content { max-width: 46rem; margin: 0 auto; }
.legal-content .eyebrow { margin-bottom: var(--space-4); }
.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.legal-updated { color: var(--fg-subtle); font-size: var(--text-sm); margin-bottom: var(--space-12); }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: var(--space-10) 0 var(--space-4);
  letter-spacing: -0.02em;
}
.legal-content p { color: var(--fg-muted); line-height: 1.8; margin-bottom: var(--space-4); }
.legal-content ul.legal-list { display: flex; flex-direction: column; gap: var(--space-2); margin: 0 0 var(--space-4) var(--space-5); }
.legal-content ul.legal-list li { color: var(--fg-muted); line-height: 1.7; list-style: disc; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

.access-denied {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  position: relative;
  overflow: hidden;
}
.access-denied::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.08;
  pointer-events: none;
}
.access-denied-inner {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  width: 100%;
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.access-denied-logo { display: inline-block; margin-bottom: var(--space-12); }
.access-denied-logo img { height: 28px; width: auto; margin: 0 auto; }
.access-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto var(--space-8);
  border-radius: 50%;
  background: var(--destructive-muted);
  color: var(--destructive);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scale-in-spring 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.access-icon svg { width: 44px; height: 44px; }
.access-denied h1 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.access-denied .access-message {
  color: var(--fg-muted);
  max-width: 26rem;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.access-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 22rem;
  margin: 0 auto;
}
.access-contact {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-top: var(--space-12);
}
.access-contact a { color: var(--accent); }
.access-contact a:hover { text-decoration: underline; }

@keyframes scale-in-spring {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
