.hero-banner {
  background: #d9efff;
  line-height: 0;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 78px;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-trust-text {
  position: absolute;
  left: 5.2%;
  top: 47.2%;
  width: 37.4%;
  height: 7.8%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #0879d3, #0871c8);
  color: #fff;
  font-size: 1.8vw;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.topbar .nav-wrap {
  justify-content: space-between;
}

.hero-links {
  background: linear-gradient(110deg, #eef9ff, #c8e9ff);
  border-bottom: 1px solid #d5e6f5;
}

.hero-links-inner {
  padding-top: 26px;
  padding-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-links p {
  color: #073a85;
  font-size: 14px;
  font-style: italic;
  margin: 18px 0 0;
}

.program-wrap {
  display: grid;
  gap: 34px;
}

.program-intro {
  max-width: 880px;
}

.program-intro > p:not(.eyebrow) {
  font-size: 17px;
}

.program-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-details article {
  background: #fff;
  border: 1px solid #d5e6f5;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(7,47,120,.06);
  padding: 26px;
  text-align: center;
}

.program-details article > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg,#075db2,#0d8be7);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.program-details h3 {
  font-size: 22px;
}

.regulation-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px;
  border: 1px solid #c9dcf0;
  border-radius: 18px;
  background: #f4f9ff;
}

.regulation-card h3 {
  font-size: 24px;
}

.regulation-card p {
  margin-bottom: 8px;
}

.regulation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 10px;
  background: #164fc1;
  color: #fff;
  font-weight: 800;
}

.regulation-link:hover,
.regulation-link:focus {
  background: #073a85;
}

@media (max-width: 600px) {
  .brand-logo {
    width: 40px;
    height: 46px;
  }

  .hero-links .btn {
    width: 100%;
  }

  .program-details,
  .regulation-card {
    grid-template-columns: 1fr;
  }

  .regulation-link {
    width: 100%;
  }
}

.information-section {
  background: #fff;
}

.information-wrap {
  display: grid;
  gap: 34px;
}

.information-intro,
.help-heading {
  max-width: 980px;
}

.information-intro > p:not(.eyebrow),
.help-heading > p:not(.eyebrow) {
  font-size: 17px;
}

.information-intro > strong {
  display: block;
  margin-top: 18px;
  color: #072f78;
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.official-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid #cfe3f5;
  border-radius: 20px;
  background: #f6fbff;
  box-shadow: 0 10px 28px rgba(7,47,120,.06);
}

.official-card h3,
.contact-cards h3 {
  font-size: 25px;
}

.official-card > strong {
  color: #073a85;
  margin-top: auto;
}

.official-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #0877d1;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.official-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 10px;
  background: #164fc1;
  color: #fff;
  font-weight: 850;
  text-transform: uppercase;
}

.official-button:hover,
.official-button:focus {
  background: #073a85;
}

.help-heading {
  padding-top: 28px;
  border-top: 1px dashed #bed5e9;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-cards > article {
  padding: 28px;
  border: 1px solid #d5e6f5;
  border-radius: 20px;
  background: linear-gradient(180deg,#f0f9ff,#fff);
}

.contact-cards address {
  color: #073a85;
  font-style: normal;
}

.contact-lines,
.official-channels {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-lines a,
.official-channels > a,
.official-channels > span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d5e6f5;
}

.contact-lines span,
.official-channels span span {
  color: #52647d;
  overflow-wrap: anywhere;
}

.complaint-checklist {
  display: grid;
  grid-template-columns: 1.2fr repeat(4,1fr);
  align-items: center;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  background: #eef7ff;
  border: 1px solid #cfe3f5;
}

.complaint-checklist h3 {
  margin-bottom: 0;
}

.complaint-checklist label {
  height: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.complaint-checklist input {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .official-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .complaint-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .official-grid,
  .complaint-checklist {
    grid-template-columns: 1fr;
  }
}

/* Visual polish */
body {
  background: #f7fbff;
}

.topbar {
  box-shadow: 0 8px 25px rgba(7,47,120,.08);
}

nav a {
  position: relative;
}

nav a.active {
  color: #0877d1;
  border-color: #ffc928;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg,#ffc928 0 24%,#0877d1 24% 68%,#0a9b69 68% 100%);
}

.hero-links {
  position: relative;
  overflow: hidden;
}

.hero-links::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}

.hero-links-inner {
  position: relative;
  z-index: 1;
}

.quick {
  padding-top: 34px;
  background: linear-gradient(180deg,#fff,#f4faff);
}

.quick a {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(7,47,120,.10);
}

.quick a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--card-accent,#0877d1);
}

.quick a:nth-child(1){--card-accent:#ffc928}.quick a:nth-child(2){--card-accent:#0877d1}.quick a:nth-child(3){--card-accent:#0a9b69}.quick a:nth-child(4){--card-accent:#7559c7}

#program {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 12%,rgba(8,119,209,.10),transparent 24%),
    radial-gradient(circle at 2% 86%,rgba(255,201,40,.13),transparent 21%),
    #fff;
}

.program-intro {
  position: relative;
  padding-left: 24px;
  border-left: 6px solid #ffc928;
}

.program-details article:nth-child(1){background:linear-gradient(145deg,#fffaf0,#fff)}
.program-details article:nth-child(2){background:linear-gradient(145deg,#f0f8ff,#fff)}
.program-details article:nth-child(3){background:linear-gradient(145deg,#effbf6,#fff)}

.program-details article,
.resource-grid article,
.official-card,
.contact-cards article {
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.program-details article:hover,
.resource-grid article:hover,
.official-card:hover,
.contact-cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(7,47,120,.14);
  border-color: #8ec7ee;
}

.regulation-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg,#eef7ff,#fff9e4);
  border: 0;
  box-shadow: 0 14px 36px rgba(7,47,120,.10);
}

.regulation-card::before {
  content: "§";
  position: absolute;
  right: 24px;
  top: -36px;
  color: rgba(7,47,120,.06);
  font-family: Georgia,serif;
  font-size: 170px;
}

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

.guide-section {
  position: relative;
  background:
    linear-gradient(135deg,rgba(8,119,209,.05) 25%,transparent 25%) 0 0/32px 32px,
    #edf7ff;
}

.guide-block {
  border: 0;
  box-shadow: 0 16px 40px rgba(7,47,120,.09);
}

.flow-steps li {
  overflow: hidden;
  transition: transform .2s ease;
}

.flow-steps li:hover {
  transform: translateY(-4px);
}

.flow-steps li::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(8,119,209,.08);
}

.guide-card {
  position: relative;
  overflow: hidden;
}

.guide-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}

#media {
  position: relative;
  background: linear-gradient(160deg,#fff 0 55%,#eef8ff 55% 100%);
}

.resource-grid article {
  position: relative;
  overflow: hidden;
  border: 0;
  border-top: 5px solid var(--resource-accent,#0877d1);
}

.resource-grid article:nth-child(1){--resource-accent:#0877d1}.resource-grid article:nth-child(2){--resource-accent:#ffc928}.resource-grid article:nth-child(3){--resource-accent:#d33c4a}.resource-grid article:nth-child(4){--resource-accent:#0a9b69}

.resource-grid .icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #eef7ff;
}

.information-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%,rgba(255,201,40,.14),transparent 18%),
    radial-gradient(circle at 94% 45%,rgba(8,119,209,.10),transparent 22%),
    #fff;
}

.official-card:first-child {
  background: linear-gradient(145deg,#eaf6ff,#fff);
  border-top: 6px solid #0877d1;
}

.official-card:nth-child(2) {
  background: linear-gradient(145deg,#fff9e5,#fff);
  border-top: 6px solid #ffc928;
}

.contact-cards > article:nth-child(1){border-top:6px solid #0877d1}.contact-cards > article:nth-child(2){border-top:6px solid #0a9b69}.contact-cards > article:nth-child(3){border-top:6px solid #7559c7}

.faq {
  background: linear-gradient(180deg,#edf7ff,#f9fcff);
}

.accordion details[open] {
  border-color: #8ec7ee;
  box-shadow: 0 10px 25px rgba(7,47,120,.08);
}

.section-head h2,
.information-intro h2,
.help-heading h2 {
  position: relative;
  display: inline-block;
}

.section-head h2::after,
.information-intro h2::after,
.help-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 13px;
  border-radius: 10px;
  background: linear-gradient(90deg,#ffc928,#0877d1);
}

.section-head h2::after {
  margin-left: auto;
  margin-right: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease,transform .55s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }
  .reveal { opacity:1; transform:none; }
}

@media (max-width: 600px) {
  .program-intro { padding-left:16px; }
  .hero-banner::after { height:6px; }
}

.media-wrap {
  position: relative;
}

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

.media-card {
  overflow: hidden;
  border: 1px solid #d5e6f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7,47,120,.10);
  transition: transform .25s ease,box-shadow .25s ease;
}

.media-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 46px rgba(7,47,120,.16);
}

.media-preview {
  display: block;
  width: 100%;
  height: 250px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #dcebfa;
  cursor: pointer;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}

.media-preview:hover img {
  transform: scale(1.04);
}

.video-cover-preview img {
  object-position: center;
}

.video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  height: 250px;
  background:
    radial-gradient(circle at 20% 15%,rgba(255,255,255,.22),transparent 20%),
    linear-gradient(145deg,#075db2,#0d8be7);
  color: #fff;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.video-placeholder > span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding-left: 6px;
  border: 3px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 34px;
}

.video-placeholder small {
  font-weight: 750;
}

.media-card-body {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
}

.media-type {
  color: #0877d1;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.media-card h3 {
  margin-top: 8px;
  font-size: 27px;
}

.media-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 14px 18px;
  border: 0;
  border-radius: 11px;
  background: #164fc1;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.media-button:hover,
.media-button:focus {
  background: #073a85;
}

dialog.media-modal {
  width: min(1000px,calc(100% - 28px));
  max-height: 92vh;
  overflow: auto;
  padding: 30px;
}

.media-viewer {
  text-align: center;
}

.media-viewer img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 18px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(7,47,120,.16);
}

.video-viewer video {
  display: block;
  width: min(100%,440px);
  max-height: 72vh;
  margin: 18px auto 0;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 14px 40px rgba(5,55,120,.22);
}

.viewer-open {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 10px;
  background: #164fc1;
  color: #fff;
  font-weight: 800;
}

.media-message {
  max-width: 620px;
  margin: auto;
  padding: 30px 10px;
  text-align: center;
}

.pending-play {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(145deg,#075db2,#0d8be7);
  color: #fff;
  font-size: 34px;
}

@media (max-width: 900px) {
  .media-grid { grid-template-columns:1fr; }
  .media-card { display:grid;grid-template-columns:.75fr 1.25fr; }
  .media-preview,.video-placeholder { height:100%;min-height:300px; }
}

@media (max-width: 600px) {
  .media-card { display:block; }
  .media-preview,.video-placeholder { height:230px;min-height:0; }
  .media-card-body { min-height:260px; }
  dialog.media-modal { padding:22px 14px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .program-details {
    grid-template-columns: 1fr;
  }
}

.guide-wrap {
  display: grid;
  gap: 26px;
}

.guide-section .section-head {
  max-width: 900px;
}

.guide-section .section-head strong {
  display: block;
  color: #072f78;
  margin-top: 16px;
}

.guide-block {
  background: #fff;
  border: 1px solid #d5e6f5;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(7,47,120,.06);
}

.guide-title {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.guide-title > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #0877d1;
  color: #fff;
  font-weight: 900;
}

.guide-title h2 {
  font-size: clamp(25px, 3vw, 36px);
  margin-bottom: 10px;
}

.guide-title p {
  margin-top: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-steps li {
  position: relative;
  padding: 24px 20px;
  border: 1px solid #cfe3f5;
  border-radius: 16px;
  background: #f7fbff;
}

.flow-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ffc928;
  color: #072f78;
  font-weight: 900;
}

.flow-steps h3 {
  font-size: 18px;
}

.separate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.guide-card {
  border-radius: 18px;
  padding: 26px;
  border: 1px solid #d5e6f5;
}

.guide-card h3 {
  font-size: 24px;
}

.guide-card ul {
  margin: 16px 0 0;
  padding-left: 21px;
}

.guide-card li {
  margin: 10px 0;
}

.card-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.rights-card,.action-card { background: #f3fbf7; border-color: #a9dec9; }
.duties-card { background: #f5f9ff; border-color: #b8d7f0; }
.avoid-card { background: #fff6f7; border-color: #f3bdc2; }
.rights-card .card-symbol,.action-card .card-symbol { background: #09845d; }
.duties-card .card-symbol { background: #0877d1; }
.avoid-card .card-symbol { background: #bd2939; }

.privacy-alert {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 32px;
  border: 2px solid #ffcf3e;
  border-radius: 22px;
  background: #fff8dc;
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: #ffc928;
  font-size: 34px;
}

.privacy-alert h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.privacy-callout {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #072f78;
  color: #fff;
}

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .guide-block,
  .privacy-alert {
    padding: 22px;
  }

  .guide-title,
  .privacy-alert {
    grid-template-columns: 1fr;
  }

  .flow-steps,
  .separate-grid {
    grid-template-columns: 1fr;
  }
}
