:root {
  --bg-soft: #f5f5f5;
  --bg-hero: #111111;
  --text-dark: #111111;
  --text-mid: #666666;
  --line: rgba(17, 17, 17, 0.14);
  --accent-grey: #555555;
  --accent-black: #171717;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-soft);
  color: var(--text-dark);
  font-family: "IBM Plex Sans JP", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
}

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

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

button {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 820px;
  background: var(--bg-hero);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 16, 17, 0.72), rgba(12, 16, 17, 0.08) 45%, rgba(12, 16, 17, 0.65)),
    url("../images/pricking.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) contrast(1.05);
  transform: scale(1.05);
}

.topbar {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 18px 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.08em;
}

.logo h1,
.logo-link .logo {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  text-transform: lowercase;
}

.primary-button,
.intro-actions .intro-download-button,
.intro-actions .intro-articles-button,
.standard-treatment-download,
.standard-treatment-more {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 220px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.search-icon {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-right: 10px;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.language-toggle {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.menu-bars {
  display: grid;
  gap: 4px;
  width: 22px;
}

.menu-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bars span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bars span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 310px 32px 150px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #e53935;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.hero-content p {
  max-width: 700px;
  margin: 20px 0 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.55;
}

.landing-page {
  width: 100%;
  margin: 0 auto;
  padding: 110px 0 80px;
}

.section {
  width: 100%;
  margin: 0 auto;
}

.intro-section {
  width: 100%;
  text-align: center;
  padding: 64px 24px;
}

.intro-section h2,
.money-section h2,
.account-section h2,
.faq-section h2 {
  margin: 0;
  text-align: center;
  color: var(--accent-black);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.intro-section p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--text-mid);
  font-size: 1.08rem;
  line-height: 1.6;
}

.stats-section {
  margin-top: 92px;
}

.section-heading {
  width: min(620px, calc(100% - 48px));
  margin: 0 auto 36px;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-grey);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--accent-black);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 500px;
  margin: 16px auto 0;
  color: var(--text-mid);
  line-height: 1.6;
}

.stats-strip {
  width: min(1440px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  margin: 26px auto 0;
}

.stat-card {
  position: relative;
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.card-one {
  background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=900&q=80");
}

.card-two {
  background-image: url("https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&w=900&q=80");
}

.card-three {
  background-image: url("https://images.unsplash.com/photo-1504593811423-6dd665756598?auto=format&fit=crop&w=900&q=80");
}

.card-four {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=900&q=80");
}

.card-five {
  background-image: url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=900&q=80");
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px 18px 22px;
  background: linear-gradient(180deg, rgba(15, 21, 24, 0.12), rgba(15, 21, 24, 0.7));
  color: #fff;
}

.stat-badge {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.stat-copy {
  max-width: 150px;
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(255,255,255,0.9);
}

.money-section {
  width: min(900px, calc(100% - 48px));
  margin-top: 110px;
}

.money-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  margin-top: 36px;
}

.money-copy {
  width: 100%;
}

.list-item {
  border-top: 1px solid var(--line);
  padding: 24px 0 18px;
}

.list-item.active {
  padding-bottom: 22px;
}

.list-item.active p {
  display: block;
}

.list-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.list-item p {
  display: none;
  margin: 16px 0 0 38px;
  max-width: 360px;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}

.list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #444444;
  font-size: 1.1rem;
}

.money-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: min(100%, 680px);
  min-height: 540px;
  border-radius: 8px;
  background-image: linear-gradient(180deg, rgba(16, 20, 21, 0.2), rgba(16, 20, 21, 0.45)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 240px;
  height: 120px;
  background: rgba(21, 36, 38, 0.82);
  border-radius: 22px 22px 18px 18px;
  transform: translateX(-50%);
  box-shadow: 0 18px 48px rgba(17, 23, 25, 0.5);
}

.visual-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 120px;
  height: 40px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: linear-gradient(135deg, #f2f4f8, #c6d5d6);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
}

.card-chip {
  position: absolute;
  left: 50%;
  bottom: 165px;
  transform: translateX(-50%);
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-section {
  width: min(960px, calc(100% - 48px));
  margin-top: 112px;
}

.account-section p {
  max-width: 560px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--text-mid);
  font-size: 1.1rem;
  line-height: 1.6;
}

.showcase-card {
  position: relative;
  width: min(100%, 960px);
  min-height: 500px;
  margin: 42px auto 0;
  border-radius: 8px;
  background-image: linear-gradient(180deg, rgba(16, 20, 21, 0.12), rgba(16,20,21,0.48)),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.floating-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 20px 18px 18px;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 60px rgba(8, 14, 15, 0.25);
}

.panel-balance {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.panel-sub {
  margin-top: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.92);
}

.features-grid {
  width: min(960px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 54px;
  padding-top: 12px;
}

.feature-item {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.08);
  color: #333333;
  margin-bottom: 14px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--text-dark);
  letter-spacing: -0.04em;
}

.feature-item p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-section {
  width: min(960px, calc(100% - 48px));
  margin-top: 110px;
}

.faq-list {
  width: min(100%, 960px);
  margin: 38px auto 0;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 86px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--text-dark);
  cursor: pointer;
}

.chevron {
  font-size: 1.4rem;
  color: var(--text-mid);
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  max-width: 680px;
  color: var(--text-mid);
  font-size: 1.01rem;
  line-height: 1.7;
}

.faq-item:hover .faq-answer,
.faq-item:focus-within .faq-answer,
.faq-item.open .faq-answer {
  display: block;
}

.faq-item:hover .faq-row,
.faq-item:focus-within .faq-row,
.faq-item.open .faq-row {
  color: var(--text-dark);
}

.closing-cta {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(rgba(8, 16, 18, 0.64), rgba(8, 16, 18, 0.72)),
    url("https://images.unsplash.com/photo-1499209974431-9dddcece7f88?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.closing-cta-content {
  width: min(620px, 100%);
}

.closing-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.closing-cta p {
  max-width: 470px;
  margin: 22px auto 28px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.page-footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  min-height: 50vh;
  padding: 28px 24px 40px;
  color: var(--text-dark);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-branding {
  font-weight: 700;
  letter-spacing: -0.08em;
  text-transform: none;
  font-size: 1.2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-mid);
}

.social-page-footer {
  min-height: 50vh;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 56px;
  padding: 120px max(24px, calc((100% - 960px) / 2)) 32px;
  background: #111;
  color: #fff;
  letter-spacing: normal;
  text-transform: none;
}

.social-page-footer .contact-social-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 40px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.social-page-footer .section-kicker {
  color: #aaa;
}

.social-page-footer .contact-social-strip h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.social-page-footer .contact-social-links {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  flex-wrap: wrap;
}

.social-page-footer .contact-social-links a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.social-page-footer .contact-social-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-page-footer .contact-footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-page-footer .footer-branding {
  color: #fff;
}

.social-page-footer .footer-row {
  color: #bbb;
}

@media (max-width: 980px) {
  .stats-strip {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .money-layout {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    width: min(100% - 24px, 1200px);
    gap: 12px;
    padding-top: 12px;
  }

  .nav {
    gap: 14px;
    font-size: 0.72rem;
    flex-wrap: wrap;
  }

  .primary-button.small {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .stats-strip,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .intro-section h2,
  .money-section h2,
  .account-section h2,
  .faq-section h2 {
    font-size: 2.5rem;
  }

  .floating-panel {
    width: 260px;
  }

  .panel-balance {
    font-size: 2.5rem;
  }
}

/* Reference-inspired homepage composition */
.landing-page {
  width: 100%;
  padding: 112px 0 0;
  overflow-x: clip;
  overflow-y: visible;
}

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: #555555;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-section {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.intro-section h2,
.platform-section h2,
.faq-heading h2 {
  color: #111111;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -0.065em;
}

.intro-section p,
.platform-intro,
.faq-heading p {
  max-width: 500px;
  margin: 18px auto 0;
  color: #5c6665;
  font-size: 1rem;
  line-height: 1.55;
}

.landing-page .intro-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 585px);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding: 56px max(24px, calc((100% - 1120px) / 2));
  margin-bottom: -155px;
  background: transparent;
  text-align: left;
}

.landing-page .intro-section::before {
  position: absolute;
  z-index: -1;
  inset: -260px 0 255px;
  background: transparent;
  content: "";
}

.landing-page .intro-section .section-kicker { color: rgba(17, 17, 17, 0.7); }
.landing-page .intro-section h2 { color: #111; text-align: left; }
.landing-page .intro-section p { margin: 18px 0 0; color: #56615a; }

.intro-copy > .section-kicker,
.intro-copy > h2,
.intro-copy > p,
.intro-copy > .intro-actions { transform: translateY(-125px); }

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.intro-actions .intro-download-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #111;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  transition: background 180ms ease, transform 180ms ease;
  text-decoration: none;
}

.intro-actions .intro-articles-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #111;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  transition: background 180ms ease, transform 180ms ease;
  text-decoration: none;
}

.intro-articles-button:hover,
.intro-articles-button:focus-visible,
.intro-download-button:hover,
.intro-download-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

@media (min-width: 761px) {
  .intro-actions .intro-download-button,
  .intro-actions .intro-articles-button {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .intro-actions .intro-download-button:hover,
  .intro-actions .intro-download-button:focus-visible,
  .intro-actions .intro-articles-button:hover,
  .intro-actions .intro-articles-button:focus-visible {
    background: rgba(255, 255, 255, 0.38);
  }
}

.intro-actions a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .intro-copy > .section-kicker,
  .intro-copy > h2,
  .intro-copy > p,
  .intro-copy > .intro-actions { transform: translateY(-55px); }

  .intro-actions {
    bottom: 146px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .intro-actions .intro-download-button,
  .intro-actions .intro-articles-button {
    color: #fff;
  }
}

.intro-image {
  position: relative;
  top: -131px;
  display: block;
  width: min(100%, 585px);
  height: auto;
  justify-self: center;
}

@media (max-width: 1050px) {
  .landing-page .intro-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-image {
    width: min(100%, 450px);
    height: auto;
  }
}

.metric-rail {
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.4) rgba(17, 17, 17, 0.08);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.metric-rail::-webkit-scrollbar { height: 8px; }
.metric-rail::-webkit-scrollbar-track { background: rgba(17, 17, 17, 0.08); }
.metric-rail::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(17, 17, 17, 0.4); }
.metric-track {
  display: flex;
  width: max-content;
  gap: 8px;
  padding-left: var(--metric-track-inset, 0px);
  padding-right: calc(var(--metric-track-inset, 0px) + var(--metric-rail-width, 0px));
}
.metric-card {
  position: relative;
  width: clamp(140px, calc((100vw - 208px) / 5), 210px);
  height: clamp(240px, 27vw, 330px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(19, 28, 30, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.metric-card:hover,
.metric-card:focus-visible,
.metric-card.is-selected {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -7px;
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(19, 28, 30, 0.3);
}

@media (min-width: 761px) {
  .metric-section {
    width: min(1120px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 10, 12, 0.78));
}

.metric-card span,
.metric-card small {
  position: relative;
  z-index: 1;
}

.metric-card span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.metric-card small {
  max-width: 190px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  line-height: 1.3;
}

.metric-awareness {
  background-image: linear-gradient(180deg, rgba(14, 18, 20, 0.18), rgba(7, 13, 15, 0.72)),
    url("../images/awareness1.jpg");
  background-position: 18% center;
}

.metric-inform {
  background-image: linear-gradient(180deg, rgba(14, 18, 20, 0.18), rgba(7, 13, 15, 0.72)),
    url("../images/Information.png");
  background-position: 36% center;
}

.metric-connect {
  background-image: linear-gradient(180deg, rgba(14, 18, 20, 0.18), rgba(7, 13, 15, 0.74)),
    url("../images/connection.png");
  background-position: 75% center;
}

.metric-resources {
  background-image: linear-gradient(180deg, rgba(14, 18, 20, 0.18), rgba(7, 13, 15, 0.74)),
    url("../images/Resources.jpg");
  background-position: 66% center;
}

.metric-clarity {
  background-image: linear-gradient(180deg, rgba(14, 18, 20, 0.18), rgba(7, 13, 15, 0.8)),
    url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=900&q=80");
  background-position: 82% center;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: center;
  width: min(960px, calc(100% - 48px));
  margin: 150px auto;
}

.split-copy h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.065em;
  line-height: 1;
}

.split-copy > p {
  max-width: 380px;
  margin: 18px 0 42px;
  color: #5c6665;
  line-height: 1.55;
}

.commitment-list { border-top: 1px solid var(--line); }
.commitment { border-bottom: 1px solid var(--line); padding: 18px 0; color: #6e7776; }
.commitment-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.commitment strong { font-size: 1rem; font-weight: 500; }
.commitment-description {
  display: none;
  max-width: 340px;
  margin: 13px 0 0;
  color: #5c6665;
  font-size: 0.9rem;
  line-height: 1.5;
}
.commitment:hover .commitment-description,
.commitment:focus-within .commitment-description,
.commitment.is-open .commitment-description {
  display: block;
}
.commitment:hover,
.commitment:focus-within,
.commitment.is-open { color: #101a1d; }
.commitment.active { color: #101a1d; }

.split-image {
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: 6px;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.commitment-image {
  background-image: linear-gradient(180deg, rgba(5, 15, 16, 0.08), rgba(5, 15, 16, 0.65)), url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063?auto=format&fit=crop&w=1200&q=80");
}

.split-image span { max-width: 270px; font-size: 1.35rem; line-height: 1.05; letter-spacing: -0.04em; }

.dark-cta {
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(7, 17, 19, 0.64), rgba(7, 17, 19, 0.78)), url("https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.dark-cta div { width: min(570px, 100%); }
.dark-cta h2 { margin: 0 0 30px; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -0.065em; }

.platform-section { width: min(960px, calc(100% - 48px)); margin: 150px auto; text-align: center; }
.platform-showcase { position: relative; width: 100%; min-height: 500px; margin-top: 48px; border-radius: 7px; background: linear-gradient(180deg, rgba(8, 22, 24, 0.12), rgba(8, 22, 24, 0.46)), url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1400&q=80") center / cover; }
.resource-panel { position: absolute; top: 50%; left: 50%; display: flex; width: 210px; min-height: 220px; flex-direction: column; justify-content: center; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,0.35); border-radius: 16px; padding: 24px; color: #fff; background: rgba(13, 26, 28, 0.48); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.resource-panel small { color: rgba(255,255,255,0.72); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; }
.resource-panel strong { margin: 12px 0; font-size: 1.8rem; letter-spacing: -0.06em; }
.resource-panel span { color: rgba(255,255,255,0.8); font-size: 0.72rem; line-height: 1.4; }
.platform-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 34px; color: #222222; font-size: 0.9rem; font-weight: 600; }

.faq-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; width: min(960px, calc(100% - 48px)); margin: 150px auto; }
.faq-heading h2 { margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.8rem); }
.faq-heading p { margin-left: 0; }
.faq-list { width: 100%; margin: 0; }
.faq-row { min-height: 70px; font-size: 1rem; letter-spacing: -0.02em; }
.faq-answer { max-width: 470px; padding-bottom: 20px; font-size: 0.9rem; }

.closing-cta { min-height: 560px; }

@media (max-width: 760px) {
  .hero { min-height: 720px; }
  .hero-content { padding: 220px 24px 90px; }
  .topbar { width: calc(100% - 28px); }
  .nav { gap: 12px; font-size: 0.7rem; }
  .search-wrap { width: 150px; }
  .metric-card { width: 240px; height: 330px; }
  .split-feature, .faq-section { grid-template-columns: 1fr; gap: 42px; }
  .split-feature, .platform-section, .faq-section { margin-top: 100px; margin-bottom: 100px; }
  .split-image { min-height: 420px; }
  .platform-points { gap: 10px; font-size: 0.78rem; }
  .faq-heading p { margin-left: auto; }
}

@media (max-width: 760px) {
  .hero {
    min-height: 650px;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 14px 0 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo h1,
  .logo-link .logo {
    font-size: 1.2rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    z-index: 1002;
    top: 14px;
    right: 14px;
    color: #fff;
    background: rgba(17, 17, 17, 0.78);
  }

  .language-toggle {
    order: 3;
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .topbar .search-wrap {
    display: none;
  }

  .nav {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 0;
    font-size: 0.82rem;
  }

  .nav-open .nav {
    display: flex;
    position: fixed;
    z-index: 1001;
    top: 68px;
    right: 14px;
    left: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    width: auto;
    max-height: calc(100vh - 84px);
    padding: 10px;
    overflow-y: auto;
    background: rgba(18, 18, 18, 0.28);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .topbar.nav-open { z-index: 1001; }

  .nav a {
    display: block;
    padding: 13px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav ul {
    display: grid;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav li a {
    padding: 13px 4px;
  }

  .search-wrap {
    width: 132px;
    height: 36px;
    padding: 0 10px;
  }

  .hero-content {
    width: min(100% - 32px, 520px);
    padding: 340px 0 84px;
  }

  .hero-badge {
    margin-bottom: 14px;
    font-size: 0.5rem;
  }

  .hero-content h1 {
    max-width: 340px;
    font-size: 2.5rem;
    line-height: 1;
  }

  .hero-content p {
    max-width: 350px;
    margin: 18px 0 26px;
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .primary-button {
    padding: 11px 20px;
    font-size: 0.82rem;
  }

  .landing-page {
    padding-top: 76px;
  }

  .intro-section,
  .split-feature,
  .platform-section,
  .faq-section {
    width: min(100% - 32px, 520px);
  }

  .landing-page .intro-section {
    position: relative;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 48px 24px 32px;
  }

  .landing-page .intro-section::before { inset: -260px 0 255px; }

  .intro-image {
    width: min(100%, 450px);
      height: auto;
      object-fit: contain;
  }

  .intro-actions {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 171px;
    left: 24px;
    justify-content: center;
    margin-top: 0;
  }

  .intro-section h2,
  .platform-section h2,
  .faq-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.65rem);
    line-height: 1.02;
  }

  .intro-section p,
  .platform-intro,
  .faq-heading p {
    font-size: 0.82rem;
  }

  .metric-rail {
    margin-top: 42px;
  }

  .metric-card {
    width: 205px;
    height: 285px;
    padding: 18px;
  }

  .metric-card span {
    font-size: 1.6rem;
  }

  .metric-card small {
    font-size: 0.75rem;
  }

  .split-feature {
    gap: 30px;
    margin-top: 88px;
    margin-bottom: 88px;
  }

  .split-copy h2 {
    font-size: clamp(2.05rem, 8.8vw, 2.9rem);
  }

  .split-copy > p {
    margin: 16px 0 28px;
    font-size: 0.82rem;
  }

  .commitment {
    padding: 15px 0;
  }

  .commitment strong {
    font-size: 0.9rem;
  }

  .commitment-description {
    display: none;
    font-size: 0.82rem;
  }

  .commitment.is-open .commitment-description {
    display: block;
  }

  .split-image {
    min-height: 330px;
    padding: 20px;
  }

  .split-image span {
    max-width: 220px;
    font-size: 1.1rem;
  }

  .dark-cta {
    min-height: 420px;
    padding: 64px 20px;
  }

  .dark-cta h2,
  .closing-cta h2 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }

  .platform-section,
  .faq-section {
    margin-top: 88px;
    margin-bottom: 88px;
  }

  .platform-showcase {
    min-height: 350px;
    margin-top: 32px;
  }

  .resource-panel {
    width: 180px;
    min-height: 190px;
    padding: 18px;
  }

  .resource-panel strong {
    font-size: 1.5rem;
  }

  .platform-points {
    gap: 8px;
    margin-top: 24px;
    font-size: 0.7rem;
  }

  .faq-section {
    gap: 30px;
  }

  .faq-row {
    min-height: 62px;
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.82rem;
  }

  .closing-cta {
    min-height: 430px;
    padding: 64px 20px;
  }

  .closing-cta p {
    margin: 18px auto 24px;
    font-size: 0.8rem;
  }

  .page-footer {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 12px 40px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .social-page-footer {
    min-height: 50vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 36px;
    padding: 88px 20px 28px;
    letter-spacing: normal;
    text-transform: none;
  }

  .social-page-footer .contact-social-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .social-page-footer .contact-social-links {
    justify-content: flex-start;
    gap: 20px;
  }

  .social-page-footer .contact-footer-base {
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .footer-row {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* Articles page */
.articles-header { min-height: 560px; color: #fff; background: linear-gradient(rgba(8,8,8,0.68), rgba(8,8,8,0.86)), url("../images/articles.jpg") center / cover; }
.articles-header .topbar, .articles-header .logo, .articles-header .nav, .articles-header .nav a { color: #fff; }
.articles-header .search-wrap input { color: #fff; }
.articles-header .search-wrap input::placeholder { color: rgba(255,255,255,0.72); }
.articles-hero-copy { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 100px; }
.articles-hero-copy .section-kicker { color: #aaa; }
.articles-hero-copy h1 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(3rem, 6.5vw, 6.4rem); line-height: 0.92; letter-spacing: -0.08em; }
.articles-hero-copy p { max-width: 500px; margin: 26px 0 0; color: #bbb; line-height: 1.55; }
.articles-page { min-height: 100vh; display: flex; flex-direction: column; }
.articles-page-new { flex: 1; padding: 115px 0 0; background: #f5f5f5; }
.articles-intro { width: min(700px, calc(100% - 48px)); margin: 0 auto 120px; text-align: center; }
.articles-intro h2, .featured-article-copy h2, .article-library-heading h2 { margin: 0; color: #111; font-size: clamp(2.4rem, 4.5vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.articles-intro p { max-width: 500px; margin: 20px auto 0; color: #666; line-height: 1.6; }
.featured-article { display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(280px, 0.85fr); gap: 80px; align-items: center; width: min(960px, calc(100% - 48px)); margin: 0 auto 150px; }
.featured-article-art { min-height: 500px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 6px; color: #fff; background: linear-gradient(rgba(0,0,0,0.06), rgba(0,0,0,0.7)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1200&q=80") center / cover; box-shadow: var(--shadow); }
.featured-article-art span { font-size: 4rem; font-weight: 700; letter-spacing: -0.08em; }
.featured-article-art small { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.featured-article-copy h2 { font-size: clamp(2.6rem, 4vw, 4.7rem); }
.featured-article-copy > p { max-width: 410px; margin: 22px 0; color: #666; line-height: 1.6; }
.article-meta { display: block; margin-bottom: 14px; color: #777; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-byline { margin-bottom: 28px; color: #888; font-size: 0.78rem; }
.article-read-link { display: inline-flex; gap: 12px; color: #111; font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.article-read-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-library { padding: 110px 0 140px; background: #fff; }
.article-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; width: min(960px, calc(100% - 48px)); margin: 0 auto 44px; }
.article-library-heading > p { max-width: 250px; margin: 0; color: #666; line-height: 1.5; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.journal-card { padding-bottom: 24px; border-bottom: 1px solid #d7d7d7; }
.journal-art { min-height: 260px; display: flex; align-items: flex-end; padding: 18px; margin-bottom: 22px; border-radius: 5px; color: #fff; background-position: center; background-size: cover; }
.journal-art span { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.08em; }
.diabetes-journal { background-image: linear-gradient(transparent 40%, rgba(0,0,0,0.72)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=80"); }
.malaria-journal { background-image: linear-gradient(transparent 40%, rgba(0,0,0,0.72)), url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=900&q=80"); }
.journal-card h3 { margin: 0; color: #111; font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.045em; }
.journal-card p { margin: 14px 0 20px; color: #666; font-size: 0.9rem; line-height: 1.55; }
.journal-note { display: flex; min-height: 260px; flex-direction: column; justify-content: center; padding: 28px; background: #111; }
.journal-note .section-kicker { color: #aaa; }
.journal-note h3, .journal-note p, .journal-note .article-read-link { color: #fff; }
.journal-note h3 { margin: 0; font-size: 1.8rem; line-height: 1; letter-spacing: -0.06em; }
.journal-note p { margin: 16px 0 25px; line-height: 1.55; }
.pdf-library { width: min(960px, calc(100% - 48px)); margin: 120px auto 0; padding-top: 42px; border-top: 1px solid #d7d7d7; }
.pdf-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.pdf-library-heading h2 { margin: 0; color: #111; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 0.98; letter-spacing: -0.07em; }
.pdf-library-heading > p { max-width: 280px; margin: 0; color: #666; line-height: 1.5; }
.pdf-list { display: grid; width: min(960px, calc(100% - 48px)); gap: 1px; margin: 0 auto; border-top: 1px solid #d7d7d7; }
.pdf-item { display: grid; grid-template-columns: clamp(42px, 4.2vw, 54px) minmax(0, 1fr) auto auto; gap: clamp(12px, 2vw, 24px); align-items: center; padding: 24px 0; border-bottom: 1px solid #d7d7d7; }
.pdf-badge { display: grid; place-items: center; width: 100%; aspect-ratio: 52 / 62; border: 1px solid #b96545; border-radius: 4px; color: #b96545; font-size: clamp(0.58rem, 0.8vw, 0.68rem); font-weight: 700; letter-spacing: 0.04em; }
.pdf-details .article-meta { margin-bottom: 8px; }
.pdf-details h3 { margin: 0; color: #111; font-size: 1.25rem; line-height: 1.08; letter-spacing: -0.045em; }
.pdf-details p { max-width: 520px; margin: 8px 0 0; color: #666; font-size: 0.88rem; line-height: 1.5; }
.pdf-meta { display: grid; gap: 5px; min-width: 76px; color: #777; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pdf-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.pdf-action { color: #111; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.pdf-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.pdf-download { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #111; border-radius: 50%; color: #111; font-size: 1.1rem; line-height: 1; }
.pdf-download:hover { color: #fff; background: #111; }

@media (max-width: 760px) {
  .articles-hero-copy { padding: 110px 0 80px; }
  .articles-intro { margin-bottom: 85px; }
  .featured-article, .article-grid { grid-template-columns: 1fr; }
  .featured-article { gap: 42px; margin-bottom: 100px; }
  .featured-article-art { min-height: 390px; }
  .article-library-heading { display: block; }
  .article-library-heading > p { margin-top: 18px; }
  .pdf-library { margin-top: 90px; }
  .pdf-library-heading { display: block; }
  .pdf-library-heading > p { margin-top: 18px; }
  .pdf-item { grid-template-columns: clamp(38px, 12vw, 46px) minmax(0, 1fr); gap: clamp(12px, 4vw, 16px); align-items: start; }
  .pdf-meta { grid-column: 2; display: flex; gap: 12px; min-width: 0; margin-top: -4px; }
  .pdf-actions { grid-column: 2; margin-top: 4px; }
}

/* Contact page */
.contact-header {
  min-height: 560px;
  color: #fff;
  background: linear-gradient(rgba(8, 8, 8, 0.68), rgba(8, 8, 8, 0.86)), url("../images/Dr%20regina.jpg") center / cover;
}

.contact-header .topbar,
.contact-header .logo,
.contact-header .nav,
.contact-header .nav a { color: #fff; }
.contact-header .search-wrap input { color: #fff; }
.contact-header .search-wrap input::placeholder { color: rgba(255, 255, 255, 0.72); }
.contact-hero-copy { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 100px; }
.contact-hero-copy .section-kicker { color: #aaa; }
.contact-hero-copy h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(3.2rem, 6.5vw, 6.5rem); line-height: 0.92; letter-spacing: -0.08em; }
.contact-hero-copy p { max-width: 510px; margin: 26px 0 0; color: #bbb; font-size: 1rem; line-height: 1.55; }
.contact-page-new { background: #f5f5f5; padding: 115px 0 0; }
.contact-intro { width: min(700px, calc(100% - 48px)); margin: 0 auto 120px; text-align: center; }
.contact-intro h2, .contact-form-copy h2, .contact-social-strip h2 { margin: 0; color: #111; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.contact-intro p { max-width: 510px; margin: 20px auto 0; color: #666; line-height: 1.6; }
.contact-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: min(1100px, 100%); margin: 0 auto 150px; background: #d7d7d7; }
.contact-paths article { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; background: #fff; }
.contact-paths article > span { color: #777; font-size: 0.72rem; letter-spacing: 0.15em; }
.contact-paths h3 { margin: 54px 0 14px; color: #111; font-size: 1.75rem; line-height: 1; letter-spacing: -0.06em; }
.contact-paths p { max-width: 270px; margin: 0 0 26px; color: #666; font-size: 0.9rem; line-height: 1.55; }
.contact-paths a { margin-top: auto; color: #111; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.contact-paths a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-form-layout { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr); gap: 85px; width: min(960px, calc(100% - 48px)); margin: 0 auto 140px; padding: 0 0 120px; border-bottom: 1px solid #d2d2d2; }
.contact-form-copy > p { max-width: 330px; margin: 20px 0 35px; color: #666; line-height: 1.6; }
.contact-direct { display: grid; gap: 8px; color: #777; font-size: 0.78rem; }
.contact-direct a { color: #111; font-size: 0.9rem; font-weight: 700; }
.extended-contact-form { display: grid; gap: 22px; }
.extended-contact-form label { display: grid; gap: 9px; color: #555; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.extended-contact-form input, .extended-contact-form select, .extended-contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; padding: 12px 0; color: #111; background: transparent; font: inherit; font-size: 0.95rem; outline: none; }
.extended-contact-form input:focus, .extended-contact-form select:focus, .extended-contact-form textarea:focus { border-bottom-color: #111; }
.extended-contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.submit-btn { justify-self: start; border: 1px solid #111; border-radius: 999px; padding: 12px 22px; color: #fff; background: #111; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.contact-social-strip { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: end; gap: 40px; width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 120px; }
.contact-social-strip h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.contact-social-links { display: flex; justify-content: flex-end; gap: 25px; flex-wrap: wrap; }
.contact-social-links a { color: #111; font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.contact-social-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .contact-hero-copy { padding: 110px 0 80px; }
  .contact-intro { margin-bottom: 85px; }
  .contact-paths, .contact-form-layout, .contact-social-strip { grid-template-columns: 1fr; }
  .contact-paths { margin-bottom: 90px; }
  .contact-paths h3 { margin-top: 36px; }
  .contact-form-layout { gap: 50px; margin-bottom: 90px; padding-bottom: 85px; }
  .form-row { grid-template-columns: 1fr; gap: 22px; }
  .contact-social-links { justify-content: flex-start; }
}

/* Resources page */
.resources-header {
  min-height: 560px;
  color: #fff;
  background: linear-gradient(rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.84)), url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.resources-header .topbar,
.resources-header .logo,
.resources-header .nav,
.resources-header .nav a { color: #fff; }
.resources-header .search-wrap input { color: #fff; }
.resources-header .search-wrap input::placeholder { color: rgba(255,255,255,0.72); }
.resources-hero-copy { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 100px; }
.resources-hero-copy .section-kicker { color: #aaa; }
.resources-hero-copy h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(3rem, 6vw, 6.2rem); line-height: 0.94; letter-spacing: -0.075em; }
.resources-hero-copy p { max-width: 520px; margin: 26px 0 0; color: #bbb; font-size: 1rem; line-height: 1.55; }
.resources-page { background: #f5f5f5; padding: 0; }
.resources-page .pdf-library { margin-top: -12px; }
.resources-intro { width: min(700px, calc(100% - 48px)); margin: 0 auto 120px; text-align: center; }
.resources-intro h2, .resource-feature-copy h2, .audience-heading h2, .resources-promise h2 { margin: 0; color: #111; font-size: clamp(2.4rem, 4.5vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.resources-intro p { max-width: 500px; margin: 20px auto 0; color: #666; line-height: 1.6; }
.resource-feature { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr); gap: 80px; align-items: center; width: min(960px, calc(100% - 48px)); margin: 0 auto 150px; }
.resource-feature-copy > p { max-width: 400px; margin: 22px 0 30px; color: #666; line-height: 1.6; }
.resource-action, .audience-card a { color: #111; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.resource-action { display: inline-flex; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #111; }
.resource-feature-art { min-height: 500px; display: flex; align-items: flex-end; padding: 30px; border-radius: 6px; color: #fff; background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.65)), url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1200&q=80") center / cover; box-shadow: var(--shadow); }
.resource-feature-art span { font-size: 2.2rem; line-height: 0.95; letter-spacing: -0.07em; }
.audience-section { padding: 115px 0 140px; background: #fff; }
.audience-heading { width: min(960px, calc(100% - 48px)); margin: 0 auto 44px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.audience-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-radius: 6px; color: #fff; background-size: cover; background-position: center; }
.audience-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,0.72)); }
.audience-card { position: relative; overflow: hidden; }
.audience-card > * { position: relative; z-index: 1; }
.community-card { background-image: url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063?auto=format&fit=crop&w=1000&q=80"); }
.professional-card { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1000&q=80"); }
.audience-number { color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.16em; }
.audience-card h3 { max-width: 360px; margin: 14px 0 12px; font-size: 2rem; line-height: 1; letter-spacing: -0.06em; }
.audience-card p { max-width: 350px; margin: 0; color: rgba(255,255,255,0.82); line-height: 1.5; }
.audience-card a { color: #fff; }
.resources-promise { display: flex; min-height: 420px; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; background: #111; }
.resources-promise .section-kicker { color: #aaa; }
.resources-promise h2 { max-width: 700px; color: #fff; }
.audience-card-link { position: relative; z-index: 1; display: inline-flex; gap: 12px; align-items: center; width: fit-content; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.8); }

/* Resource detail pages */
.resource-detail-header { min-height: 560px; color: #fff; }
.community-detail-header { background: linear-gradient(rgba(20, 48, 38, 0.72), rgba(20, 48, 38, 0.9)), url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1800&q=80") center / cover; }
.professional-detail-header { background: linear-gradient(rgba(25, 38, 43, 0.72), rgba(25, 38, 43, 0.9)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1800&q=80") center / cover; }
.resource-detail-header .topbar, .resource-detail-header .logo, .resource-detail-header .nav, .resource-detail-header .nav a { color: #fff; }
.resource-detail-header .search-wrap input { color: #fff; }
.resource-detail-header .search-wrap input::placeholder { color: rgba(255,255,255,0.72); }
.resource-detail-hero { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 100px; }
.resource-detail-hero .section-kicker { color: rgba(255,255,255,0.7); }
.resource-detail-hero h1 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(3rem, 6.5vw, 6.4rem); line-height: 0.92; letter-spacing: -0.08em; }
.resource-detail-hero p { max-width: 540px; margin: 26px 0 0; color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.6; }
.resource-detail-page { padding: 115px 0 0; background: #f5f5f5; }
.resource-detail-intro { width: min(700px, calc(100% - 48px)); margin: 0 auto 85px; text-align: center; }
.resource-detail-intro h2 { margin: 0; color: #111; font-size: clamp(2.4rem, 4.5vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.resource-detail-intro p { max-width: 500px; margin: 20px auto 0; color: #666; line-height: 1.6; }
.resource-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: min(960px, calc(100% - 48px)); margin: 0 auto 130px; background: #d7d7d7; }
.resource-category { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: #fff; }
.resource-category-number { color: #b96545; font-size: 0.72rem; letter-spacing: 0.15em; }
.resource-category h3 { margin: 60px 0 14px; color: #111; font-size: 1.7rem; line-height: 1; letter-spacing: -0.06em; }
.resource-category p { max-width: 270px; margin: 0 0 26px; color: #666; font-size: 0.9rem; line-height: 1.55; }
.resource-category a { margin-top: auto; color: #111; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.resource-category a:hover { text-decoration: underline; text-underline-offset: 4px; }
.resource-detail-cta { display: flex; min-height: 390px; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; background: #1f4d3a; }
.resource-detail-cta .section-kicker { color: rgba(255,255,255,0.7); }
.resource-detail-cta h2 { max-width: 700px; margin: 0 0 28px; color: #fff; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.resource-detail-cta .primary-button { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); }
.resources-promise .primary-button { margin-top: 30px; }

@media (max-width: 760px) {
  .resources-hero-copy { padding: 110px 0 80px; }
  .resource-feature, .audience-grid { grid-template-columns: 1fr; }
  .resource-feature { gap: 42px; margin-bottom: 100px; }
  .resource-feature-art { min-height: 390px; }
  .resources-intro { margin-bottom: 90px; }
  .resource-detail-hero { padding: 110px 0 80px; }
  .resource-detail-page { padding-top: 85px; }
  .resource-detail-intro { margin-bottom: 65px; }
  .resource-category-grid { grid-template-columns: 1fr; margin-bottom: 90px; }
  .resource-category { min-height: 280px; }
  .resource-category h3 { margin-top: 38px; }
  .resource-detail-cta { min-height: 330px; }
}

/* CliniclPod page */
.podcast-header {
  min-height: 560px;
  color: #fff;
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.82)), url("https://images.unsplash.com/photo-1478737270239-2f02b77fc618?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.podcast-header .topbar,
.podcast-header .logo,
.podcast-header .nav,
.podcast-header .nav a {
  color: #fff;
}

.podcast-header .search-wrap input,
.podcast-header .search-wrap input::placeholder {
  color: #fff;
}

.podcast-header .search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.podcast-hero-copy {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 100px;
}

.podcast-hero-copy .section-kicker { color: rgba(255, 255, 255, 0.68); }
.podcast-hero-copy .podcast-brand-label { color: #777; }
.podcast-hero-copy h1 { max-width: 720px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: 0.92; letter-spacing: -0.075em; }
.podcast-hero-copy p { max-width: 500px; margin: 26px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; line-height: 1.55; }
.podcast-hero-copy .podcast-hero-description { color: #777; }

.podcast-page { width: 100%; padding: 0 0 120px; background: #f5f5f5; }
.podcast-page,
.podcast-page h2,
.podcast-page h3,
.podcast-page p {
  color: #111;
}

.podcast-page .section-kicker,
.podcast-page .podcast-meta {
  color: #666;
}

.latest-episode { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr); gap: 80px; align-items: center; width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0 150px; }
.latest-copy h2 { max-width: 560px; margin: 0; color: #111; font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; }
.latest-intro { max-width: 450px; margin: 24px 0; color: #555; font-size: 1rem; line-height: 1.6; }
.episode-details { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; color: #777; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.episode-details span + span::before { content: "•"; margin-right: 14px; color: #aaa; }
.podcast-link { color: #111; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.podcast-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.podcast-primary-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #111; }
.latest-art { position: relative; min-height: 500px; overflow: hidden; border-radius: 6px; color: #fff; background: #111; box-shadow: 0 24px 55px rgba(0,0,0,0.18); }
.latest-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.latest-art::before, .latest-art::after { display: none; }
.art-label { position: absolute; top: 28px; left: 30px; z-index: 1; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.08em; }
.art-wave { display: none; }
.art-caption { position: absolute; right: 28px; bottom: 26px; font-size: 0.7rem; line-height: 1.5; letter-spacing: 0.16em; text-align: right; text-transform: uppercase; }
.latest-art-link { position: absolute; z-index: 2; bottom: 20px; left: 24px; display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 4px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.latest-art-link:hover, .latest-art-link:focus-visible { background: rgba(0, 0, 0, 0.86); text-decoration: underline; text-underline-offset: 3px; }

.coming-episode {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: center;
  width: min(960px, calc(100% - 48px));
  margin: 0 auto 120px;
}

.coming-copy h2 {
  margin: 0;
  color: #111;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.coming-copy p {
  max-width: 440px;
  margin: 18px 0 24px;
  color: #666;
  line-height: 1.6;
}

.coming-episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #444;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-episode-meta strong {
  color: #111;
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: 1rem;
}

.poll-card {
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
}

.poll-card h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.poll-form {
  display: grid;
  gap: 12px;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: #f5f5f5;
  color: #222;
  cursor: pointer;
  transition: all 180ms ease;
}

.poll-option input {
  accent-color: #111;
  width: 18px;
  height: 18px;
  margin: 0;
}

.poll-option.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}

.poll-submit {
  margin-top: 8px;
  justify-self: start;
}

.poll-form .poll-submit[hidden] {
  display: none;
}

.poll-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.poll-status {
  margin: 16px 0 0;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.5;
}

.poll-results {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.poll-results[hidden] {
  display: none;
}

.poll-results h4 {
  margin: 0;
  font-size: 1rem;
}

.poll-results-total {
  margin: 5px 0 16px;
  color: #666;
  font-size: 0.78rem;
}

.poll-results-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.poll-result {
  display: grid;
  gap: 6px;
}

.poll-result-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.poll-result-heading strong {
  flex: 0 0 auto;
}

.poll-result-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8e8;
}

.poll-result-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1d1d1d;
  transition: width 300ms ease;
}

.poll-result-count {
  color: #777;
  font-size: 0.7rem;
}

.episode-section { padding: 110px 0 130px; background: #fff; }
.podcast-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; width: min(960px, calc(100% - 48px)); margin: 0 auto 44px; }
.podcast-section-heading h2 { margin: 0; color: #111; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 0.95; letter-spacing: -0.07em; }
.podcast-section-heading > p { max-width: 260px; margin: 0; color: #666; line-height: 1.5; }
.episode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.episode-card { padding: 0 0 24px; border-bottom: 1px solid #d7d7d7; }
.episode-art { position: relative; min-height: 260px; display: flex; align-items: flex-end; padding: 18px; margin-bottom: 22px; overflow: hidden; border-radius: 5px; color: #fff; background-size: cover; background-position: center; }
.episode-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.7)); }
.episode-art span { position: relative; z-index: 1; font-size: 3.5rem; font-weight: 700; letter-spacing: -0.08em; }
.diabetes-art { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=80"); }
.malaria-art { background-image: url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=900&q=80"); }
.podcast-meta { margin-bottom: 11px; color: #777; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.episode-card h3 { margin: 0; color: #111; font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.045em; }
.episode-card p { margin: 14px 0 20px; color: #666; font-size: 0.9rem; line-height: 1.55; }
.episode-note { display: flex; min-height: 260px; flex-direction: column; justify-content: center; padding: 28px; background: #111; }
.episode-note .section-kicker { color: #aaa; }
.episode-note h3, .episode-note p, .episode-note .podcast-link { color: #fff; }

@media (max-width: 760px) {
  .podcast-hero-copy { padding: 110px 0 80px; }
  .latest-episode, .episode-grid, .coming-episode { grid-template-columns: 1fr; }
  .latest-episode { gap: 42px; padding: 80px 0 100px; }
  .coming-episode { gap: 28px; margin-bottom: 90px; }
  .latest-art { min-height: 390px;   }
  .podcast-section-heading { display: block; }
  .podcast-section-heading > p { margin-top: 18px; }
  .poll-card { padding: 22px 18px; }
}

@media (min-width: 761px) {
  .topbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px max(36px, calc((100% - 1180px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  }

  .topbar.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }

  .topbar.scrolled .logo,
  .topbar.scrolled .nav,
  .topbar.scrolled .nav a {
    color: #171717;
  }

  .topbar.scrolled .nav a:hover,
  .topbar.scrolled .nav a:focus-visible {
    color: #777;
  }

  .topbar.scrolled .search-wrap {
    border-color: rgba(17, 17, 17, 0.16);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .topbar.scrolled .search-icon,
  .topbar.scrolled .search-wrap input,
  .topbar.scrolled .search-wrap input::placeholder {
    color: #555;
  }
}
