:root {
  --navy: #0d2d4c;
  --navy-2: #183f5f;
  --green: #0b806b;
  --gold: #f6b13d;
  --ink: #122235;
  --muted: #5d6c7d;
  --line: #d9e4ed;
  --soft: #f5f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-strip {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.top-strip .row,
.site-header .row,
.wrap,
.footer-row {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.top-strip .row {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.regions {
  display: flex;
  gap: 18px;
  color: #c6d3de;
  white-space: nowrap;
}

.regions strong,
.regions a {
  color: var(--white);
}

.regions a {
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 58px;
  height: 44px;
  display: block;
  flex: 0 0 58px;
}

.brand strong {
  display: block;
  font-size: 18px;
  color: var(--navy);
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 20px);
  font-weight: 800;
  color: var(--navy);
}

.top-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid #cbd7e1;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(14, 36, 58, 0.08);
}

.btn-primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.btn-accent {
  border-color: var(--gold);
  background: var(--gold);
  color: #10243a;
}

.newsletter-optin {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px auto;
  padding: 14px 16px 14px 18px;
  border: 1px solid #f1cf8a;
  border-radius: 8px;
  background: #fff8e8;
  box-shadow: 0 12px 28px rgba(18, 34, 53, 0.08);
}

.newsletter-optin strong,
.newsletter-optin span {
  display: block;
}

.newsletter-optin strong {
  color: var(--navy);
  font-size: 18px;
}

.newsletter-optin span {
  max-width: 820px;
  color: #594115;
  font-size: 14px;
  font-weight: 700;
}

.newsletter-optin .btn {
  min-height: 42px;
  flex: 0 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 45, 76, 0.98) 0%, rgba(13, 45, 76, 0.86) 42%, rgba(13, 45, 76, 0.34) 70%, rgba(13, 45, 76, 0.12) 100%),
    url("https://www.elitehometutoring.com/ehtwp/wp-content/uploads/2015/11/shutterstock_106086803.jpg") right top / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffe29b;
  font-weight: 900;
}

h1 {
  max-width: 640px;
  margin: 24px 0 18px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--navy);
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.hero p {
  max-width: 660px;
  margin: 0 0 28px;
  color: #e7eef5;
  font-size: 24px;
}

.hero .btn {
  min-height: 56px;
  font-size: 17px;
}

.wrap {
  padding: 56px 0;
}

.page-hero {
  padding: 58px 0 32px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
}

.page-hero .lead {
  max-width: 850px;
}

.section {
  padding: 58px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.card p,
.muted {
  color: var(--muted);
  margin: 0;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li + li {
  margin-top: 6px;
}

.band {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.band h2 {
  color: var(--white);
}

.band p {
  color: #dce7ef;
  margin: 0;
}

#human-connection,
#process,
#application-path,
#application {
  scroll-margin-top: 112px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 12px 30px rgba(18, 34, 53, 0.08);
}

.proof-row div {
  background: var(--white);
  padding: 22px;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.proof-row span {
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}

.support-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 750;
}

.support-note strong {
  flex: 0 0 auto;
  color: var(--navy);
}

.location-grid,
.review-source-grid {
  display: grid;
  gap: 18px;
}

.location-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card,
.review-source-card,
.redirect-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 34, 53, 0.06);
}

.location-card,
.review-source-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 22px;
}

.location-card p,
.review-source-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.location-card .btn,
.review-source-card .btn {
  margin-top: auto;
}

.review-source-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eaf5f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.redirect-note {
  padding: 24px;
}

.redirect-note ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.redirect-note li + li {
  margin-top: 8px;
}

.redirect-note code {
  color: var(--navy);
  font-weight: 800;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.timeline-step {
  min-height: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.timeline-step > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.timeline-step p {
  color: var(--muted);
  margin: 0;
}

.trial-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 26px 0 8px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #cfe1dc;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.trial-panel div {
  min-height: 148px;
  padding: 22px;
  background: #f7fbfa;
}

.trial-panel strong,
.trial-panel span {
  display: block;
}

.trial-panel strong {
  color: var(--green);
  margin-bottom: 8px;
  font-size: 19px;
}

.trial-panel span {
  color: var(--ink);
}

.trial-request-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid #f4d39b;
  border-radius: 8px;
  background: #fff7e8;
}

.trial-request-strip strong,
.trial-request-strip span {
  display: block;
}

.trial-request-strip strong {
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 19px;
}

.trial-request-strip span {
  color: #4d3a16;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
}

.check-list strong,
.check-list span {
  display: block;
}

.check-list strong {
  color: var(--navy);
  margin-bottom: 4px;
}

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

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.route-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.route-card .actions {
  margin-top: 18px;
}

.route-clarity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.route-clarity-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 18px;
  border: 1px solid #d7e3ea;
  border-radius: 8px;
  background: #f8fbfd;
}

.route-clarity-card strong,
.route-clarity-card span {
  display: block;
}

.route-clarity-card strong {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.route-clarity-card span {
  color: var(--muted);
  line-height: 1.55;
}

.route-clarity-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.contact-intake {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #f7fbfa;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.contact-intake h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid #d7e8e3;
  border-radius: 8px;
  background: var(--white);
}

.request-list strong,
.request-list span {
  display: block;
}

.request-list strong {
  color: var(--green);
  margin-bottom: 4px;
}

.request-list span {
  color: var(--muted);
}

.trial-request-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.trial-request-card h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.request-template {
  display: grid;
  gap: 12px;
}

.request-template p {
  margin: 0;
  padding: 16px;
  border: 1px solid #d7e8e3;
  border-radius: 8px;
  background: #f7fbfa;
  color: var(--muted);
}

.request-template strong {
  color: var(--green);
}

.online-fit-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
  margin: 8px 0 56px;
  padding: 30px;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  background: #eef5f9;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.online-fit-panel h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.subject-routing {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
  margin: 8px 0 56px;
  padding: 30px;
  border: 1px solid #d7e8e3;
  border-radius: 8px;
  background: #f7fbfa;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.subject-routing h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.subject-route-list {
  display: grid;
  gap: 12px;
}

.subject-route-list p {
  margin: 0;
  padding: 17px;
  border: 1px solid #d7e8e3;
  border-radius: 8px;
  background: var(--white);
}

.subject-route-list strong,
.subject-route-list span {
  display: block;
}

.subject-route-list strong {
  color: var(--green);
  margin-bottom: 4px;
}

.subject-route-list span {
  color: var(--muted);
}

.fit-checks {
  display: grid;
  gap: 12px;
}

.fit-checks p {
  margin: 0;
  padding: 17px;
  border: 1px solid #d5e1ea;
  border-radius: 8px;
  background: var(--white);
}

.fit-checks strong,
.fit-checks span {
  display: block;
}

.fit-checks strong {
  color: var(--navy);
  margin-bottom: 4px;
}

.fit-checks span {
  color: var(--muted);
}

.quote-panel {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.quote-panel blockquote {
  margin: 0;
  border-left: 5px solid var(--gold);
  background: var(--white);
  border-radius: 8px;
  padding: 22px 24px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.review-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.review-signal {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18, 34, 53, 0.07);
}

.review-signal strong,
.review-signal span {
  display: block;
}

.review-signal strong {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 20px;
}

.review-signal span {
  color: var(--muted);
}

.feature-list,
.pathways,
.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.feature,
.pathway,
.application-step,
.application-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.application-step strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.application-step span {
  color: var(--muted);
}

.application-note {
  margin-top: 16px;
  background: #fff7e8;
  border-color: #f4d39b;
  color: #3c2c10;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--navy);
  font-weight: 900;
}

.faq-nav a:hover,
.faq-nav a:focus-visible {
  background: #eef5f9;
}

.faq-stack {
  display: grid;
  gap: 16px;
}

.faq-section {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-section h2 {
  margin-bottom: 4px;
  color: var(--navy);
}

.faq-section details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  overflow: hidden;
}

.faq-section summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 950;
  cursor: pointer;
}

.faq-section summary::marker {
  color: var(--green);
}

.faq-section details p {
  margin: 0;
  padding: 0 16px 16px 32px;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .top-strip .row,
  .site-header .row,
  .footer-row {
    width: min(100% - 28px, 1180px);
  }

  .site-header .row {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .top-actions,
  .regions {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
  }

  .hero {
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(13, 45, 76, 0.98) 0%, rgba(13, 45, 76, 0.88) 58%, rgba(13, 45, 76, 0.7) 100%),
      url("https://www.elitehometutoring.com/ehtwp/wp-content/uploads/2015/11/shutterstock_106086803.jpg") center top / cover no-repeat;
  }

  .hero-inner,
  .wrap,
  .newsletter-optin {
    width: min(100% - 28px, 1180px);
  }

  .newsletter-optin {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero p {
    font-size: 19px;
  }

  .grid,
  .proof-row,
  .timeline,
  .review-signal-grid,
  .route-grid,
  .route-clarity-grid,
  .feature-list,
  .pathways,
  .application-grid,
  .location-grid,
  .review-source-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .support-note {
    flex-direction: column;
  }

  .faq-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step {
    min-height: auto;
  }

  .split-panel,
  .contact-intake,
  .online-fit-panel,
  .trial-request-card,
  .subject-routing {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .trial-request-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .trial-panel {
    grid-template-columns: 1fr;
  }

  .trial-panel div {
    min-height: auto;
  }

  .band {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
}
