:root {
  --ink: #1f171b;
  --ink-strong: #140f12;
  --magentawood: #2b1b2e;
  --magenta: #e94ba8;
  --violet: #5b4fe5;
  --warm: #f5efe8;
  --surface: #fffdf9;
  --line: rgba(37, 25, 32, 0.12);
  --muted: #6f6268;
  --shadow: 0 22px 54px rgba(31, 23, 27, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 138, 149, 0.15), transparent 24%),
    radial-gradient(circle at top right, rgba(142, 162, 142, 0.12), transparent 20%),
    linear-gradient(180deg, #faf5f0 0%, #f4ede7 46%, #fbf8f4 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 30px min(5vw, 56px) 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.18), rgba(255, 253, 249, 0)),
    radial-gradient(circle at 14% 20%, rgba(185, 138, 149, 0.28), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(142, 162, 142, 0.2), transparent 18%),
    linear-gradient(140deg, #faf4ef 0%, #efe6de 44%, #f8f4f0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -20% 44%;
  height: 560px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(109, 74, 88, 0.14), transparent 54%),
    radial-gradient(circle at 50% 50%, rgba(142, 162, 142, 0.16), transparent 68%);
  pointer-events: none;
}

.hero__brand,
.hero__content {
  position: relative;
  z-index: 1;
}

.hero__brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  animation: fade-down 620ms ease both;
}

.eyebrow,
.hero__kicker,
.section__eyebrow,
.catalog__label,
.course__type,
.track__label,
.pathway__label {
  margin: 0 0 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 700;
}

.brand-lockup {
  width: min(24vw, 250px);
}

.hero__content {
  width: min(100%, 860px);
  padding: 52px 0 12px;
  animation: fade-up 720ms ease 120ms both;
}

.hero__content h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero__summary {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 640px);
  margin-top: 30px;
}

.hero__meta div {
  padding-top: 16px;
  border-top: 1px solid rgba(31, 23, 27, 0.12);
}

.hero__meta-number {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero__meta-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.hero__actions,
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__actions a,
.closing__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hero__actions a:first-child,
.closing__actions a:first-child {
  background: var(--ink);
  color: #fff9fb;
}

.hero__action--secondary,
.closing__link--secondary {
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid rgba(31, 23, 27, 0.12);
}

.hero__actions a:hover,
.closing__actions a:hover,
.course:hover,
.text-link:hover,
.pathway__links a:hover,
.section-nav a:hover {
  transform: translateY(-2px);
}

.main {
  width: min(calc(100% - 32px), 1240px);
  margin: -18px auto 54px;
  position: relative;
  z-index: 2;
}

.section-nav {
  position: sticky;
  top: 18px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(31, 23, 27, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.section-nav a:hover {
  background: rgba(109, 74, 88, 0.08);
  color: var(--ink-strong);
}

.section {
  padding: 34px 0;
  border-top: 1px solid rgba(31, 23, 27, 0.09);
  animation: fade-up 720ms ease both;
}

.section:first-of-type {
  border-top: 0;
}

.section__heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section__heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.section__heading p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.track {
  padding: 0 0 8px;
  border-top: 1px solid rgba(31, 23, 27, 0.12);
}

.track h3,
.catalog__intro h3,
.pathway h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.track p:last-of-type {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 600;
  color: var(--magentawood);
  transition: transform 180ms ease, color 180ms ease;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 30px;
}

.catalog__intro {
  margin-bottom: 22px;
}

.course-list {
  display: grid;
}

.course {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid rgba(31, 23, 27, 0.1);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.course:first-child {
  padding-top: 0;
  border-top: 0;
}

.course__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.course__body {
  color: var(--muted);
  max-width: 48ch;
}

.pathway-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.pathway {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(31, 23, 27, 0.1);
}

.pathway:first-child {
  padding-top: 0;
  border-top: 0;
}

.pathway__copy {
  max-width: 56ch;
}

.pathway__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pathway__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(109, 74, 88, 0.16);
  background: rgba(109, 74, 88, 0.08);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.section--closing {
  padding-bottom: 18px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: end;
}

.closing p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero__meta,
  .split,
  .catalog,
  .closing {
    grid-template-columns: 1fr;
  }

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

  .pathway__links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 22px min(4vw, 20px) 34px;
  }

  .brand-lockup {
    width: min(52vw, 210px);
  }

  .hero__content {
    padding-top: 42px;
  }

  .hero__content h1 {
    max-width: 11ch;
  }

  .hero__meta {
    gap: 12px;
  }

  .main {
    width: min(calc(100% - 20px), 1240px);
  }

  .section-nav {
    justify-content: center;
    margin-bottom: 18px;
  }

  .section {
    padding: 26px 0;
  }

  .pathway__links a,
  .hero__actions a,
  .closing__actions a {
    width: 100%;
  }
}

/* InsideHer 2026 brand system refinement */
:root {
  --ink: #0b0b0c;
  --ink-strong: #0b0b0c;
  --bone: #fafaf7;
  --paper: #f2ede5;
  --aubergine: #2b1b2e;
  --violet: #5b4fe5;
  --orchid: #a24dc6;
  --magenta: #e94ba8;
  --muted: #55535c;
  --line: rgba(11, 11, 12, 0.14);
  --gradient: linear-gradient(105deg, var(--violet) 0%, var(--orchid) 52%, var(--magenta) 100%);
  --title-gradient: linear-gradient(96deg, var(--violet) 0%, #8b4dcf 48%, var(--magenta) 100%);
  --shadow: 0 28px 80px rgba(43, 27, 46, 0.09);
}

body {
  font-family: "Inter", "Inter", "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(233, 75, 168, 0.1), transparent 26%),
    linear-gradient(180deg, var(--bone) 0%, #fffefa 46%, var(--paper) 100%);
}

.hero {
  min-height: min(980px, 100svh);
  background:
    radial-gradient(circle at 86% 12%, rgba(233, 75, 168, 0.18), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(91, 79, 229, 0.12), transparent 30%),
    linear-gradient(90deg, var(--bone) 0%, #fffefa 52%, #fff3f9 100%);
}

.hero::before {
  display: none;
}

.hero__brand {
  align-items: center;
}

.brand-lockup {
  width: 236px;
  max-width: 52vw;
}

.eyebrow,
.hero__kicker,
.section__eyebrow,
.catalog__label,
.course__type,
.track__label,
.pathway__label {
  color: var(--muted);
  letter-spacing: 0.28em;
}

.hero__kicker::before,
.section__eyebrow::before,
.catalog__label::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--gradient);
  vertical-align: 0.04em;
}

.hero__content h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.title-gradient {
  display: inline;
  background: var(--title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--violet);
  -webkit-text-fill-color: transparent;
}

.hero__summary,
.section__heading p:last-child,
.track p,
.course__body,
.pathway p,
.closing p:last-child {
  color: var(--muted);
}

.hero__meta div,
.section {
  border-color: var(--line);
}

.hero__actions a:first-child,
.closing__actions a:first-child {
  background: var(--title-gradient);
  color: var(--bone);
}

.hero__action--secondary,
.closing__link--secondary,
.section-nav,
.track,
.catalog__group,
.course,
.pathway,
.closing {
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.9), rgba(240, 236, 255, 0.4)),
    rgba(255, 254, 250, 0.84);
  border-color: var(--line);
}

.course:nth-child(2n),
.track:nth-child(2n),
.pathway:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.9), rgba(253, 232, 244, 0.42)),
    rgba(255, 254, 250, 0.84);
}

.section-nav a:hover {
  color: var(--ink);
  background: rgba(91, 79, 229, 0.08);
}

.section-nav {
  position: static;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.track h3,
.catalog__intro h3,
.course__title,
.pathway h3,
.section__heading h2 {
  color: var(--aubergine);
}

.course:hover,
.track:hover,
.pathway:hover {
  border-color: rgba(233, 75, 168, 0.28);
}

#directory .section__heading {
  max-width: 960px;
}

.catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.catalog__group {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 75, 168, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.92), rgba(250, 250, 247, 0.74));
  box-shadow: 0 20px 70px rgba(43, 27, 46, 0.08);
}

.catalog__group:nth-child(2) {
  border-color: rgba(250, 250, 247, 0.12);
  background:
    radial-gradient(circle at 88% 0%, rgba(233, 75, 168, 0.22), transparent 32%),
    radial-gradient(circle at 8% 98%, rgba(91, 79, 229, 0.18), transparent 30%),
    linear-gradient(145deg, #2b1b2e 0%, #131013 100%);
  color: var(--bone);
}

.catalog__intro {
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.catalog__intro h3 {
  max-width: 17ch;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.catalog__group:nth-child(2) .catalog__label,
.catalog__group:nth-child(2) .course__type {
  color: rgba(250, 250, 247, 0.68);
}

.catalog__group:nth-child(2) .catalog__intro h3,
.catalog__group:nth-child(2) .course__title {
  color: var(--bone);
}

.catalog__group:nth-child(2) .course__body {
  color: rgba(250, 250, 247, 0.7);
}

.course-list {
  gap: 10px;
}

.course,
.course:first-child {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(11, 11, 12, 0.09);
  border-radius: 20px;
  background: rgba(255, 254, 250, 0.76);
  box-shadow: none;
}

.course::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--title-gradient);
  opacity: 0;
  transition: opacity 180ms ease;
}

.course::after {
  content: "Open";
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.06);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.course__type,
.course__title,
.course__body {
  grid-column: 1;
}

.course__type {
  font-size: 0.72rem;
}

.course__title {
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  letter-spacing: -0.025em;
}

.course__body {
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.45;
}

.course:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 75, 168, 0.24);
  background: #fffefa;
}

.course:hover::before {
  opacity: 1;
}

.course:hover::after {
  background: var(--title-gradient);
  color: var(--bone);
  transform: translateX(2px);
}

.catalog__group:nth-child(2) .course,
.catalog__group:nth-child(2) .course:nth-child(2n) {
  border-color: rgba(250, 250, 247, 0.13);
  background: rgba(250, 250, 247, 0.08);
}

.catalog__group:nth-child(2) .course:hover {
  border-color: rgba(233, 75, 168, 0.3);
  background: rgba(250, 250, 247, 0.13);
}

.catalog__group:nth-child(2) .course::after {
  background: rgba(250, 250, 247, 0.13);
  color: var(--bone);
}

#pathways .section__heading {
  max-width: 980px;
}

.pathway-list {
  gap: 12px;
}

.pathway,
.pathway:first-child {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px);
  min-height: 150px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(100deg, rgba(255, 254, 250, 0.94), rgba(253, 232, 244, 0.36)),
    rgba(255, 254, 250, 0.8);
}

.pathway::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--title-gradient);
  opacity: 0.75;
}

.pathway__copy {
  max-width: 720px;
  padding-left: 8px;
}

.pathway h3 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pathway__links {
  gap: 10px;
  align-items: center;
}

.pathway__links a {
  min-width: 160px;
  border-color: rgba(11, 11, 12, 0.12);
  background: rgba(255, 254, 250, 0.72);
  color: var(--ink);
}

.pathway__links a:first-child {
  border-color: transparent;
  background: var(--title-gradient);
  color: var(--bone);
}

.pathway__links a:hover {
  border-color: transparent;
}

.section--closing {
  padding: clamp(36px, 5vw, 72px) 0 0;
  scroll-margin-top: 140px;
}

.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 88% 12%, rgba(233, 75, 168, 0.24), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(91, 79, 229, 0.22), transparent 34%),
    linear-gradient(135deg, #2b1b2e 0%, #151116 100%);
  box-shadow: 0 28px 80px rgba(43, 27, 46, 0.18);
  color: var(--bone);
}

.closing::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 96px);
  top: 50%;
  width: clamp(140px, 18vw, 250px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: clamp(14px, 2vw, 22px) dotted rgba(233, 75, 168, 0.32);
  opacity: 0.55;
  transform: translateY(-50%);
  pointer-events: none;
}

.closing > * {
  position: relative;
  z-index: 1;
}

.closing .section__eyebrow {
  color: rgba(250, 250, 247, 0.72);
}

.closing h2 {
  max-width: 11ch;
  margin: 18px 0 0;
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--bone);
}

.closing .title-gradient {
  display: inline;
}

.closing p:last-child {
  max-width: 48ch;
  margin-top: 22px;
  color: rgba(250, 250, 247, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.closing__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.closing__actions a {
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid rgba(250, 250, 247, 0.16);
  background: rgba(250, 250, 247, 0.1);
  color: var(--bone);
  text-align: center;
  backdrop-filter: blur(14px);
}

.closing__actions a:first-child {
  border-color: transparent;
  background: var(--title-gradient);
  color: var(--bone);
}

.closing__actions a:nth-child(2) {
  border-color: transparent;
  background: rgba(250, 250, 247, 0.92);
  color: var(--ink);
}

.closing__link--secondary {
  background: rgba(250, 250, 247, 0.08);
  color: var(--bone);
}

@media (max-width: 760px) {
  .brand-lockup {
    width: 190px;
  }

  .hero__content h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13.4vw, 4.2rem);
  }

  .closing {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .closing::after {
    right: -52px;
    top: 18px;
    width: 150px;
    transform: none;
  }

  .closing h2 {
    max-width: 9ch;
  }

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

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

  .catalog__group {
    padding: 22px;
    border-radius: 24px;
  }

  .catalog__intro h3 {
    max-width: 100%;
  }

  .course,
  .course:first-child {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .course::after {
    grid-column: 1;
    grid-row: auto;
    justify-self: flex-start;
    margin-top: 4px;
  }

  .pathway,
  .pathway:first-child {
    grid-template-columns: 1fr;
  }

  .pathway h3 {
    max-width: 100%;
  }

  .pathway__links {
    justify-content: flex-start;
  }
}
