@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --line: #e7ded7;
  --text: #24272c;
  --muted: #6f7682;
  --accent: #e6785f;
  --accent-soft: #faede9;
  --accent-pale: #f7dcd5;
  --teal: #617979;
  --footer: #292c2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

svg {
  display: block;
}

.container {
  width: min(1216px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(832px, calc(100% - 48px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 244, .94);
  border-bottom: 1px solid #ebe3dd;
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand {
  font-size: 20px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.brand-mark.dark {
  width: 36px;
  height: 36px;
  background: rgba(230, 120, 95, .22);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
  color: #686c73;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.emergency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(230, 120, 95, .18);
}

.home-hero {
  min-height: 654px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 654px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(560px, 100%);
  padding-top: 8px;
}

.pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #6d7179;
  font-size: 14px;
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e99b8b;
}

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

.hero-copy h1,
.section-intro h1,
.section-intro h2,
.about-copy-section h1 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--text);
}

.hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 5.2vw, 72px);
}

em {
  color: var(--accent);
  font-style: italic;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 34px;
  color: #636b78;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-action {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 26px rgba(230, 120, 95, .22);
}

.secondary-action {
  border: 2px solid var(--accent-pale);
  background: rgba(255, 255, 255, .4);
  color: var(--accent);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action svg,
.secondary-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 39%;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 82%, rgba(255, 255, 255, .92) 0 34px, rgba(255, 255, 255, .25) 35px, rgba(255, 255, 255, 0) 70px),
    linear-gradient(155deg, rgba(250, 247, 244, .98) 0 11%, rgba(252, 231, 221, .95) 26%, rgba(241, 157, 126, .96) 58%, rgba(223, 111, 84, .96) 100%);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(250, 247, 244, .78) 42%, rgba(250, 247, 244, 0) 100%);
  z-index: 4;
}

.sun {
  position: absolute;
  left: 71%;
  bottom: 130px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 44px 20px rgba(255, 255, 255, .55);
  z-index: 3;
}

.cloud {
  position: absolute;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 244, 236, .68);
  z-index: 2;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.cloud-a {
  right: 10%;
  bottom: 182px;
  width: 260px;
  transform: skewX(-12deg);
}

.cloud-a::before {
  width: 74px;
  height: 30px;
  left: 190px;
  top: -17px;
}

.cloud-a::after {
  width: 110px;
  height: 22px;
  left: 16px;
  top: 6px;
}

.cloud-b {
  left: 26%;
  bottom: 178px;
  width: 430px;
  opacity: .6;
}

.cloud-b::before {
  width: 80px;
  height: 54px;
  left: 118px;
  top: -38px;
}

.cloud-b::after {
  width: 170px;
  height: 24px;
  left: 216px;
  top: 14px;
}

.cloud-c {
  right: -70px;
  bottom: 252px;
  width: 250px;
  height: 10px;
  opacity: .55;
  transform: skewX(-22deg);
}

.cloud-c::before {
  width: 65px;
  height: 18px;
  left: 180px;
  top: -14px;
}

.ridge {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: #d7745d;
  transform-origin: bottom;
}

.ridge-soft {
  height: 198px;
  background: rgba(250, 234, 226, .74);
  clip-path: polygon(0 38%, 10% 26%, 20% 42%, 32% 26%, 43% 40%, 54% 36%, 66% 54%, 76% 48%, 88% 58%, 100% 42%, 100% 100%, 0 100%);
  z-index: 1;
}

.ridge-one {
  height: 188px;
  background: linear-gradient(180deg, #cf6957 0%, #e48466 100%);
  clip-path: polygon(28% 86%, 40% 67%, 50% 58%, 58% 64%, 66% 82%, 74% 72%, 82% 70%, 93% 84%, 100% 70%, 100% 100%, 28% 100%);
  z-index: 3;
}

.ridge-two {
  height: 142px;
  background: linear-gradient(180deg, #e28a74 0%, #bd624e 100%);
  clip-path: polygon(0 58%, 14% 42%, 28% 52%, 40% 40%, 55% 60%, 66% 32%, 74% 48%, 87% 38%, 100% 18%, 100% 100%, 0 100%);
  opacity: .88;
  z-index: 2;
}

.ridge-three {
  height: 72px;
  background: linear-gradient(180deg, #9f5749 0%, #6b4039 100%);
  clip-path: polygon(0 82%, 20% 62%, 36% 76%, 54% 50%, 70% 64%, 82% 38%, 100% 26%, 100% 100%, 0 100%);
  z-index: 4;
}

.alert-strip {
  min-height: 86px;
  background: var(--accent);
  color: #fff;
}

.alert-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.alert-inner strong,
.alert-pills,
.alert-pills a,
.alert-pills span {
  display: flex;
  align-items: center;
}

.alert-inner strong {
  gap: 10px;
  font-size: 17px;
}

.alert-inner svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alert-pills {
  gap: 20px;
  flex-wrap: wrap;
}

.alert-pills a,
.alert-pills span {
  gap: 9px;
  min-height: 36px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.intro-section {
  padding-bottom: 78px;
}

.intro-section h2,
.subheading,
.prepared-title {
  color: var(--text);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.feature-card,
.info-card,
.help-card,
.support-card,
.student-card,
.school-card,
.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-card {
  min-height: 190px;
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #e9c8bd;
}

.feature-card h3,
.info-card h2,
.help-card h3,
.support-card h3,
.student-card h3,
.school-card h3,
.chart-card h3 {
  color: #142033;
  font-weight: 800;
}

.feature-card h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.feature-card p,
.info-card p,
.help-card p,
.support-card p,
.chart-card p,
.school-card p,
.student-card p {
  color: var(--muted);
}

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

.stats-section {
  padding-top: 30px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 82px;
}

.section-intro.wide {
  max-width: 880px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .32em;
}

.section-intro h1,
.about-copy-section h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.1vw, 48px);
}

.section-intro h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(40px, 4.1vw, 50px);
}

.section-intro p,
.about-copy-section p {
  margin-bottom: 0;
  color: #646b76;
  font-size: 18px;
}

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

.chart-card {
  min-height: 434px;
  padding: 36px 32px 28px;
}

.chart-card h3 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.2;
}

.chart-card > p {
  margin: 4px 0 24px;
  font-size: 14px;
}

.bar-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.bar-chart text {
  fill: #6d7788;
  font-size: 14px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.grid-line {
  stroke: #dedede;
  stroke-dasharray: 4 5;
}

.axis-line {
  stroke: #94a0af;
  stroke-width: 2;
}

.bar {
  fill: var(--accent);
}

.donut-wrap {
  position: relative;
  width: min(430px, 100%);
  height: 302px;
  margin: 8px auto 0;
}

.donut {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  transform: translate(-50%, -45%);
  background: conic-gradient(
    #e4775d 0 33%,
    #d6a077 33% 44%,
    #dda587 44% 56%,
    #657d7d 56% 74%,
    #f8a35b 74% 100%
  );
}

.donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(transparent 0 18%, #fff 18% 19.2%, transparent 19.2% 33%);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 44px;
  border-radius: 50%;
  background: var(--surface);
}

.donut-label {
  position: absolute;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}

.label-physical {
  right: 40px;
  top: 54px;
}

.label-psych {
  left: 10px;
  top: 112px;
  color: #f08a65;
}

.label-economic {
  left: 64px;
  bottom: 54px;
  color: var(--teal);
}

.label-sexual {
  right: 58px;
  bottom: 50px;
  color: #df9b81;
}

.label-digital {
  right: -4px;
  bottom: 106px;
  color: #d6a077;
}

.page-main {
  min-height: 640px;
}

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

.info-card {
  min-height: 206px;
  padding: 28px;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h2 {
  margin: 25px 0 8px;
  font-size: 18px;
}

.info-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.help-section .section-intro {
  margin-bottom: 92px;
}

.subheading {
  margin: 0 0 28px;
}

.subheading.lower {
  margin-top: 96px;
}

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

.help-card {
  min-height: 240px;
  padding: 28px;
}

.help-card strong {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.help-card h3 {
  margin: 2px 0 8px;
  font-size: 18px;
}

.help-card p {
  margin-bottom: 0;
  font-size: 14px;
}

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

.support-card {
  padding: 28px;
}

.support-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.support-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.about-main .section {
  padding: 94px 0;
}

.about-copy-section {
  padding-bottom: 70px;
}

.about-copy-section h1 {
  margin-bottom: 26px;
}

.about-copy-section p {
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-copy-section .note {
  color: #7d7f84;
  font-size: 14px;
  font-style: italic;
}

.prepared-section {
  background: #f7f3ef;
  padding-top: 80px;
}

.prepared-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

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

.student-card {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.student-card span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}

.student-card h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.student-card p {
  margin-bottom: 0;
  font-size: 12px;
}

.school-card {
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 28px 32px;
}

.school-icon {
  flex: 0 0 auto;
  background: #e8eeee;
  color: var(--teal);
}

.school-card span:not(.icon-box) {
  display: block;
  color: #858a92;
  font-size: 12px;
  letter-spacing: .08em;
}

.school-card h3 {
  margin: 2px 0 2px;
  font-size: 18px;
}

.school-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 64px 0 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  gap: 90px;
  padding-bottom: 38px;
}

.footer-brand {
  margin-bottom: 22px;
  color: #fff;
  font-size: 20px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #e8edf3;
}

.footer-grid > div:first-child p {
  max-width: 390px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin-top: 8px;
}

.footer-grid p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
}

.footer-bottom strong {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .brand {
    margin-right: auto;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
  }

  .home-hero,
  .hero-inner {
    min-height: 590px;
  }

  .hero-art {
    left: 28%;
    opacity: .8;
  }

  .chart-grid,
  .info-grid,
  .feature-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .container,
  .container.narrow {
    width: min(100% - 32px, 520px);
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    gap: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .emergency-btn {
    min-width: 84px;
    min-height: 38px;
    padding: 8px 16px;
  }

  .home-hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 84px;
  }

  .hero-art {
    inset: 225px 0 0 0;
    opacity: .9;
  }

  .hero-art::before {
    width: 100%;
    height: 46%;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(250, 247, 244, .7) 48%, rgba(250, 247, 244, 0) 100%);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p,
  .section-intro p,
  .about-copy-section p {
    font-size: 16px;
  }

  .alert-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }

  .alert-pills {
    gap: 10px;
  }

  .section,
  .about-main .section {
    padding: 68px 0;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .section-intro h1,
  .section-intro h2,
  .about-copy-section h1 {
    font-size: 38px;
  }

  .chart-grid,
  .info-grid,
  .feature-grid,
  .help-grid,
  .support-grid,
  .student-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .chart-card {
    min-height: auto;
    padding: 26px 20px;
  }

  .donut-wrap {
    height: 330px;
  }

  .label-physical {
    right: 10px;
  }

  .label-psych {
    left: 0;
  }

  .label-digital {
    right: 0;
  }

  .footer-bottom,
  .school-card {
    flex-direction: column;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .pill {
    font-size: 12px;
  }

  .donut {
    width: 158px;
    height: 158px;
  }

  .donut::after {
    inset: 38px;
  }
}
