:root {
  color-scheme: light;
  --ink: #162b2a;
  --muted: #4c6260;
  --forest: #123b36;
  --leaf: #1d5e53;
  --background: #f5f8f7;
  --paper: #fff;
  --line: #d6e3df;
  --gold: #886324;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: var(--leaf); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #a36710; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.14; margin: 0 0 .6em; font-weight: 550; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.032em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small { font-size: .85rem; }
.shell { width: min(1150px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; padding: .7rem; left: -100vw; background: white; z-index: 9; }
.skip:focus { left: 1rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font-weight: 720; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font-weight: 450; margin-top: .3rem; color: var(--muted); }
.brand-mark { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid #c5d7d0; border-radius: 50%; font: 1.55rem var(--serif); color: var(--forest); }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav a:hover, nav [aria-current] { text-decoration: underline; }
.nav-account { border: 1px solid var(--line); border-radius: .48rem; padding: .5rem .8rem; }
.main { padding-block: 2.5rem 3rem; min-height: 72vh; }
.hero { background: var(--forest); color: #fff; border-radius: 1rem; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; overflow: hidden; }
.hero-content { padding: clamp(1.7rem, 5vw, 4.3rem); padding-right: .5rem; }
.hero h1 { font-size: clamp(3.1rem, 8vw, 6.4rem); margin: .1em 0 .27em; }
.hero h1 em { color: #c0d9c8; font-weight: inherit; }
.eyebrow { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 730; color: var(--leaf); }
.hero .eyebrow { color: #c3dfd1; }
.intro { font-size: clamp(1.08rem, 2vw, 1.32rem); max-width: 39rem; color: var(--muted); }
.hero .intro { color: #e0ece6; margin-bottom: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .62rem 1.1rem; border-radius: .48rem; border: 1px solid var(--forest); background: var(--forest); color: #fff; font-weight: 650; text-align: center; text-decoration: none; }
.button:hover { background: var(--leaf); color: white; }
.hero .button { background: #f6efe0; border-color: #f6efe0; color: var(--ink); }
.hero .button:hover { background: #fff; }
.outline { background: transparent; color: var(--forest); }
.diploma-visual { position: relative; min-height: 320px; display: grid; align-items: center; padding: 2rem clamp(1.4rem, 5vw, 3.5rem); background: radial-gradient(ellipse at center, #326a5a 0, transparent 68%); }
.paper { transform: rotate(-6deg); background: #fbf8ef; color: var(--forest); padding: 2.2rem 1.4rem; position: relative; display: grid; justify-items: center; align-content: center; min-height: 220px; box-shadow: 0 1.4rem 3rem #071f20aa; text-align: center; }
.paper::before { content: ""; position: absolute; inset: .65rem; border: 3px double #9d7e48; pointer-events: none; }
.paper-mark { font: 1.5rem var(--serif); border: 1px solid #a18450; border-radius: 50%; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; color: var(--gold); margin-bottom: .75rem; }
.paper p { margin: 0; font-size: .85rem; }
.paper strong { font: clamp(1.7rem, 4vw, 2.7rem) var(--serif); }
.paper small { color: #685534; }
.paper-rule { width: 40%; border-top: 1px solid #b39a75; margin: .6rem 0; }
.path, .syllabus { margin-top: 3.4rem; }
.section-title { margin-bottom: 1.35rem; max-width: 49rem; }
.section-title p:last-child { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.card { background: var(--paper); padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .75rem; }
.card p:last-child { margin-bottom: 0; }
.path .card { border-top: 4px solid #629584; }
.path .module-actitudes { border-top-color: #ac8750; }
.module-actitudes .eyebrow { color: var(--gold); }
.path h3 { font: 1.7rem var(--serif); }
.text-link { font-weight: 650; }
.verification-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.verification-strip p { margin-bottom: 0; }
.verification-strip h2 { margin-bottom: .25em; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; border-top: 1px solid var(--line); padding-block: 1.4rem; color: var(--muted); font-size: .9rem; }
.footer div { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.page-title { margin: 1rem 0 2rem; }
.page-title h1 { margin-bottom: .25em; }
.exam-facts, .prose { max-width: 54rem; }
.syllabus { scroll-margin-top: 1rem; }
.syllabus .button { margin-top: 1.1rem; }
dl { margin: 0; }
dt { font-weight: 650; margin-top: .7em; }
dd { margin: .15rem 0 0; color: var(--muted); }
.form { display: grid; align-content: start; gap: .85rem; }
.form > .button { justify-self: start; margin-top: .25rem; }
.form label:not(.check, .option) { display: grid; gap: .25rem; font-weight: 650; }
.form input:not([type="checkbox"], [type="radio"]) { min-width: 0; width: 100%; padding: .58rem .7rem; border: 1px solid #849c95; border-radius: .38rem; background: white; color: var(--ink); font-weight: normal; }
.check, .option { display: flex; align-items: start; gap: .65rem; font-weight: 450; }
.check input, .option input { accent-color: var(--forest); width: 1.25rem; height: 1.25rem; flex: none; margin: .15em 0 0; }
.feedback { color: #852d23; font-weight: 650; margin-block: 1rem; }
.feedback:empty { display: none; }
.account-bar, .record, .question-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.account-bar { margin-bottom: 1rem; }
.account-bar h2 { margin-bottom: 0; }
#dashboard .card + .card, .verify-result { margin-top: 1rem; }
.record { padding: .8rem 0; border-bottom: 1px solid var(--line); justify-content: start; }
.record strong { margin-right: auto; }
.actions { margin-top: 1rem; }
.exam-card, #exam-error { max-width: 53rem; }
.exam-card li + li { margin-top: .55rem; }
#exam:fullscreen { background: var(--background); color: var(--ink); overflow: auto; padding: clamp(.7rem, 5vw, 3rem); }
#exam:fullscreen > * { margin-inline: auto; }
#exam:fullscreen #exam-title { max-width: 53rem; margin-top: .5rem; }
.question-top { border-bottom: 1px solid var(--line); padding-bottom: .7rem; color: var(--muted); font-weight: 660; }
.question-top p { margin: 0; }
#timer { font-variant-numeric: tabular-nums; }
fieldset { border: 0; margin: 1rem 0 0; padding: 0; min-width: 0; }
legend { font: clamp(1.35rem, 3vw, 1.85rem)/1.25 var(--serif); margin-bottom: 1rem; }
#options { display: grid; gap: .55rem; }
.option { padding: .7rem; border: 1px solid var(--line); border-radius: .45rem; }
.option:has(input:checked) { border-color: var(--leaf); background: #e8f3ee; }
.interruption { background: #fff5df; border: 1px solid #dfba77; border-radius: .45rem; padding: .8rem; margin-top: 1rem; }
.narrow { max-width: 35rem; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .65rem; }
  nav { gap: .45rem .8rem; }
  nav a { font-size: .88rem; }
  .hero, .grid { grid-template-columns: 1fr; }
  .hero-content { padding-right: 1.7rem; }
  .diploma-visual { min-height: 0; padding: 1.2rem 2rem 2.2rem; }
  .paper { min-height: 174px; padding: 1.4rem; }
  .main { padding-top: 1.3rem; }
  .exam-card ul { padding-left: 1.2rem; }
}
