/* Generated school sites. Section patterns follow the TJ Prep Flex page (TJTestPrep
   self-paced-clarity.css) on the shared marketing tokens; no school colors, logos, or photos. */
.hs-site {
  --hs-ink: var(--color-primary); /* EduAvenues navy, as on TJ and ACL */
  --hs-muted: var(--mc-text);
  --hs-soft: var(--mc-muted);
  --hs-line: var(--mc-line);
  --hs-surface: var(--mc-surface);
  background: var(--color-white);
  color: var(--hs-ink);
}

.factory-preview-banner {
  position: relative;
  z-index: 1100;
  padding: 0.65rem 1rem;
  background: var(--color-warning-light);
  color: var(--color-warning-dark);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.factory-preview-banner + .hs-skip-link + .header {
  top: 42px;
}

.hs-page {
  padding-top: 80px;
}

.hs-site .nav-list a,
.hs-site .header-cta {
  white-space: nowrap;
}

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

.hs-page :is(h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd) {
  margin: 0;
}

.hs-page :is(h1, h2, h3) {
  font-family: var(--font-body);
  color: var(--hs-ink);
}

.hs-page h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hs-page h3 {
  font-weight: 650;
  letter-spacing: -0.025em;
}

.hs-page p,
.hs-page li {
  line-height: 1.7;
}

.hs-page a {
  text-underline-offset: 4px;
}

.hs-page :is(a, button, summary):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 5px;
}

.hs-page :is(section, details)[id] {
  scroll-margin-top: 110px;
}

.hs-wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.hs-section {
  padding-block: 88px;
}

.hs-surface {
  background: var(--hs-surface);
  border-block: 1px solid var(--hs-line);
}

.hs-page .hs-eyebrow {
  margin-bottom: 12px;
  color: var(--color-cta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* One alignment rule for every section, matching TJ Prep: the section head (eyebrow, heading,
   intro) is centered; text inside cards, lists, tables and forms keeps a left reading edge. Bands
   that used to put the heading in a side column (FAQ, enrollment, download) follow it too. */
.hs-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.hs-section-heading h2 {
  max-width: 720px;
  margin-inline: auto;
}

.hs-section-heading > p:last-child:not(.hs-eyebrow) {
  max-width: 640px;
  margin-top: 18px;
  margin-inline: auto;
  color: var(--hs-muted);
}

/* Not-affiliated statement, directly under the header on every page. */
.hs-disclosure {
  border-bottom: 1px solid var(--hs-line);
  background: var(--color-white);
}

.hs-page .hs-disclosure p {
  padding-block: 10px;
  color: var(--hs-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Hero */
.hs-hero {
  padding-block: 64px 76px;
}

/* Home hero on a licensed campus photo under a flat navy overlay, as on TJ and ACL. */
.hs-hero--campus {
  position: relative;
  overflow: hidden;
  background: #0b2545;
  color: var(--color-white);
}

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

.hs-hero--campus::after {
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.84);
  content: '';
}

.hs-hero--campus > .hs-wrap {
  position: relative;
  z-index: 1;
}

/* The white course card keeps the page's dark text. */
.hs-hero--campus .hs-course-card {
  color: var(--hs-ink);
}

.hs-page .hs-hero--campus h1,
.hs-hero--campus .hs-tuition-line strong {
  color: var(--color-white);
}

.hs-page .hs-hero--campus .hs-hero-copy .hs-eyebrow,
.hs-page .hs-hero--campus .hs-lead,
.hs-page .hs-hero--campus .hs-tuition-line,
.hs-page .hs-hero--campus .hs-hero-copy .hs-sale-note {
  color: rgba(255, 255, 255, 0.82);
}

.hs-hero--campus .hs-hero-benefits li::before {
  border-color: var(--color-white);
}

.hs-hero--campus .hs-text-link {
  color: var(--color-white);
}

.hs-page .hs-hero-credit {
  margin: 40px 0 -36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  text-align: right;
}

.hs-hero-credit a {
  color: inherit;
  text-decoration: underline;
}

.hs-hero-credit a:hover {
  color: var(--color-white);
}

.hs-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}

.hs-page .hs-hero h1 {
  font-size: clamp(2.5rem, 4.3vw, 3.7rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hs-page .hs-lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--hs-muted);
  font-size: 1.12rem;
}

.hs-page .hs-hero-benefits,
.hs-page .hs-check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.hs-hero-benefits li,
.hs-check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.9rem;
}

.hs-check-list li {
  color: var(--hs-muted);
}

.hs-hero-benefits li::before,
.hs-check-list li::before {
  position: absolute;
  top: 0.4em;
  left: 0.3rem;
  width: 0.375rem;
  height: 0.7rem;
  border: solid var(--color-cta);
  border-width: 0 2px 2px 0;
  content: '';
  transform: rotate(45deg);
}

.hs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s;
}

.hs-button-primary {
  background: var(--color-cta);
  color: var(--color-white);
}

.hs-button-primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-white);
}

.hs-button-secondary {
  border-color: var(--color-gray-200);
  background: var(--color-white);
  color: var(--hs-ink);
}

.hs-button-secondary:hover {
  border-color: var(--color-gray-300);
  background: var(--hs-surface);
  color: var(--hs-ink);
}

.hs-button-light {
  background: var(--color-white);
  color: var(--color-primary);
}

.hs-button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.hs-text-link {
  color: var(--color-cta);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
}

.hs-page .hs-tuition-line {
  margin-top: 16px;
  color: var(--hs-muted);
  font-size: 0.83rem;
}

.hs-page .hs-sale-note {
  margin-top: 6px;
  color: var(--hs-muted);
  font-size: 0.83rem;
}

.hs-tuition-card .hs-sale-note {
  margin-top: 12px;
}

.hs-tuition-line strong {
  color: var(--hs-ink);
  font-weight: 700;
}

.hs-course-card {
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.hs-course-art {
  height: 160px;
  border-bottom: 1px solid var(--hs-line);
  background: var(--mc-brand-tint);
}

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

.hs-course-body {
  padding: 26px 28px 22px;
}

.hs-course-body .hs-eyebrow {
  margin-bottom: 8px;
  font-size: 0.66rem;
}

.hs-page .hs-course-body h2 {
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}

.hs-page .hs-course-details {
  margin-top: 20px;
}

.hs-course-details > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding-block: 13px;
  border-top: 1px solid var(--hs-line);
}

.hs-course-details dt {
  font-size: 0.8rem;
  font-weight: 700;
}

.hs-course-details dd {
  color: var(--hs-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.hs-page .hs-course-note {
  padding-top: 12px;
  border-top: 1px solid var(--hs-line);
  color: var(--hs-soft);
  font-size: 0.74rem;
}

/* Term-and-text fact lists: the only place school facts appear in topic sections. */
.hs-page .hs-facts {
  border-bottom: 1px solid var(--hs-line);
}

.hs-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 32px;
  padding-block: 22px;
  border-top: 1px solid var(--hs-line);
}

.hs-facts dt {
  font-size: 0.95rem;
  font-weight: 650;
}

.hs-facts dd {
  max-width: 720px;
  color: var(--hs-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Plain numbered steps */
.hs-page .hs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0;
  list-style: none;
}

.hs-facts + .hs-steps {
  margin-top: 48px;
}

.hs-steps li {
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
}

.hs-step-number {
  display: block;
  margin-bottom: 14px;
  color: var(--color-cta);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.hs-steps h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.hs-page .hs-steps p {
  margin-top: 10px;
  color: var(--hs-muted);
  font-size: 0.9rem;
}

.hs-steps h3 + p {
  margin-top: 12px;
}

.hs-work-on {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hs-line);
}

.hs-work-on h3 {
  font-size: 1.2rem;
  text-align: center;
}

.hs-work-on .hs-check-list {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.hs-page .hs-essay-callout {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--hs-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--hs-muted);
  text-align: center;
}

.hs-essay-callout strong {
  color: var(--hs-ink);
}

/* Timeline and countdown */
.hs-countdown {
  display: grid;
  gap: 4px;
  margin-bottom: 32px;
  text-align: center;
}

.hs-page .hs-countdown-value {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.hs-page .hs-countdown-label,
.hs-page .hs-countdown-passed {
  color: var(--hs-muted);
  font-size: 0.95rem;
}

.hs-page .hs-timeline {
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--hs-line);
}

.hs-timeline li {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 32px;
  padding-block: 22px;
  border-top: 1px solid var(--hs-line);
}

.hs-timeline li.is-past {
  opacity: 0.55;
}

.hs-page .hs-timeline-date {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.hs-timeline h3 {
  font-size: 1rem;
}

.hs-page .hs-timeline li p:not(.hs-timeline-date) {
  margin-top: 6px;
  color: var(--hs-muted);
  font-size: 0.95rem;
}

/* EduAvenues proof */
.hs-page .hs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hs-stats > div {
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
}

.hs-stats dt {
  font-size: 2.6rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hs-stats dd strong {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 650;
}

.hs-stats dd span {
  display: block;
  margin-top: 4px;
  color: var(--hs-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hs-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.hs-page .hs-quotes blockquote {
  padding: 0;
  border: 0;
  color: var(--hs-ink);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
}

.hs-quotes figcaption {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 650;
}

.hs-quotes figcaption span {
  display: block;
  color: var(--hs-soft);
  font-weight: 400;
}

.hs-page .hs-fine-print {
  max-width: 760px;
  margin-top: 40px;
  color: var(--hs-soft);
  font-size: 0.78rem;
}

/* Instructors: the TJ Prep "Meet Neil" card (tjtestprep.com home), a bordered surface panel with a
   modest 196px square photo beside the copy. Same sizes as TJ: 196px photo, 2rem padding, 2.5rem gap;
   on phones the photo sits above the copy at 160px. */
.hs-instructor {
  border-top: 1px solid var(--hs-line);
}

.hs-instructor-grid {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--hs-line);
  border-radius: var(--radius-md);
  background: var(--hs-surface);
}

.hs-instructor-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.hs-instructor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-page .hs-instructor-copy .hs-eyebrow {
  margin-bottom: 0.75rem;
}

.hs-page .hs-instructor-copy h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.25;
}

.hs-page .hs-instructor-copy > p:not(.hs-eyebrow) {
  max-width: 720px;
  margin-top: 0.85rem;
  color: var(--hs-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hs-page .hs-instructor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hs-instructor-credentials li {
  position: relative;
  padding-left: 0.75rem;
  color: var(--hs-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}

.hs-instructor-credentials li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gray-400);
  content: '';
}

.hs-instructor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--hs-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.hs-instructor-link:hover {
  color: var(--color-cta);
  text-decoration: underline;
}

.hs-page .hs-instructor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin-top: 0;
}

.hs-instructor-link--quiet {
  color: var(--hs-muted);
  font-weight: 500;
}

/* Enrollment */
.hs-enrollment {
  background: var(--color-primary);
}

.hs-enrollment-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 86px;
  align-items: center;
}

.hs-page .hs-enrollment .hs-section-heading > p:last-child:not(.hs-eyebrow) {
  color: var(--color-gray-200);
}

.hs-enrollment .hs-eyebrow {
  color: var(--color-accent-light);
}

.hs-page .hs-enrollment h2 {
  color: var(--color-white);
}

.hs-enrollment .hs-inclusions {
  gap: 16px;
}

.hs-enrollment .hs-inclusions strong {
  color: var(--color-white);
}

.hs-enrollment .hs-inclusions li {
  color: var(--color-gray-100);
  font-size: 0.94rem;
}

.hs-enrollment .hs-inclusions li::before {
  border-color: var(--color-accent-light);
}

.hs-page .hs-scope-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--color-primary-light);
  color: var(--color-gray-200);
  font-size: 0.8rem;
}

.hs-tuition-card {
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.hs-tuition strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hs-tuition > span {
  display: block;
  margin-top: 8px;
  color: var(--hs-muted);
  font-size: 0.84rem;
}

.hs-page .hs-tuition-desc {
  margin-top: 20px;
  color: var(--hs-muted);
  font-size: 0.86rem;
}

.hs-tuition-card .hs-button {
  width: 100%;
  margin-top: 24px;
}

.hs-page .hs-guarantee-note {
  margin-top: 20px;
  color: var(--hs-muted);
  font-size: 0.8rem;
  line-height: 1.65;
  text-align: center;
}

.hs-guarantee-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--hs-ink);
  font-weight: 650;
}

/* FAQ */
.hs-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hs-faq-list {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.hs-faq-list details {
  border-top: 1px solid var(--hs-line);
}

.hs-faq-list details:last-child {
  border-bottom: 1px solid var(--hs-line);
}

.hs-faq-list summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--hs-ink);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.hs-faq-list summary::-webkit-details-marker {
  display: none;
}

.hs-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--hs-soft);
  font-size: 1.25rem;
  content: '+';
  transform: translateY(-50%);
}

.hs-faq-list details[open] summary::after {
  color: var(--color-primary);
  content: '\2212';
}

.hs-faq-list details > div {
  padding: 0 32px 20px 0;
  color: var(--hs-muted);
}

/* Links (practice tests and cross-links) */
.hs-page .hs-link-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--hs-line);
}

.hs-link-list li {
  padding-block: 16px;
  border-top: 1px solid var(--hs-line);
}

.hs-link-list a {
  color: var(--color-cta);
  font-weight: 650;
}

.hs-cross-links {
  margin-top: 48px;
}

.hs-cross-links h3 {
  font-size: 1.1rem;
}

.hs-review-note {
  color: var(--color-warning-dark);
  font-size: 0.85rem;
}

/* Email-gated download, styled like the shared newsletter band */
.hs-download {
  padding-block: 56px;
  background: var(--color-primary);
}

.hs-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  justify-items: center;
}

.hs-download-copy {
  max-width: 640px;
  text-align: center;
}

.hs-download-grid .hs-download-form {
  width: 100%;
  max-width: 560px;
}

.hs-download .hs-eyebrow {
  color: var(--color-accent-light);
}

.hs-page .hs-download h2 {
  color: var(--color-white);
  font-size: 1.6rem;
}

.hs-page .hs-download-grid > div > p:not(.hs-eyebrow) {
  margin-top: 10px;
  color: var(--color-gray-200);
  font-size: 0.92rem;
}

.hs-download-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hs-download-form input[type='email'] {
  flex: 1 1 220px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.95rem;
}

.hs-page .hs-download-status {
  flex-basis: 100%;
  color: var(--color-gray-100);
  font-size: 0.85rem;
}

/* The planner opens on a plain white surface inside the band once the email is saved. */
.hs-page .hs-download-result {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--hs-ink);
}

.hs-page .hs-download-result[hidden] {
  display: none;
}

.hs-page .hs-download-result h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.hs-page .hs-download-result .hs-download-note {
  margin-top: 20px;
  color: var(--hs-muted);
  font-size: 0.85rem;
}

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

/* Closing next step */
.hs-next-step {
  padding-block: 40px;
  background: var(--hs-surface);
  border-top: 1px solid var(--hs-line);
}

.hs-next-step .hs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hs-page .hs-next-step h2 {
  font-size: 1.35rem;
}

.hs-page .hs-next-step p {
  margin-top: 8px;
  color: var(--hs-muted);
  font-size: 0.88rem;
}

.hs-next-step .hs-button {
  flex-shrink: 0;
}

/* Contact form (written recommendation requests) */
.factory-form-container {
  max-width: 720px;
}

.factory-form {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.factory-form label {
  font-weight: 700;
}

.factory-form input,
.factory-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
}

.factory-form button {
  justify-self: start;
}

/* Footer */
.hs-footer {
  padding-block: 56px 32px;
}

.hs-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.7fr;
  gap: 48px;
}

.hs-footer p {
  color: var(--color-gray-300);
  font-size: 0.86rem;
  line-height: 1.7;
}

.hs-footer p + p {
  margin-top: 10px;
}

.hs-footer a {
  color: var(--color-gray-200);
}

.hs-footer .hs-footer-brand {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 650;
}

.hs-footer-brand span {
  color: var(--color-gray-300);
  font-weight: 400;
}

.hs-footer .hs-footer-heading {
  margin-bottom: 10px;
  color: var(--color-white);
  font-weight: 650;
}

.hs-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 0.86rem;
}

.hs-footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hs-skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10001;
  padding: 12px 18px;
  border: 2px solid var(--color-cta);
  background: var(--color-white);
  color: var(--color-primary);
}

.hs-skip-link:focus {
  top: 12px;
}

/* The four parent questions (TJ Prep's "TJTestPrep difference" cards). */
.hs-question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hs-question-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--hs-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.hs-question-number {
  color: var(--color-cta);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hs-page .hs-question-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
}

.hs-page .hs-question-card p {
  color: var(--hs-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hs-page .hs-question-card .hs-question-fact {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hs-line);
  color: var(--hs-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* About story: TJ Prep's About page prose (a 720px reading column), a campus photo break, the
   founder sign-off, and the "What we actually changed" notes. */
.hs-hero--story {
  padding-block: 72px 64px;
  border-bottom: 1px solid var(--hs-line);
  background: var(--hs-surface);
}

.hs-story-hero {
  max-width: 820px;
  text-align: center;
}

.hs-page .hs-story-hero .hs-lead {
  max-width: 680px;
  margin: 20px auto 0;
}

.hs-story {
  padding-block: 72px;
}

.hs-story-prose {
  max-width: 720px;
}

.hs-page .hs-story-prose h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem);
}

.hs-page .hs-story-prose h2 + p {
  margin-top: 24px;
}

.hs-page .hs-story-prose p + h2 {
  margin-top: 56px;
}

.hs-page .hs-story-prose p {
  margin-top: 20px;
  color: var(--hs-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.hs-story-prose p strong {
  color: var(--hs-ink);
  font-weight: 600;
}

.hs-story-prose a {
  color: var(--color-cta);
  font-weight: 600;
}

.hs-story-facts {
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid var(--hs-line);
  border-radius: var(--radius-md);
  background: var(--hs-surface);
}

.hs-page .hs-story-facts .hs-story-facts-label {
  margin: 0 0 10px;
  color: var(--hs-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hs-story-facts ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.hs-story-facts li {
  color: var(--hs-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hs-page .hs-story-break {
  margin: 0;
}

.hs-story-break img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hs-page .hs-story-credit {
  margin-top: 8px;
  color: var(--hs-soft);
  font-size: 0.72rem;
  text-align: right;
}

.hs-story-credit a {
  color: inherit;
}

.hs-story-signoff {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
}

.hs-page .hs-story-signoff .hs-signoff-name {
  margin: 0;
  color: var(--hs-ink);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
}

.hs-page .hs-story-signoff .hs-signoff-title {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.hs-contrast-list {
  max-width: 860px;
  margin-inline: auto;
}

.hs-page .hs-contrast-item {
  margin: 0 0 16px;
}

.hs-page .hs-contrast-after p {
  color: var(--hs-ink);
  font-weight: 500;
}

/* Google reviews: the eduavenues.com / TJ Prep Elfsight carousel in TJ Prep's frame. */
.hs-reviews {
  background: var(--color-white);
}

.hs-google-widget {
  min-height: 420px;
  margin: 0 auto;
}

.hs-google-widget .es-embed-root {
  max-width: 960px !important;
  margin: 0 auto !important;
  color: #151515 !important;
  font-family: var(--font-body) !important;
}

.hs-google-widget .es-embed-root *,
.hs-google-widget .es-embed-root a {
  font-family: var(--font-body) !important;
  letter-spacing: 0 !important;
}

.hs-google-widget .es-header-container,
.hs-google-widget .es-review-background-container {
  border-radius: 6px !important;
  background: #fafafa !important;
  box-shadow: none !important;
}

.hs-google-widget img {
  max-width: none;
}

.hs-page .hs-reviews .hs-fine-print {
  margin: 28px auto 0;
  text-align: center;
}

@media (max-width: 900px) {
  .hs-wrap {
    width: min(650px, calc(100% - 48px));
  }

  .hs-section {
    padding-block: 60px;
  }

  .hs-hero {
    padding-block: 40px 54px;
  }

  .hs-hero-grid,
  .hs-instructor-grid,
  .hs-enrollment-grid,
  .hs-faq-grid,
  .hs-download-grid,
  .hs-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hs-page .hs-steps,
  .hs-quotes {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hs-page .hs-stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .hs-facts > div,
  .hs-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hs-instructor-grid {
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .hs-instructor-photo {
    max-width: 160px;
  }

  .hs-page .hs-hero-credit {
    margin: 32px 0 -26px;
    text-align: center;
  }

  .hs-next-step .hs-wrap {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
  }
}

@media (max-width: 800px) {
  .factory-preview-banner + .hs-skip-link + .header {
    top: 58px;
  }

  .factory-preview-banner ~ .mobile-nav {
    top: 58px;
    padding-top: 73px;
  }
}

@media (max-width: 560px) {
  .hs-wrap {
    width: calc(100% - 32px);
  }

  .hs-page .hs-hero h1 {
    font-size: clamp(2.2rem, 8.6vw, 3rem);
  }

  .hs-page .hs-lead {
    font-size: 1rem;
  }

  .hs-actions .hs-button,
  .hs-next-step .hs-button,
  .hs-download-form .hs-button {
    width: 100%;
  }

  .hs-page h2 {
    font-size: 1.8rem;
  }

  .hs-course-body,
  .hs-tuition-card {
    padding: 24px;
  }

  .hs-stats dt {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-page *,
  .hs-page *::before,
  .hs-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .hs-question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hs-question-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hs-question-card {
    padding: 22px 20px;
  }

  .hs-hero--story {
    padding-block: 48px 44px;
  }

  .hs-story {
    padding-block: 52px;
  }

  .hs-story-break img {
    height: 200px;
  }

  .hs-page .hs-story-credit {
    text-align: center;
  }

  .hs-page .hs-instructor-links {
    justify-content: flex-start;
  }
}
