:root {
  --ink: #171720;
  --text: #29293a;
  --muted: #6c6f83;
  --soft: #f8f5ff;
  --white: #fff;
  --purple: #7350e6;
  --purple-deep: #5832d8;
  --pink: #d97cf0;
  --yellow: #ffcf5a;
  --orange: #ff8a2a;
  --lime: #c7f84d;
  --green: #28c76f;
  --red: #ec4e62;
  --line: rgba(115, 80, 230, 0.14);
  --line-strong: rgba(115, 80, 230, 0.24);
  --shadow-sm: 0 14px 36px rgba(52, 36, 112, 0.08);
  --shadow-md: 0 24px 64px rgba(52, 36, 112, 0.14);
  --shadow-lg: 0 34px 100px rgba(52, 36, 112, 0.2);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
body.mirl-v7-homepage {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 207, 90, 0.18), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(217, 124, 240, 0.12), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, #f8f4ff 42%, #fff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body.mirl-v7-homepage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(115, 80, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 80, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

.wrap {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--purple-deep);
  color: #fff;
  border-radius: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 10px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 45px rgba(52, 36, 112, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 140deg, var(--yellow), var(--pink), var(--purple), var(--yellow));
  box-shadow: 0 12px 28px rgba(115, 80, 230, 0.22);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #5c5f73;
  font-size: 14px;
  font-weight: 800;
}

.nav a:not(.nav-cta):hover {
  color: var(--purple-deep);
}

.nav .menu,
.nav > ul {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cta {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 14px 26px rgba(88, 50, 216, 0.24);
}

.v7-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(115, 80, 230, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--purple-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

body.v7-nav-open {
  overflow: hidden;
}

.mirl-child-safety-page .hero {
  padding: 78px 0 64px;
}

.mirl-child-safety-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 46px;
  align-items: center;
}

.mirl-child-safety-page .eyebrow,
.mirl-child-safety-page .label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(115, 80, 230, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(52, 36, 112, 0.06);
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mirl-child-safety-page .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(40, 199, 111, 0.14);
}

.mirl-child-safety-page h1 {
  margin: 24px 0 18px;
  color: var(--ink);
  font-size: clamp(48px, 7.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 900;
  text-wrap: balance;
}

.mirl-child-safety-page .grad {
  color: transparent;
  background: linear-gradient(100deg, #191923 8%, var(--purple-deep) 42%, #f76a0c 76%, #191923 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mirl-child-safety-page .lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

.mirl-child-safety-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.mirl-child-safety-page .btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 17px;
  font-weight: 900;
  font-size: 15px;
  transition: 0.22s ease;
}

.mirl-child-safety-page .btn:hover {
  transform: translateY(-2px);
}

.mirl-child-safety-page .primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 18px 34px rgba(88, 50, 216, 0.28);
}

.mirl-child-safety-page .secondary {
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(115, 80, 230, 0.18);
  box-shadow: 0 14px 30px rgba(52, 36, 112, 0.08);
}

.mirl-child-safety-page .safety-card {
  position: relative;
  min-height: 520px;
  border-radius: 44px;
  padding: 34px;
  background: #171225;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mirl-child-safety-page .safety-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -170px;
  bottom: -190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 207, 90, 0.34), transparent 70%);
  filter: blur(8px);
  opacity: 0.7;
}

.mirl-child-safety-page .safety-card > * {
  position: relative;
  z-index: 1;
}

.mirl-child-safety-page .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.mirl-child-safety-page .shield {
  width: 128px;
  height: 128px;
  margin: 42px 0 26px;
  border-radius: 38px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 25% 10%, rgba(255, 207, 90, 0.95), rgba(217, 124, 240, 0.75) 52%, rgba(115, 80, 230, 0.8));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 58px;
}

.mirl-child-safety-page .safety-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.mirl-child-safety-page .safety-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.72;
}

.mirl-child-safety-page .card-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mirl-child-safety-page .card-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mirl-child-safety-page .mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(199, 248, 77, 0.18);
  color: var(--lime);
  font-weight: 900;
}

.mirl-child-safety-page .card-point b {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 3px;
}

.mirl-child-safety-page .card-point span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.mirl-child-safety-page .section {
  padding: 82px 0;
}

.mirl-child-safety-page .section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.mirl-child-safety-page h2 {
  margin: 24px 0 16px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-wrap: balance;
}

.mirl-child-safety-page .section-head p {
  margin: 0 auto;
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.mirl-child-safety-page .standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px;
}

.mirl-child-safety-page .standard {
  position: relative;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.mirl-child-safety-page .standard:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 245, 255, 0.86)) !important;
  border-color: rgba(115, 80, 230, 0.2) !important;
}

.mirl-child-safety-page .standard::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  right: -120px;
  top: -130px;
  background: radial-gradient(circle, rgba(217, 124, 240, 0.22), transparent 68%);
}

.mirl-child-safety-page .standard > * {
  position: relative;
}

.mirl-child-safety-page .num {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff3bf, var(--yellow));
  color: #6a4300;
  font-weight: 900;
}

.mirl-child-safety-page .standard h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.mirl-child-safety-page .standard p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.mirl-child-safety-page .standard ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.mirl-child-safety-page .standard li {
  position: relative;
  padding-left: 24px;
  color: #55596e;
  font-size: 14px;
  line-height: 1.55;
}

.mirl-child-safety-page .standard li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-deep);
  font-weight: 900;
}

.mirl-child-safety-page .dark-panel {
  border-radius: 42px;
  padding: 44px;
  background: #171225;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.mirl-child-safety-page .dark-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  right: -160px;
  top: -210px;
  background: radial-gradient(circle, rgba(115, 80, 230, 0.62), transparent 66%);
}

.mirl-child-safety-page .dark-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  left: -150px;
  bottom: -190px;
  background: radial-gradient(circle, rgba(255, 207, 90, 0.36), transparent 70%);
}

.mirl-child-safety-page .dark-panel > * {
  position: relative;
  z-index: 1;
}

.mirl-child-safety-page .dark-panel h2 {
  color: #fff;
  text-align: center;
  margin-top: 0;
}

.mirl-child-safety-page .dark-panel .intro {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.mirl-child-safety-page .action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mirl-child-safety-page .action-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mirl-child-safety-page .action-card b {
  display: block;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.mirl-child-safety-page .action-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.58;
}

.mirl-child-safety-page .report-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.mirl-child-safety-page .panel {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.mirl-child-safety-page .panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -130px;
  top: -140px;
  background: radial-gradient(circle, rgba(217, 124, 240, 0.2), transparent 70%);
}

.mirl-child-safety-page .panel.yellow::before {
  background: radial-gradient(circle, rgba(255, 207, 90, 0.3), transparent 70%);
}

.mirl-child-safety-page .panel > * {
  position: relative;
}

.mirl-child-safety-page .panel h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.mirl-child-safety-page .panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.mirl-child-safety-page .email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(88, 50, 216, 0.24);
}

.mirl-child-safety-page .list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.mirl-child-safety-page .list-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: #55596e;
  font-size: 15px;
  line-height: 1.58;
}

.mirl-child-safety-page .check {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(199, 248, 77, 0.4);
  color: #2f6b00;
  font-weight: 900;
}

.mirl-child-safety-page .promise {
  padding: 60px;
  border-radius: 44px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 207, 90, 0.55), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(217, 124, 240, 0.54), transparent 34%),
    linear-gradient(135deg, #1f073f 0%, #643ee0 48%, #f76a0c 100%);
  box-shadow: 0 36px 110px rgba(88, 50, 216, 0.28);
}

.mirl-child-safety-page .promise h2 {
  color: #fff;
  margin: 0 auto 16px;
  max-width: 860px;
  font-size: clamp(38px, 5.4vw, 72px);
}

.mirl-child-safety-page .promise p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.72;
}

.footer {
  padding: 32px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(115, 80, 230, 0.12);
  padding-top: 24px;
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo .custom-logo-link,
.brand-logo--footer .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo--footer .custom-logo {
  max-width: 96px !important;
  max-height: 24px !important;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in-view {
  opacity: 1 !important;
  transform: none !important;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .v7-nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 30;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.nav-cta) {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
  }

  .nav a:not(.nav-cta):hover {
    background: rgba(115, 80, 230, 0.08);
  }

  .nav .nav-cta {
    width: 100%;
    margin-top: 4px;
  }

  .mirl-child-safety-page .hero-grid,
  .mirl-child-safety-page .report-box {
    grid-template-columns: 1fr;
  }

  .mirl-child-safety-page .hero {
    padding-top: 58px;
  }

  .mirl-child-safety-page .standards-grid,
  .mirl-child-safety-page .action-grid {
    grid-template-columns: 1fr !important;
  }

  .mirl-child-safety-page .standard:first-child {
    grid-column: auto !important;
  }

  .mirl-child-safety-page .safety-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    padding-top: 10px;
  }

  .topbar-inner,
  .nav {
    border-radius: 24px;
  }

  .topbar-inner {
    gap: 10px;
  }

  .brand {
    font-size: 18px;
  }

  .mirl-child-safety-page .hero {
    padding: 48px 0 46px;
  }

  .mirl-child-safety-page h1 {
    font-size: clamp(46px, 13.5vw, 72px);
    line-height: 1;
    letter-spacing: -0.038em;
  }

  .mirl-child-safety-page .lead {
    font-size: 18px;
    line-height: 1.65;
  }

  .mirl-child-safety-page .actions .btn {
    width: 100%;
  }

  .mirl-child-safety-page .safety-card {
    padding: 24px;
    border-radius: 34px;
    margin-top: 14px;
  }

  .mirl-child-safety-page .shield {
    width: 104px;
    height: 104px;
    border-radius: 30px;
    font-size: 48px;
    margin: 34px 0 22px;
  }

  .mirl-child-safety-page .section {
    padding: 64px 0;
  }

  .mirl-child-safety-page .standard,
  .mirl-child-safety-page .panel {
    padding: 28px;
    border-radius: 30px;
  }

  .mirl-child-safety-page .dark-panel {
    padding: 32px 22px;
    border-radius: 34px;
  }

  .mirl-child-safety-page .promise {
    padding: 42px 22px;
    border-radius: 32px;
  }

  .footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }
}
