@import url("/assets/fonts/fonts.css");

/* Brand tokens: edit these to change colors and typography throughout the site. */
:root {
  --navy: #002b43;
  --blue: #4f92ce;
  --yellow: #fbb91f;
  --red: #e11d2c;
  --muted: #4a6377;
  --surface: #f8fafc;
  --border: #e2e8ee;
  --heading: "Roboto Slab", Georgia, serif;
  --body: "Open Sans", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.18;
}
h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.13rem;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
ul {
  padding: 0;
  list-style: none;
  margin: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.container {
  width: min(100% - 64px, 1216px);
  margin-inline: auto;
}
.narrow {
  max-width: 800px;
}
.section {
  padding-block: 96px;
}
.centered {
  text-align: center;
}
.surface {
  background: var(--surface);
}
.dark {
  background: var(--navy);
  color: #fff;
}
.dark p {
  color: #ffffffcf;
}
.dark h1,
.dark h2,
.dark h3 {
  color: #fff;
}
.dark a:hover {
  color: var(--yellow);
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #edf0f3;
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  width: 40px;
  height: 46px;
  object-fit: contain;
}
.logo strong {
  font-family: var(--heading);
  font-size: 16px;
  display: block;
  line-height: 1.25;
}
.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.logo.inverse {
  color: white;
}
.desktop-nav {
  display: flex;
  gap: 36px;
  font-weight: 600;
  font-size: 15px;
}
.desktop-nav a[aria-current="page"] {
  color: #3c7cae;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    transform 0.2s,
    background 0.2s;
  white-space: normal;
  text-align: center;
}
.button:hover {
  transform: translateY(-2px);
}
.button-red {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 5px 16px #e11d2c18;
}
.button-red:hover {
  background: #c71524;
}
.button-blue {
  background: var(--navy);
  color: #fff !important;
}
.button-blue:hover {
  background: #15465f;
}
.contact-intro {
  white-space: pre-line;
}
.button-yellow {
  background: var(--yellow);
  color: var(--navy) !important;
  box-shadow: 0 6px 20px #fbb91f24;
}
.button-yellow:hover {
  background: #ffca4a;
}
.button-outline {
  background: #ffffff08;
  border-color: #ffffff30;
  color: #fff;
}
.button-outline:hover {
  background: #ffffff15;
}
.header-inner .button {
  padding: 12px 24px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  color: var(--navy);
}
.mobile-nav {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #397fae;
  margin-bottom: 24px;
}
.eyebrow:before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.eyebrow.badge {
  display: inline-flex;
  padding: 6px 16px;
  background: #ffffff12;
  border: 1px solid #ffffff1c;
  border-radius: 999px;
  color: var(--yellow);
  margin-bottom: 28px;
}
.eyebrow.badge:before {
  display: none;
}
.dark .eyebrow {
  color: var(--yellow);
}
.centered .eyebrow {
  justify-content: center;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.centered .section-heading {
  margin-inline: auto;
}
.section-heading p {
  margin-top: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
/* Home page */
.benefits-section h2,
.how-grid h2,
.why-section h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: normal;
}
.benefits-section h2 {
  line-height: 1.1;
}
.benefits-section .section-heading p {
  font-size: 17px;
  line-height: 1.625;
}
.benefits-grid h3 {
  font-size: 18px;
  line-height: 1.25;
}
.benefits-grid .feature-card p {
  font-size: 15px;
  line-height: 1.625;
}
.home-hero .button,
.benefits-section .button,
.final-cta .button-yellow {
  font-size: 15px;
}
.rating-card strong {
  font-family: var(--heading);
  font-size: 18px;
}
.how-grid .section-heading p,
.why-section .section-heading p,
.final-cta p,
.home-hero .hero-intro {
  font-size: 16px;
  line-height: 1.625;
}
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: normal;
}
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 112px;
}
.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-art {
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
}
.hero-shade {
  background-color: rgba(0, 43, 67, 0.85);
  background-image: linear-gradient(
    90deg,
    var(--navy) 0%,
    rgba(0, 43, 67, 0.85) 50%,
    rgba(0, 43, 67, 0.3) 100%
  );
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.hero-copy {
  max-width: 680px;
}
.home-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.04;
}
.home-hero h1 > .hero-line {
  display: block;
}
.home-hero h1 > .highlight {
  color: var(--yellow);
}
.home-hero h1 small {
  display: block;
  font-family: var(--body);
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  font-weight: 500;
  margin-top: 12px;
  line-height: 1.4;
}
.hero-intro {
  max-width: 575px;
  margin-top: 20px;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list svg {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  padding: 3px;
  margin-top: 2px;
}
.home-hero .check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.375;
}
.home-hero .button-row {
  margin-top: 40px;
}
.rating-card {
  position: relative;
  background: #fffffff5;
  border-radius: 14px;
  padding: 20px;
  color: var(--navy);
  width: 255px;
  flex-shrink: 0;
}
.hero-approval-seal {
  position: absolute;
  bottom: calc(100% + 32px);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.hero-mobile-seal {
  display: none;
}
.hero-heading {
  position: relative;
}
@media (max-width: 900px) {
  .home-hero .hero-copy {
    max-width: none;
  }
  .hero-heading {
    --seal-size: clamp(72px, 22vw, 110px);
  }
  .hero-heading .hero-line {
    padding-right: calc(var(--seal-size) + 16px);
  }
  .hero-mobile-seal {
    display: block;
    position: absolute;
    right: 0;
    top: 4px;
    width: var(--seal-size);
    height: var(--seal-size);
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  .home-hero .hero-heading h1 {
    font-size: clamp(26px, 7.2vw, 36px);
  }
}
.rating-card > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stars {
  display: inline-flex;
  gap: 8px;
  color: var(--yellow);
}
.rating-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 16px;
  color: white;
}
.rating-card p svg {
  color: var(--yellow);
}
.rating-card p svg:last-child {
  margin-left: auto;
}
.rating-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.trust-wrap {
  position: relative;
  margin-top: -40px;
}
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--yellow);
  box-shadow: 0 10px 24px #002b430a;
  border-radius: 14px;
  padding: 30px 40px;
  gap: 24px;
  background: #fff;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.round-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--yellow);
  flex-shrink: 0;
}
.round-icon svg {
  width: 21px;
}
.trust-item strong {
  font-family: var(--heading);
  font-size: 14px;
  text-transform: uppercase;
  display: block;
}
.trust-item small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.benefits-grid {
  margin: 48px 0 40px;
}
.benefits-grid .icon-tile {
  background: var(--navy);
  color: var(--yellow);
}
.feature-card {
  text-align: left;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fbb91f22;
  color: var(--navy);
  margin-bottom: 22px;
}
.feature-card p {
  font-size: 14px;
  margin-top: 14px;
}
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.how-intro {
  position: sticky;
  top: 112px;
}
.how-intro .section-heading {
  margin-bottom: 40px;
}
.how-photo {
  width: 100%;
  max-width: 480px;
  height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
}
.how-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.steps article {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  background: #fff;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.steps article:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #002b4312;
}
.steps h3 {
  font-size: 22px;
}
.step-number {
  font-family: var(--heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--yellow);
  display: block;
  flex-shrink: 0;
  line-height: 1;
}
.steps p {
  margin-top: 14px;
  font-size: 15px;
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.why-grid .section-heading {
  margin-bottom: 0;
}
.why-features {
  gap: 20px;
}
.why-features article {
  padding: 24px;
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  background: #ffffff0d;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.why-features article:hover {
  background: #ffffff1a;
  border-color: var(--yellow);
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--yellow);
}
.why-features h3 {
  font-size: 18px;
  margin-top: 20px;
}
.why-features svg {
  width: 20px;
  color: var(--navy);
}
.why-features p {
  font-size: 14px;
  margin-top: 8px;
  color: #ffffffb3;
}
.testimonials {
  text-align: left;
  margin-top: 42px;
}
.testimonials figure {
  position: relative;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.testimonials blockquote {
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.625;
}
.testimonials-section {
  background: #fff;
}
.testimonials-section .section-heading {
  text-align: center;
}
.testimonials-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: normal;
}
.testimonials .testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  color: #fbb91f66;
}
.testimonials .stars {
  gap: 4px;
}
.testimonials .stars svg {
  width: 16px;
  height: 16px;
}
.testimonials figcaption {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonials figcaption strong {
  display: block;
  font-family: var(--heading);
  font-size: 14px;
}
.testimonials figcaption small {
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
}
.final-cta {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 1280px;
  margin: 64px auto;
  border-radius: 20px;
  padding-block: 64px;
}
.final-cta .hero-backdrop {
  opacity: 0.1;
}
.final-inner {
  position: relative;
  width: calc(100% - 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}
.final-inner > div:first-child {
  max-width: 720px;
}
.final-inner p {
  margin-top: 22px;
}
.final-inner .button-column {
  min-width: 230px;
}
/* Shared pages */
.page-hero {
  padding: 104px 0 80px;
  background: var(--surface);
}
.page-hero.dark {
  background: var(--navy);
}
.page-hero p:not(.eyebrow) {
  max-width: 790px;
  margin-top: 20px;
}
.page-hero h1 {
  max-width: 1000px;
}
.page-hero.centered h1,
.page-hero.centered p {
  margin-inline: auto;
}
.page-hero .button {
  margin-top: 30px;
}
.hero-note {
  display: block;
  margin-top: 16px;
  color: #ffffffb8;
  font-size: 13px;
}
.course-hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: center;
}
.course-hero p {
  margin-top: 24px;
  max-width: 590px;
}
.course-hero img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #ffffff20;
}
.outline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.outline-grid p {
  margin-top: 22px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lesson-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.module {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.module small {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 800;
  white-space: nowrap;
}
.module h3 {
  font-size: 15px;
}
.specs {
  margin: 40px 0 0;
  gap: 18px;
}
.specs div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}
.specs dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 700;
}
.specs dd {
  margin: 10px 0 0;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 18px;
}
.pricing {
  max-width: 870px;
}
.pricing h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: normal;
  white-space: pre-line;
}
.pricing p {
  margin: 24px 0 32px;
}
.accordion {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-hero.faq-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: normal;
}
.page-hero.faq-hero p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.625;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s;
}
.accordion-item.is-open {
  border-color: var(--yellow);
}
.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--navy);
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.375;
  font-weight: 700;
  cursor: pointer;
}
.accordion-toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f6f8;
  color: var(--navy);
  font-family: var(--body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.15s;
}
.is-open .accordion-toggle {
  background: var(--yellow);
}
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-panel > div {
  overflow: hidden;
  min-height: 0;
}
.is-open .accordion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.accordion .answer {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.625;
}
.answer a,
.record-steps a {
  color: #296c9f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.answer p + p {
  margin-top: 12px;
}
.section-end {
  margin-top: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid h2 {
  font-size: 24px;
}
.contact-details {
  border-radius: 14px;
  padding: 32px;
}
.contact-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
}
.contact-row > svg {
  padding: 9px;
  box-sizing: content-box;
  border-radius: 7px;
  background: var(--yellow);
  color: var(--navy);
  width: 20px;
  height: 20px;
}
.contact-row h3 {
  font: 700 11px var(--body);
  letter-spacing: 0.15em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-row a {
  overflow-wrap: anywhere;
}
.email-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 26px;
}
.email-card > svg {
  color: var(--blue);
  margin-bottom: 16px;
}
.email-card p {
  margin: 16px 0 24px;
}
.enroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.enroll-grid > div > p {
  margin: 22px 0 30px;
}
.enroll-summary {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.enroll-summary h2 {
  font-size: 24px;
  margin-bottom: 28px;
}
.price-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 24px;
}
.price-total strong {
  font-size: 40px;
  font-family: var(--heading);
}
.enroll-summary > p {
  font-size: 13px;
  margin-top: 8px;
}
.record-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 40px 0;
}
.record-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.record-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #4f92ce15;
  color: #296c9f;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: var(--heading);
  font-weight: 700;
}
.record-steps p {
  margin-top: 8px;
}
.record-steps h3 {
  font-size: 18px;
}
.court-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.county-group {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.county-group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: normal;
}
.county-group h2 svg {
  color: var(--blue);
}
.county-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.county-group a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.county-group a:hover {
  color: var(--blue);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .court-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .court-cards {
    grid-template-columns: 1fr;
  }
}
.back-link {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  margin-top: 24px;
  color: #c4e5fb;
}
.court-content {
  max-width: 832px;
}
.court-detail-hero {
  padding: 112px 0;
}
.court-detail-hero .back-link {
  margin: 0 0 24px;
  font-size: 13px;
  color: #ffffffb3;
}
.court-detail-hero .eyebrow {
  margin-bottom: 24px;
}
.court-detail-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
}
.court-detail-hero p:not(.eyebrow) {
  max-width: 672px;
  margin: 24px auto 36px;
  font-size: 17px;
  line-height: 1.625;
}
.court-detail-hero .button {
  font-size: 16px;
  padding: 16px 32px;
}
.court-detail-section {
  padding: 80px 0;
}
.court-detail-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: normal;
  line-height: 1.5;
}
.court-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.court-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.court-checklist li > svg {
  color: var(--yellow);
  margin-top: 2px;
}
.court-step-label {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font: 700 12px var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.court-checklist p {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.625;
}
.court-checklist a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.court-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.court-info > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: #fff;
}
.court-info > div > svg {
  color: var(--blue);
  margin-top: 4px;
}
.court-info dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue);
}
.court-info dd {
  margin: 4px 0 0;
  font: 700 15px/1.5 var(--heading);
  color: var(--navy);
}
.court-faq-section {
  padding-block: 96px;
}
.court-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.court-faq article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.court-faq h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.court-faq h3 svg {
  color: var(--yellow);
  margin-top: 2px;
}
.court-faq p {
  padding-left: 32px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.625;
}
@media (max-width: 767px) {
  .court-detail-hero {
    padding-block: 80px;
  }
  .court-detail-section {
    padding-block: 64px;
  }
}
@media (max-width: 639px) {
  .court-info {
    grid-template-columns: 1fr;
  }
}
/* Footer and responsive layouts */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
  gap: 44px;
}
.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: #ffffffb3;
  margin-top: 22px;
  max-width: 290px;
}
.site-footer .eyebrow {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 22px 0 0;
}
.site-footer h3 {
  font: 700 12px var(--body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--yellow);
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  font-size: 14px;
  color: #ffffffcc;
}
.icon-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.icon-line svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
  margin-top: 4px;
}
.icon-line a {
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff20;
  padding-top: 24px;
  margin-top: 56px;
}
.footer-bottom p {
  font-size: 12px;
  color: #ffffff99;
}
.footer-bottom .footer-home-link,
.footer-bottom .footer-parent-link {
  color: inherit;
  text-decoration: none;
}
.footer-bottom .footer-home-link:hover {
  color: #4f92ce;
}
.footer-bottom .footer-parent-link:hover {
  color: #fbb91f;
}
.footer-bottom p:last-child {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
@media (min-width: 1450px) {
  .home-hero {
    padding-block: 128px;
  }
  .hero-copy {
    max-width: 720px;
  }
}
@media (max-width: 1100px) {
  .trust-band {
    padding: 26px 22px;
    gap: 18px;
  }
  .trust-item {
    gap: 10px;
  }
  .trust-item strong {
    font-size: 12px;
  }
  .round-icon {
    width: 40px;
    height: 40px;
  }
  .rating-card {
    width: 235px;
  }
  .hero-grid {
    gap: 30px;
  }
  .four-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-hero {
    gap: 36px;
  }
  .outline-grid {
    gap: 32px;
  }
  .why-grid {
    gap: 36px;
  }
  .contact-grid {
    gap: 40px;
  }
}
@media (max-width: 900px) {
  .desktop-nav,
  .desktop-enroll {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
  }
  .mobile-nav > a:not(.button) {
    padding: 12px;
    font-weight: 600;
  }
  .mobile-nav a[aria-current="page"] {
    color: #296c9f;
  }
  .mobile-nav .button {
    margin-top: 10px;
  }
  .hero-grid {
    display: block;
  }
  .hero-copy {
    max-width: 690px;
  }
  .rating-card {
    display: none;
  }
  .home-hero {
    padding: 80px 0 100px;
  }
  .trust-band {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px;
  }
  .trust-item strong {
    font-size: 14px;
  }
  .three-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-intro {
    position: static;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-features {
    margin-top: 30px;
  }
  .final-inner {
    gap: 36px;
  }
  .course-hero {
    grid-template-columns: 1fr 1fr;
  }
  .course-hero h1 {
    font-size: 40px;
  }
  .outline-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid,
  .enroll-grid {
    gap: 32px;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .testimonials figure {
    padding: 28px;
  }
  .footer-grid {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .accordion-trigger {
    font-size: 16px;
  }
  .hero-shade {
    background-image: none;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 72px;
  }
  .logo {
    gap: 10px;
  }
  .logo strong {
    font-size: 14px;
  }
  .logo small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .logo img {
    width: 32px;
    height: 42px;
  }
  .section {
    padding-block: 56px;
  }
  .home-hero {
    padding: 64px 0 85px;
  }
  .home-hero .check-list {
    grid-template-columns: 1fr;
    gap: 14px;
    font-size: 14px;
  }
  .home-hero .button-row {
    margin-top: 30px;
  }
  .button {
    padding: 15px 23px;
  }
  .trust-band {
    padding: 24px 16px;
    gap: 24px 16px;
  }
  .trust-item {
    align-items: flex-start;
    gap: 10px;
  }
  .round-icon {
    width: 32px;
    height: 32px;
  }
  .round-icon svg {
    width: 17px;
  }
  .trust-item strong {
    font-size: 11px;
    line-height: 1.4;
  }
  .trust-item small {
    font-size: 10px;
    margin-top: 4px;
  }
  .four-grid,
  .three-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .feature-card {
    padding: 26px;
  }
  .benefits-grid {
    gap: 16px;
    margin: 32px 0;
  }
  .steps {
    gap: 20px;
  }
  .steps article {
    padding: 24px;
    gap: 20px;
  }
  .how-photo {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .why-features {
    grid-template-columns: 1fr;
    gap: 26px 20px;
  }
  .final-inner {
    display: block;
    width: calc(100% - 40px);
  }
  .final-cta {
    margin-block: 40px;
    padding-block: 40px;
  }
  .final-inner .button-column {
    margin-top: 30px;
    max-width: 320px;
  }
  .page-hero {
    padding: 64px 0 56px;
  }
  .page-hero h1 {
    font-size: 36px;
  }
  .course-hero {
    grid-template-columns: 1fr;
  }
  .course-hero h1 {
    font-size: 39px;
  }
  .course-hero img {
    margin-top: 12px;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module {
    padding: 18px;
  }
  .outline-grid {
    gap: 32px;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .specs div {
    padding: 20px 16px;
  }
  .specs dd {
    font-size: 16px;
  }
  .contact-grid,
  .enroll-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-details,
  .enroll-summary {
    padding: 26px;
  }
  .accordion-trigger {
    padding: 20px;
    font-size: 16px;
  }
  .accordion .answer {
    padding: 0 20px 22px;
    font-size: 14px;
  }
  .record-steps li {
    padding: 20px;
    gap: 14px;
  }
  .record-steps h3 {
    font-size: 16px;
  }
  .record-steps p {
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-about {
    max-width: 360px;
  }
  .footer-bottom {
    display: block;
    margin-top: 36px;
  }
  .footer-bottom p + p {
    margin-top: 12px;
  }
  .site-footer {
    padding-top: 48px;
  }
  .court-cards {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

/* The middle copy is the canonical list; side copies make either direction seamless. */
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
}
.testimonial-track::-webkit-scrollbar {
  display: none;
}
.testimonial-track figure {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testimonial-track figcaption {
  margin-top: auto;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #002b43;
  color: #fff;
  cursor: pointer;
}
.testimonial-controls button:hover {
  background: #4f92ce;
}
.testimonial-controls button:focus-visible,
.testimonial-track:focus-visible {
  outline: 3px solid #fbb91f;
  outline-offset: 4px;
}
.review-star {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
}
.review-star svg {
  display: block;
}
.testimonials .review-star-empty {
  color: #cbd5e1;
  fill: none;
}
.review-star-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  overflow: hidden;
}
.review-star-fill svg {
  max-width: none;
  fill: #fbb91f;
  color: #fbb91f;
}
@media (max-width: 900px) {
  .testimonial-track figure {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 600px) {
  .testimonial-track figure {
    flex-basis: 100%;
  }
}
.testimonial-window {
  position: relative;
  margin-top: 42px;
}
.testimonial-window .testimonial-track {
  margin-top: 0;
}
.testimonial-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  cursor: pointer;
}
.testimonial-edge-left {
  left: 0;
  background: linear-gradient(to right, #fff, #ffffff00);
}
.testimonial-edge-right {
  right: 0;
  background: linear-gradient(to left, #fff, #ffffff00);
}
@media (hover: none) {
  .testimonial-edge {
    pointer-events: none;
  }
}

/* Court guide additions; retain the established site typography and palette. */
.court-cards { align-items: start; }
.county-group > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-family: var(--heading); font-weight: 700; font-size: 16px; line-height: 1.4; }
.county-group > summary::-webkit-details-marker { display: none; }
.county-group > summary > svg { color: var(--blue); flex-shrink: 0; }
.county-group > summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 22px; line-height: 1; }
.county-group[open] > summary::after { content: "−"; }
.county-group > summary:focus-visible { outline-offset: 6px; border-radius: 3px; }
.county-group ul:empty { display: none; }
.county-directory-help { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.county-directory-help a { text-decoration: underline; text-underline-offset: 3px; }
.court-directory-note { max-width: 860px; margin: 0 auto 48px; line-height: 1.75; }
.court-review-date { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.court-info small { display: block; font-weight: 400; margin-top: 5px; }
.court-info svg { flex-shrink: 0; }
.court-local-guide { padding-top: 56px; padding-bottom: 72px; }
.court-guide-section { margin-bottom: 38px; }
.court-local-guide h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: normal; line-height: 1.3; margin-bottom: 16px; }
.court-guide-section p, .court-sources p, .court-course-cta p { line-height: 1.8; margin-bottom: 16px; }
.court-sources { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 48px; }
.court-sources ul { list-style: none; padding: 0; display: grid; gap: 16px; margin: 24px 0; }
.court-sources li { display: flex; align-items: baseline; gap: 12px; }
.court-sources svg { flex-shrink: 0; color: var(--blue); }
.court-sources a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.court-sources a:hover { color: var(--blue); }
.court-sources p { font-size: 14px; color: var(--muted); }
.court-course-cta { background: var(--surface); border-radius: 18px; border: 1px solid var(--border); padding: 32px; margin-top: 40px; }
.court-course-cta .eyebrow { color: var(--blue); }
.court-course-cta .button-row { justify-content: center; align-items: center; }
#court-instructions { scroll-margin-top: 100px; }
@media(max-width: 639px) { .court-course-cta { padding: 24px; } .court-detail-hero { padding-block: 60px; } .court-local-guide { padding-top: 40px; } }
