/* Level Learning. Palette from docs/brand/palette.md. */

:root {
  --deep: #0F3D7A;
  --blue: #1D5FC4;
  --sky: #5C8FE0;
  --blue-200: #B7CDF2;
  --tint: #E9F0FB;
  --terracotta: #E07A3F;
  --sun: #F2B84B;
  --apricot: #FBE8DA;
  --clay: #C8553D;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --mist: #F1F5FB;
  --muted: #6A7280;
  --ink: #1B2432;

  --font-head: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-quote: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(15, 61, 122, 0.10);
  --shadow-sm: 0 6px 18px rgba(15, 61, 122, 0.08);
  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--deep);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.9em;
}

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--deep); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(29, 95, 196, 0.28); }
.btn-primary:hover { background: var(--deep); color: var(--white); box-shadow: 0 14px 30px rgba(15, 61, 122, 0.30); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--blue-200); }
.btn-ghost:hover { background: var(--white); border-color: var(--sky); }
.btn-warm { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 24px rgba(224, 122, 63, 0.28); }
.btn-warm:hover { background: var(--clay); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 61, 122, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--deep); padding: 0.6rem 0; }
.brand .mark { width: 36px; height: 36px; flex: 0 0 36px; display: block; }
.brand-text { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; white-space: nowrap; margin: 0; }
.wordmark .w1 { color: var(--deep); }
.wordmark .w2 { color: var(--blue); }
.brand .strap { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: 0.78rem; line-height: 1.25; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; color: var(--ink); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.nav-toggle {
  display: none; background: var(--white); border: 1px solid var(--blue-200); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--deep);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.92rem; }
  .nav-links .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
  .wordmark { font-size: 1.35rem; }
  .brand .strap { font-size: 0.72rem; max-width: 13rem; }
}

@media (max-width: 860px) {
  .brand .strap { max-width: 17rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid rgba(15, 61, 122, 0.10);
    padding: 0.5rem 1.25rem 1.25rem; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(15, 61, 122, 0.08); }
  .nav-links li:last-child { padding-top: 0.9rem; }
  .nav-links .btn { width: 100%; justify-content: center; }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* Hero: full-bleed photo with the blue overlay from the canvas */
.hero {
  position: relative; min-height: 560px; overflow: hidden; overflow: clip;
  display: flex; align-items: center; padding: 0; color: var(--white);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 61, 122, 0.82) 0%, rgba(15, 61, 122, 0.55) 45%, rgba(15, 61, 122, 0.05) 100%); }
.hero-copy { position: relative; padding: clamp(4rem, 8vw, 6rem) 0 clamp(3.5rem, 6vw, 4.5rem); display: flex; flex-direction: column; gap: 1.35rem; }
.hero-copy > * { margin: 0; }
.hero .lead { color: var(--white); opacity: 0.9; font-size: 0.9rem; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.375rem); line-height: 1.08; max-width: 640px; }
.hero-sub { font-size: 1.125rem; line-height: 1.5; max-width: 560px; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.btn-sun { background: var(--sun); color: var(--ink); border-radius: 14px; padding: 1rem 1.5rem; border: 0; }
.btn-sun:hover { background: #E8AC3C; color: var(--ink); }
.btn-outline-white { background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.6); color: var(--white); border-radius: 14px; padding: 1rem 1.5rem; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.22); border-color: var(--white); color: var(--white); }
.hero-note { font-size: 0.92rem; opacity: 0.85; max-width: 30rem; }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(15, 61, 122, 0.84) 0%, rgba(15, 61, 122, 0.66) 100%); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* The four cards under the hero */
.hero-cards { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.promise { background: var(--white); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.promise .tile { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.promise .tile.warm { background: var(--apricot); color: var(--terracotta); }
.promise .tile svg { width: 24px; height: 24px; }
.promise h3 { font-size: 1.0625rem; font-weight: 600; margin: 0; }
.promise p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.badges a { display: inline-block; line-height: 0; border-radius: 8px; transition: transform 0.25s var(--ease); }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 48px; width: auto; }
.badges-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm); position: relative; border: 1px solid rgba(15, 61, 122, 0.06);
}
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--deep);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.45em; }
.step p { font-size: 0.98rem; color: #3B4453; }
.steps.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .steps, .steps.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps, .steps.six { grid-template-columns: 1fr; } }

/* Blue band */
.band {
  background: var(--deep);
  color: var(--white); border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 4rem);
  position: relative; overflow: hidden; overflow: clip;
}
.band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; top: -160px; background: rgba(255, 255, 255, 0.08);
}
.band h2, .band h3 { color: var(--white); }
.band .quote {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; max-width: 30ch; margin: 0 0 1.2rem;
  position: relative; z-index: 1;
}
.band p { max-width: 62ch; color: rgba(255, 255, 255, 0.9); position: relative; z-index: 1; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.report-stack { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.report-stack img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.report-stack .report { margin-top: -3.5rem; width: min(100%, 400px); position: relative; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* Two column with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .photo.tall img { aspect-ratio: 4 / 5; }
.split .photo .crop-top { object-position: center 30%; }
.split .photo .crop-right { object-position: 85% center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Report card mock */
.report {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(15, 61, 122, 0.06); max-width: 420px; width: 100%; min-width: 0;
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.report-head strong { font-family: var(--font-head); font-weight: 600; color: var(--deep); }
.report-head span { font-size: 0.85rem; color: var(--muted); }
.report .big { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--deep); }
.report .big small { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 0.4rem; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin: 1.1rem 0; }
.dots i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--blue); }
.dots i.off { background: var(--mist); border: 1px dashed var(--blue-200); }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; background: var(--tint); color: var(--blue);
  border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.85rem; font-weight: 600; font-family: var(--font-head);
}
.pill.blue { background: var(--tint); color: var(--blue); }
.pill svg { width: 14px; height: 14px; }
.report .teacher { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--mist); font-size: 0.92rem; color: #3B4453; }
.caption { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 61, 122, 0.06);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--tint); color: var(--blue);
}
.card .icon.warm { background: var(--apricot); color: var(--terracotta); }
.card .icon.sun { background: #FDF0D2; color: #B8801A; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: 0.98rem; color: #3B4453; }
.card ul { margin: 0; padding-left: 1.1rem; font-size: 0.96rem; color: #3B4453; }
.card li { margin-bottom: 0.35rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Places */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.place { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 61, 122, 0.06); }
.place h3 { display: flex; align-items: center; gap: 0.6rem; }
.place h3 svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.chip { background: var(--tint); color: var(--deep); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.92rem; font-weight: 500; font-family: var(--font-head); }
@media (max-width: 700px) { .places { grid-template-columns: 1fr; } }

/* Two lists */
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.list-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 61, 122, 0.06); }
.list-card.never { background: var(--deep); color: var(--white); }
.list-card.never h3 { color: var(--white); }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.5rem 0; font-size: 0.98rem; }
.list-card li svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; color: var(--blue); }
.list-card.never li svg { color: var(--sun); }
@media (max-width: 760px) { .two-lists { grid-template-columns: 1fr; } }

/* Feature list */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(15, 61, 122, 0.10); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; margin-top: 0.15rem; }
.feature-list .dot.warm { background: var(--apricot); color: var(--terracotta); }
.feature-list .dot svg { width: 18px; height: 18px; }
.feature-list strong { font-family: var(--font-head); font-weight: 600; color: var(--deep); display: block; }
.feature-list span { font-size: 0.97rem; color: #3B4453; }

/* CTA */
.cta { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(2.2rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; overflow: clip; border: 1px solid rgba(15, 61, 122, 0.06); }
.cta::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: var(--tint); }
.cta::after { content: ""; position: absolute; right: -70px; top: -110px; width: 240px; height: 240px; border-radius: 50%; background: var(--mist); }
.cta > * { position: relative; z-index: 1; }
.cta p { max-width: 36rem; margin-inline: auto; }
.cta .badges { justify-content: center; margin-top: 1.6rem; }

/* FAQ */
.faq-list { max-width: 800px; }
.faq-list details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid rgba(15, 61, 122, 0.08); margin-bottom: 0.8rem; box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600; color: var(--deep); position: relative; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list .answer { padding: 0 1.4rem 1.3rem; color: #3B4453; font-size: 0.99rem; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero p { font-size: 1.12rem; max-width: 40rem; }

/* Prose (legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.notice { background: var(--tint); border-left: 4px solid var(--blue); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; }

/* Footer */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.85); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-brand-row { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem; }
.footer-brand-row .mark { width: 36px; height: 36px; flex: 0 0 36px; display: block; }
.footer-wordmark { display: inline-block; background: var(--white); padding: 0.55rem 0.9rem; border-radius: 12px; margin: 0; font-size: 1.35rem; }
.footer-brand p { font-size: 0.95rem; max-width: 30ch; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.4rem; font-size: 0.88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; }
.photo-note { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hero plain link */
.hero-actions .link-plain { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 500; color: var(--white); padding: 1rem 0.4rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.hero-actions .link-plain:hover { color: var(--white); text-decoration-color: var(--white); }

/* Meet the children */
.browse-filters { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.country-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; min-height: 2.6rem; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--deep); border: 1.5px solid var(--blue-200); border-radius: 999px;
  padding: 0.5rem 1rem; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.chip-btn:hover { border-color: var(--sky); transform: translateY(-1px); }
.chip-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-btn img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 61, 122, 0.12); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.filter-field { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.filter-field select {
  font: inherit; color: var(--deep); font-weight: 500; background: var(--white); border: 1.5px solid var(--blue-200); border-radius: 999px;
  padding: 0.45rem 2.2rem 0.45rem 0.9rem; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5FC4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 14px;
}
.filter-field select:hover { border-color: var(--sky); }
.filter-field select:focus-visible, .chip-btn:focus-visible, .filter-clear:focus-visible { outline: 3px solid rgba(29, 95, 196, 0.35); outline-offset: 2px; }
.filter-clear { background: none; border: 0; padding: 0.4rem 0.2rem; font: inherit; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filter-clear:hover { color: var(--deep); }
.browse-status { margin: 0 0 0 auto; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 600px) { .browse-status { margin-left: 0; width: 100%; } }

.pupils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pupil {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
  background: var(--white); border-radius: var(--radius); padding: 1.7rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 61, 122, 0.06);
  color: var(--ink); text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.pupil:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
a.pupil:focus-visible { outline: 3px solid rgba(29, 95, 196, 0.35); outline-offset: 3px; }
.pupil-avatar {
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 1rem; box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--blue-200);
}
.pupil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pupil-initial { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--blue); }
.pupil-body { display: flex; flex-direction: column; align-items: center; width: 100%; }
.pupil-name { font-size: 1.35rem; margin-bottom: 0.25em; }
.pupil-place { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: #3B4453; margin-bottom: 0.8rem; }
.pupil-flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 61, 122, 0.12); }
.pupil .pill { background: var(--tint); color: var(--deep); }
.pupil-dream { font-family: var(--font-quote); font-style: italic; color: #3B4453; font-size: 1rem; line-height: 1.5; margin: 1rem 0 0; max-width: 28ch; }
.pupil-foot { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--mist); width: 100%; }
.pupil-price { font-family: var(--font-head); font-weight: 700; color: var(--deep); font-size: 1.1rem; }
.pupil-go { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--blue); }
.pupil-go svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
a.pupil:hover .pupil-go svg { transform: translateX(3px); }
@media (max-width: 900px) { .pupils { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pupils { grid-template-columns: 1fr; } }

.pupil-skeleton { pointer-events: none; }
.pupil-skeleton .pupil-avatar { box-shadow: none; }
.sk { display: block; border-radius: 999px; background: var(--mist); }
.sk-title { width: 55%; height: 1.2rem; margin-bottom: 0.7rem; }
.sk-line { width: 45%; height: 0.8rem; margin-bottom: 0.6rem; }
.sk-line.long { width: 80%; margin-top: 0.8rem; }
.sk-pill { width: 40%; height: 1.5rem; margin: 0.2rem 0 0.4rem; }
.pupil-skeleton .pupil-avatar, .pupil-skeleton .sk { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.browse-state { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 61, 122, 0.06); padding: clamp(1.8rem, 4vw, 3rem); text-align: center; margin-top: 0.4rem; }
.browse-state .state-title { font-family: var(--font-head); font-weight: 600; color: var(--deep); font-size: 1.15rem; }
.browse-state p { max-width: 36rem; margin-inline: auto; }
.browse-state .btn { margin-top: 0.6rem; }
.browse-more { display: flex; justify-content: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.browse-more .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.25s; }
.hero-copy > :nth-child(4) { animation-delay: 0.35s; }
.hero-copy > :nth-child(5) { animation-delay: 0.45s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > * { animation: none; opacity: 1; transform: none; transition: none; }
  .pupil-skeleton .pupil-avatar, .pupil-skeleton .sk { animation: none; }
}
