/* Alison's Childcare – site styles */

:root {
  --cream: #FBF8F3;
  --sand: #F3EEE6;
  --sage-tint: #EFF1E7;
  --white: #FFFFFF;
  --ink: #2F3A33;
  --ink-soft: #4A544D;
  --sage-dark: #5E6941; /* the logo's green */
  --line: #E8E1D6;
  --field-line: #D9D2C6;
  --coral: #D86F58;     /* a touch deeper than the logo's coral, so white text reads clearly */
  --pink-tint: #FBE3DE;  /* tints of the logo's handprint colours */
  --peach-tint: #FCE8DA;
  --sand-tint: #EFE7DA;
  --error: #9B3B32;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Nunito', system-ui, sans-serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--sage-dark); }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); margin: 0; }
p { margin: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header and logo */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo { display: block; line-height: 0; }
.logo img { width: 240px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--sage-dark); }

/* Buttons */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
}

.btn[hidden] { display: none; }

.btn--lg { padding: 14px 30px; }
.btn--primary { background: var(--sage-dark); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--sage-dark); }
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--sage-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: #CDD2BE; }
.btn--outline:hover { border-color: var(--sage-dark); }

/* Hero */

.hero {
  background: var(--sage-tint);
  border-radius: 32px;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--sage-dark); }
.hero h1 { font-weight: 400; font-size: clamp(38px, 6vw, 60px); line-height: 1.1; max-width: 800px; }
.hero__intro { font-size: 19px; max-width: 620px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 8px; }

/* Sections */

.section { padding-top: 96px; padding-bottom: 96px; }
.section__title { font-weight: 400; font-size: 40px; text-align: center; }
.section__title--left { text-align: left; }
.section__intro { max-width: 720px; margin: 10px auto 40px; text-align: center; color: var(--ink-soft); }

.band { background: var(--sand); padding: 96px 0; }

/* Testimonials carousel */

.testimonials { padding-top: 0; }
.testimonials .section__title { margin-bottom: 40px; }

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 8px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 4px; border-radius: var(--radius); }

.testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  color: var(--pink-tint);
}
.testimonial blockquote { margin: 0; position: relative; }
.testimonial blockquote p { font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.testimonial figcaption img { width: 48px; height: 48px; transform: rotate(-8deg); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.carousel__arrow:hover { border-color: var(--sage-dark); }
.carousel__arrow:disabled { opacity: 0.4; cursor: default; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.carousel__dot[aria-current="true"] { background: var(--sage-dark); }

@media (max-width: 900px) {
  .testimonial { flex-basis: calc((100% - 24px) / 2); }
}

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; margin-bottom: 56px; }
.about__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; font-size: 18px; color: var(--ink-soft); }
.about__text .section__title { color: var(--ink); margin-bottom: 6px; }
.about__photo { flex: 0 1 400px; margin: 0 auto; position: relative; }
.about__photo img:first-child { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--white); box-shadow: 0 0 0 2px var(--pink-tint), 0 18px 40px rgba(47, 58, 51, 0.12); }
.about__hand { position: absolute; left: -6px; bottom: 18px; width: 72px; height: 72px; transform: rotate(-14deg); }

/* Cards */

.cards { display: flex; flex-wrap: wrap; gap: 24px; }

.card {
  flex: 1 1 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.card h3 { font-weight: 600; font-size: 22px; }
.card p { color: var(--ink-soft); }
.card--plain { border: 0; padding: 40px; }
.cards--info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--parents .card { flex-basis: 300px; }
.cards--parents h3 { font-size: 24px; }
.cards--parents .card > .btn { margin-top: auto; } /* buttons line up along the bottom of the cards */

.card__dot { width: 48px; height: 48px; border-radius: 50%; }
.card__dot--pink { background: var(--pink-tint); }
.card__dot--peach { background: var(--peach-tint); }
.card__dot--sand { background: var(--sand-tint); }
.card__dot--sage { background: var(--sage-tint); }

/* Forms */

label { font-weight: 700; font-size: 15px; }

input, textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 12px 16px;
  border: 2px solid var(--field-line);
  border-radius: 14px;
  background: var(--cream);
}

input:focus, textarea:focus, select:focus { outline: 3px solid var(--sage-tint); border-color: var(--sage-dark); }

.inline-field { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.inline-field input { flex: 1 1 200px; width: auto; border-radius: 999px; }

.hp { position: absolute; left: -9999px; }

.form-status { font-weight: 700; color: var(--sage-dark); }
.form-status--error { font-weight: 700; color: var(--error); }

/* Contact */

.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__details { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.contact__details p { color: var(--ink-soft); }
.contact__form { flex: 1 1 420px; padding: 40px; gap: 10px; align-items: stretch; }
.contact__form .btn { align-self: flex-start; margin-top: 6px; }

.map { flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 380px; padding: 24px; border-radius: var(--radius); background: var(--sage-tint); text-align: center; }
.map__note { max-width: 460px; color: var(--ink-soft); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.map:has(iframe) { padding: 0; }

.details { margin: 8px 0 0; }
.details dt { font-weight: 700; }
.details dd { margin: 0 0 12px; overflow-wrap: anywhere; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.site-footer__main a, .site-footer__bar a { color: inherit; text-decoration: none; }
.site-footer__main a:hover, .site-footer__bar a:hover { color: var(--sage-dark); text-decoration: underline; }
.site-footer h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__cta { background: var(--pink-tint); }
.site-footer__cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 32px; padding-bottom: 32px; }
.site-footer__cta h2 { font-weight: 400; font-size: clamp(24px, 3vw, 30px); color: var(--ink); }
.site-footer__main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.site-footer__main p { margin: 12px 0 0; }
.site-footer__logo { width: 200px; height: auto; display: block; }
.site-footer__badge { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--sage-tint); color: var(--sage-dark); font-weight: 700; font-size: 14px; }
.site-footer__bar { border-top: 1px solid var(--line); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; }

/* Tapestry portal popup */

.portal {
  width: min(480px, calc(100% - 32px));
  border: 0;
  border-radius: 28px;
  padding: 48px 40px 40px;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 60px rgba(47, 58, 51, 0.25);
}

.portal[open] { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.portal::backdrop { background: rgba(47, 58, 51, 0.45); }
.portal h2 { font-weight: 400; font-size: 34px; line-height: 1.15; }
.portal p { color: var(--ink-soft); }
.portal__link { font-size: 15px; font-weight: 600; }

.portal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

/* Policies sign-in page */

.page-narrow { max-width: 560px; margin: 0 auto; padding: 48px 24px 96px; }
.page-narrow .card { padding: 40px; }
.page-narrow h1 { font-weight: 400; font-size: 40px; text-align: center; margin-bottom: 24px; }

/* Policies list: search and category filter */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.policies { padding-top: 32px; padding-bottom: 96px; }
.policies h1, .policy h1 { font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; }
.policies h1 { text-align: center; }
.portal-home { padding-top: 32px; padding-bottom: 96px; }
.portal-home h1 { font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; text-align: center; }
.portal-home__start { text-align: center; margin: -16px 0 28px; }
.portal-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; }
.portal-filter__pill { padding: 9px 18px; border: 1px solid var(--sage-dark); border-radius: 999px; background: var(--white); color: var(--sage-dark); font: 700 15px/1.2 var(--sans); cursor: pointer; }
.portal-filter__pill:hover { background: var(--sage-tint); }
.portal-filter__pill[aria-pressed="true"] { background: var(--sage-dark); color: var(--white); }
[data-section][hidden] { display: none; }
.portal-home__heading { font-size: 24px; font-weight: 400; text-align: center; margin-bottom: 20px; }
.portal-home__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doc-box { margin: 0 0 24px; padding: 40px; border-radius: var(--radius); }
.doc-box--certificates { background: var(--sage-tint); }
.doc-box--notices { background: var(--peach-tint); margin-bottom: 56px; }
.doc-box h2 { font-size: 26px; font-weight: 400; text-align: center; }
.doc-box__intro { margin: 4px 0 24px; text-align: center; color: var(--ink-soft); }
.docs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); justify-content: center; gap: 20px; }
.docs__grid--certs { display: flex; flex-wrap: wrap; }
.docs__grid--certs > .doc-card { width: calc((100% - 60px) / 4); }
.doc-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.doc-card__link { color: inherit; text-decoration: none; }
.doc-card img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 4px 14px rgba(47, 58, 51, 0.15); margin-bottom: 10px; }
.doc-card__title { display: block; font-weight: 700; }
.doc-card__text { display: block; font-size: 14px; color: var(--ink-soft); }
.doc-card__download { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--sage-dark); }

.policy-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.policy-tools input { border-radius: 999px; padding: 14px 22px; font-size: 18px; background: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.chip:hover { border-color: var(--sage-dark); }
.chip[aria-pressed="true"] { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }

.policy-count { font-size: 15px; color: var(--ink-soft); }

.policy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.policy-list li[hidden] { display: none; }
.policy-list a {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--ink);
  text-decoration: none;
}
.policy-list a:hover { border-color: var(--sage-dark); }
.policy-list__title { font-weight: 700; }

.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--sage-dark); background: var(--sage-tint); border-radius: 999px; padding: 3px 10px; }

.policy-empty { text-align: center; color: var(--ink-soft); padding: 32px 0; }

/* Portal forms: feedback and complaints */

.form-page { max-width: 820px; padding-top: 24px; padding-bottom: 96px; }
.form-page h1 { font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; text-align: center; }
.form-page__status { text-align: center; margin-bottom: 20px; }
.form-page__ofsted { max-width: 720px; margin: 32px auto 0; padding: 14px 20px; border-left: 3px solid var(--sage-dark); background: var(--sage-tint); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--ink-soft); }
.form-page__ofsted a { color: var(--sage-dark); font-weight: 700; }
.form-page__download { text-align: center; margin: 8px 0 24px; }
.form-page__info { display: block; text-align: left; padding: 28px 32px; margin-bottom: 28px; background: var(--sage-tint); }
.form-page__info h2 { font-size: 22px; margin: 0 0 8px; }
.form-page__info ul { margin: 0 0 12px; padding-left: 20px; }
.form-page__info p { margin: 0; color: var(--ink-soft); }
.form-page__form { padding: 40px; gap: 28px; align-items: stretch; }
.form-page__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-page__field { display: flex; flex-direction: column; gap: 6px; }
.form-page__q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.form-page__q legend { font-family: var(--serif); font-weight: 600; font-size: 20px; padding: 0; margin-bottom: 4px; }
.form-page__q label { font-weight: 400; color: var(--ink-soft); }
.photo-field input[type="file"] { padding: 10px 12px; background: var(--white); cursor: pointer; }
.photo-hint { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.form-page__consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.form-page__consent input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--sage-dark); }
.form-page__form .btn { align-self: flex-start; }
.form-page__thanks { color: var(--ink-soft); }
.optional { font-weight: 400; color: var(--ink-soft); }

/* Single policy page */

.policy { max-width: 960px; padding-top: 24px; padding-bottom: 96px; }
.policy__back { display: inline-block; font-weight: 700; margin-bottom: 16px; }
.policy__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 32px; color: var(--ink-soft); font-size: 15px; }
.policy__body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.policy__body > * + * { margin-top: 14px; }
.policy__body h2, .policy__body h3 { font-weight: 600; font-size: 24px; margin-top: 32px; }
.policy__body ul, .policy__body ol { padding-left: 24px; }
.policy__body li + li { margin-top: 6px; }
.policy__body blockquote { margin: 0; }
.policy__appendices { margin-top: 24px; padding: 28px 40px; background: var(--sage-tint); border-radius: var(--radius); }
.policy__appendices h2 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.policy__appendices ul { margin: 0; padding-left: 20px; }
.policy__appendices li + li { margin-top: 6px; }
.policy__appendices a { color: var(--sage-dark); font-weight: 700; }

/* Parents Portal: Let Ali know */
.let-ali { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
.let-ali__forms { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.let-ali__forms h2, .let-ali__urgent h2 { font-size: 26px; font-weight: 400; }
.let-ali__intro { margin: 4px 0 20px; color: var(--ink-soft); }
.let-ali__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick-tile { display: block; padding: 18px 20px; border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.quick-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(47, 58, 51, 0.1); }
.quick-tile strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.quick-tile span { display: block; font-size: 14px; color: var(--ink-soft); }
.quick-tile--sage { background: var(--sage-tint); }
.quick-tile--peach { background: var(--peach-tint); }
.quick-tile--pink { background: var(--pink-tint); }
.quick-tile--sand { background: var(--sand-tint); }
.let-ali__urgent { display: flex; flex-direction: column; gap: 12px; padding: 36px; background: var(--sage-dark); color: var(--white); border-radius: var(--radius); }
.let-ali__urgent h2 { color: var(--white); }
.let-ali__urgent p { margin: 0; opacity: 0.9; }
.let-ali__phone { font-family: var(--serif); font-size: 30px; color: var(--white); text-decoration: none; margin-top: auto; }
.let-ali__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.let-ali__urgent .btn--coral:hover { background: var(--ink); }

/* Parents Portal: term dates */
.terms { margin-bottom: 56px; }
.terms__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.terms__head h2 { font-size: 26px; font-weight: 400; }
.terms__intro { margin: 4px 0 0; color: var(--ink-soft); }
.terms__intro a { color: var(--sage-dark); font-weight: 700; }
.terms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.term { padding: 24px; border-radius: var(--radius); }
.term--sage { background: var(--sage-tint); }
.term--peach { background: var(--peach-tint); }
.term--pink { background: var(--pink-tint); }
.term h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.term__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.term__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; font-size: 14px; }
.term__when { font-weight: 700; }
.term__what { grid-column: 1; color: var(--ink-soft); }
.term__add { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 4px 10px; border: 1px solid rgba(47, 58, 51, 0.2); border-radius: 999px; background: var(--white); font: inherit; font-size: 12px; font-weight: 700; color: var(--sage-dark); cursor: pointer; }
.term__add:hover { border-color: var(--sage-dark); }

/* Let Ali know form page */
.quick-form__back { margin: 0 0 8px; text-align: center; }
.quick-form__back a { color: var(--sage-dark); font-weight: 700; text-decoration: none; }
.quick-form__callout { max-width: 720px; margin: 0 auto 24px; padding: 14px 20px; border-radius: 14px; background: var(--peach-tint); font-weight: 600; }

/* Portal form fields (New child and Let Ali know): choices, day times, signature */
.field--textarea, .field--times, .field--checkboxes, .field--radio { grid-column: 1 / -1; }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choices > legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
.field--checkboxes .choices { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.field--inline .choices { grid-template-columns: repeat(2, max-content); column-gap: 24px; }
.field--inline .choices > legend { grid-column: 1 / -1; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.choice input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--sage-dark); }
.field-group { border: 0; padding: 0; margin: 0 0 28px; }
.field-group > legend, .question > legend { font-family: var(--serif); font-weight: 600; font-size: 20px; padding: 0; margin-bottom: 12px; }
.question { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.field-label { margin: 0; font-weight: 700; font-size: 15px; }
.times-table { border-collapse: collapse; width: 100%; max-width: 480px; margin-top: 6px; }
.times-table th, .times-table td { text-align: left; padding: 4px 8px 4px 0; }
.times-table input { padding: 8px 10px; }
.sigpad__canvas { display: block; width: 100%; height: 180px; background: var(--white); border: 2px dashed var(--field-line); border-radius: 14px; touch-action: none; cursor: crosshair; }
.sigpad__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sigpad__clear { padding: 6px 16px; }

/* New child form */
.onboard__progress { list-style: none; counter-reset: step; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; }
.onboard__progress li { counter-increment: step; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.onboard__progress li::before { content: counter(step) ". "; }
.onboard__progress li.is-done { background: var(--sage-tint); color: var(--sage-dark); }
.onboard__progress li.is-current { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }
.onboard__step h2 { font-weight: 400; font-size: 30px; }
.onboard__intro { margin: 6px 0 24px; color: var(--ink-soft); }
.onboard__detail { margin-top: 8px; }
.onboard__detail[hidden] { display: none; }
.onboard__terms { max-height: 460px; overflow-y: auto; padding: 24px 28px; margin-bottom: 28px; background: var(--sand); border-radius: 18px; font-size: 15px; }
.onboard__terms h3 { font-size: 22px; font-weight: 600; margin: 8px 0 6px; }
.onboard__terms h4 { font-family: var(--sans); font-size: 16px; margin: 18px 0 6px; }
.onboard__terms ul { margin: 0; padding-left: 20px; }
.onboard__terms li + li { margin-top: 6px; }
.onboard__charges { border-collapse: collapse; width: 100%; margin-top: 8px; }
.onboard__charges th, .onboard__charges td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--line); }
.onboard__charges th { width: 32%; padding-right: 16px; }
.onboard__tbc { padding: 12px 16px; border-radius: 12px; background: var(--peach-tint); font-weight: 700; }
.onboard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.onboard__nav [data-next], .onboard__nav [data-submit] { margin-left: auto; }

@media (max-width: 960px) {
  .cards--info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cards--info { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 56px 24px; }
  .section, .band { padding-top: 64px; padding-bottom: 64px; }
  .card--plain, .contact__form { padding: 28px; }
  .policy__body { padding: 24px; }
  .policy__appendices { padding: 24px; }
  .testimonial { flex-basis: 88%; }
  .form-page__form { padding: 24px; }
  .form-page__row { grid-template-columns: minmax(0, 1fr); }
  .site-footer__main { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .doc-box { padding: 24px 16px; }
  .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .docs__grid--certs > .doc-card { width: calc((100% - 12px) / 2); }
  .portal-home__cards { grid-template-columns: minmax(0, 1fr); }
  .let-ali, .let-ali__grid, .terms__grid { grid-template-columns: minmax(0, 1fr); }
  .let-ali__forms, .let-ali__urgent { padding: 24px; }
  .onboard__terms { padding: 18px; }
  .onboard__charges th { width: 40%; }
}
