:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #526176;
  --line: #dce5ef;
  --surface: #ffffff;
  --wash: #f3f7fb;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --gold: #f59e0b;
  --blue: #0b65c2;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 239, 0.9);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
}

.brand img {
  border-radius: 12px;
  height: 38px;
  width: 38px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 86vh;
  overflow: hidden;
  padding: 92px clamp(18px, 5vw, 72px) 8vh;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 28, 40, 0.82), rgba(5, 28, 40, 0.36) 46%, rgba(5, 28, 40, 0.1)),
    linear-gradient(0deg, rgba(5, 28, 40, 0.72), rgba(5, 28, 40, 0.08) 48%);
}

.hero-content {
  color: #ffffff;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  margin-bottom: 22px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
  max-width: 650px;
}

.hero-actions,
.contact-section {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  background: #ffffff;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.button.light {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--ink);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: #ffffff;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 24px clamp(18px, 4vw, 42px);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 960px;
  text-align: center;
}

.section-heading h2,
.notice-section h2,
.contact-section h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 16px;
}

.section-heading p,
.notice-section p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.app-grid {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1180px;
}

.app-panel,
.operator-panel,
.pricing-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-panel {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.app-copy {
  align-self: center;
}

.app-icon {
  border-radius: 22px;
  height: 92px;
  margin-bottom: 24px;
  object-fit: cover;
  width: 92px;
}

.app-kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.app-copy h3,
.operator-panel h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.app-copy p,
.operator-panel p,
.app-copy li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.app-copy ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.app-copy li + li {
  margin-top: 10px;
}

.screens {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.screens img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  display: block;
  width: 100%;
}

.operator-panel {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(11, 101, 194, 0.94)),
    url("assets/bay-state-exams-combined-apps.png") center / cover;
  color: #ffffff;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.operator-panel .app-kicker,
.operator-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.operator-panel h3 {
  color: #ffffff;
  max-width: 620px;
}

.operator-panel p {
  max-width: 720px;
}

.operator-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.operator-features span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
}

.feature-section {
  background: #eef5f8;
}

.feature-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1120px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.process-grid article,
.faq-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.feature-number {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.feature-grid h3,
.process-grid h3,
.faq-grid h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.feature-grid p,
.process-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  counter-reset: process;
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article {
  position: relative;
}

.process-grid article::before {
  background: var(--teal);
  border-radius: 999px;
  color: #ffffff;
  content: counter(process);
  counter-increment: process;
  display: grid;
  font-size: 14px;
  font-weight: 900;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  width: 34px;
}

.about-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(11, 79, 75, 0.94), rgba(15, 23, 42, 0.92)),
    url("assets/bay-state-exams-combined-apps.png") center / cover;
  color: #ffffff;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
}

.about-copy {
  max-width: 820px;
}

.about-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 18px;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.58;
}

.about-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 24px;
}

.about-card img {
  border-radius: 16px;
  height: 64px;
  margin-bottom: 8px;
  object-fit: cover;
  width: 64px;
}

.about-card strong {
  font-size: 22px;
}

.about-card span,
.about-card p {
  color: rgba(255, 255, 255, 0.78);
}

.about-card p {
  line-height: 1.5;
  margin-bottom: 0;
}

.pricing-section {
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1080px;
}

.pricing-grid article {
  box-shadow: none;
  padding: 28px;
}

.price-label {
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.price {
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}

.pricing-grid p:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.store-section {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.store-section div {
  max-width: 760px;
}

.store-section h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  margin-bottom: 16px;
}

.store-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 0;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.disabled-button {
  cursor: default;
  opacity: 0.82;
}

.notice-section {
  align-items: center;
  background: #0b3436;
  color: #ffffff;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
}

.notice-section p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.faq-section {
  background: var(--wash);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-section {
  background: #ffffff;
  justify-content: space-between;
}

.contact-card {
  align-items: flex-start;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  font-style: normal;
  gap: 8px;
  min-width: min(100%, 330px);
  padding: 20px;
}

.contact-card img {
  border-radius: 14px;
  height: 52px;
  margin-bottom: 6px;
  object-fit: cover;
  width: 52px;
}

.contact-card strong {
  font-size: 20px;
}

.contact-card span {
  color: var(--muted);
  font-weight: 750;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 850;
}

footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

footer a {
  color: #ffffff;
  font-weight: 800;
}

.legal-page {
  background: #ffffff;
  padding-top: 72px;
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(11, 79, 75, 0.96), rgba(15, 23, 42, 0.94)),
    url("assets/bay-state-exams-combined-apps.png") center / cover;
  color: #ffffff;
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px) clamp(44px, 8vw, 84px);
}

.legal-hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  max-width: 980px;
}

.legal-hero p:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  margin-bottom: 0;
}

.legal-content {
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(42px, 7vw, 76px) clamp(18px, 5vw, 36px);
}

.legal-content h2 {
  font-size: 28px;
  margin: 34px 0 10px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header {
    height: 64px;
  }

  nav {
    gap: 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 28, 40, 0.84), rgba(5, 28, 40, 0.22)),
      linear-gradient(90deg, rgba(5, 28, 40, 0.6), rgba(5, 28, 40, 0.18));
  }

  .app-panel,
  .about-section,
  .notice-section,
  .pricing-grid,
  .feature-grid,
  .process-grid,
  .faq-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .screens {
    grid-template-columns: 1fr 1fr;
  }

  .screens img:nth-child(3) {
    display: none;
  }
}

@media (max-width: 560px) {
  nav a:nth-child(2),
  nav a:nth-child(3),
  nav a:nth-child(4),
  nav a:nth-child(5) {
    display: none;
  }

  .hero {
    padding-bottom: 44px;
  }

  .screens {
    grid-template-columns: 1fr;
  }

  .screens img:nth-child(2) {
    display: none;
  }

  .contact-section {
    align-items: flex-start;
  }

  .contact-card {
    width: 100%;
  }
}
