@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light dark;
  --page: #fff;
  --surface: #fff;
  --surface-soft: #fff;
  --ink: #000;
  --ink-soft: #393939;
  --muted: #656565;
  --line: #d8d8d8;
  --glass: rgba(255,255,255,.78);
  --shadow: 0 14px 32px rgba(0,0,0,.055), 0 1px 3px rgba(0,0,0,.045);
  --display: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --body: 'Figtree', ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #000;
    --surface: #000;
    --surface-soft: #000;
    --ink: #fff;
    --ink-soft: #d2d2d2;
    --muted: #aaa;
    --line: #3b3b3b;
    --glass: rgba(0,0,0,.78);
    --shadow: 0 14px 36px rgba(0,0,0,.26), 0 1px 3px rgba(0,0,0,.2);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--ink); font: 500 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(790px, calc(100% - 32px)); margin: 0 auto; }
.glass { background: var(--glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-shell { position: sticky; top: 12px; z-index: 20; width: min(1140px, calc(100% - 24px)); margin: 12px auto 0; }
.nav { display: flex; align-items: center; gap: 4px; padding: 7px 8px; border-radius: 999px; }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.8px; line-height: 1; }
.logo img { width: 36px; height: 36px; border-radius: 11px; }
.nav .link { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 700; padding: 10px 13px; border-radius: 999px; }
.nav .link:hover, .nav .link[aria-current="page"] { color: var(--ink); outline: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--page); border: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .18s ease, opacity .18s ease; }
.btn:hover { opacity: .75; }
.btn:active { transform: scale(.98); }
.btn-small { min-height: 39px; padding: 0 17px; font-size: 13px; }
.btn span { font-size: 19px; line-height: 1; }
.text-link { font-size: 15px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .19em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.055em; }
h1 { font-size: clamp(54px, 7.4vw, 96px); line-height: .99; font-weight: 700; margin-bottom: 28px; }
h1 em { font-style: normal; font-weight: 500; letter-spacing: -.07em; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; font-weight: 600; margin-bottom: 0; }
h3 { font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.hero { display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: clamp(30px, 5vw, 72px); padding-top: clamp(64px, 8vw, 118px); padding-bottom: 80px; }
.hero-copy { max-width: 620px; }
.lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 36ch; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.hero-visual { min-height: 500px; position: relative; display: grid; place-items: center; padding: 56px 28px 48px; border: 1px solid var(--line); border-radius: 42px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.visual-label { position: absolute; top: 28px; left: 30px; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.hero-mascot { width: min(100%, 370px); max-height: 390px; object-fit: contain; }
.visual-note { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.note-dot { width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics div { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.metrics div + div { border-left: 1px solid var(--line); }
.metrics strong { font-size: 31px; font-weight: 700; line-height: 1.1; letter-spacing: -.055em; }
.metrics span { color: var(--muted); font-size: 13px; font-weight: 700; }
.section { padding-top: 120px; padding-bottom: 120px; }
.section-soft { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; margin-bottom: 38px; }
.section-heading p:last-child { max-width: 34ch; justify-self: end; margin-bottom: 3px; color: var(--muted); font-size: 16px; }
.course-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.course { display: flex; align-items: center; gap: 14px; min-height: 94px; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; font-weight: 600; line-height: 1.2; }
.sprite { display: block; flex: none; width: 55px; height: 55px; background-repeat: no-repeat; background-position: var(--x) var(--y); }
.course-sprite { background-image: url('img/prochoro/courses.png'); background-size: 400% 200%; }
.activity-sprite { width: 93px; height: 93px; background-image: url('img/prochoro/activities.png'); background-size: 400% 200%; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.feature small { display: block; margin: 20px 0 11px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.feature p, .companion-layout p:not(.eyebrow) { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.boss-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.boss-grid > div, .buddy-grid > div { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.boss-grid b, .buddy-grid b { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.below-note { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.world-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.world { margin: 0; border-radius: 30px; overflow: hidden; }
.world img { width: 100%; height: 330px; object-fit: cover; object-position: bottom; }
.world figcaption { padding: 22px 24px; font-size: 18px; font-weight: 600; }
.world figcaption span { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--muted); }
.companion-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; }
.companion-layout h2 { margin-bottom: 20px; }
.companion-layout p:not(.eyebrow) { max-width: 33ch; }
.buddy-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.final-cta { display: flex; align-items: center; gap: 28px; padding: 100px 0; }
.final-cta > img { flex: none; width: 100px; }
.final-cta div { flex: 1; }
.final-cta h2 { font-size: clamp(30px, 3.4vw, 46px); }
.final-cta p:last-child { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.final-cta .btn { align-self: center; }
footer.wrap { padding: 28px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px 30px; font-size: 13px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
footer a:hover { text-decoration: underline; }
footer p { max-width: 50ch; margin: 0; }
footer.glass { background: transparent; box-shadow: none; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* The existing privacy, terms and support pages share the same chrome. */
.paper { margin: 36px 0 100px; padding: 44px 48px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.paper h1 { font-size: clamp(38px,5vw,56px); line-height: 1.05; margin-bottom: 10px; }
.paper h2 { font-size: 27px; letter-spacing: -.04em; margin: 32px 0 8px; }
.paper h3 { font-size: 19px; margin: 24px 0 5px; }
.paper p, .paper li { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.paper ul { padding-left: 22px; }
.paper .updated { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 28px; }
.callout { padding: 20px 24px; margin: 25px 0; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); }
.callout h2 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
@media (prefers-color-scheme: dark) {
  .ink-art, .sprite { filter: invert(1); }
  .logo img { filter: invert(1); }
  .hero-visual { background: var(--surface); }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .boss-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .companion-layout { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 620px); }
  .nav .link { display: none; }
  .nav .link.keep { display: inline-block; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; gap: 44px; padding-bottom: 55px; }
  .hero-visual { min-height: 360px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metrics div:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading p:last-child { justify-self: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: 1fr; }
  .world img { height: 300px; object-fit: contain; }
  .feature { min-height: 0; }
  .final-cta { flex-wrap: wrap; padding: 70px 0; }
  .final-cta .btn { width: 100%; }
  .paper { padding: 30px 24px; }
}
@media (max-width: 470px) {
  .course-grid { grid-template-columns: 1fr; }
  .boss-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .buddy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-visual { min-height: 300px; border-radius: 30px; }
  .hero-mascot { max-height: 280px; }
  .visual-note { right: 10px; bottom: 12px; }
  .nav-shell { width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.buddy-art, .boss-art { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; }
