*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: #253951;
  --text-secondary: #4a5a6a;
  --bg: #fff;
  --bg-muted: #f5f5f5;
  --accent: #253951;
  --accent-hover: #1a2a3d;
  --accent-light: #E8F2FC;
  --border: rgba(37, 57, 81, 0.15);
  --max-width: 640px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Language switch */
.lang-switch {
  text-align: right;
  margin-bottom: 2.5rem;
}

.lang-switch a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Typography */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

h2::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.6rem;
  border-radius: 1px;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

strong {
  font-weight: 600;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

/* CTA Link */
.cta {
  display: inline-block;
  margin: 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.cta:hover {
  border-bottom-color: var(--accent);
}

/* Bio section */
.bios {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio {
  border-left: 2px solid var(--accent);
  padding: 0 0 0 1.25rem;
}

.bio p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.bio strong {
  color: var(--text);
}

/* Services list */
.services {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.services li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(37, 57, 81, 0.08);
}

.services li:last-child {
  border-bottom: none;
}

.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 1.5rem 1.5rem 3rem;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  main {
    padding: 1.25rem 1.25rem 2.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .bio {
    padding: 0 0 0 1rem;
  }
}

/* Print */
@media print {
  .lang-switch, .cta {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    line-height: 1.5;
  }

  main {
    max-width: 100%;
    padding: 0;
  }

  .bio {
    border-left: 2px solid #999;
    break-inside: avoid;
  }

  .bio p {
    color: #333;
  }

  a {
    color: #000;
    border-bottom: none;
  }

  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #666;
  }
}
