:root {
  font-synthesis: none;
}

@font-face {
  font-family: "Kalam";
  src: url("assets/fonts/kalam-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kalam";
  src: url("assets/fonts/kalam-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #4f4356;
  --muted: #756b7b;
  --brand-violet: #45278f;
  --brand-coral: #f36f8d;
  --brand-mint: #75cdbb;
  --rose: #f8cdda;
  --rose-strong: #ee9fbb;
  --lilac: #d9c8ff;
  --sky: #c9eafe;
  --mint: #caeadc;
  --cream: #fff0bd;
  --peach: #ffe3d1;
  --paper: #fffafa;
  --white: #ffffff;
  --shadow: 0 22px 54px rgba(96, 76, 107, 0.13);
  --soft-shadow: 0 10px 28px rgba(96, 76, 107, 0.09);
  --radius: 20px;
  --radius-small: 12px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 7%, rgba(248, 205, 218, 0.45), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(201, 234, 254, 0.48), transparent 23rem),
    linear-gradient(180deg, #fffafd 0%, #fffefd 48%, #f9fcff 100%);
  min-height: 100vh;
}

body.dialog-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(238, 159, 187, 0.17) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(177, 208, 246, 0.17) 0 1.5px, transparent 2.5px);
  background-position:
    0 0,
    24px 26px;
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 85%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0.75rem auto 0;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: rgba(255, 252, 253, 0.9);
  box-shadow: 0 8px 26px rgba(96, 76, 107, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  color: var(--brand-violet);
  font-family: "Kalam", "Nunito", sans-serif;
  font-weight: 700;
  line-height: 0.82;
  text-decoration: none;
  white-space: normal;
}

.brand-heart {
  display: block;
  flex: 0 0 auto;
  color: var(--brand-coral);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.75;
  transform: rotate(-10deg);
}

.brand-lockup {
  display: grid;
  min-width: 7.2rem;
}

.brand-name {
  font-size: 1.18rem;
  line-height: 0.8;
}

.brand-by {
  margin-top: 0.22rem;
  margin-left: 2.25rem;
  color: var(--brand-coral);
  font-size: 0.9rem;
  line-height: 0.9;
}

.brand-mini-heart {
  color: var(--brand-mint);
  font-size: 1.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav a {
  padding: 0.65rem 0.58rem;
  border-radius: 999px;
  color: var(--muted);
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav .nav-external {
  color: #5d796f;
}

.site-nav .nav-external span {
  display: inline-block;
  margin-left: 0.12rem;
  font-size: 0.76rem;
  transition: transform 180ms ease;
}

.site-nav .nav-external:hover span,
.site-nav .nav-external:focus-visible span {
  transform: translate(1px, -1px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(248, 205, 218, 0.32);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.site-nav .nav-contact {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: #fff1f7;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(21rem, 0.76fr) minmax(32rem, 1.24fr);
  align-items: center;
  gap: 3.5rem;
  padding: 2.6rem 0 2rem;
}

.hero-copy,
.hero-visual,
.about-grid,
.section-heading,
.contact-panel,
.intro-band,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: #9a5f7d;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--rose-strong);
  box-shadow:
    0.85rem 0.05rem 0 var(--cream),
    1.7rem 0.02rem 0 var(--mint);
}

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

h1,
h2,
h3 {
  font-family: "Kalam", "Nunito", sans-serif;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 9.5ch;
  margin-bottom: 1.3rem;
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-title-main {
  position: relative;
  display: block;
  color: var(--brand-violet);
}

.hero-title-by {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0.3rem 0 0 0.8rem;
  color: var(--brand-coral);
  font-size: 0.58em;
  font-weight: 700;
  line-height: 1.05;
}

.hero-title-by::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: -0.2rem;
  bottom: -0.24rem;
  height: 0.24rem;
  border-radius: 999px;
  background: var(--brand-mint);
  transform: rotate(-2deg);
}

.hero-title-heart {
  color: var(--brand-mint);
  font-size: 0.82em;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.4rem;
  font-weight: 700;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-text {
  max-width: 34rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 1.4;
}

.word-coral {
  color: var(--brand-coral);
}

.word-mint {
  color: #56bda8;
}

.word-violet {
  color: var(--brand-violet);
}

.hero-support {
  max-width: 35rem;
  margin-bottom: 1.55rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
.button-card,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button {
  padding: 0.9rem 1.15rem;
  color: var(--ink);
  box-shadow: 0 14px 26px rgba(114, 84, 124, 0.13);
}

.button:hover,
.button:focus-visible,
.button-card:hover,
.button-card:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  filter: saturate(1.04);
}

.button-primary {
  min-height: 3.2rem;
  padding-inline: 1.35rem;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(79, 67, 86, 0.23);
}

.button-arrow {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  margin-left: 0.7rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.button-primary:hover .button-arrow,
.button-primary:focus-visible .button-arrow {
  transform: translateY(2px);
}

.button-secondary {
  border: 1px solid rgba(117, 107, 123, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #66576d;
  box-shadow: 0 8px 20px rgba(96, 76, 107, 0.08);
}

.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 0.9rem;
}

.hero-quicklinks a {
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(117, 107, 123, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6c5a72;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-quicklinks a:hover,
.hero-quicklinks a:focus-visible {
  border-color: rgba(238, 159, 187, 0.5);
  background: #fff1f6;
  color: var(--ink);
  outline: none;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 35.5rem;
  justify-self: end;
  border: 6px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: #fff6fb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 250, 253, 0.06), transparent 52%),
    linear-gradient(180deg, transparent 64%, rgba(255, 248, 252, 0.2));
}

.idea-clouds,
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.idea-clouds {
  z-index: 3;
}

.hero-sparkles {
  z-index: 2;
}

.idea-cloud {
  --cloud-rotate: 0deg;
  --cloud-y: -5px;
  position: absolute;
  padding: 0.64rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 52% 48% 50% 46% / 54% 48% 52% 46%;
  background: rgba(255, 255, 255, 0.91);
  color: #67566e;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(111, 84, 124, 0.12);
  backdrop-filter: blur(11px);
  transform: rotate(var(--cloud-rotate));
  animation: idea-float 6.5s ease-in-out infinite;
}

.idea-cloud::after {
  content: "";
  position: absolute;
  width: 0.38rem;
  height: 0.38rem;
  right: 14%;
  bottom: -0.28rem;
  border-radius: 50%;
  background: inherit;
  box-shadow: 0.45rem 0.42rem 0 -0.08rem rgba(255, 255, 255, 0.86);
}

.idea-empathy {
  top: 5%;
  left: 4%;
  --cloud-rotate: -5deg;
  background: rgba(255, 226, 238, 0.94);
  font-size: 0.9rem;
}

.idea-respect {
  top: 17%;
  right: 4%;
  --cloud-rotate: 5deg;
  background: rgba(223, 246, 237, 0.94);
  animation-delay: -2.2s;
}

.idea-caring {
  top: 42%;
  left: 2%;
  --cloud-rotate: 3deg;
  background: rgba(239, 231, 255, 0.95);
  font-size: 0.83rem;
  animation-delay: -3.7s;
}

.idea-restorative {
  top: 24%;
  left: 16%;
  --cloud-rotate: -3deg;
  background: rgba(255, 246, 206, 0.95);
  font-size: 0.72rem;
  animation-delay: -1.4s;
}

.idea-dialogue {
  top: 50%;
  right: 2%;
  --cloud-rotate: -4deg;
  background: rgba(222, 242, 255, 0.95);
  animation-delay: -4.6s;
}

.idea-sociograms {
  bottom: 19%;
  left: 4%;
  --cloud-rotate: -6deg;
  background: rgba(223, 246, 237, 0.95);
  font-size: 0.88rem;
  animation-delay: -2.8s;
}

.idea-bullying {
  right: 3%;
  bottom: 5%;
  --cloud-rotate: 4deg;
  background: rgba(255, 226, 238, 0.95);
  font-size: 0.74rem;
  animation-delay: -5.2s;
}

.idea-classroom {
  top: 4%;
  left: 43%;
  --cloud-rotate: 2deg;
  background: rgba(225, 244, 255, 0.95);
  font-size: 0.73rem;
  animation-delay: -3.1s;
}

.idea-school {
  bottom: 4%;
  left: 39%;
  --cloud-rotate: -2deg;
  background: rgba(239, 231, 255, 0.95);
  font-size: 0.73rem;
  animation-delay: -1.8s;
}

.idea-protocols {
  top: 70%;
  left: 29%;
  --cloud-rotate: 3deg;
  background: rgba(255, 246, 206, 0.96);
  font-size: 0.69rem;
  animation-delay: -4.1s;
}

a.idea-protocols {
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
}

a.idea-protocols:hover,
a.idea-protocols:focus-visible {
  outline: none;
  box-shadow: 0 13px 28px rgba(111, 84, 124, 0.2);
  filter: saturate(1.08);
}

.sparkle,
.floating-heart,
.idea-curve {
  position: absolute;
  display: block;
}

.sparkle {
  color: #f0b75e;
  font-size: 1rem;
  text-shadow: 0 3px 10px rgba(240, 183, 94, 0.28);
  animation: sparkle-glow 3.8s ease-in-out infinite;
}

.sparkle-one {
  top: 14%;
  left: 30%;
}

.sparkle-two {
  right: 25%;
  bottom: 18%;
  color: #b99cde;
  animation-delay: -1.7s;
}

.sparkle-three {
  top: 58%;
  left: 29%;
  color: #7fcdbb;
  font-size: 1.35rem;
  animation-delay: -2.5s;
}

.floating-heart {
  color: rgba(238, 159, 187, 0.82);
  font-size: 1.15rem;
  animation: heart-appear 5.8s ease-in-out infinite;
}

.heart-one {
  top: 34%;
  right: 25%;
}

.heart-two {
  right: 17%;
  bottom: 30%;
  color: rgba(126, 197, 183, 0.82);
  font-size: 0.9rem;
  animation-delay: -3.2s;
}

.idea-curve {
  width: 5.5rem;
  height: 2.1rem;
  border-top: 2px dashed rgba(152, 124, 163, 0.34);
  border-radius: 50%;
}

.curve-one {
  top: 17%;
  left: 29%;
  transform: rotate(12deg);
}

.curve-two {
  right: 16%;
  bottom: 24%;
  transform: rotate(-23deg);
}

@keyframes idea-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--cloud-rotate));
  }

  50% {
    transform: translateY(var(--cloud-y)) rotate(var(--cloud-rotate));
  }
}

@keyframes sparkle-glow {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.86) rotate(0deg);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.08) rotate(14deg);
  }
}

@keyframes heart-appear {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(2px) scale(0.92);
  }

  50% {
    opacity: 0.82;
    transform: translateY(-4px) scale(1.04);
  }
}

.soft-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.38;
  pointer-events: none;
}

.soft-shape-one {
  width: 12rem;
  height: 12rem;
  left: -6rem;
  top: 10rem;
  background: var(--mint);
}

.soft-shape-two {
  width: 9rem;
  height: 9rem;
  right: 12%;
  bottom: 2rem;
  background: var(--cream);
}

.intro-band {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto 4.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.intro-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 4.5rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(126, 104, 136, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 22px rgba(96, 76, 107, 0.07);
  color: #675a6d;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.intro-item p {
  margin: 0;
}

.credibility-check {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1f3eb;
  color: #4f7466;
  font-size: 0.86rem;
  font-weight: 900;
}

.mini-icon {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-block;
}

.mini-icon-heart {
  transform: rotate(-45deg) scale(0.72);
  border-radius: 0 0 0.45rem 0;
  background: var(--rose-strong);
}

.mini-icon-heart::before,
.mini-icon-heart::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--rose-strong);
}

.mini-icon-heart::before {
  top: -1rem;
  left: 0;
}

.mini-icon-heart::after {
  left: 1rem;
  top: 0;
}

.mini-icon-star {
  border-radius: 0.35rem;
  background: var(--cream);
  transform: rotate(45deg);
}

.mini-icon-star::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.35rem;
  background: var(--cream);
  transform: rotate(45deg);
}

.mini-icon-cloud {
  width: 2.3rem;
  height: 1.25rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--sky);
}

.mini-icon-cloud::before,
.mini-icon-cloud::after {
  content: "";
  position: absolute;
  bottom: 0.45rem;
  border-radius: 50%;
  background: var(--sky);
}

.mini-icon-cloud::before {
  left: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
}

.mini-icon-cloud::after {
  right: 0.32rem;
  width: 1.4rem;
  height: 1.4rem;
}

.about,
.materials,
.programs,
.laws,
.contact {
  scroll-margin-top: 7rem;
  padding: 3.2rem 0;
}

.material-card {
  scroll-margin-top: 7rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.about-card {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 246, 252, 0.9)),
    radial-gradient(circle at 20% 25%, rgba(201, 234, 254, 0.72), transparent 10rem),
    radial-gradient(circle at 85% 70%, rgba(217, 200, 255, 0.68), transparent 11rem);
  box-shadow: var(--shadow);
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  padding: 0.55rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--rose), var(--lilac), var(--sky));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--soft-shadow);
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.portrait-frame::before {
  width: 3.2rem;
  height: 3.2rem;
  right: -1.2rem;
  top: 2.2rem;
}

.portrait-frame::after {
  width: 2rem;
  height: 2rem;
  left: -0.6rem;
  bottom: 3rem;
}

.portrait-image {
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
}

.about-copy {
  width: 100%;
}

.about-copy p,
.section-heading p,
.program-card p,
.law-card p,
.material-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.about-copy p {
  max-width: 42rem;
  font-size: 1.08rem;
}

.about-copy .about-lead {
  margin-bottom: 0.55rem;
  color: #9a5f7d;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.about-detail {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(122, 93, 133, 0.09);
}

.about-detail h3 {
  margin-bottom: 0.8rem;
  color: #765d7e;
  font-size: 1.05rem;
  line-height: 1.3;
}

.about-detail ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-detail li + li {
  margin-top: 0.55rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.about-highlights span {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(122, 93, 133, 0.1);
  color: #765d7e;
  font-weight: 900;
}

.about-quote {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem;
  border-left: 5px solid var(--rose-strong);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 240, 246, 0.72);
  color: #765d7e;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.section-heading p {
  max-width: 26rem;
  margin: 0;
}

.section-heading-centered {
  display: block;
  max-width: 49rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered h2,
.section-heading-centered p {
  max-width: none;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

.material-card,
.program-card {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.material-card {
  display: flex;
  flex-direction: column;
}

.material-image {
  height: 13.5rem;
  margin: 0;
  overflow: hidden;
  background: #fff4f9;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.material-image-icon {
  background: linear-gradient(135deg, #eff9fc, #f8f3ff);
}

.material-image-icon img {
  padding: 0.55rem;
  object-fit: contain;
  transform: none;
}

.material-image-dossier {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf8f8, #f6f2ff);
}

.material-image-dossier img {
  padding: 0.45rem;
  object-fit: contain;
  transform: none;
}

.material-image-app-logo {
  display: grid;
  place-items: center;
  height: 15.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #edf8fb, #fff5f8 52%, #f4efff);
}

.sociogram-logo-button {
  position: relative;
  display: grid;
  width: min(100%, 13.25rem);
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #eef7fa;
  box-shadow: 0 13px 30px rgba(71, 111, 126, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sociogram-logo-button img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  transform: none;
}

.sociogram-logo-button span {
  position: absolute;
  right: 0.7rem;
  bottom: 0.65rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #4f6f7c;
  font-size: 0.73rem;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(71, 111, 126, 0.12);
}

.sociogram-logo-button:hover,
.sociogram-logo-button:focus-visible {
  outline: 3px solid rgba(126, 197, 180, 0.42);
  outline-offset: 4px;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(71, 111, 126, 0.2);
}

.material-image-icon-center {
  display: grid;
  place-items: center;
}

.wellbeing-logo-frame {
  position: relative;
  display: block;
  width: min(90%, 12.4rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 52px;
  background: #e4eff3;
  box-shadow: 0 10px 24px rgba(76, 117, 127, 0.08);
}

.material-image-icon-center .wellbeing-logo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
  transform: translateX(-1.5%) scale(1.03);
}

.crop-left img {
  object-position: 17% 66%;
}

.crop-center img {
  object-position: 50% 78%;
}

.crop-right img {
  object-position: 84% 62%;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem;
}

.card-content p {
  flex: 1;
}

.material-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.material-actions .text-button,
.material-actions .button-card {
  width: 100%;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.material-license-button {
  grid-column: 1 / -1;
}

.text-button {
  align-self: flex-start;
  min-height: auto;
  padding: 0.7rem 1rem;
  background: #fff0f6;
  color: #945978;
  box-shadow: none;
}

.programs {
  position: relative;
}

.programs::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4rem;
  z-index: 0;
  width: min(100%, 76rem);
  height: 74%;
  transform: translateX(-50%);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 240, 189, 0.45), rgba(201, 234, 254, 0.38)),
    rgba(255, 255, 255, 0.28);
}

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

.program-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.program-card-download {
  padding: 0;
  overflow: hidden;
}

.program-card-product {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-top: 4px solid #f38aa5;
}

.program-thumb {
  position: relative;
  height: 15.5rem;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f6, #edf8ff);
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-thumb-product {
  height: 17rem;
  background: linear-gradient(135deg, #fff5f8, #eef9f6 52%, #f3effc);
}

.program-preview-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.94);
  color: #76537b;
  box-shadow: 0 8px 20px rgba(86, 61, 95, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.program-download-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.program-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.program-product-content .resource-tag {
  margin-bottom: 0.8rem;
}

.program-product-description {
  flex: 1;
}

.program-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.program-product-actions .button-card {
  min-height: 3rem;
}

.program-product-actions .program-product-buy {
  grid-column: 1 / -1;
}

.program-product-note {
  margin: 0.9rem 0 0;
  color: #7e7282;
  font-size: 0.78rem;
  line-height: 1.5;
}

.program-download-content p {
  flex: 1;
}

.download-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
}

.download-actions .button-card {
  min-height: 3rem;
}

.button-card-secondary {
  border: 1.5px solid rgba(87, 72, 95, 0.22);
  background: #f7f2fb;
  color: #57485f;
  box-shadow: none;
}

.button-card-secondary:hover,
.button-card-secondary:focus-visible {
  border-color: rgba(87, 72, 95, 0.38);
  background: #f1e8f8;
}

.resource-tag {
  align-self: flex-start;
  margin-bottom: 1.15rem;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: #705771;
  font-size: 0.8rem;
  font-weight: 900;
}

.tag-pink {
  background: #ffe2ed;
}

.tag-mint {
  background: #dcf4e9;
}

.tag-blue {
  background: #dff2ff;
}

.tag-lilac {
  background: #ece4ff;
}

.program-card > p {
  flex: 1;
}

.program-card-featured {
  display: grid;
  min-height: 0;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
  padding: 0;
  border-top: 4px solid #a7cce9;
}

.course-cover {
  position: relative;
  display: grid;
  min-height: 36rem;
  margin: 0;
  padding: 0.8rem;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #edf7ff, #f7f2ff);
}

.course-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.course-access-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.94);
  color: #76537b;
  box-shadow: 0 8px 22px rgba(86, 61, 95, 0.14);
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.course-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3.5vw, 3rem);
}

.course-summary .resource-tag {
  margin-bottom: 0.75rem;
}

.course-summary h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
}

.course-summary p {
  margin-bottom: 1rem;
}

.course-summary .course-tagline {
  color: #53799f;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.65rem;
}

.course-actions .button-card,
.course-dossier-link {
  width: auto;
  min-height: 2.9rem;
  padding: 0.78rem 1.05rem;
}

.course-dossier-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(91, 120, 153, 0.22);
  border-radius: 999px;
  background: #edf7ff;
  color: #536984;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.course-dossier-link:hover,
.course-dossier-link:focus-visible {
  border-color: rgba(91, 120, 153, 0.42);
  background: #e3f2fd;
  outline: none;
  transform: translateY(-2px);
}

.course-summary .course-access-note {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: #7e7282;
  font-size: 0.8rem;
  line-height: 1.5;
}

.button-card {
  width: 100%;
  padding: 0.82rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.button-card.button-card-secondary {
  border: 1.5px solid rgba(87, 72, 95, 0.22);
  background: #f7f2fb;
  color: #57485f;
  box-shadow: none;
}

.button-card.button-card-secondary:hover,
.button-card.button-card-secondary:focus-visible {
  border-color: rgba(87, 72, 95, 0.38);
  background: #f1e8f8;
}

.laws {
  position: relative;
}

.laws::before {
  content: "";
  position: absolute;
  inset: 2.5rem 0 1.5rem;
  z-index: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(248, 205, 218, 0.24), rgba(202, 234, 220, 0.28)),
    rgba(255, 255, 255, 0.25);
}

.laws .section-heading,
.law-grid {
  position: relative;
  z-index: 1;
}

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

.law-card {
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-top: 4px solid var(--rose-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

.law-card-mint {
  border-top-color: #7ec5b4;
}

.law-card-blue {
  border-top-color: #87c5e6;
}

.law-card-lilac {
  border-top-color: #b59adf;
}

.law-icon-frame {
  display: block;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 20px;
  background: #fff9ef;
  box-shadow: 0 8px 20px rgba(111, 84, 124, 0.1);
}

.law-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.law-index {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: #fff0f6;
  color: #955f7d;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.law-card-mint .law-index {
  background: #e5f6ef;
  color: #4f8176;
}

.law-card-blue .law-index {
  background: #e7f5fc;
  color: #537f98;
}

.law-card-lilac .law-index {
  background: #f0eaff;
  color: #735e94;
}

.law-type {
  margin-bottom: 0.4rem;
  color: #9a5f7d !important;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.law-card h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.law-card > p:last-of-type {
  flex: 1;
}

.law-card .text-button {
  margin-top: 0.8rem;
}

.law-open-button {
  text-align: left;
}

.law-dialog {
  width: min(calc(100% - 2rem), 52rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #fffafc;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(62, 42, 73, 0.25);
}

.law-dialog::backdrop {
  background: rgba(61, 42, 71, 0.42);
  backdrop-filter: blur(5px);
}

.law-dialog-shell {
  position: relative;
  padding: 2rem;
  background:
    radial-gradient(circle at 6% 4%, rgba(248, 205, 218, 0.45), transparent 14rem),
    radial-gradient(circle at 96% 94%, rgba(202, 234, 220, 0.5), transparent 15rem),
    #fffafc;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(117, 107, 123, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: #fff0f6;
  outline: none;
  transform: rotate(6deg);
}

.law-dialog-heading {
  max-width: 42rem;
  padding-right: 3.25rem;
}

.law-dialog-heading h2 {
  max-width: 25ch;
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
  line-height: 1.05;
}

.law-dialog-heading p,
.legislation-item p,
.law-dialog-note {
  color: var(--muted);
  line-height: 1.6;
}

.legislation-list {
  display: grid;
  margin: 1.5rem 0 1.25rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(117, 107, 123, 0.13);
}

.legislation-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(117, 107, 123, 0.13);
}

.legislation-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.legislation-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.legislation-tag {
  min-width: 5.6rem;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  color: #705771;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.official-link,
.official-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.6rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(117, 107, 123, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #715a78;
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.official-link:hover,
.official-link:focus-visible,
.official-links a:hover,
.official-links a:focus-visible {
  border-color: rgba(238, 159, 187, 0.5);
  background: #fff0f6;
  outline: none;
  transform: translateY(-1px);
}

.law-dialog-note {
  margin: 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--brand-mint);
  background: rgba(235, 248, 244, 0.62);
  font-size: 0.8rem;
}

.wellbeing-dialog {
  width: min(calc(100% - 2rem), 66rem);
}

.wellbeing-dialog-heading {
  max-width: 52rem;
}

.wellbeing-dialog-heading h2 {
  max-width: 28ch;
}

.wellbeing-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.wellbeing-resource {
  padding: 1.15rem;
  border: 1px solid rgba(117, 107, 123, 0.1);
  border-top: 4px solid #ee9fbb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.wellbeing-resource.resource-mint {
  border-top-color: #7ec5b4;
}

.wellbeing-resource.resource-blue {
  border-top-color: #87c5e6;
}

.wellbeing-resource.resource-lilac {
  border-top-color: #b59adf;
}

.wellbeing-step,
.wellbeing-action-label {
  margin-bottom: 0.3rem;
  color: #9a5f7d;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wellbeing-resource h3,
.wellbeing-action-band h3 {
  margin-bottom: 0.55rem;
  font-size: 1.26rem;
  line-height: 1.2;
}

.wellbeing-resource ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

.wellbeing-resource li::marker {
  color: #cc7d9e;
}

.resource-note {
  margin: 0.8rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(117, 107, 123, 0.12);
  color: #705f76;
  font-size: 0.82rem;
  line-height: 1.5;
}

.wellbeing-action-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(126, 197, 180, 0.35);
  border-radius: 8px;
  background: rgba(229, 246, 239, 0.68);
}

.wellbeing-action-band > div {
  max-width: 39rem;
}

.wellbeing-action-band p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wellbeing-protocol-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.wellbeing-official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.wellbeing-dialog-note {
  border-left-color: #87c5e6;
  background: rgba(231, 245, 252, 0.68);
}

.product-dialog {
  width: min(calc(100% - 2rem), 68rem);
}

.product-dialog-heading {
  max-width: 54rem;
}

.product-dialog-heading h2 {
  max-width: 26ch;
}

.product-dossier-preview {
  display: grid;
  grid-template-columns: minmax(18rem, 1.2fr) minmax(17rem, 0.8fr);
  gap: 1rem;
  align-items: stretch;
  margin: 1.35rem 0 1.6rem;
}

.product-dossier-cover,
.product-dossier-copy {
  margin: 0;
  border: 1px solid rgba(117, 107, 123, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.product-dossier-cover {
  overflow: hidden;
}

.product-dossier-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-dossier-cover figcaption {
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.product-dossier-copy {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
}

.product-dossier-logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(71, 111, 126, 0.12);
}

.product-dossier-copy h3 {
  margin: 0.25rem 0 0.55rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.product-dossier-copy p:not(.section-kicker) {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.product-dossier-copy .button {
  width: 100%;
  min-height: 3rem;
}

.product-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.product-step {
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid rgba(117, 107, 123, 0.1);
  border-top: 4px solid #7ec5b4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.product-step.step-pink {
  border-top-color: #ee9fbb;
}

.product-step.step-blue {
  border-top-color: #87c5e6;
}

.product-step.step-lilac {
  border-top-color: #b59adf;
}

.product-step-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  place-items: center;
  border-radius: 50%;
  background: #e5f6ef;
  color: #4f8176;
  font-weight: 900;
}

.step-pink .product-step-number {
  background: #fff0f6;
  color: #9a5f7d;
}

.step-blue .product-step-number {
  background: #e7f5fc;
  color: #537f98;
}

.step-lilac .product-step-number {
  background: #f0eaff;
  color: #735e94;
}

.product-step h3,
.license-choice h3,
.license-heading h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.2;
}

.product-step p,
.license-choice p,
.product-care-note span {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.product-care-note {
  display: flex;
  gap: 0.6rem 1rem;
  padding: 0.95rem 1rem;
  border-left: 4px solid #87c5e6;
  background: rgba(231, 245, 252, 0.68);
}

.product-care-note strong {
  flex: 0 0 auto;
  color: #537082;
}

.license-heading {
  margin: 1.35rem 0 0.8rem;
}

.license-heading .section-kicker {
  margin-bottom: 0.25rem;
}

.license-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.license-choice {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(117, 107, 123, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.license-choice .license-type {
  margin-bottom: 0.3rem;
  color: #9a5f7d;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.license-choice .text-button {
  margin-top: 0.9rem;
}

.product-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.protocol-dialog {
  width: min(calc(100% - 2rem), 72rem);
}

.protocol-dialog-heading {
  max-width: 56rem;
}

.protocol-dialog-heading h2 {
  max-width: 30ch;
}

.protocol-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(117, 107, 123, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.protocol-search-label {
  display: grid;
  width: min(100%, 34rem);
  gap: 0.4rem;
  color: #715a78;
  font-size: 0.82rem;
  font-weight: 900;
}

.protocol-search-label input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid #e8dff0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.protocol-search-label input:focus {
  border-color: #9fd7ca;
  box-shadow: 0 0 0 4px rgba(159, 215, 202, 0.22);
}

.protocol-search-label input::placeholder {
  color: #a59ba9;
  font-weight: 600;
}

.protocol-count {
  margin: 0 0 0.7rem;
  color: #827487;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.protocol-directory {
  margin-bottom: 1rem;
}

.protocol-group + .protocol-group {
  margin-top: 1.5rem;
}

.protocol-group-title {
  margin: 0 0 0.45rem;
  color: #8f6480;
  font-family: "Nunito", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.protocol-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.protocol-entry[hidden],
.protocol-group[hidden],
.protocol-empty[hidden] {
  display: none !important;
}

.protocol-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(117, 107, 123, 0.13);
}

.protocol-entry h4 {
  margin: 0 0 0.25rem;
  color: #5b4962;
  font-size: 1.18rem;
  line-height: 1.15;
}

.protocol-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.protocol-entry .official-link {
  min-width: 9.2rem;
  max-width: 10.5rem;
  white-space: normal;
  text-align: center;
}

.protocol-entry.is-search-match {
  grid-column: 1 / -1;
  margin: 0.45rem 0;
  padding: 1rem;
  border: 2px solid rgba(159, 215, 202, 0.82);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(235, 248, 244, 0.96), rgba(255, 240, 246, 0.84));
  box-shadow: 0 12px 28px rgba(97, 77, 107, 0.13);
}

.protocol-entry.is-search-match .official-link {
  box-shadow: 0 0 0 4px rgba(159, 215, 202, 0.2);
}

.protocol-empty {
  margin: 1rem 0 0;
  padding: 1.25rem;
  border-top: 1px solid rgba(117, 107, 123, 0.13);
  color: var(--muted);
  text-align: center;
}

.protocol-dialog-note {
  border-left-color: #87c5e6;
  background: rgba(231, 245, 252, 0.68);
}

.inclusion-dialog-note {
  border-left-color: #b59adf;
  background: rgba(240, 234, 255, 0.68);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 20%, rgba(248, 205, 218, 0.52), transparent 15rem),
    radial-gradient(circle at 92% 80%, rgba(202, 234, 220, 0.58), transparent 15rem),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.contact-copy {
  align-self: center;
  padding: clamp(0.5rem, 2vw, 1.4rem);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.contact-links a {
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #765d7e;
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: #765d7e;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid #f4dfec;
  border-radius: 18px;
  background: #fffafd;
  color: var(--ink);
  font: inherit;
  padding: 0.92rem 1rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact-form .form-honey {
  display: none;
}

.contact-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form .form-consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.08rem;
  padding: 0;
  accent-color: var(--rose-strong);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--rose-strong);
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(238, 159, 187, 0.16);
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: #806f88;
  font-weight: 800;
}

.form-note.is-success {
  color: #397568;
}

.form-note.is-error {
  color: #a14d6b;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 2rem auto 0;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #806f88;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
}

.legal-page {
  padding: 1.5rem 0 4rem;
}

.legal-shell {
  width: min(calc(100% - 2rem), 54rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(117, 107, 123, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.legal-shell h1 {
  max-width: none;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: "Kalam", "Nunito", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.05;
}

.legal-shell h2 {
  margin: 2rem 0 0.6rem;
  color: #654f6c;
  font-size: 1.25rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-shell a {
  color: #6c4e8d;
  font-weight: 800;
}

.legal-status {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand-mint);
  border-radius: 6px;
  background: #effaf6;
}

.legal-status strong {
  color: #3e6f66;
}

.legal-updated {
  margin-top: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 1230px) {
  .site-header {
    align-items: flex-start;
    border-radius: 16px;
    padding: 0.7rem;
  }

  .brand {
    min-height: 2.8rem;
    max-width: calc(100% - 3.2rem);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.4rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    background: rgba(255, 250, 252, 0.96);
    box-shadow: var(--soft-shadow);
    transform: translateY(-0.45rem);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    font-size: 0.92rem;
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.8rem;
    gap: 2.75rem;
  }

  .hero-copy {
    max-width: 47rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-visual {
    max-width: 52rem;
    min-height: 35rem;
    justify-self: center;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .section-heading p {
    max-width: none;
  }

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

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

@media (max-width: 760px) {
  .product-dossier-preview {
    grid-template-columns: 1fr;
  }

  .program-card-featured {
    grid-template-columns: 1fr;
  }

  .course-cover {
    min-height: 0;
  }

  .course-cover img {
    height: auto;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-actions {
    display: flex;
  }

  .hero-actions .button {
    width: auto;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .idea-cloud {
    padding: 0.5rem 0.68rem;
    font-size: 0.7rem;
  }

  .idea-empathy,
  .idea-sociograms {
    font-size: 0.78rem;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .legislation-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.7rem;
  }

  .legislation-tag {
    justify-self: start;
  }

  .official-links {
    justify-content: flex-start;
  }

  .wellbeing-resource-grid {
    grid-template-columns: 1fr;
  }

  .wellbeing-action-band {
    display: grid;
  }

  .wellbeing-protocol-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .license-choice-grid {
    grid-template-columns: 1fr;
  }

  .product-care-note {
    display: grid;
  }

  .product-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-dialog-actions .button {
    width: 100%;
    text-align: center;
  }

  .protocol-tools {
    display: grid;
  }

  .protocol-count {
    margin: 0;
  }

  .about,
  .materials,
  .programs,
  .laws,
  .contact {
    padding: 2.25rem 0;
  }
}

@media (max-width: 560px) {
  .program-product-actions {
    grid-template-columns: 1fr;
  }

  .program-product-actions .program-product-buy {
    grid-column: auto;
  }

  .product-dossier-copy {
    grid-template-columns: 1fr;
  }

  .product-dossier-logo {
    width: 4.75rem;
    height: 4.75rem;
  }

  .course-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .course-actions .button-card,
  .course-dossier-link {
    width: 100%;
  }

  .section-shell,
  .intro-band,
  .site-header,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero {
    padding-top: 2.25rem;
    gap: 2rem;
  }

  h1 {
    max-width: none;
    font-size: 2.8rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-support {
    font-size: 0.95rem;
  }

  .intro-band,
  .material-grid,
  .program-grid,
  .law-grid {
    grid-template-columns: 1fr;
  }

  .material-actions,
  .product-flow {
    grid-template-columns: 1fr;
  }

  .material-license-button {
    grid-column: auto;
  }

  .intro-band {
    margin-bottom: 3.25rem;
  }

  .hero-visual {
    min-height: 0;
    border-width: 4px;
    border-radius: 16px;
  }

  .hero-visual img {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .idea-clouds {
    position: relative;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.45rem;
    padding: 1rem 0.7rem 1.25rem;
    border-top: 1px solid rgba(117, 107, 123, 0.09);
    background: rgba(255, 255, 255, 0.92);
  }

  .idea-cloud {
    position: static;
    padding: 0.48rem 0.64rem;
    font-size: 0.67rem;
    box-shadow: 0 6px 14px rgba(111, 84, 124, 0.08);
    animation-duration: 8s;
  }

  .idea-cloud:nth-child(3n + 1) {
    --cloud-rotate: -2deg;
  }

  .idea-cloud:nth-child(3n + 2) {
    --cloud-rotate: 2deg;
  }

  .hero-sparkles {
    height: 75%;
  }

  .idea-curve {
    display: none;
  }

  .hero-quicklinks {
    gap: 0.42rem;
  }

  .hero-quicklinks a {
    padding: 0.48rem 0.62rem;
    font-size: 0.73rem;
  }

  .law-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
  }

  .law-dialog-shell {
    padding: 1.25rem 1rem;
  }

  .law-dialog-heading {
    padding-right: 2.8rem;
  }

  .law-dialog-heading h2 {
    font-size: 2rem;
  }

  .dialog-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .official-link,
  .official-links a {
    white-space: normal;
  }

  .protocol-entry {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .protocol-entry .official-link {
    width: 100%;
    max-width: none;
  }

  .material-image {
    height: 12.25rem;
  }

  .about-card {
    min-height: 0;
    padding: 0.45rem;
  }

  .contact-panel {
    padding: 0.8rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
