/* For Parents — trust, calm, grounded (scoped .page-parents) */

.page-parents {
  background: #f4f6fa;
  color: var(--ink);
}

.page-parents main > section {
  position: relative;
}

.p-hero {
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 11vw, 108px) 20px 48px;
  overflow: hidden;
  border-bottom: 1px solid rgba(12, 16, 40, 0.06);
}
.p-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #e4eaf5 0%, #eef0f8 45%, #f0f4fb 100%);
}
.p-hero__glow {
  position: absolute;
  width: min(420px, 88vw);
  height: min(280px, 38vh);
  right: -5%;
  top: 20%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.p-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 880px) {
  .p-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  }
}
.p-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 16, 40, 0.45);
}
.p-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.p-hero__sub {
  margin: 0 0 22px;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 600;
  color: rgba(12, 16, 40, 0.68);
  max-width: 40ch;
  line-height: 1.5;
}
.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.p-hero__art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 16px 20px;
}
.p-hero__art img {
  width: min(120px, 32vw);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 16px 36px rgba(74, 86, 196, 0.2));
}

.p-hero__phone {
  width: min(200px, 52vw);
  transform: rotate(2deg);
}
.p-hero__phone .phone__glare {
  border-radius: inherit;
}

.p-dash-preview {
  margin: 0 auto 16px;
  max-width: min(260px, 88vw);
}
.p-dash-preview .phone {
  margin: 0 auto;
}

.p-growth-sheet {
  margin: 20px auto 0;
  max-width: min(520px, 94vw);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 16, 40, 0.1);
  background: #eef1f8;
}
.p-growth-sheet img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.page-parents .p-hero .btn--ghost {
  background: rgba(12, 16, 40, 0.05);
  color: var(--ink);
  border: 1px solid rgba(12, 16, 40, 0.12);
}

.p-section {
  padding: 48px 20px 52px;
}
.p-section--alt {
  background: #fff;
}
.p-section--muted {
  background: #f8fafc;
}
.p-section__inner {
  max-width: 920px;
  margin: 0 auto;
}
.p-section__head {
  max-width: 48ch;
  margin-bottom: 24px;
}
.p-section__head .h2 {
  margin-top: 6px;
}

.p-hook-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .p-hook-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.p-hook-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12, 16, 40, 0.07);
  box-shadow: 0 12px 36px rgba(31, 35, 82, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.p-hook-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 18px 44px rgba(99, 102, 241, 0.1);
}
.p-hook-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}
.p-hook-card p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(12, 16, 40, 0.58);
  line-height: 1.4;
}
.p-hook-sub {
  margin: 26px auto 0;
  max-width: 42ch;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(12, 16, 40, 0.62);
  line-height: 1.5;
}

.p-understand {
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
}
.p-understand p {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
}
.p-understand ul {
  margin: 0;
  padding-left: 1.15em;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(12, 16, 40, 0.72);
  line-height: 1.55;
}
.p-understand .p-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dawn-deep);
}

.p-diff-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .p-diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .p-diff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.p-diff-card {
  padding: 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(12, 16, 40, 0.08);
  box-shadow: 0 10px 32px rgba(31, 35, 82, 0.05);
}
.p-diff-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dawn-deep);
}
.p-diff-card p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(12, 16, 40, 0.62);
  line-height: 1.45;
}

.p-scenarios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-scenario {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(12, 16, 40, 0.07);
}
@media (min-width: 640px) {
  .p-scenario {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
  }
}
.p-scenario__label {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}
.p-scenario__arrow {
  font-weight: 800;
  color: rgba(99, 102, 241, 0.7);
  text-align: center;
  font-size: 1.1rem;
}
.p-scenario__out {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(12, 16, 40, 0.65);
  line-height: 1.4;
}
@media (min-width: 640px) {
  .p-scenario__out {
    text-align: right;
  }
}

.p-dash-wrap {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.p-dash-wrap > .lead {
  margin-bottom: 20px;
}
.p-dash {
  text-align: left;
  border-radius: 18px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid rgba(12, 16, 40, 0.08);
  box-shadow: 0 18px 48px rgba(31, 35, 82, 0.07);
}
.p-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.p-dash__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}
.p-dash__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--dawn-deep);
}
.p-dash__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(12, 16, 40, 0.55);
}
.p-dash__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(12, 16, 40, 0.06);
}
.p-dash__list li:last-child {
  border-bottom: none;
}
.p-dash__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.p-dash__tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.12);
  color: rgba(12, 16, 40, 0.72);
}
.p-dash__bar-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(12, 16, 40, 0.42);
  margin-bottom: 6px;
}
.p-dash__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(12, 16, 40, 0.06);
  overflow: hidden;
}
.p-dash__bar-fill {
  height: 100%;
  width: 64%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #34d399);
}

.p-when-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .p-when-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.p-when-tile {
  padding: 16px 12px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 16, 40, 0.08);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
}

.p-trust {
  text-align: center;
  max-width: 38ch;
  margin: 0 auto;
}
.p-trust p {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  font-weight: 700;
  color: rgba(12, 16, 40, 0.76);
  line-height: 1.55;
}

.p-esa {
  padding: 40px 20px;
  background: linear-gradient(180deg, #f1f5f9 0%, #eef2ff 100%);
  border-top: 1px solid rgba(12, 16, 40, 0.06);
  text-align: center;
}
.p-esa__inner {
  max-width: 520px;
  margin: 0 auto;
}
.p-esa__inner > p:first-of-type {
  margin: 0 0 12px;
  font-weight: 700;
}
.p-esa ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 26em;
  margin-left: auto;
  margin-right: auto;
}
.p-esa li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(12, 16, 40, 0.72);
}
.p-esa li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--dawn-deep);
  font-weight: 800;
}

.page-parents .hiw-learn__grid {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .page-parents .hiw-learn__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .page-parents .hiw-learn__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.page-parents .p-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-out-soft), transform 0.55s var(--ease-out-soft);
}
.page-parents .p-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .page-parents .p-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
