/* aftercare-kit.css
   Copyright © 2026 LexPro. All rights reserved.

   The after-school site's kit (site/lib/sites/aftercare/kit/), with the
   Flutter values of home/home_kit.dart, how/how_kit.dart,
   parents/parents_kit.dart, parents/parents_questions.dart and
   aftercare/after_kit.dart. HomeKit's breakpoints: wide over 980px, phone at
   600px and under. */

/* ---- Type (HomeType) ---- */
.h2 {
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; font-weight: 800;
  letter-spacing: -0.03em; color: var(--home-ink);
}
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; font-weight: 400; color: var(--home-text); }

/* UiEyebrow */
.eyebrow {
  display: flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-800);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); flex: none; }

/* ---- HomeBand ---- */
.hband { padding: 88px 0; background: #fff; }
.hband--tint { background: var(--home-tint); }
.hband--ice { background: var(--home-ice); }
.hband--hero, .shero {
  background: radial-gradient(90% 90% at 85% 20%, #EDF2FA 0%, rgba(237, 242, 250, 0) 70%), #fff;
}
.hband__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .hband { padding: 60px 0; } }

/* HomeHead */
.hhead { margin-bottom: 40px; }
.hhead__title { max-width: 660px; }
.hhead--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hhead__lede { max-width: 440px; }

/* ---- HomeMoreLink ---- */
.more {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 2px; max-width: 100%;
  color: var(--home-navy); text-decoration: none; border-radius: 6px;
}
.more__text {
  display: inline-flex; align-items: flex-end; gap: 8px; padding-bottom: 2px;
  border-bottom: 2px solid var(--accent-400);
  font-size: 17px; line-height: 1.3; font-weight: 700;
}
.more__text .icon { margin-bottom: 1px; }
.more:hover .more__text { border-bottom-color: var(--home-navy); }

/* ---- Chips (HomeChip) ---- */
.chip {
  display: inline-block; padding: 2.75px 7.7px; border-radius: 999px;
  font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .33px; text-transform: uppercase;
}
.chip--called { background: var(--home-green-bg); color: var(--home-green-ink); }
.chip--line { background: var(--home-amber-bg); color: var(--home-amber-ink); }

/* ---- Cards (HomeCard, AfterCardView, SiteNoteCard) ---- */
.hcard {
  padding: 24px; border-radius: 20px; border: 1px solid var(--home-line); background: #fff;
  box-shadow: 0 1px 2px rgba(12, 29, 58, .059), 0 12px 32px -12px rgba(12, 29, 58, .18);
  scroll-margin-top: 100px;
}
.hcard--muted { background: var(--home-tint); border-color: var(--home-line3); box-shadow: none; }
.hcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hcard__title { margin-top: 16px; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.44px; color: var(--home-ink); }
.hcard__body { margin-top: 8px; font-size: 16px; line-height: 1.55; font-weight: 400; color: var(--home-muted); }
.hcard__links { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--home-ice); color: var(--home-navy); flex: none;
}

/* ResponsiveGrid: the wide count over 980px, two to 601px, one on a phone. */
/* --cols and --gap centre a card left alone on the last row (base.css,
   .grid-balance). */
.hgrid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); --cols: 2; --gap: 20px; }
@media (min-width: 981px) {
  .hgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); --cols: 3; }
}
/* Four across only from 1200px: at 1024 four cards were 225px wide and their
   titles broke onto three lines. */
@media (min-width: 1200px) {
  .hgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); --cols: 4; }
}
@media (max-width: 600px) { .hgrid { grid-template-columns: minmax(0, 1fr); --cols: 1; } }
section[id] { scroll-margin-top: 84px; }

/* Lists of ticked lines (_ListCard, _StatusList) */
.list-card__title { margin-top: 0; }
.ticks { margin-top: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--home-ink); }
.ticks .icon { margin-top: 3px; color: var(--home-navy); }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 600px) { .two-lists { grid-template-columns: minmax(0, 1fr); } }

/* ---- The inner-page hero (SubPageHero) ---- */
.shero__inner {
  max-width: 1200px; margin: 0 auto; padding: 36px 20px 96px;
  display: flex; align-items: center; gap: 56px;
}
.shero__text { flex: 102 1 0; min-width: 0; }
.shero__stage-wrap { flex: 98 1 0; min-width: 0; }
.shero__title {
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em;
  color: var(--home-ink);
}
.hl {
  color: var(--home-navy); text-decoration: underline; text-decoration-color: var(--accent-400);
  text-decoration-thickness: .09em; text-underline-offset: .06em; text-decoration-skip-ink: none;
}
.shero__lede { margin-top: 24px; max-width: 560px; }
.shero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 980px) {
  .shero__inner { display: block; padding: 24px 20px 72px; }
  .shero__stage-wrap { margin-top: 40px; max-width: 560px; }
}

/* SubPageStage: the photo frame (4:3.6) with the tile behind it and the
   status card over its right edge. */
.stage { position: relative; padding: 0 0 64px 104px; }
.stage__tile {
  position: absolute; right: -26px; top: -26px; width: 48%; aspect-ratio: 1;
  border-radius: 40px; background: var(--accent-tile); opacity: .75;
}
.stage--ice .stage__tile { right: auto; top: auto; left: 18px; bottom: 10px; width: 40%; background: #C9D8EE; opacity: .7; }
.stage__box { position: relative; }
.stage__frame {
  aspect-ratio: 4 / 3.6; border-radius: 32px; background-color: var(--home-ice2);
  background-size: cover; background-position: 50% 62%;
  box-shadow: 0 2px 4px rgba(12, 29, 58, .05), 0 30px 60px -28px rgba(12, 29, 58, .38);
  position: relative; overflow: hidden;
}
.stage__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(234, 240, 248, .22) 60%, rgba(234, 240, 248, .34) 100%);
}
.float {
  position: absolute; right: -18px; top: 40%; max-width: calc((100% + 104px) * .72);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: #fff; border: 1px solid var(--home-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(12, 29, 58, .059), 0 12px 32px -12px rgba(12, 29, 58, .18);
}
.float__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; flex: none; }
.float__words { display: flex; flex-direction: column; min-width: 0; }
.float__title { font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--home-ink); }
.float__sub { font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--home-text); }
.tone--called { background: var(--home-green-bg); color: var(--home-green-ink); }
.tone--line { background: var(--home-amber-bg); color: var(--home-amber-ink); }
.tone--sent { background: #E8EEFB; color: #1D3F8A; }
.tone--held { background: #FBE7E2; color: #8E2410; }
.tone--done { background: var(--home-ice2); color: var(--home-navy); }
@media (max-width: 600px) {
  .stage { padding: 0 0 44px 28px; }
  .stage__tile { right: -10px; top: -14px; }
  .float { right: 0; max-width: calc((100% + 28px) * .72); padding: 10px 12px 10px 8px; }
  .float__icon { width: 30px; height: 30px; }
  .float__title { font-size: 13px; }
  .float__sub { font-size: 12.5px; }
}

/* ---- Questions (ParentsQuestion, FaqQuestion) ---- */
.qlist { display: grid; gap: 12px; }
.q { background: #fff; border: 1px solid var(--home-line); border-radius: 16px; }
.q__summary {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; cursor: pointer;
  list-style: none; border-radius: 16px;
}
.q__summary::-webkit-details-marker { display: none; }
.q__summary:hover { background: rgba(12, 29, 58, .03); }
.q__question { flex: 1; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.28px; color: var(--home-ink); }
.q__tile {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--home-tint2); color: var(--home-navy); flex: none;
}
.q__minus, .q[open] .q__plus { display: none; }
.q[open] .q__minus { display: block; }
.q__answer { padding: 0 20px 16px; font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--home-text); }

/* ---- The closing card (SubPageClosing) ---- */
.closing-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 56px; border-radius: 28px; background-color: var(--home-navy-deep);
  background-size: cover; background-position: 50% 60%;
  box-shadow: 0 40px 80px -40px rgba(12, 29, 58, .6);
}
.closing-card__words { max-width: 640px; }
.closing-card .h2 { color: #fff; }
.closing-card .lede { margin-top: 12px; color: #D2DCEC; }
@media (max-width: 600px) { .closing-card { padding: 28px; } }

/* ---- The FAQ's tabs (FaqTabsSection on UiTabs) ---- */
.tabs__list {
  display: flex; width: fit-content; max-width: 100%; overflow-x: auto;
  border-bottom: 1px solid var(--gray-200); margin-bottom: 18px; scrollbar-width: none;
}
.tabs__tab {
  flex: none; min-height: 48px; padding: 0 14px; border: 0; border-bottom: 4px solid transparent;
  background: transparent; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--gray-600);
}
.tabs__tab:hover { background: rgba(12, 29, 58, .04); }
/* The strip scrolls (overflow-x), which clipped a ring drawn outside a tab to a
   sliver: the ring goes inside. */
.tabs__tab:focus-visible { outline-offset: -3px; box-shadow: none !important; }
.tabs__tab[aria-selected="true"] { border-bottom-color: var(--accent-400); color: var(--home-ink); font-weight: 800; }
.tabs__panel + .tabs__panel { margin-top: 32px; }
.tabs__panel-title { margin-bottom: 12px; font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--home-ink); }
.js .tabs__panel { display: none; margin-top: 0; }
.js .tabs__panel.is-active { display: block; }
.js .tabs__panel-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
html:not(.js) .tabs__list { display: none; }

/* ---- Contact (ContactPageSection, ContactFormCard) ---- */
.split { display: flex; align-items: flex-start; gap: 56px; }
.split__start, .split__end { flex: 1 1 0; min-width: 0; }
@media (max-width: 980px) { .split { display: block; } .split__end { margin-top: 56px; } }
.contact__lede { margin-top: 16px; max-width: 560px; }
.demo-card { display: inline-block; margin-top: 26px; max-width: 100%; }
.demo-card__lead { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--home-ink); }
.demo-card__address { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.contact-card {
  padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px rgba(12, 29, 58, .059), 0 12px 32px -12px rgba(12, 29, 58, .18);
}
.contact-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cfield--span { grid-column: 1 / -1; }
@media (max-width: 540px) { .contact-form__fields { grid-template-columns: minmax(0, 1fr); } }
.cfield label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--gray-800); }
.cfield input, .cfield textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 12px;
  background: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.cfield textarea { min-height: 160px; resize: vertical; }
.cfield input::placeholder { color: var(--gray-500); }
.cfield input:focus, .cfield textarea:focus { outline: 2px solid var(--accent-400); outline-offset: 0; border-color: var(--accent-400); }
.cfield input[aria-invalid="true"], .cfield textarea[aria-invalid="true"] { border-color: var(--red-600); }
.cfield__error { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--red-700); }
.contact-form__failure { margin-top: 16px; font-size: 15px; line-height: 1.6; color: #8E2410; }
.contact-form__send { margin-top: 18px; }
.contact-sent { padding: 4px; }
