:root {
  --ink: #34434d;
  --muted: #64737c;
  --blue: #4caee4;
  --magenta: #df3977;
  --aqua: #dff5fb;
  --surface: #ffffff;
  --soft: #f4f9fb;
  --line: #dbe8ed;
  --shadow: 0 24px 60px rgba(45, 76, 91, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 232, 237, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 96px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: #46545d;
  font-size: 17px;
  font-weight: 700;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--magenta);
}

.social-links a:last-child {
  background: #4267b2;
  font-family: Georgia, serif;
  font-size: 22px;
}

.section {
  padding: clamp(64px, 8vw, 116px) 7vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  min-height: calc(100vh - 82px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.78), rgba(255, 255, 255, 0) 30%),
    #fff;
}

.hero-copy {
  text-align: center;
}

.hero-logo {
  width: min(330px, 76vw);
  height: auto;
  margin: 0 auto 30px;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-copy p {
  max-width: 580px;
  margin: 0 auto 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 218px;
  padding: 14px 28px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 12px 26px rgba(223, 57, 119, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(223, 57, 119, 0.3);
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow,
.program-label {
  margin-bottom: 10px;
  color: var(--magenta);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.audience {
  background: var(--surface);
}

.audience-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.audience-grid article,
.program-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.audience-grid article {
  text-align: center;
}

.icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--blue);
  font-weight: 800;
  border-radius: 50%;
  background: var(--aqua);
}

.contrast {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
  background: var(--soft);
}

.contrast-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contrast-media img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.stats-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.stats-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: #fff;
}

.stats-list strong {
  color: var(--magenta);
  font-size: 34px;
  line-height: 1;
}

.stats-list span {
  color: var(--muted);
  line-height: 1.45;
}

.programs {
  background: #fff;
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-card.featured {
  border-top: 5px solid var(--magenta);
}

.program-card p {
  margin-bottom: 0;
  font-size: 16px;
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 26px;
  line-height: 1.45;
}

.program-card li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "+";
  font-weight: 800;
}

.program-card a {
  margin-top: auto;
  color: var(--magenta);
  font-weight: 800;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: #fff;
}

.cta .eyebrow {
  color: #80d7f5;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 7vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--magenta);
}

.login-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 38%),
    #fff;
}

.login-intro {
  max-width: 660px;
}

.login-intro h1 {
  max-width: 520px;
}

.login-intro p {
  max-width: 590px;
}

.login-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 16px;
  margin-top: 34px;
}

.login-support div {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: #fff;
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.login-support strong {
  display: block;
  margin-bottom: 6px;
  color: var(--magenta);
  font-size: 34px;
  line-height: 1;
}

.login-support span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.login-panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--magenta);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.login-panel-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.panel-logo {
  width: 86px;
  height: auto;
  flex: 0 0 auto;
}

.login-panel-header .eyebrow,
.login-panel-header h2 {
  margin-bottom: 0;
}

.login-panel-header h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form select,
.login-form textarea {
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form select {
  min-height: 52px;
}

.login-form textarea {
  min-height: 150px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus,
.login-form input[type="text"]:focus,
.login-form select:focus,
.login-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(76, 174, 228, 0.16);
}

.login-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 20px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 15px) 50% / 7px 7px no-repeat,
    #fff;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.remember-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--magenta);
}

.form-options a,
.login-note a {
  color: var(--magenta);
  font-weight: 800;
}

.login-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.login-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.register-page {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 34%),
    #fff;
}

.register-intro {
  max-width: 560px;
}

.register-panel {
  max-width: 760px;
  width: 100%;
  justify-self: end;
}

.register-form {
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 14px;
}

.terms-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.terms-option input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--magenta);
}

.terms-option a {
  color: var(--magenta);
  font-weight: 800;
}

.dashboard-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 30%),
    #fff;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(45, 76, 91, 0.1);
}

.dashboard-hero h1 {
  margin-bottom: 12px;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.benefit-card {
  border-top: 5px solid var(--magenta);
}

.guide-card {
  border-top: 5px solid var(--blue);
}

.profile-card {
  border-top: 5px solid var(--ink);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card-heading .icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.card-heading h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.4vw, 32px);
}

.dashboard-card p {
  margin-bottom: 0;
}

.benefit-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.benefit-status span {
  color: var(--muted);
  font-weight: 800;
}

.benefit-status strong {
  color: var(--magenta);
  font-size: 22px;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.dashboard-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.45;
}

.dashboard-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "+";
  font-weight: 800;
}

.text-link {
  margin-top: auto;
  color: var(--magenta);
  font-weight: 800;
}

.guide-preview {
  display: grid;
  gap: 8px;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(76, 174, 228, 0.65);
  border-radius: 8px;
  background: var(--soft);
}

.guide-preview strong {
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
}

.guide-preview span {
  color: var(--muted);
  font-weight: 800;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  background: var(--magenta);
}

.profile-summary h3,
.profile-summary p {
  margin-bottom: 0;
}

.profile-summary p {
  font-size: 15px;
}

.profile-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-details div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.benefits-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 28%),
    #fff;
}

.benefits-hero {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.benefits-hero h1 {
  margin-bottom: 18px;
}

.benefit-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.benefit-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.benefit-filters a:hover,
.benefit-filters a:focus-visible {
  color: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-1px);
}

.benefits-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.benefits-summary div {
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.benefits-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--magenta);
  font-size: 36px;
  line-height: 1;
}

.benefits-summary span {
  color: var(--muted);
  font-weight: 800;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.benefit-box:nth-child(4n + 1) {
  border-top-color: var(--magenta);
}

.benefit-image-placeholder {
  display: grid;
  min-height: 150px;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  border: 1px dashed rgba(76, 174, 228, 0.65);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 245, 251, 0.9), rgba(255, 255, 255, 0.94)),
    var(--soft);
}

.benefit-image {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.benefit-image img {
  width: 100%;
  max-height: 132px;
  object-fit: contain;
}

.benefit-box h2 {
  margin-bottom: 0;
  font-size: clamp(23px, 2.2vw, 30px);
}

.benefit-box p {
  margin-bottom: 0;
  font-size: 16px;
}

.benefit-category {
  align-self: flex-start;
  padding: 8px 12px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--soft);
}

.contact-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 30%),
    #fff;
}

.contact-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  width: 100%;
}

.contact-form {
  gap: 16px;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.contact-card:nth-child(2) {
  border-left-color: var(--magenta);
}

.contact-card h2,
.contact-card p {
  margin-bottom: 0;
}

.contact-card p {
  font-size: 16px;
}

.map-placeholder {
  display: grid;
  min-height: 280px;
  margin-top: 34px;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(76, 174, 228, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 245, 251, 0.9), rgba(255, 255, 255, 0.94)),
    var(--soft);
}

.map-placeholder h2 {
  margin-bottom: 10px;
}

.map-placeholder p:last-child {
  margin-bottom: 0;
}

.profile-update-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 30%),
    #fff;
}

.profile-update-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(45, 76, 91, 0.1);
}

.profile-update-hero h1,
.profile-update-hero p:last-child {
  margin-bottom: 0;
}

.profile-hero-summary {
  min-width: 260px;
  padding: 18px;
  border-left: 5px solid var(--magenta);
  border-radius: 8px;
  background: #fff;
}

.profile-update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 24px;
  align-items: start;
}

.profile-update-card,
.password-update-card {
  width: 100%;
}

.profile-update-card {
  border-top-color: var(--magenta);
}

.password-update-card {
  border-top-color: var(--blue);
}

.password-help {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.password-help strong {
  color: var(--ink);
}

.password-help span {
  color: var(--muted);
  line-height: 1.45;
}

.forgot-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 34%),
    #fff;
}

.forgot-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.forgot-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(260px, 0.42fr);
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}

.forgot-panel {
  width: 100%;
}

.forgot-help {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.forgot-help h2,
.forgot-help p {
  margin-bottom: 0;
}

.forgot-help .icon {
  margin-bottom: 0;
}

.error-layout {
  grid-template-columns: minmax(0, 620px);
}

.error-panel {
  border-top-color: var(--magenta);
}

.error-panel h1 {
  font-size: clamp(28px, 3vw, 38px);
}

.error-message {
  margin-bottom: 28px;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
  border-left: 4px solid var(--magenta);
  background: var(--soft);
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.benefit-detail-page {
  min-height: calc(100vh - 146px);
  background:
    linear-gradient(180deg, rgba(223, 245, 251, 0.82), rgba(255, 255, 255, 0) 30%),
    #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--magenta);
}

.benefit-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(45, 76, 91, 0.1);
}

.benefit-detail-hero h1,
.benefit-detail-hero p:last-child {
  margin-bottom: 0;
}

.benefit-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.benefit-detail-main,
.benefit-detail-sidebar {
  display: grid;
  gap: 24px;
}

.benefit-detail-image {
  display: grid;
  min-height: 360px;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border: 1px dashed rgba(76, 174, 228, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 245, 251, 0.9), rgba(255, 255, 255, 0.94)),
    var(--soft);
}

.detail-section,
.detail-info-card {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(45, 76, 91, 0.08);
}

.detail-section h2,
.detail-info-card h2 {
  margin-bottom: 14px;
}

.detail-section p:last-child,
.detail-info-card p:last-child {
  margin-bottom: 0;
}

.detail-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-steps li {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.detail-steps strong {
  color: var(--ink);
}

.detail-steps span {
  color: var(--muted);
  line-height: 1.45;
}

.detail-bullets {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-bullets li {
  position: relative;
  padding: 16px 18px 16px 44px;
  line-height: 1.5;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.detail-bullets li::before {
  position: absolute;
  left: 18px;
  color: var(--magenta);
  content: "+";
  font-weight: 800;
}

.detail-bullets strong {
  color: var(--ink);
}

.detail-info-card {
  display: grid;
  gap: 16px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 6vw;
  }

  .hero,
  .contrast,
  .login-page,
  .register-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .login-page,
  .register-page {
    min-height: 0;
  }

  .register-panel {
    max-width: none;
    justify-self: stretch;
  }

  .hero-media {
    max-width: 560px;
    margin: 0 auto;
  }

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

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

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

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

  .profile-update-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 15px;
  }

  .section {
    padding: 58px 6vw;
  }

  .hero {
    padding-top: 46px;
  }

  .audience-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .stats-list div {
    grid-template-columns: 1fr;
  }

  .login-support {
    grid-template-columns: 1fr;
  }

  .login-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero,
  .benefit-detail-hero,
  .profile-update-hero,
  .form-row,
  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-hero-summary {
    min-width: 0;
    width: 100%;
  }

  .form-row {
    display: flex;
    width: 100%;
  }

  .field-group {
    width: 100%;
  }

  .benefits-summary,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-filters {
    justify-content: flex-start;
  }

  .benefit-detail-image {
    min-height: 240px;
  }

  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
