/* Layout and visual styles for the sexual-violence prevention resource. */
:root {
  color-scheme: light;
  --ink: #10243b;
  --muted: #587086;
  --paper: #f4f7f5;
  --white: #fff;
  --line: #dce7e6;
  --teal: #087e78;
  --mint: #dff4ec;
  --coral: #c95f4c;
  --violet: #7160b1;
  --gold: #b87912;
  --shadow: 0 12px 30px #15344d0d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 85% 0, #e1f1ed 0, transparent 32rem), var(--paper);
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
.topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(24px, calc((100% - 1100px) / 2));
  border-bottom: 1px solid var(--line);
  background: #f7faf8ed;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffe18a;
  color: #12384b;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 3px 0 #d8a536;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 14px;
}
.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar nav a {
  padding: 8px 12px;
  border-radius: 9px;
  color: #4b6579;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.topbar nav .nav-cta {
  background: var(--ink);
  color: #fff;
}
.page-shell {
  width: min(1050px, calc(100% - 36px));
  margin: 25px auto 50px;
}
.back-link {
  display: inline-block;
  margin: 0 0 14px;
  color: #526d80;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #ffffff30;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, #ffffff17 0 2px, transparent 3px) 0 0/22px 22px,
    linear-gradient(118deg, #10243b, #164b5b 55%, #087e78);
  box-shadow: 0 20px 44px #153b4d20;
}
.hero:after {
  position: absolute;
  right: -65px;
  bottom: -190px;
  width: 350px;
  height: 350px;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  box-shadow:
    0 0 0 32px #ffffff08,
    0 0 0 72px #ffffff07;
  content: "";
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #c9f2e6;
}
.hero h1 {
  max-width: 700px;
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #e3f0ef;
  font-size: 16px;
}
.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
  padding: 11px 15px;
  border-radius: 10px;
  background: #ffd66d;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.content-section {
  padding-top: 50px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.section-heading h2,
.response h2,
.resources h2 {
  margin: 0;
  font-size: clamp(23px, 3.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.learning-card {
  position: relative;
  min-height: 185px;
  padding: 21px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.learning-card.teal {
  --accent: #148875;
}
.learning-card.coral {
  --accent: #c95f4c;
}
.learning-card.violet {
  --accent: #7160b1;
}
.learning-card.gold {
  --accent: #b87912;
}
.number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
}
.learning-card h3 {
  margin: 12px 0 6px;
  font-size: 17px;
}
.learning-card p,
.response p,
.resources > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.response {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 25px;
  border: 1px solid #dce9e3;
  border-radius: 18px;
  background: #eaf3ef;
}
.response h2 {
  margin-bottom: 8px;
}
.help-box {
  padding: 19px;
  border: 1px solid #c9ddd5;
  border-radius: 14px;
  background: #fff;
}
.help-label {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.help-box strong {
  font-size: 20px;
}
.help-box p {
  margin: 4px 0 10px;
  font-size: 12px;
}
.help-box a,
.video-copy > a {
  color: #087e78;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.help-box a:hover,
.video-copy > a:hover {
  text-decoration: underline;
}
.videos-section {
  scroll-margin-top: 20px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #10243b;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-copy {
  padding: 17px;
}
.video-source {
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.video-copy h3 {
  margin: 6px 0;
  font-size: 17px;
  line-height: 1.25;
}
.video-copy p {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 12px;
}
.video-note {
  margin: 12px 0 0;
  color: #607789;
  font-size: 11px;
}
.resources {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  align-items: center;
  margin-top: 35px;
  padding: 24px;
  border: 1px solid #dce7e6;
  border-radius: 18px;
  background: #fff;
}
.resources > div > p {
  margin-top: 7px;
}
.resource-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.resource-links a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf9;
  text-decoration: none;
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.resource-links a:hover {
  transform: translateY(-2px);
  border-color: #9bbfb4;
}
.resource-links span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.resource-links strong {
  font-size: 12px;
  line-height: 1.4;
}
.classroom-note {
  margin-top: 16px;
  padding: 17px 19px;
  border: 1px solid #efdfa9;
  border-radius: 14px;
  background: #fff9e8;
  color: #59491f;
  font-size: 12px;
}
.classroom-note strong {
  display: block;
  margin-bottom: 4px;
  color: #493a16;
}
.classroom-note p {
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #607789;
  font-size: 10px;
}
footer a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid #e0ae38;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .topbar {
    padding-inline: 18px;
  }
  .page-shell {
    width: calc(100% - 24px);
    margin-top: 16px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 8px;
  }
  .response,
  .resources {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .resources {
    gap: 15px;
  }
}
@media (max-width: 500px) {
  .brand small {
    font-size: 9px;
  }
  .topbar nav {
    gap: 0;
  }
  .topbar nav a {
    padding: 7px;
    font-size: 10px;
  }
  .learning-grid,
  .resource-links {
    grid-template-columns: 1fr;
  }
  .learning-card {
    min-height: 0;
    padding: 17px;
  }
  .hero {
    padding: 27px 21px;
    border-radius: 20px;
  }
  .content-section {
    padding-top: 38px;
  }
  .response {
    padding: 18px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin-top: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
