/* The public website (web/templates/site/), plus the header and footer it shares with the sign-in pages.
   The palette is Grade Integrity's: #FDFEFD (paper), #8F9E4F (olive) and #06080A (ink); site.css defines the
   base tokens. Olive is too light for text on paper, so text uses ink on olive, or the deeper --accent-text.
   Page rules are scoped to body.www so the app's own pages are untouched. These pages are always light, whatever the
   visitor's computer is set to (data-theme="light" in their templates; see site.css). */
:root { --ink: #06080A; --paper: #FDFEFD; --olive: #8F9E4F; --olive-hover: #a0ae62; --wash: #f4f6ec; --olive-soft: #e6ead3;
        --band: #06080A; --band-text: #c4c9ba; --band-line: rgba(253, 254, 253, .14);
        --shadow: 0 1px 2px rgba(6, 8, 10, .05), 0 28px 60px -28px rgba(6, 8, 10, .32);
        --rule: rgba(143, 158, 79, .16); }
body.www { --v0: #b42318; --v0bg: #fde8e7; --v1: #9a6200; --v1bg: #fdf1d8; --v2: #1f6f43; --v2bg: #e3f4ea;
           --v3: #5d6675; --v3bg: #eef0f3; }

body.www, .site-header, .site-footer { box-sizing: border-box; }
body.www *, body.www *::before, body.www *::after, .site-header *, .site-footer * { box-sizing: inherit; }
body.www { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 "Segoe UI", system-ui, -apple-system,
           "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* element defaults with no specificity, so any class below wins */
:where(body.www) img { max-width: 100%; height: auto; }
:where(body.www) p { margin: 0 0 1em; }
:where(body.www) :is(h1, h2, h3) { margin: 0; color: var(--fg); }
:where(body.www) main { display: block; }
/* links to #sections, and whatever the keyboard focuses, stay clear of the sticky header (WCAG 2.4.11) */
html:has(.site-header) { scroll-padding-top: 88px; }

.wrap-w { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap-w { padding: 0 16px; } }

/* type */
.eyebrow { margin: 0 0 14px !important; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
           color: var(--accent-text); }
.display { font-size: clamp(42px, 6.4vw, 76px); font-weight: 760; letter-spacing: -.038em; line-height: 1.0; text-wrap: balance; }
.display-sm { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; }
.display em { font-style: normal; background: linear-gradient(transparent 58%, rgba(143, 158, 79, .45) 58%, rgba(143, 158, 79, .45) 92%, transparent 92%);
              padding: 0 .06em; margin: 0 -.06em; }
.h2 { font-size: clamp(30px, 3.7vw, 46px); font-weight: 740; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.h3 { font-size: 21px; font-weight: 680; letter-spacing: -.012em; line-height: 1.3; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 660px; }
.lead { margin-top: 20px; }
.small-note { font-size: 15px; color: var(--muted); margin-top: 18px !important; }
:where(body.www) a { color: var(--accent-text); text-underline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px;
       border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 650;
       line-height: 1.2; text-decoration: none !important; cursor: pointer; white-space: nowrap;
       transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn-primary { background: var(--olive); color: var(--ink) !important; }
.btn-primary:hover { background: var(--olive-hover); }
.btn-ghost { background: transparent; color: var(--fg) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-dark { background: var(--ink); color: var(--paper) !important; }
.btn-dark:hover { background: #1b2025; }
.btn-line-dark { background: transparent; color: var(--ink) !important; border-color: rgba(6, 8, 10, .35); }
.btn-line-dark:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* header (also on the sign-in pages) */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
               -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
               border-bottom: 1px solid var(--line); font-family: "Segoe UI", system-ui, -apple-system, sans-serif; }
.site-header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header .brand { font-size: 18px; flex: none; }
.site-nav { display: flex; gap: 4px; margin-right: auto; }
.site-nav a, .site-menu-panel nav a { color: var(--muted); text-decoration: none; font-weight: 560; font-size: 15.5px;
                                      padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { color: var(--fg); background: var(--wash); }
.site-nav a[aria-current] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--olive); border-radius: 0; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-signin { color: var(--fg) !important; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; }
.site-signin:hover { color: var(--accent-text) !important; }
.site-menu { display: none; margin-left: auto; }
.site-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
                     border: 1px solid var(--line); border-radius: 10px; color: var(--fg); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-menu[open] summary { background: var(--wash); }
.site-menu-panel { position: absolute; left: 0; right: 0; top: 72px; display: flex; flex-direction: column; gap: 10px;
                   padding: 12px 16px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
/* set, not inherited: browsers put a <details>'s content in a box of their own, which breaks the inheritance and made
   the full-width button 38px wider than the menu on phones */
.site-header .site-menu-panel, .site-header .site-menu-panel * { box-sizing: border-box; }
.site-menu-panel nav { display: flex; flex-direction: column; }
.site-menu-panel nav a { color: var(--fg); padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
.site-menu-panel .site-signin { padding: 10px 4px; }
.site-menu-panel .btn { width: 100%; min-height: 48px; }
@media (max-width: 880px) {
  .site-nav, .site-actions { display: none; }
  .site-menu { display: block; }
}

/* sections */
.section { padding: 104px 0; }
.section-tint { background: var(--wash); }
.section-flush-top { padding-top: 0; }
.section-top-line { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center, .center .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* home: hero */
.hero { position: relative; padding: 96px 0 112px; overflow: hidden;
        background: radial-gradient(1100px 560px at 88% -8%, var(--olive-soft), transparent 62%); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 38px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%); mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero > .wrap-w, .page-hero > .wrap-w { position: relative; }
.hero-copy { max-width: 860px; }
.hero .lead { max-width: 700px; }
.fine { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; font-size: 15px; color: var(--muted); }
.fine li { display: inline-flex; align-items: center; gap: 8px; }
.fine .ico-svg { width: 18px; height: 18px; stroke: var(--accent-text); stroke-width: 2.4; }
.hero-visual { position: relative; margin-top: 72px; padding-right: 7%; }
.frame { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--head);
             border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); flex: none; }
.frame-url { margin-left: 12px; flex: 0 1 340px; min-width: 0; height: 24px; padding: 0 10px; display: flex; align-items: center;
             border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted);
             font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img, .shot img { display: block; width: 100%; height: auto; }
.frame-main img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.hero-float { position: absolute; right: 0; bottom: -56px; width: 42%; border-radius: 12px; transform: rotate(1.2deg); }
.float-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600;
              background: var(--surface); border-top: 1px solid var(--line); color: var(--fg); }
@media (max-width: 760px) {
  .hero { padding: 64px 0 72px; }
  .hero-visual { padding-right: 0; margin-top: 48px; }
  .hero-float { position: relative; right: auto; bottom: auto; width: 86%; margin: -28px 0 0 auto; transform: rotate(1deg); }
}

/* home: what it reads */
.works-with { border-bottom: 1px solid var(--line); padding: 28px 0; }
.works-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; }
.works-label { font-size: 14px; color: var(--muted); }
.works-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 640; color: var(--fg); font-size: 16px; }
.works-item img { height: 24px; width: auto; }
.works-item .ico-svg { width: 22px; height: 22px; stroke: var(--accent-text); }
@media (max-width: 700px) { .works-label { flex-basis: 100%; text-align: center; } .works-row { gap: 10px 22px; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { padding: 32px 28px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 50%;
            background: var(--olive); color: var(--ink); font-weight: 760; font-size: 16px; }
.step p { margin: 10px 0 0 !important; color: var(--muted); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* image + text rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy > p:not(.eyebrow):not(.step-label):not(.small-note) { margin-top: 20px; font-size: 18px; color: var(--muted); }
.step-label { margin: 0 0 12px !important; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--olive-soft);
              color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shot { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 80px; }
}

/* tick lists */
.ticks, .crosses { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.ticks li, .crosses li { position: relative; padding-left: 34px; line-height: 1.5; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2306080A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.crosses li::before { background: var(--v3bg, #eef0f3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%235d6675' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks-lg { gap: 20px; }
.ticks-lg li { font-size: 17.5px; color: var(--muted); }
.ticks-lg li b { color: var(--fg); }

/* verdict pills (the same colors as in reports) */
.pill { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; white-space: nowrap; }
.p0 { color: var(--v0); background: var(--v0bg); } .p1 { color: var(--v1); background: var(--v1bg); }
.p2 { color: var(--v2); background: var(--v2bg); } .p3 { color: var(--v3); background: var(--v3bg); }

/* the dark band */
.band-ink { background: var(--band); color: var(--paper); }
.band-ink .eyebrow { color: var(--olive); }
.band-ink h3 { color: var(--paper) !important; }
.big-quote { margin: 0 !important; max-width: 940px; font-size: clamp(36px, 5vw, 64px); font-weight: 740; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.big-quote span { color: var(--olive); }
.big-quote-sm { font-size: clamp(32px, 4vw, 50px); }
.band-lead { margin-top: 28px !important; max-width: 680px; font-size: 19px; color: var(--band-text); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--band-line); }
.stat { padding: 34px 34px 0 0; }
.stat + .stat { padding-left: 34px; border-left: 1px solid var(--band-line); }
.stat b { display: block; font-size: clamp(40px, 4.4vw, 56px); font-weight: 760; letter-spacing: -.04em; line-height: 1; color: var(--paper); }
.stat p { margin: 14px 0 0 !important; color: var(--band-text); font-size: 16px; }
.limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 64px; }
.limits h3 { font-size: 19px; font-weight: 680; margin-bottom: 8px !important; }
.limits p { color: var(--band-text); margin: 0 !important; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: none; border-bottom: 1px solid var(--band-line); }
  .limits { grid-template-columns: 1fr; gap: 28px; }
}

/* photo + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split-top { align-items: start; }
.photo { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; background: var(--wash); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 4 / 3.4; }
.photo-short { aspect-ratio: 16 / 10; margin-top: 36px; }
.photo-wrap { position: relative; }
.photo-wrap .photo img { object-position: 62% center; }
.mock-progress { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
                 box-shadow: var(--shadow); font-size: 15px; }
.photo-wrap .mock-progress { position: absolute; left: -28px; bottom: 36px; width: min(330px, 82%); }
.mock-top { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.mock-progress p { margin: 8px 0 0 !important; color: var(--muted); }
.mock-progress .bar { height: 8px; margin-top: 16px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mock-progress .bar i { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--olive); }
.mock-small { font-size: 13px; }
/* the mock-ups' spinner is decoration: it stops within 5 seconds (WCAG 2.2.2) */
.mock-progress .spinner { animation-iteration-count: 6; }
.mock-large { padding: 30px 32px; font-size: 16px; }
.mock-log { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px;
            font-size: 14px; color: var(--muted); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.mock-log li::before { content: "› "; color: var(--accent-text); }
/* the Chrome extension: big screenshots, and its store button (or a note until it's published) */
.feature-gap { margin-top: 112px; }
.btn .ico-svg { width: 20px; height: 20px; }
.store-soon { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 12px 22px; border-radius: 999px;
              border: 1px dashed var(--line); color: var(--muted); font-size: 16px; font-weight: 600; }
.store-soon .ico-svg { width: 20px; height: 20px; stroke: var(--accent-text); }
.ext-cards { margin-top: 28px; }
@media (max-width: 700px) { .feature-gap { margin-top: 72px; } }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .photo { aspect-ratio: 4 / 3; }
  .photo-wrap .mock-progress { left: 16px; bottom: -28px; }
  .photo-wrap { margin-bottom: 28px; }
}

/* small cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mini { padding: 30px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.mini h3 { font-size: 18.5px; font-weight: 680; letter-spacing: -.01em; margin-bottom: 8px !important; }
.mini p { margin: 0 !important; color: var(--muted); font-size: 16px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 13px;
       background: var(--olive-soft); color: var(--accent-text); }
.ico-logo { background: none; border-radius: 0; }   /* a real logo (Google Classroom) instead of a line icon */
.ico-logo img { display: block; width: 46px; height: auto; }
.ico-svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-3, .cards-4 { grid-template-columns: 1fr; } }

/* home: price teaser */
.price-teaser { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.price-teaser > div:first-child { max-width: 720px; }
.price-teaser .cta-row { margin-top: 0; }

/* questions */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 650; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
                      border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg);
                      transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: -4px 0 24px !important; max-width: 740px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* the olive band that closes most pages */
.band-olive { background: var(--olive); color: var(--ink); padding: 88px 0; }
.band-olive h2 { color: var(--ink) !important; }
.band-olive p { margin: 16px 0 0 !important; max-width: 620px; font-size: 18px; color: #1e2410; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-inner .cta-row { margin-top: 0; }
.band-olive a:focus-visible { outline-color: var(--ink); }

/* inner page heads */
.page-hero { position: relative; padding: 96px 0 72px; overflow: hidden;
             background: radial-gradient(900px 460px at 90% -20%, var(--olive-soft), transparent 62%); }
.page-hero.center .notice { margin-left: auto; margin-right: auto; }
.page-hero-photo { padding-bottom: 40px; }
.page-hero-legal { padding-bottom: 48px; }
.page-hero-legal .lead { font-size: 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg) !important;
          text-decoration: none; font-size: 14.5px; font-weight: 560; }
.jump a:hover { border-color: var(--olive); }
.notice { display: inline-block; max-width: 640px; margin-top: 24px !important; padding: 12px 18px; border-radius: 12px;
          background: var(--v1bg); color: var(--v1); font-size: 16px; }
@media (max-width: 700px) { .page-hero { padding: 64px 0 48px; } }

/* verdict list */
.verdicts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.verdict { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.verdict p { margin: 0 !important; color: var(--muted); max-width: 720px; }
.verdict .pill { justify-self: start; font-size: 15px; }
@media (max-width: 700px) { .verdict { grid-template-columns: 1fr; gap: 10px; } }

.check-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.check-lists h3 { font-size: 18px; font-weight: 680; }
.check-lists .ticks, .check-lists .crosses { margin-top: 16px; }
@media (max-width: 600px) { .check-lists { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; margin: 0; padding: 34px 30px 30px; border: 1px solid var(--line);
        border-radius: 24px; background: var(--surface); }
.plan .ticks { flex: 1; margin-bottom: 30px; align-content: start; }
.plan .btn { width: 100%; }
.plan-name { font-size: 22px; font-weight: 720; letter-spacing: -.015em; }
.plan-for { margin: 6px 0 0 !important; color: var(--muted); font-size: 15.5px; }
.plan-price { margin: 26px 0 0 !important; color: var(--muted); font-size: 16px; }
.plan-price small { display: block; margin-top: 4px; font-size: 14px; }
.price { font-size: 52px; font-weight: 770; letter-spacing: -.045em; line-height: 1; color: var(--fg); margin-right: 4px; }
.price-word { font-size: 40px; letter-spacing: -.03em; }
.plan-small { margin: 12px 0 0 !important; font-size: 14px; color: var(--muted); text-align: center; }
.plan-featured { background: var(--band); border-color: var(--band); color: var(--paper); box-shadow: var(--shadow); }
.plan-featured .plan-name, .plan-featured .price { color: var(--paper); }
.plan-featured .plan-for, .plan-featured .plan-price, .plan-featured .plan-small { color: var(--band-text); }
.plan-featured .ticks li { color: var(--paper); }
.plan-badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--olive);
              color: var(--ink); font-size: 12px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.toggle { display: inline-flex; align-self: flex-start; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px;
          background: rgba(253, 254, 253, .1); }
.toggle label { margin: 0; padding: 7px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 620; color: var(--band-text); cursor: pointer; }
.toggle label span { color: var(--olive); font-weight: 700; margin-left: 2px; }
#plan-monthly:checked ~ .toggle label[for=plan-monthly], #plan-yearly:checked ~ .toggle label[for=plan-yearly] { background: var(--paper); color: var(--ink); }
#plan-yearly:checked ~ .toggle label[for=plan-yearly] span { color: var(--accent-text); }
#plan-monthly:focus-visible ~ .toggle label[for=plan-monthly], #plan-yearly:focus-visible ~ .toggle label[for=plan-yearly] { outline: 2px solid var(--olive); outline-offset: 2px; }
.price-yearly { display: none; }
#plan-yearly:checked ~ .plan-prices .price-yearly { display: block; }
#plan-yearly:checked ~ .plan-prices .price-monthly { display: none; }
.plan-prices .plan-price { margin-top: 22px !important; }
.plan-small a { color: inherit; }
.plans-note { margin-top: 26px !important; text-align: center; font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-featured { order: -1; } }

/* schools */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 12px; font-weight: 680; font-size: 18px; color: var(--fg); }
.facts dt .ico-svg { color: var(--accent-text); }
.facts dd { margin: 8px 0 0 36px; color: var(--muted); }
.contact-card { padding: 40px 36px; border-radius: 24px; background: var(--band); color: var(--paper); box-shadow: var(--shadow); }
.contact-card h3 { color: var(--paper) !important; }
.contact-card p { color: var(--band-text); margin-top: 14px !important; }
.contact-card .btn { white-space: normal; overflow-wrap: anywhere; text-align: center; }   /* the email fits a 320px phone */
.contact-card .btn { margin-top: 14px; white-space: normal; text-align: center; }
.contact-card .plan-small { text-align: left; }
.contact-card .plan-small a { color: var(--olive); }

/* legal pages */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--line); }
.legal-toc a { color: var(--muted) !important; text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.legal-toc a:hover { color: var(--fg) !important; }
.prose { max-width: 740px; font-size: 17px; }
.prose h2 { font-size: 26px; font-weight: 720; letter-spacing: -.02em; margin: 56px 0 14px !important; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0 !important; }
.prose h3 { font-size: 18px; font-weight: 680; margin: 28px 0 8px !important; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--olive); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 32px; } .legal-toc { position: static; flex-flow: row wrap; gap: 4px 16px; } }

/* footer (also on the sign-in pages) */
.site-footer { background: var(--band); color: var(--band-text); padding: 80px 0 36px; font: 15px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.site-footer .brand { color: var(--paper); }
.site-footer .logo { background: var(--paper); border-radius: 9px; padding: 3px; height: 36px; }
.footer-about p { margin: 18px 0 0; max-width: 380px; }
.site-footer h2 { margin: 4px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--paper); }
.site-footer nav a { display: block; padding: 5px 0; color: var(--band-text); text-decoration: none; }
.site-footer nav a:hover { color: var(--paper); }
/* the usual olive focus ring is too faint on the dark bands (WCAG 1.4.11 asks for 3:1) */
.site-footer a:focus-visible, .band-ink a:focus-visible { outline-color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 26px;
                 border-top: 1px solid var(--band-line); font-size: 14px; color: #8f968a; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* the sign-in pages (base.html) when nobody is signed in: header and footer around the form */
.signed-out { display: flex; flex-direction: column; min-height: 100vh; }
.signed-out > main { flex: 1; width: 100%; }
