:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-strong: #111827;
  --text: #111827;
  --muted: #5f6b7a;
  --subtle: #eef1f5;
  --line: #d9dee7;
  --accent: #ff9900;
  --accent-dark: #b86100;
  --teal: #0f766e;
  --blue: #245bca;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 153, 0, 0.14), transparent 29rem),
    radial-gradient(circle at 82% 22%, rgba(36, 91, 202, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(217, 222, 231, 0.84);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy span:first-child {
  font-weight: 750;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #354052;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.header-cta,
.primary-button {
  border: 1px solid #171923;
  background: #171923;
  color: #ffffff;
}

.header-cta {
  min-width: 148px;
  padding: 0 16px;
}

.primary-button {
  padding: 0 18px;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: #1f2937;
  padding: 0 17px;
}

.primary-button svg,
.review-tools button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.secondary-button:hover {
  border-color: #aab4c2;
}

.section-pad {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  padding: 62px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  min-height: min(660px, calc(100vh - 100px));
  gap: 64px;
  padding-top: 36px;
  padding-bottom: 40px;
}

.hero-copy {
  transform: translateY(-6px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.hero-summary {
  max-width: 620px;
  margin-bottom: 30px;
  color: #3c4656;
  font-size: 23px;
  line-height: 1.42;
}

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

.profile-panel {
  border: 1px solid rgba(217, 222, 231, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: 18px;
}

.profile-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.profile-topline img {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--subtle);
}

.profile-topline p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.profile-topline strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0;
}

.score-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  padding: 12px 10px;
}

.score-grid span {
  display: block;
  color: #171923;
  font-size: 25px;
  font-weight: 820;
  line-height: 1;
}

.score-grid small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.cert-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.cert-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #202938;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 48px;
  padding: 7px 11px;
}

.cert-chip img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.cert-chip:hover {
  border-color: #aab4c2;
}

.biography-section {
  width: 100%;
  max-width: none;
  scroll-margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 153, 0, 0.045), transparent 34rem),
    #ffffff;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.biography-section h2 {
  margin-bottom: 28px;
}

.markdown-body {
  max-width: 980px;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 30px;
}

.markdown-body p,
.markdown-body li {
  color: #2f3a4a;
  font-size: 17px;
}

.markdown-body p {
  margin-bottom: 18px;
}

.markdown-body p:first-child {
  max-width: 840px;
  color: var(--text);
  font-size: clamp(22px, 2.55vw, 32px);
  font-weight: 780;
  line-height: 1.2;
}

.markdown-body h3 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.markdown-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.markdown-body li {
  border: 1px solid #d8e1eb;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 700;
}

.reviews-heading p,
.contact-band p {
  color: var(--muted);
  font-size: 16px;
}

.reviews-section {
  width: 100%;
  max-width: none;
  scroll-margin-top: 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fbfcfe, #ffffff);
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.review-tools {
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.review-tools input {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  padding: 0 13px;
  font-size: 14px;
}

.review-tools button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  display: grid;
  align-content: space-between;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.review-card p {
  margin-bottom: 18px;
  color: #2d3748;
  font-size: 15px;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stars {
  color: var(--accent-dark);
  letter-spacing: 0;
  white-space: nowrap;
}

.review-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-band h2 {
  margin-bottom: 12px;
}

.contact-band p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.error-state {
  max-width: 680px;
  margin: 80px auto;
  border: 1px solid #f0b8b8;
  border-radius: var(--radius);
  background: #fff6f6;
  color: #7f1d1d;
  padding: 22px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
  }

  .profile-panel {
    max-width: 620px;
  }

  .review-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy span:last-child,
  .header-cta {
    display: none;
  }

  .section-pad {
    width: calc(100vw - 32px);
    padding: 52px 0;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-summary {
    font-size: 17px;
  }

  .profile-panel,
  .review-card {
    border-radius: var(--radius-sm);
  }

  .score-grid,
  .cert-strip,
  .review-list {
    grid-template-columns: 1fr;
  }

  .profile-topline {
    align-items: flex-start;
  }

  .profile-topline img {
    width: 72px;
    height: 72px;
  }

  .reviews-heading,
  .contact-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .review-tools {
    width: 100%;
  }
}
