:root {
  --bg-page: #f4f6f8;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475467;
  --brand: #0a66c2;
  --brand-soft: #d6e9ff;
  --border: #e4e7ec;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.3s ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.site-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 5vw 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.hero__content h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 8px;
}

.hero__headline {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.hero__tagline {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.hero__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero__links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.hero__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.hero__nav a:hover,
.hero__nav a:focus {
  border-color: var(--brand);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: var(--bg-page);
  border-radius: 999px;
}

.language-switcher button {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.language-switcher button.is-active {
  background: var(--brand);
  color: #fff;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.hero__disclaimer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 5vw 80px;
}

.section {
  margin-bottom: 48px;
}

.section__header {
  margin-bottom: 24px;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--brand);
  margin: 0 0 8px;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.section__content p {
  margin-top: 0;
  color: var(--text-secondary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stat-card__value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-card__label {
  margin: 4px 0;
  font-weight: 600;
}

.stat-card__detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.seo-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.9rem;
}

.behavior-date {
  color: var(--text-secondary);
  margin: -8px 0 16px;
  font-size: 0.95rem;
}

.behavior-traits h3 {
  margin-bottom: 12px;
}

.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.trait-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trait-card__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trait-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
}

.timeline__point {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 4px solid var(--bg-page);
  background: var(--brand);
  margin-top: 4px;
}

.timeline__content {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.timeline__meta {
  margin-bottom: 12px;
}

.timeline__company {
  font-weight: 600;
  margin: 0 0 4px;
}

.timeline__period,
.timeline__location {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline ul {
  margin: 12px 0 0 16px;
  color: var(--text-secondary);
}

.timeline__tags {
  margin-top: 8px;
}

.timeline__tags span {
  font-size: 0.66rem;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(10, 102, 194, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 102, 194, 0.2);
}

.skills-grid,
.cert-grid,
.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card,
.language-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3,
.language-card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.language-card p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.language-highlights {
  margin-top: 20px;
}

.language-highlights ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--text-secondary);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer {
  text-align: center;
  padding: 32px 5vw 48px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--brand);
  text-decoration: none;
}

@media (min-width: 900px) {
  .site-hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .hero__content {
    flex: 3;
  }

  .hero__panel {
    flex: 2;
    align-items: flex-end;
    text-align: right;
  }

  .hero__panel .hero__nav {
    justify-content: flex-end;
  }

  .hero__panel .language-switcher {
    margin-left: auto;
  }

  .hero__panel .hero__cta {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .hero__panel,
  .hero__cta,
  .hero__links {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline__item {
    grid-template-columns: 24px 1fr;
  }

  .timeline__point {
    width: 18px;
    height: 18px;
  }
}
