/* Base reset and typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827; /* gray-900 */
  background-color: #f9fafb; /* gray-50 */
}

/* Layout wrapper */
.page-wrapper {
  min-height: 100vh;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

/* HEADER (headline + subheader) */
.site-header {
  margin-bottom: 2rem;
  text-align: center;
}

.header-text {
  max-width: 640px;
  margin: 0 auto;
}

.header-title {
  margin: 0 0 0.6rem;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a; /* darker, more authoritative */
}

.header-subtitle {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 500;
  color: #0f766e; /* matches CTA colour family */
}

/* Content sections */
.content p {
  margin: 0 0 0.9em;
}

.body-copy {
  margin-bottom: 1.8rem;
}

/* Emphasis lines in body copy */
.emphasis-line {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.1rem 0;
}
.emphasis-line strong {
  font-weight: 700; /* slight extra punch on the bold part */
}

.who-for,
.working-with-me,
.cta-block {
  margin-bottom: 1.8rem;
}

/* Headings */
h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111827;
}

/* Lists in CTA */
.cta-block ul {
  margin: 0 0 0.8rem 1.2rem;
  padding: 0;
}

.cta-block li {
  margin-bottom: 0.3rem;
}

/* Links & CTAs */
a {
  color: #0f766e; /* teal-700 */
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.cta-link {
  font-weight: 500;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  margin-top: 0.8rem;
  border-radius: 999px;
  border: 1px solid #0f766e;
  background-color: #0f766e;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.08s ease;
}

.primary-button:hover,
.primary-button:focus {
  background-color: #115e59; /* darker teal */
  border-color: #115e59;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
  transform: translateY(-1px);
}

.primary-button:active {
  box-shadow: 0 3px 8px rgba(15, 118, 110, 0.35);
  transform: translateY(0);
}

/* Profile footer */
.profile-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.3rem;
  margin-top: 0.5rem;
}

.profile-footer .name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.profile-footer .roles {
  font-size: 0.9rem;
  color: #4b5563; /* gray-600 */
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.profile-footer .tagline {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 36rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #9ca3af; /* gray-400 */
}

.site-footer .footer-link {
  color: #6b7280;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
  color: #0f766e;
}

/* Responsiveness */
@media (min-width: 768px) {
  body {
    background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 45%, #f9fafb 100%);
  }

  .page-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 32px 36px 40px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  }

  .header-title {
    font-size: 2.2rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .emphasis-line {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 20px 16px 28px;
  }

  .header-title {
    font-size: 1.6rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .primary-button {
    width: 100%;
  }
}