:root { font: 100%/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #182f34; background: #f5f6f3; }
* { box-sizing: border-box; }
body { margin: 0; }
.sheet { width: min(1200px, calc(100% - 32px)); margin: clamp(12px, 3vw, 36px) auto; background: white; border: 1px solid #d9e1da; border-radius: 12px; overflow: clip; }
header, footer, main { padding-inline: clamp(20px, 5vw, 68px); }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; background: #182f34; color: white; padding-block: 17px; font-weight: 700; font-size: 1.15rem; }
.student-login { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .9rem; color: white; border: 1px solid #b5cec5; border-radius: 6px; text-decoration: none; font-size: 1rem; }
.student-login:hover, .student-login:focus-visible { background: white; color: #182f34; }
main { padding-block: clamp(28px, 5vw, 58px); }
.edition { color: #12483e; font-size: .9rem; font-weight: 700; letter-spacing: .12em; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; margin: .35em 0; }
.intro, .sample-intro { max-width: 62ch; color: #435752; }
.intro { margin: 0 0 1.25rem; }
.join { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: #435752; }
.join-link { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1rem; color: white; background: #12483e; border-radius: 6px; font-weight: 650; text-decoration: none; }
.join-link:hover, .join-link:focus-visible { background: #0c342c; }
.sample-heading { margin: 2.5rem 0 .25rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.sample-intro { margin: 0 0 1.25rem; }
details { border-top: 1px solid #ccd9d0; }
details:last-of-type { border-bottom: 1px solid #ccd9d0; }
summary { list-style: none; display: grid; grid-template-columns: 11em 1fr auto; gap: 1rem; align-items: baseline; cursor: pointer; padding: 20px 0; }
summary::-webkit-details-marker { display:none; }
summary span, h2 { color: #12483e; }
summary strong { font-size: 1.12rem; }
summary::after { content: "+"; color: #12483e; font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px; background: #f5f7f3; }
h2 { font-size: 1.16rem; margin: 0 0 .4rem; }
.examples p { margin: 0; }
.practice { padding: 18px 0 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 650; max-width: 68ch; margin-bottom: .5rem; }
label { display: flex; align-items: baseline; gap: .65rem; padding: .55rem 0; cursor: pointer; }
input { accent-color: #12483e; }
button { border: 1px solid #12483e; border-radius: 6px; background: #12483e; color: white; padding: .65rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.secondary { color: #12483e; background: white; }
.feedback { background: #eaf3ec; padding: 1rem; max-width: 68ch; }
:focus-visible { outline: 3px solid #356e91; outline-offset: 2px; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: 17px; border-top: 1px solid #d9e1da; font-size: .9rem; color: #475c56; }
footer a, .practice-account { color: #12483e; text-underline-offset: .15em; }
.practice-account { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: 1rem; font-weight: 650; }
@media (max-width: 640px) {
  .examples { grid-template-columns: 1fr; }
  summary { grid-template-columns: 1fr auto; gap: .2rem .8rem; }
  summary span, summary strong { grid-column: 1; }
  summary::after { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
