:root {
  color-scheme: light;
  --ink: #192d26;
  --muted: #52645b;
  --green: #165d43;
  --line: #c9d7cb;
  --paper: #fcfdf9;
  --home-bg: #edf3ec;
  --focus: #a04c09;
  --skip-bg: white;
  --cta-hover: #104832;
  --cta-ink: white;
  --table-head: #203f33;
  --group-bg: #e3eddf;
  --group-ink: #2a513c;
  --detail-bg: #f2f5ee;
  --state-unknown: #3a4e53;
  --state-yes: #216144;
  --state-no: #803f3b;
  --state-limited: #81520d;
  --mono: "IBM Plex Mono", Consolas, monospace;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #e3eee6;
    --muted: #aebfb4;
    --green: #94dfb3;
    --line: #3b5246;
    --paper: #15211b;
    --home-bg: #101a15;
    --focus: #f3ba75;
    --skip-bg: var(--paper);
    --cta-hover: #b6eccb;
    --cta-ink: #13241a;
    --table-head: #243e32;
    --group-bg: #23352b;
    --group-ink: #b4dbc1;
    --detail-bg: #1b2a22;
    --state-unknown: #b6c9cd;
    --state-yes: #94dfb3;
    --state-no: #f5a7a0;
    --state-limited: #efc281;
  }
}
* { box-sizing: border-box }
body, p, h1 { margin: 0 }
a { color: var(--green); text-underline-offset: .2em }
a:hover { text-decoration-thickness: 2px }
button { font: inherit; cursor: pointer }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { width: auto; height: auto; padding: .6rem; margin: 0; clip-path: none; background: var(--skip-bg); z-index: 10 }

.masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 1.5rem; padding-inline: clamp(1rem, 3vw, 3rem); border-bottom: 1px solid var(--line); background: var(--paper) }
.brand { display: inline-flex; align-items: center; gap: .65rem; padding-block: .95rem; font-size: 1.15rem; font-weight: 750; letter-spacing: -.04em; text-decoration: none; color: var(--ink) }
.mark { width: 26px; height: 26px; border: 2px solid var(--green); border-radius: 4px; background: linear-gradient(to bottom,var(--green) 0 28%,transparent 28% 61%,var(--green) 61% 69%,transparent 69%), linear-gradient(to right,transparent 0 36%,var(--green) 36% 44%,transparent 44%) }
nav { display: flex; align-self: stretch; gap: 1.5rem }
nav a { display: grid; place-items: center; padding: .8rem .1rem; border-bottom: 3px solid transparent; font-weight: 550; color: var(--muted); text-decoration: none }
nav a:hover, nav a[aria-current] { color: var(--green); border-color: currentColor }
.theme-toggle { align-self: center; margin-block: .35rem; padding: .45rem .65rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; font-size: .9rem; font-weight: 550 }
.theme-toggle:hover, .theme-toggle[aria-pressed=true] { color: var(--green); border-color: currentColor; background: var(--group-bg) }

.home-page { min-height: 100vh; background: var(--home-bg) }
.intro { width: min(88%, 53rem); margin-inline: auto; padding-block: clamp(1rem, 3vh, 2rem) }
.intro h1 { max-width: 19ch; font: 500 clamp(3rem, 7vw, 6rem)/1.02 Georgia, serif; letter-spacing: -.055em; text-wrap: balance }
.intro > p { max-width: 55ch; margin-block: .75rem 1rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.55 }
.cta { display: inline-flex; gap: 1.25rem; align-items: center; padding: 1rem 1.4rem; background: var(--green); color: var(--cta-ink); border-radius: 5px; text-decoration: none; font-weight: 650 }
.cta:hover { background: var(--cta-hover) }
.choices { margin-top: clamp(1rem, 3vh, 2rem); border-top: 1px solid var(--line) }
.choices h2 { margin: .75rem 0; font: 500 2.25rem/1.15 Georgia, serif; letter-spacing: -.035em }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem }
.choice { padding: 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--paper) }
.choice h3 { margin: 0 0 .55rem; color: var(--muted); font-size: .9rem; font-weight: 600 }
.course-link { display: inline-flex; align-items: center; gap: .5rem; font: 500 1.85rem/1.2 Georgia, serif; text-decoration-thickness: 1px }
.choice p { margin-top: .85rem; line-height: 1.55 }
.affiliation-note { margin-top: .75rem; color: var(--muted); font-size: .95rem; line-height: 1.5 }

.comparison-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh }
.comparison-page .masthead { flex: none }
.table-scroll { flex: 1; min-height: 0; overflow: auto }
.table-scroll:focus-visible { outline-offset: -3px }
#comparison { width: 100%; min-width: 67rem; table-layout: fixed; border-spacing: 0; font-size: .96rem }
#comparison th, #comparison td { text-align: left; padding: .75rem clamp(.75rem, 1.5vw, 1.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top }
#comparison tr > :last-child { border-right: 0 }
#comparison thead th { position: sticky; top: 0; z-index: 3; background: var(--table-head); color: white; padding-block: .95rem; font-weight: 600 }
#comparison thead th:first-child { width: clamp(9rem, 20vw, 21rem); left: 0; z-index: 4 }
#comparison tbody th[scope=row] { position: sticky; left: 0; z-index: 1; background: var(--paper) }
#comparison .group-title { padding-block: .45rem; font: 600 .85rem var(--mono); color: var(--group-ink); background: var(--group-bg) }
.group-note { display: block; max-width: min(85ch, calc(100vw - 3rem)); margin-top: .3rem; font: 400 .9rem/1.45 "Inter", "Segoe UI", Arial, sans-serif }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem }
.rating + .rating { margin-top: .25rem }
.rating-label { width: 4.1rem; color: var(--muted); font-size: .84rem }
.evidence + .evidence { margin-top: .8rem }
.disclosure { display: block; text-align: left; padding: .2rem 0 .2rem 1.15rem; color: var(--ink); background: none; border: 0; font-weight: 600; position: relative }
.disclosure:hover { color: var(--green); text-decoration: underline }
.disclosure::before { content: "+"; position: absolute; left: 0; color: var(--green); font: 1rem var(--mono) }
.disclosure[aria-expanded=true]::before { content: "−" }
.state { display: inline-flex; gap: .32rem; align-items: center; font-weight: 650; font-size: .89rem; color: var(--state-unknown) }
.state::before { font-family: var(--mono); content: "?" }
.state.yes, .state.platform-specific-yes { color: var(--state-yes) }
.state.yes::before, .state.platform-specific-yes::before { content: "✓" }
.state.no { color: var(--state-no) }.state.no::before { content: "×" }
.state.limited { color: var(--state-limited) }.state.limited::before { content: "◐" }
.cell-note { display: block; font-size: .87rem; font-weight: 400; line-height: 1.45; color: var(--muted); margin-top: .15rem }
.overall-review { margin: .55rem 0 0; font-size: .87rem; line-height: 1.5; color: var(--muted) }
.overall-review blockquote { margin: 0; padding-inline-start: .65rem; border-inline-start: 2px solid var(--line) }
.overall-review p + p { margin-top: .65rem }
.overall-review figcaption { margin: .45rem 0 0 .77rem; font-size: .8rem }
#comparison .detail > * { background: var(--detail-bg); font-weight: 400; font-size: .89rem; line-height: 1.5 }
.detail a { display: inline-block; margin-top: .4rem }
.site-link { display: flex; align-items: center; gap: .4rem; width: fit-content; padding-block: .2rem; font-weight: 600 }
.site-link svg { width: 1.15em; height: 1.15em; flex-shrink: 0 }
#pricing td { font-size: .9rem; font-variant-numeric: tabular-nums }
#pricing td > a, .plan-name { font-weight: 650 }
.plan-name { display: block; margin-top: .6rem }
#pricing details { margin-top: .6rem; line-height: 1.45 }
#pricing summary { color: var(--green); cursor: pointer }
#pricing details p { margin-block: .4rem }

.stars { color: var(--green); font-size: 1.1rem; letter-spacing: .08em }
.editing-meter { display: block; width: 100%; max-width: 10rem; height: .7rem; margin: .35rem 0; accent-color: var(--green) }
#formula-section tr[id^="editing-"] .cell-note { overflow-wrap: anywhere }
#formula-section .detail a + a { margin-left: .65em }
#formula-lookup { display: block; margin-top: .45rem; width: 100%; max-width: 15rem; padding: .32rem; font: .88rem var(--mono); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 3px }
.function-list { margin-top: .55rem }
.function-list summary { color: var(--green); cursor: pointer }
.function-list-description { margin: .6rem 0 .25rem }
.function-names { margin: .35rem 0; max-height: 15rem; overflow: auto; overflow-wrap: anywhere; font: .82rem/1.65 var(--mono) }
.function-result .rating-label { display: block; margin-bottom: .1rem; color: var(--muted); font-size: .79rem }
.function-result a { display: block; width: fit-content; font-size: .87rem; line-height: 1.5 }
.function-result .rating-label:not(:first-child) { margin-top: .6rem }

@media (max-width: 32rem) {
  .masthead { flex-direction: column; align-items: start }
  .brand { padding-bottom: .35rem }
  nav { flex-wrap: wrap; gap: 0 .75rem }
  nav a { padding-block: .65rem }
}
@media print {
  nav, .skip { display: none }
  .comparison-page { display: block; height: auto }
  .table-scroll { overflow: visible }
  #comparison { min-width: 0; font-size: .8rem }
  #comparison thead th:first-child { width: 20% }
  #comparison thead th, #comparison tbody th[scope=row] { position: static }
}
