:root {
  color-scheme: light;
  --ink: #142520;
  --muted: #415952;
  --paper: #f8f7f1;
  --white: #fffef9;
  --line: #c9d2c9;
  --accent: #125c4c;
  --tint: #e0f0e4;
  font: 17px/1.52 system-ui, sans-serif;
}
:root[data-brand="general-assembly"] {
  --ink: #251f24;
  --muted: #5b4852;
  --paper: #f8f5f3;
  --white: #fffdfc;
  --line: #d8c8c8;
  --accent: #a21731;
  --tint: #f8e5e6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: .24em; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.3rem, 2.65vw, 2.1rem); }
p + p { margin-top: .75em; }
li + li { margin-top: .28em; }
ol, ul { padding-left: 1.35em; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-head { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand, .site-label { color: var(--ink); font-size: .89rem; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 750; }
.brand span { width: .7rem; height: .7rem; background: var(--accent); display: inline-block; }
.site-label { color: var(--muted); text-align: right; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 2; top: .4rem; left: .5rem; width: auto; height: auto; clip-path: none; padding: .5rem; background: var(--white); }
.hero { display: grid; grid-template-columns: 1.35fr .9fr; align-items: center; gap: clamp(1.2rem, 5vw, 5rem); padding: clamp(2.3rem, 7vw, 6.8rem) 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .74rem; font-weight: 800; letter-spacing: .11em; }
.hero .eyebrow, .exercise article > .eyebrow { margin-bottom: 1rem; }
.period { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--muted); line-height: 1.45; }
.hero .lead, .exercise .lead { margin: 1.1em 0; max-width: 38em; }
.button, button { display: inline-block; background: var(--white); border: 1px solid var(--accent); border-radius: .38rem; padding: .46rem .75rem; font: inherit; font-weight: 700; color: var(--accent); text-decoration: none; cursor: pointer; }
button[hidden] { display: none; }
button:hover, .button:hover { background: var(--tint); color: var(--ink); }
.primary { background: var(--accent); color: white; padding: .68rem .9rem; }
.file-card { border: 1px solid var(--line); background: var(--white); border-radius: .6rem; overflow: hidden; box-shadow: .65rem .65rem 0 var(--tint); transform: rotate(-1.5deg); }
.file-head { display: flex; justify-content: space-between; padding: .75rem 1.1rem; color: var(--accent); background: var(--tint); font: .72rem/1.4 ui-monospace, monospace; font-weight: 700; }
.file-body { padding: 1.3rem; }
.file-body p { font-size: 1.35rem; font-weight: 800; margin-bottom: .85rem; }
.file-body div { margin-top: .42rem; }
.file-body small, .agenda small { color: var(--muted); }
.tick { display: inline-grid; place-items: center; vertical-align: middle; color: white; width: 1.15rem; height: 1.15rem; border: 1px solid var(--accent); border-radius: .2rem; margin-right: .4em; font-weight: 750; font-size: .85rem; }
.tick.checked { background: var(--accent); }
.file-body .track { background: var(--tint); border-radius: 1rem; margin: 1rem 0 .35rem; overflow: hidden; }
.track span { background: var(--accent); width: 40%; height: .3rem; display: block; }
.home-details { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem clamp(1.5rem, 6vw, 6rem); border-top: 1px solid var(--line); padding: 2.4rem 0 4rem; }
.home-details h2 { margin: .55rem 0 .7rem; }
.agenda, .extensions { list-style: none; padding: 0; }
.agenda li { margin: 0; }
.agenda a { display: grid; grid-template-columns: 2em 1fr auto; align-items: baseline; gap: .6em; padding: .52em 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.agenda a:hover span:nth-child(2) { text-decoration: underline; }
.agenda-number { font-family: ui-monospace, monospace; color: var(--accent); }
.extensions { padding-top: .3em; }
.deck { max-width: 62rem; padding-block: clamp(.65rem, 2vw, 1.35rem); }
.slide { background: var(--white); border: 1px solid var(--line); border-radius: .6rem; padding: clamp(1rem, 3vw, 2rem); }
.slide-meta { display: flex; justify-content: space-between; gap: .8em; font-size: .81rem; color: var(--accent); text-transform: uppercase; font-weight: 800; letter-spacing: .09em; }
.slide h1 { font-size: clamp(2rem, 5vw, 3.9rem); margin-block: .27em .24em; }
.slide .lead { margin-top: .35em; }
.slide ol, .slide ul { margin-block: .65em; }
.checks { padding: .65rem .85rem; border-inline-start: .23rem solid var(--accent); background: var(--tint); }
.checks h2 { font-size: 1rem; letter-spacing: 0; }
.checks ul { margin-block: .28em 0; }
.exercise-link { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .8em; margin-top: .8em; }
.exercise-link a { overflow-wrap: anywhere; }
.timer { display: flex; align-items: center; flex-wrap: wrap; gap: .55em; padding-top: .7em; }
.timer-readout { font: 700 1.2rem ui-monospace, monospace; min-width: 3em; }
.timer button, .prompt button { font-size: .85rem; }
.deck-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: .5rem; padding-block: .8rem; font-size: .9rem; }
.deck-nav span { color: var(--muted); }
.deck-nav a:last-child { text-align: right; }
.exercise { max-width: 48rem; padding-block: 1.5rem 4rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.exercise h1 { font-size: clamp(2.15rem, 5vw, 3.8rem); }
.exercise h2 { margin-top: 1em; }
.exercise .checks h2 { margin: 0; }
.exercise-note { color: var(--muted); margin: .85em 0 1.15em; }
.prompt { background: var(--white); border: 1px solid var(--line); border-radius: .5rem; padding: 1rem; }
.prompt h2 { margin-top: 0; }
.prompt pre { font: 1rem/1.5 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
[data-copy-status] { margin-left: .5em; color: var(--muted); }
.print-deck > .slide { margin-block: 1em; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 1.8rem); }
  .hero, .home-details { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .file-card { transform: none; margin-right: .4rem; }
}
@page { size: 13.333in 7.5in; margin: .35in; }
@media print {
  :root { font-size: 20px; }
  .print-page .site-head, .print-page .skip { display: none; }
  .print-page, .print-page .shell { background: white; width: auto; margin: 0; }
  .print-deck > .slide { margin: 0; border: none; padding: .1in .15in; break-after: page; break-inside: avoid; }
  .print-deck > .slide:last-child { break-after: auto; }
  .print-deck .slide h1 { font-size: 3rem; }
  .print-deck .slide { print-color-adjust: exact; }
}
