
:root {
  color-scheme: light;
  --paper: #f5f8f5;
  --card: #fff;
  --ink: #152d2a;
  --muted: #435e59;
  --line: #d9e5dc;
  --mint: #caf78d;
  --green: #163f35;
  --blue: #dfe7ff;
  --sans: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --serif:Georgia,serif;
}

* {
  box-sizing:border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:1rem/1.6 var(--sans);
}

a {
  color:inherit;
}

button,input {
  font:inherit;
}

button {
  cursor:pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #2861d4;
  outline-offset:4px;
}

h1,h2,h3,p {
  margin-top:0;
}

h1,h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height:1.03;
}

h1 {
  font-size: clamp(2.8rem,7vw,5.6rem);
  margin-bottom:1.25rem;
}

h2 {
  font-size: clamp(2rem,5vw,3.25rem);
  margin-bottom:1rem;
}

h3 {
  font-size: 1.13rem;
  line-height: 1.3;
  margin-bottom:.4rem;
}

p {
  margin-bottom:1rem;
}

.wrap {
  width: min(1120px,calc(100% - 48px));
  margin:auto;
}

.bar {
  border-bottom:1px solid var(--line);
}

.nav {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:1rem;
}

.brand {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  text-decoration: none;
  font-weight: 750;
  letter-spacing:-.03em;
}

.mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--mint);
  font-size: 1.25rem;
  line-height:1;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap:wrap;
}

.navlinks a,.back,.source {
  font-weight: 650;
  text-underline-offset:.2em;
}

.menu-link {
  text-decoration:none;
}

.navlinks a:hover,.menu-link:hover {
  text-decoration:underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .55rem;
  padding: .7rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  background: var(--green);
  color: white;
  min-height:44px;
}

.button:hover {
  background:#24584b;
}

.button.mint {
  background: var(--mint);
  color:var(--ink);
}

.button.mint:hover {
  background:#b5e878;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color:#8ca39a;
}

.button.ghost:hover {
  background:#e7eee9;
}

.skip {
  position: absolute;
  top: -300px;
  left: 1rem;
  background: #fff;
  padding: 1rem;
  z-index:2;
}

.skip:focus {
  top:1rem;
}

.demo {
  background: var(--blue);
  text-align: center;
  color: #23375e;
  padding: .35rem 1rem;
  font-size:.875rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.9fr);
  gap: clamp(2rem,6vw,6rem);
  align-items: center;
  border-radius: 1.2rem;
  background: var(--green);
  color: #f7fcf3;
  padding: clamp(1.5rem,5vw,4rem);
  margin:2.25rem auto 3.5rem;
}

.hero p {
  color: #dfede4;
  max-width: 36ch;
  font-size:1.08rem;
}

.hero .eyebrow {
  color:var(--mint);
}

.eyebrow {
  font: 700 .8rem/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom:.85rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top:1.4rem;
}

.hero .ghost {
  color: #f3f9f4;
  border-color:#a6bdb1;
}

.hero .ghost:hover {
  background:#28564a;
}

.hero-figure {
  margin: 0;
  background: #deebd9;
  color: var(--ink);
  border-radius: .9rem;
  padding: 1.45rem;
  position: relative;
  overflow:hidden;
}

.hero-figure figcaption {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom:1rem;
}

.sample-value {
  font-family: var(--serif);
  font-size: clamp(2.8rem,6vw,4.5rem);
  letter-spacing: -.07em;
  line-height: 1;
  margin-bottom:1.2rem;
}

.sample-bar {
  display: grid;
  grid-template-columns: 4fr 7fr 3fr;
  gap: 4px;
  height: 12px;
  margin-bottom:1.2rem;
}

.sample-bar span {
  border-radius: 4px;
  background:#456d5b;
}

.sample-bar span:nth-child(2) {
  background:#f9a97d;
}

.sample-bar span:nth-child(3) {
  background:#607dc5;
}

.allocation {
  padding: 0;
  margin: 0;
  list-style:none;
}

.allocation li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .55rem 0;
  border-top: 1px solid #b4c8ba;
  font-size:.9rem;
}

.allocation strong {
  white-space:nowrap;
}

.section {
  padding:0 0 3.5rem;
}

.intro {
  max-width: 66ch;
  color:var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  list-style: none;
  padding:0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .8rem;
  padding:1.3rem 1.45rem;
}

.card p:last-child {
  margin-bottom:0;
}

.card a {
  text-underline-offset:.2em;
}

.overline {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom:.55rem;
}

.page {
  padding-top: 2.3rem;
  padding-bottom:4rem;
}

.page h1 {
  font-size:clamp(2.6rem,6vw,4.4rem);
}

.narrow {
  max-width:760px;
}

.strip {
  background: #e3efe4;
  border-radius: .8rem;
  padding: 1.2rem 1.4rem;
  margin:1.2rem 0;
}

.story {
  background: var(--green);
  color: #f5fcf4;
  margin: 1.6rem 0 1.8rem;
  padding: 1.4rem 1.6rem;
  border-radius:.8rem;
}

.story h2 {
  color:var(--mint);
}

.story p {
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height:1.55;
}

.story p:last-child,.strip p:last-child {
  margin-bottom:0;
}

.lesson-body {
  margin:1.8rem 0;
}

.lesson-body h2,.strip h2,.story h2 {
  font-size:1.9rem;
}

.check {
  background: white;
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .75rem 1rem;
  margin-bottom:.55rem;
}

.check summary {
  cursor: pointer;
  font-weight:650;
}

.check p {
  margin:.7rem 0 .25rem;
}

.pagers {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top:1.8rem;
}

.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.25rem 0;
  font-size:.88rem;
}

.foot p {
  margin:0;
}

.admin-form {
  display: flex;
  gap: .6rem;
  align-items: end;
  flex-wrap:wrap;
}

.field {
  flex:1 1 16rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom:.25rem;
}

.field input {
  width: 100%;
  border: 1px solid #849d91;
  border-radius: .4rem;
  padding: .53rem .7rem;
  min-height: 44px;
  background:white;
}

.enrollments {
  padding: 0;
  margin: 1rem 0;
  list-style:none;
}

.enrollments li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  border-bottom: 1px solid var(--line);
  padding:.55rem 0;
}

.enrollments span {
  overflow-wrap:anywhere;
}

.notice {
  border-left: 4px solid #5273c0;
  background: var(--blue);
  padding: .7rem 1rem;
  margin:1rem 0;
}

.demo-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:.65rem;
}

.demo-choice form {
  margin:0;
}

.demo-choice span {
  display: block;
  overflow-wrap:anywhere;
}

.choice-name {
  font-weight:700;
}

.source-list {
  padding-left:1.25rem;
}

.public-note {
  margin-top: 1.25rem;
  color:var(--muted);
}

@media(max-width:700px) {
  .wrap {
    width:calc(100% - 28px);
  }
  .hero,.grid {
    grid-template-columns:1fr;
  }
  .hero {
    gap: 1.7rem;
    margin-top: 1rem;
    margin-bottom:2rem;
  }
  .nav {
    min-height: 66px;
    gap:.5rem;
  }
  .navlinks {
    gap:.6rem;
  }
  .navlinks a {
    font-size:.92rem;
  }
  .brand .mark {
    width: 1.65rem;
    height:1.65rem;
  }
  .brand {
    font-size: .93rem;
    gap:.35rem;
  }
  .navlinks .button {
    padding:.4rem .65rem;
  }
  .page {
    padding-top:1.5rem;
  }
  .hero p {
    font-size:1rem;
  }
  .public-menu {
    display:none;
  }
}
