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

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 36px;
  display: block;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-links a.back-link {
  color: var(--gray-400);
  font-size: 0.8125rem;
}
.nav-links a.lang-toggle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  padding: 0.25rem 0.5rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a.lang-toggle:hover {
  border-color: var(--gray-400);
  color: var(--black);
}

/* --- HERO --- */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: var(--white);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

/* --- SECTION --- */
.section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 800px;
  margin: 0 auto;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  max-width: 800px;
  margin: 0 auto;
}

/* --- ROLE CARDS (landing page) --- */
.roles {
  padding: 4rem 2rem 6rem;
}
.roles-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.role-card {
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.role-card:hover {
  border-color: var(--gray-400);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.role-card .job-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.role-card h2 {
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.role-card .role-meta {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.role-card .role-teaser {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 2rem;
}
.role-card .card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.role-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.role-card:hover .card-link svg {
  transform: translateX(3px);
}

/* --- JOB DETAIL (sub-pages) --- */
.job-detail {
  padding: 8rem 2rem 2rem;
}
.job-detail-inner {
  max-width: 700px;
  margin: 0 auto;
}
.job-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-500);
  font-size: 0.8125rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.job-back:hover { color: var(--black); }
.job-back svg {
  width: 14px;
  height: 14px;
}
.job-detail .job-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.job-detail .job-title {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.job-detail .job-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 300;
  margin-bottom: 3rem;
}
.job-detail .job-meta span + span::before {
  content: "  ·  ";
}

.job-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 5rem;
}

.job-section-title {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
  margin-top: 3rem;
}
.job-section-title:first-child { margin-top: 0; }

.job-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-800);
  font-weight: 300;
  margin-bottom: 1rem;
}

.job-list {
  list-style: none;
  padding: 0;
}
.job-list li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-800);
  font-weight: 300;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.375rem;
}
.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  background: var(--gray-400);
  border-radius: 50%;
}

.job-closing {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.job-umfang {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.apply-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.875rem 2.5rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.apply-btn:hover {
  background: var(--gray-800);
}

/* --- COMPANY SECTION --- */
.company-section {
  background: var(--gray-50);
  padding: 5rem 2rem;
}
.company-inner {
  max-width: 800px;
  margin: 0 auto;
}
.company-section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.company-section p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-600);
  font-weight: 300;
  margin-bottom: 1rem;
}

/* --- FOOTER --- */
footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-size: 0.8125rem;
  color: var(--gray-400);
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--black); }
.footer-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 3rem 1.5rem; }
  .company-section { padding: 3rem 1.5rem; }
  .roles { padding: 3rem 1.5rem 4rem; }
  .roles-inner { grid-template-columns: 1fr; }
  .job-detail { padding: 6rem 1.5rem 2rem; }
  .job-detail .job-title { font-size: 1.625rem; }
  .job-body { padding: 0 1.5rem 4rem; }
  .nav-inner { height: 60px; }
  .logo img { height: 28px; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8125rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
