.home-page .masthead { min-height: 62px; }
.home-title { display: inline-flex; align-items: baseline; gap: 12px; }
.home-title strong { font-size: 20px; letter-spacing: -0.04em; }
.home-title span { color: var(--muted); font-size: 11px; font-weight: 750; }
.header-nav { display: flex; align-items: center; gap: 5px; }
.header-nav a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid transparent; font-size: 12px; font-weight: 800; }
.header-nav a:hover, .header-nav a:focus-visible { border-color: var(--ink); background: #fff; outline: 0; }

.page-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 30px 24px; border-bottom: 1px solid var(--ink); }
.page-intro h1 { font-size: clamp(27px, 3.1vw, 39px); line-height: 1.1; letter-spacing: -0.05em; }
.page-intro p { color: var(--muted); font-size: 13px; }

.function-menu { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding-block: 30px; border-bottom: 1px solid var(--ink); }
.function-menu h2 { padding-top: 14px; font-size: 15px; letter-spacing: -0.03em; }
.function-list { border-top: 1px solid var(--ink); }
.function-list a { min-height: 70px; display: grid; grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 14px 12px; border-bottom: 1px solid #cfd5dc; }
.function-list strong { font-size: 17px; }
.function-list span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.function-list a:hover, .function-list a:focus-visible { background: #fff; box-shadow: inset 3px 0 0 var(--blue); outline: 0; }
.function-menu--member { background: rgba(255, 255, 255, 0.28); }

.member-access { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 24px; border-bottom: 1px solid var(--ink); }
.member-access h2 { font-size: 16px; }
.member-access p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.member-access > a { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.member-access > a:hover, .member-access > a:focus-visible { background: var(--ink); color: #fff; outline: 0; }

.exam-guide { padding-block: 38px 54px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.section-heading h2 { font-size: clamp(24px, 2.7vw, 34px); letter-spacing: -0.045em; }
.section-heading p { color: var(--muted); font-size: 12px; }
.exam-comparison { margin-top: 16px; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.38); }
.exam-comparison > div { display: grid; grid-template-columns: 140px repeat(2, minmax(0, 1fr)); }
.exam-comparison > div + div { border-top: 1px solid var(--ink); }
.exam-comparison > div > * { min-height: 74px; display: flex; align-items: center; margin: 0; padding: 15px 18px; line-height: 1.5; }
.exam-comparison > div > * + * { border-left: 1px solid var(--ink); }
.exam-comparison__head > * { min-height: 42px !important; font-size: 12px; font-weight: 850; }
.exam-comparison span[role="rowheader"] { color: var(--muted); font-size: 12px; font-weight: 850; }
.exam-comparison > div > p { flex-direction: column; align-items: flex-start; justify-content: center; font-size: 13px; }
.exam-comparison p strong { font-size: 17px; }
.pass-rule { min-height: 70px; display: flex; align-items: center; gap: clamp(20px, 5vw, 70px); padding: 16px 18px; border: 1px solid var(--ink); border-top: 0; }
.pass-rule span { color: var(--blue); font-size: 12px; font-weight: 900; }
.pass-rule strong { font-size: clamp(15px, 1.6vw, 20px); letter-spacing: -0.03em; }
.exam-guide__links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.exam-guide__links a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--ink); font-size: 11px; font-weight: 820; }
.exam-guide__links a:hover, .exam-guide__links a:focus-visible { background: var(--ink); color: #fff; outline: 0; }

@media (max-width: 760px) {
  .home-title span { display: none; }
  .home-title strong { font-size: 18px; }
  .header-nav a { min-height: 32px; padding-inline: 7px; font-size: 10px; }
  .page-intro { display: block; }
  .page-intro p { margin-top: 7px; }
  .function-menu { grid-template-columns: 1fr; gap: 12px; }
  .function-menu h2 { padding-top: 0; }
  .member-access { align-items: flex-start; flex-direction: column; gap: 14px; }
  .exam-comparison { overflow-x: auto; }
  .exam-comparison > div { min-width: 630px; }
  .pass-rule { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .page-width { width: min(100% - 24px, 1420px); }
  .function-list a { grid-template-columns: 1fr; gap: 4px; }
}

/* Readability for descriptions and exam guidance. */
.home-title span { font-size: 13px; }
.header-nav a { font-size: 13px; }
.page-intro p { font-size: 16px; line-height: 1.6; }
.function-list span { font-size: 15px; line-height: 1.6; }
.member-access p { font-size: 15px; line-height: 1.65; }
.member-access > a { font-size: 14px; }
.section-heading p, .exam-comparison__head > *, .exam-comparison span[role="rowheader"], .pass-rule span { font-size: 14px; }
.exam-comparison > div > p { font-size: 15px; line-height: 1.55; }
.exam-guide__links a { font-size: 13px; }
