.neuro-homepage {
  --nh-bg-top: #f7fafc;
  --nh-bg-bottom: #ffffff;
  --nh-surface: #ffffff;
  --nh-border: #d7e1ea;
  --nh-text: #123247;
  --nh-text-soft: #6c7b88;
  --nh-accent: #2f5e7a;
  --nh-accent-dark: #1f4560;
  --nh-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  --nh-radius: 18px;

  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 44px 20px 60px;
  background: linear-gradient(180deg, var(--nh-bg-top) 0%, var(--nh-bg-bottom) 100%);
  box-sizing: border-box;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

section,
.section {
  padding: 20px 10px 10px !important;
}

.neuro-homepage__hero,
.neuro-homepage__body {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.neuro-homepage__hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nh-border);
}

.neuro-homepage__logo-wrapper {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.neuro-homepage__logo {
  width: 170px;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
  background: transparent;
}

.neuro-homepage__hero-inner {
  min-width: 0;
  max-width: 820px;
}

.neuro-homepage__kicker,
.neuro-homepage__eyebrow,
.neuro-homepage__label {
  display: inline-block;
  color: var(--nh-text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.neuro-homepage__title {
  margin: 0.5rem 0 0.75rem;
  color: var(--nh-accent);
  font-size: 3.1rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.neuro-homepage__intro,
.neuro-homepage__text {
  color: #374151;
  line-height: 1.72;
}

.neuro-homepage__intro {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.neuro-homepage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.neuro-homepage__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--nh-accent);
  border-radius: 999px;
  background: var(--nh-accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.neuro-homepage__button:hover,
.neuro-homepage__button:focus {
  background: var(--nh-accent-dark);
  border-color: var(--nh-accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.neuro-homepage__button--secondary {
  background: transparent;
  color: var(--nh-accent);
}

.neuro-homepage__button--secondary:hover,
.neuro-homepage__button--secondary:focus {
  background: rgba(47, 94, 122, 0.06);
  color: var(--nh-accent-dark);
}

.neuro-homepage__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.neuro-homepage__main,
.neuro-homepage__sidebar {
  min-width: 0;
}

.neuro-homepage__sidebar {
  display: grid;
  gap: 14px;
}

.neuro-homepage__section {
  margin-top: 18px;
}

.neuro-homepage__section-head {
  margin-bottom: 0.75rem;
}

.neuro-homepage__heading,
.neuro-homepage__card-title {
  margin: 0.35rem 0 0.6rem;
  color: var(--nh-text);
  line-height: 1.18;
  word-break: break-word;
}

.neuro-homepage__heading {
  font-size: 1.9rem;
}

.neuro-homepage__card-title {
  font-size: 1.16rem;
}

.neuro-homepage__card {
  padding: 1.15rem 2rem;
  background: var(--nh-surface);
  border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius);
  box-shadow: var(--nh-shadow);
  min-width: 0;
  overflow: hidden;
}

.neuro-homepage__card--feature {
  padding: 1.35rem 3rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.neuro-homepage__grid {
  display: grid;
  gap: 16px;
}

.neuro-homepage__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neuro-homepage__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.neuro-homepage__link {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--nh-accent);
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(47, 94, 122, 0.28);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.neuro-homepage__link:hover,
.neuro-homepage__link:focus {
  color: var(--nh-accent-dark);
  border-bottom-color: rgba(31, 69, 96, 0.55);
}

.handout-list {
  margin-top: 0.25rem;
}

.handout-list a {
  display: block;
  padding: 9px 0;
  color: var(--nh-accent);
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
  line-height: 1.45;
  word-break: break-word;
  transition: color 0.2s ease;
}

.handout-list a:hover,
.handout-list a:focus {
  color: var(--nh-accent-dark);
}
.neuro-homepage__logo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (max-width: 1024px) {
  .neuro-homepage__body {
    grid-template-columns: 1fr;
  }

  .neuro-homepage__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neuro-homepage__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .neuro-homepage {
    padding: calc(88px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
  }

  .neuro-homepage__hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .neuro-homepage__logo-wrapper {
    padding: 8px 12px;
  }
  .neuro-homepage__hero {
    align-items: center;
    text-align: center;
  }

  .neuro-homepage__hero-inner {
    width: 100%;
  }

  .neuro-homepage__logo-wrapper {
    justify-content: center;
    margin: 0 auto;
  }
  .neuro-homepage__logo {
    width: 140px;
  }

  .neuro-homepage__title {
    font-size: 2.15rem;
    line-height: 1.1;
  }

  .neuro-homepage__intro {
    font-size: 1rem;
    line-height: 1.65;
  }

  .neuro-homepage__heading {
    font-size: 1.55rem;
  }

  .neuro-homepage__card {
    padding: 1rem 1.1rem;
    border-radius: 14px;
  }

  .neuro-homepage__card--feature {
    padding: 1.1rem 1.1rem !important;
  }

  .neuro-homepage__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .neuro-homepage__button {
    width: 100%;
    justify-content: center;
  }

  .neuro-homepage__grid--three,
  .neuro-homepage__grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .neuro-homepage {
    padding-left: 14px;
    padding-right: 14px;
  }

  .neuro-homepage__title {
    font-size: 1.85rem;
  }

  .neuro-homepage__kicker,
  .neuro-homepage__eyebrow,
  .neuro-homepage__label {
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .neuro-homepage__card {
    padding: 0.95rem 1rem;
  }

  .neuro-homepage__card--feature {
    padding: 1rem !important;
  }
}