:root {
  --exam-ink: #0b1d3a;
  --exam-blue: #0d4f91;
  --exam-green: #059669;
  --exam-teal: #14b8a6;
  --exam-gold: #d4af37;
  --exam-text: #4d5d6d;
  --exam-muted: #718090;
  --exam-line: #dbe4eb;
  --exam-soft: #f4f7f9;
  --exam-white: #fff;
  --exam-shadow: 0 18px 45px rgba(11, 29, 58, 0.08);
}

.exam-page {
  overflow: hidden;
  color: var(--exam-text);
}

.exam-shell {
  width: min(calc(100% - 40px), 1280px);
  margin-inline: auto;
}

.exam-eyebrow,
.exam-kicker {
  margin: 0;
  color: var(--exam-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.exam-page h1,
.exam-page h2,
.exam-page h3 {
  margin-top: 0;
  color: var(--exam-ink);
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.exam-page h1 span,
.exam-page h2 span {
  color: var(--exam-blue);
}

.exam-page p {
  line-height: 1.7;
}

.exam-hero {
  position: relative;
  padding: clamp(74px, 9vw, 126px) 0 clamp(62px, 7vw, 96px);
  border-bottom: 1px solid var(--exam-line);
  background:
    linear-gradient(90deg, rgba(13, 79, 145, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(13, 79, 145, 0.045) 1px, transparent 1px),
    #fff;
  background-size: 48px 48px;
}

.exam-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--exam-green), var(--exam-teal), var(--exam-gold));
}

.exam-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(52px, 7vw, 104px);
}

.exam-hero h1 {
  max-width: 800px;
  margin: 18px 0 24px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.02;
}

.exam-hero h1 span {
  display: block;
}

.exam-hero__lead {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.exam-hero__actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.exam-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 19px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.exam-button:hover,
.exam-button:focus-visible {
  transform: translateY(-2px);
}

.exam-button--primary {
  color: var(--exam-white);
  background: var(--exam-blue);
  box-shadow: 0 10px 24px rgba(13, 79, 145, 0.18);
}

.exam-button--secondary {
  border-color: var(--exam-line);
  color: var(--exam-blue);
  background: var(--exam-white);
}

.exam-text-link {
  color: var(--exam-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.exam-text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.exam-text-link:hover span {
  transform: translateX(4px);
}

.exam-hero__brief {
  border-top: 4px solid var(--exam-blue);
  padding: 30px;
  background: var(--exam-white);
  box-shadow: var(--exam-shadow);
}

.exam-brief__label {
  margin: 0 0 18px;
  color: var(--exam-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.exam-hero__brief ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.exam-hero__brief li {
  display: grid;
  min-height: 90px;
  align-items: center;
  border-top: 1px solid var(--exam-line);
  grid-template-columns: 48px 1fr;
  gap: 14px;
}

.exam-hero__brief li:first-child {
  border-top: 0;
}

.exam-hero__brief li > span {
  color: var(--exam-blue);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.exam-hero__brief li p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.exam-hero__brief li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--exam-ink);
}

.cycle-strip {
  border-bottom: 1px solid var(--exam-line);
  background: var(--exam-ink);
}

.cycle-strip__inner {
  display: grid;
  min-height: 92px;
  align-items: center;
  grid-template-columns: 150px 1fr;
  gap: 28px;
}

.cycle-strip__stamp {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.4;
}

.cycle-strip__stamp span {
  display: block;
  color: var(--exam-teal);
  font-weight: 700;
  text-transform: uppercase;
}

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

.cycle-strip__items a {
  display: grid;
  min-height: 54px;
  align-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  text-decoration: none;
  grid-template-columns: auto 1fr;
  gap: 3px 8px;
}

.cycle-strip__items strong {
  grid-column: 1 / -1;
  color: var(--exam-white);
  font-size: 0.78rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  margin-top: 2px;
  border-radius: 50%;
}

.status-dot--complete {
  background: var(--exam-green);
}

.status-dot--upcoming {
  background: var(--exam-gold);
}

.status-dot--active {
  background: var(--exam-teal);
}

.exam-guides {
  padding-block: clamp(74px, 9vw, 122px);
}

.exam-section-heading {
  display: grid;
  margin-bottom: 42px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 54px;
}

.exam-section-heading h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 3.6vw, 3.65rem);
  line-height: 1.08;
}

.exam-section-heading > p {
  margin: 0;
  font-size: 0.92rem;
}

.exam-mobile-select {
  display: none;
}

.exam-tabs {
  display: grid;
  border: 1px solid var(--exam-line);
  grid-template-columns: repeat(4, 1fr);
  background: var(--exam-white);
}

.exam-tabs button {
  position: relative;
  display: grid;
  min-height: 82px;
  align-content: center;
  border: 0;
  border-left: 1px solid var(--exam-line);
  padding: 13px 20px;
  color: var(--exam-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.exam-tabs button:first-child {
  border-left: 0;
}

.exam-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  content: "";
  background: transparent;
}

.exam-tabs button[aria-selected="true"] {
  color: var(--exam-blue);
  background: #f7fafc;
}

.exam-tabs button[aria-selected="true"]::after {
  background: var(--exam-blue);
}

.exam-tabs span {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
}

.exam-tabs strong {
  margin-top: 4px;
  color: var(--exam-ink);
  font-size: 0.88rem;
}

.exam-panel {
  border: 1px solid var(--exam-line);
  border-top: 0;
  padding: clamp(28px, 4vw, 54px);
  background: var(--exam-white);
  box-shadow: var(--exam-shadow);
}

.exam-panel[hidden] {
  display: none;
}

.exam-panel__header {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr auto;
  gap: 36px;
}

.exam-panel__header h2 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 3.7vw, 3.7rem);
}

.exam-panel__header p:not(.exam-kicker) {
  max-width: 790px;
  margin: 0;
}

.exam-status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.exam-status--complete {
  color: #087653;
  background: #e5f7f0;
}

.exam-status--upcoming {
  color: #725914;
  background: #fff6d9;
}

.exam-status--active {
  color: #076c71;
  background: #e3f8f7;
}

.exam-facts {
  display: grid;
  margin-top: 34px;
  border-block: 1px solid var(--exam-line);
  grid-template-columns: repeat(4, 1fr);
}

.exam-facts div {
  display: grid;
  min-height: 86px;
  align-content: center;
  border-left: 1px solid var(--exam-line);
  padding: 14px 20px;
  gap: 5px;
}

.exam-facts div:first-child {
  border-left: 0;
}

.exam-facts span {
  color: var(--exam-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.exam-facts strong {
  color: var(--exam-ink);
  font-size: 0.88rem;
}

.exam-alert {
  display: grid;
  margin-top: 26px;
  align-items: center;
  border-left: 4px solid var(--exam-green);
  padding: 16px 18px;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  background: #f0faf7;
}

.exam-alert--upcoming {
  border-left-color: var(--exam-gold);
  background: #fffaf0;
}

.exam-alert strong {
  color: var(--exam-ink);
  font-size: 0.76rem;
}

.exam-alert p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
}

.exam-detail-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--exam-line);
}

.exam-block {
  min-width: 0;
  min-height: 360px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--exam-white);
}

.exam-block__heading {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  gap: 12px;
}

.exam-block__heading > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--exam-line);
  border-radius: 50%;
  color: var(--exam-blue);
  font-size: 0.62rem;
  font-weight: 700;
}

.exam-block__heading h3 {
  margin: 0;
  font-size: 1.2rem;
}

.exam-timeline {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

.exam-timeline::before {
  position: absolute;
  top: 9px;
  bottom: 10px;
  left: 67px;
  width: 1px;
  content: "";
  background: var(--exam-line);
}

.exam-timeline li {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: 52px 1fr;
  gap: 28px;
}

.exam-timeline li::before {
  position: absolute;
  top: 7px;
  left: 63px;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid var(--exam-white);
  border-radius: 50%;
  background: var(--exam-blue);
  box-shadow: 0 0 0 1px var(--exam-line);
}

.exam-timeline li.is-current::before {
  background: var(--exam-green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.exam-timeline time {
  color: var(--exam-blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.exam-timeline p {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.45;
}

.exam-timeline strong {
  display: block;
  margin-bottom: 2px;
  color: var(--exam-ink);
}

.exam-checklist {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.exam-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 0.77rem;
  line-height: 1.55;
}

.exam-checklist li::before {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 7px;
  height: 12px;
  content: "";
  border: solid var(--exam-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.exam-pattern,
.exam-fees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--exam-line);
}

.exam-pattern div,
.exam-fees p {
  display: grid;
  min-height: 74px;
  align-content: center;
  margin: 0;
  padding: 13px 15px;
  gap: 5px;
  background: var(--exam-soft);
}

.exam-pattern span,
.exam-fees span {
  color: var(--exam-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.exam-pattern strong,
.exam-fees strong {
  color: var(--exam-ink);
  font-size: 0.76rem;
}

.exam-block > small {
  display: block;
  margin-top: 14px;
  color: var(--exam-muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.exam-documents {
  margin-top: 1px;
  border: 1px solid var(--exam-line);
  background: var(--exam-white);
}

.exam-documents summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--exam-ink);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.exam-documents summary::-webkit-details-marker {
  display: none;
}

.exam-documents summary small {
  color: var(--exam-blue);
  font-size: 0.64rem;
}

.exam-documents[open] summary {
  border-bottom: 1px solid var(--exam-line);
}

.exam-documents__grid {
  display: grid;
  padding: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.exam-documents ul {
  display: grid;
  margin: 0;
  padding-left: 18px;
  gap: 9px;
}

.exam-documents li {
  font-size: 0.73rem;
  line-height: 1.5;
}

.after-result {
  display: grid;
  margin-top: 28px;
  padding: clamp(24px, 3vw, 36px);
  color: var(--exam-white);
  background: var(--exam-ink);
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}

.after-result h3 {
  max-width: 390px;
  margin: 9px 0 0;
  color: var(--exam-white);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.after-result ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.after-result li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  line-height: 1.5;
}

.after-result li span {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 11px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--exam-teal);
  font-weight: 700;
}

.exam-panel__actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 10px;
}

.exam-compare {
  padding-block: clamp(76px, 9vw, 120px);
  border-block: 1px solid var(--exam-line);
  background: var(--exam-soft);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--exam-line);
  background: var(--exam-white);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--exam-line);
  padding: 20px;
  font-size: 0.75rem;
  text-align: left;
}

.compare-table thead th {
  color: var(--exam-muted);
  background: #f8fafb;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--exam-blue);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.exam-cta {
  display: grid;
  min-height: 330px;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 44px;
}

.exam-cta h2 {
  max-width: 850px;
  margin: 13px 0 0;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 1.08;
}

.exam-disclaimer {
  border-top: 1px solid var(--exam-line);
  padding-block: 18px;
  background: #fbfcfd;
}

.exam-disclaimer .exam-shell {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
}

.exam-disclaimer strong {
  color: var(--exam-ink);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.exam-disclaimer p {
  margin: 0;
  color: var(--exam-muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

[data-exam-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-exam-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .exam-hero__grid {
    grid-template-columns: 1fr;
  }

  .exam-hero__brief {
    width: min(100%, 680px);
  }

  .cycle-strip__inner {
    padding-block: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cycle-strip__stamp span {
    display: inline;
    margin-right: 6px;
  }

  .exam-section-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .exam-tabs button {
    padding-inline: 14px;
  }

  .exam-detail-grid {
    grid-template-columns: 1fr;
  }

  .exam-block {
    min-height: auto;
  }

  .after-result {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .exam-cta {
    padding-block: 70px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .exam-shell {
    width: min(calc(100% - 28px), 1280px);
  }

  .exam-hero {
    padding-top: 60px;
  }

  .exam-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .exam-hero__brief {
    padding: 22px;
  }

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

  .cycle-strip__items a {
    min-height: 60px;
  }

  .exam-tabs {
    display: none;
  }

  .exam-mobile-select {
    display: grid;
    margin-bottom: 12px;
    gap: 7px;
  }

  .exam-mobile-select span {
    color: var(--exam-ink);
    font-size: 0.7rem;
    font-weight: 700;
  }

  .exam-mobile-select select {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--exam-line);
    border-radius: 4px;
    padding: 0 12px;
    color: var(--exam-ink);
    background: var(--exam-white);
    font: inherit;
  }

  .exam-panel {
    border-top: 1px solid var(--exam-line);
    padding: 22px 16px;
  }

  .exam-panel__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .exam-status {
    justify-self: start;
  }

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

  .exam-facts div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--exam-line);
  }

  .exam-facts div:nth-child(4) {
    border-top: 1px solid var(--exam-line);
  }

  .exam-alert {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .exam-detail-grid {
    margin-top: 26px;
  }

  .exam-block {
    padding: 24px 18px;
  }

  .exam-pattern,
  .exam-fees {
    grid-template-columns: 1fr;
  }

  .exam-documents__grid {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .after-result {
    padding: 24px 18px;
  }

  .after-result ol {
    grid-template-columns: 1fr;
  }

  .after-result li {
    display: grid;
    align-items: center;
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .after-result li span {
    margin-bottom: 0;
  }

  .exam-panel__actions {
    display: grid;
  }

  .exam-panel__actions .exam-button {
    width: 100%;
  }

  .exam-disclaimer .exam-shell {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-exam-reveal] {
    opacity: 1;
    transform: none;
  }
}
