/* Layout idea: warm, airy community site. Cream page, deep-green ink, very bold display type with
   a green accent line, soft floating cards with pastel dots, pill buttons. One deliberate light theme. */
:root {
  --bg: #FFFDFB;           /* warm cream page */
  --bg-2: #FBF8F4;         /* deeper cream for bands */
  --surface: #FFFFFF;      /* cards */
  --ink: #2E3440;          /* text + dark buttons (deep green) */
  --green: #2E3440;        /* accent */
  --green-soft: #D0F3CD;   /* mint highlight */
  --butter: #FBF3D1;       /* pastel highlight */
  --peach: #F4D6C6;        /* pastel highlight */
  --muted: #636773;
  --line: #EFEAE6;
  --amber: #A86B12;
  --shadow: 0 1px 2px rgba(46,52,64,.04), 0 12px 32px rgba(46,52,64,.08);
  --shadow-lg: 0 2px 4px rgba(46,52,64,.04), 0 24px 60px rgba(46,52,64,.14);
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --font-display: "Outfit", "Noto Sans", "Noto Sans SC", "Noto Sans Arabic", system-ui, sans-serif;
  --font-body: "Outfit", "Noto Sans", "Noto Sans SC", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(46,52,64,.10), transparent 60%),
    radial-gradient(700px 480px at -10% 20%, rgba(251,243,209,.55), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
html[lang="vi"] body, html[lang="vi"] { --font-display: "Noto Sans", system-ui, sans-serif; --font-body: "Noto Sans", system-ui, sans-serif; }
html[dir="rtl"] { --font-display: "Noto Sans Arabic", system-ui, sans-serif; --font-body: "Noto Sans Arabic", system-ui, sans-serif; }
html[lang="zh"] { --font-display: "Noto Sans SC", "Outfit", sans-serif; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
h2.big { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[lang="zh"] h1, html[lang="zh"] h2, html[lang="vi"] h1, html[lang="vi"] h2 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
a { color: var(--green); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; transform: translateY(-200%); }
.skip:focus { transform: none; }
[hidden] { display: none !important; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
html[dir="rtl"] .eyebrow, html[lang="zh"] .eyebrow { letter-spacing: 0; font-size: .85rem; }
.arrow { display: inline-block; transition: transform .2s; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 1rem; font-weight: 600; border-radius: 999px; padding: 14px 26px; cursor: pointer;
  text-decoration: none; border: 1.5px solid transparent; transition: background .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(46,52,64,.28); }
.btn-primary:hover { background: #2E3440; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(46,52,64,.28); }
.btn-outline:hover { border-color: var(--ink); background: rgba(255,255,255,.5); }
.btn-dark { background: var(--ink); color: #fff; padding: 11px 20px; font-size: .92rem; }
.btn-dark:hover { background: #262B35; }
.btn-wide { width: 100%; }
.link-btn { background: none; border: 0; color: var(--green); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: 4px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,253,251,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(239,234,230,.7); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; min-height: 70px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-inline-end: auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark rect { fill: var(--green); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; color: var(--ink); }
.mainnav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.mainnav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.mainnav a:hover { background: rgba(46,52,64,.06); }
.mainnav a.active { font-weight: 700; background: rgba(46,52,64,.07); }
.mainnav a.nav-mentor { background: var(--butter); font-weight: 600; margin-inline: 4px; }
.mainnav a.nav-mentor:hover, .mainnav a.nav-mentor.active { background: #FBF3D1; }
.count-badge { background: var(--green); color: #fff; border-radius: 999px; font-size: .7rem; padding: 0 7px; min-width: 18px; text-align: center; line-height: 1.6; font-weight: 700; }
.lang-picker { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px 2px 12px; background: var(--surface); }
html[dir="rtl"] .lang-picker { padding: 2px 12px 2px 6px; }
.lang-picker svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.lang-picker select { background: transparent; color: var(--ink); border: 0; font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 2px; cursor: pointer; }

/* ---------- Layout ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 28px 72px; }
.view { padding-top: 40px; }
.section { margin-top: 96px; display: grid; gap: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 52ch; line-height: 1.65; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 48px 0 24px; }
.hero-text { display: grid; gap: 26px; }
.hero-tags { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--green-soft); color: var(--green); padding: 6px 12px; border-radius: 999px; }
.hero-badge { font-size: .85rem; color: var(--muted); font-weight: 500; }
.mentor-intro .hero-badge { justify-self: start; background: var(--butter); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .82rem; }
.hero h1 .accent { display: block; color: var(--green); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.role-switch { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-self: start; background: rgba(46,52,64,.05); border-radius: 999px; padding: 4px; font-size: .92rem; }
.role-switch > span { color: var(--muted); font-weight: 500; margin-inline: 10px 4px; }
.seg { font: inherit; font-size: .9rem; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg:hover { color: var(--ink); }
.seg[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(46,52,64,.12); }

.start-card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; border: 1px solid rgba(239,234,230,.8); position: relative; }
.start-card::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--butter); z-index: -1; opacity: .7; }
html[dir="rtl"] .start-card::before { inset: -14px auto auto -14px; }
.start-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.start-head h2 { font-size: 1.45rem; }
.start-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--butter); display: grid; place-items: center; color: var(--ink); flex: none; }
.start-icon svg { width: 20px; height: 20px; }
.start-row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, background .2s; }
.start-row:hover { border-color: var(--green); background: #FFFDFA; }
.start-row span:nth-child(2) { flex: 1; }
.start-row .arrow { color: var(--muted); }
.start-row:hover .arrow { color: var(--green); transform: translateX(3px); }
html[dir="rtl"] .start-row:hover .arrow { transform: scaleX(-1) translateX(3px); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-green { background: #2E3440; }
.dot-butter { background: #FBF3D1; }
.dot-peach { background: #F4D6C6; }
.start-foot { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.start-foot strong { color: var(--green); }

/* ---------- Stats ---------- */
.stats { margin-top: 72px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; align-items: end; }
.stat { display: grid; gap: 4px; }
.stat-num { font-family: "Outfit", sans-serif; font-weight: 900; letter-spacing: -.05em; line-height: .9; font-size: 3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .92rem; font-weight: 500; }
.stat.lead { display: flex; align-items: flex-end; gap: 16px; }
.stat.lead .stat-num { font-size: clamp(4.5rem, 10vw, 7.5rem); color: var(--green); opacity: .9; }
.stat.lead .stat-label { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); max-width: 14ch; padding-bottom: 10px; line-height: 1.25; }
.stat:not(.lead) { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }

/* ---------- Carousel ---------- */
.car-controls { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.car-btn:hover { border-color: var(--ink); }
.car-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.car-btn .i-play { fill: currentColor; stroke: none; display: none; }
.car-btn[aria-pressed="true"] .i-play { display: block; }
.car-btn[aria-pressed="true"] .i-pause { display: none; }
html[dir="rtl"] #carPrev svg, html[dir="rtl"] #carNext svg { transform: scaleX(-1); }
.carousel { overflow: hidden; border-radius: 28px; touch-action: pan-y; }
.car-track { display: flex; transition: transform .7s cubic-bezier(.65,0,.25,1); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; min-height: 380px; }
.slide-media { position: relative; overflow: hidden; display: grid; place-items: center; }
.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media .credit { position: absolute; inset-inline-end: 10px; bottom: 10px; font-size: .7rem; background: rgba(0,0,0,.5); color: #fff; padding: 2px 8px; border-radius: 999px; }
.slide-art { position: absolute; inset: 0; }
.slide-art .blob { position: absolute; border-radius: 50%; }
.slide-art .b1 { width: 62%; aspect-ratio: 1; top: -18%; inset-inline-start: -14%; background: rgba(255,255,255,.45); }
.slide-art .b2 { width: 42%; aspect-ratio: 1; bottom: -14%; inset-inline-end: -8%; background: rgba(46,52,64,.08); }
.slide-art .b3 { width: 14%; aspect-ratio: 1; top: 18%; inset-inline-end: 16%; background: rgba(255,255,255,.7); }
.slide-art .ring { position: absolute; width: 30%; aspect-ratio: 1; bottom: 14%; inset-inline-start: 12%; border: 2px dashed rgba(46,52,64,.18); border-radius: 50%; }
.slide-icon { position: relative; width: 168px; height: 168px; border-radius: 44px; background: var(--surface); display: grid; place-items: center; color: var(--ink); box-shadow: 0 24px 48px rgba(46,52,64,.16); transform: rotate(-6deg); }
.slide-icon svg { width: 84px; height: 84px; }
.slide-icon .mini { position: absolute; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: #fff; inset-inline-end: -22px; bottom: -18px; transform: rotate(10deg); }
.slide-icon .mini svg { width: 26px; height: 26px; }
.slide.c0 .slide-media { background: var(--green-soft); }
.slide.c1 .slide-media { background: var(--butter); }
.slide.c2 .slide-media { background: var(--peach); }
.slide.c3 .slide-media { background: #C9E5FF; }
.slide-body { padding: 44px; display: grid; gap: 18px; align-content: center; }
.slide-body h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
html[dir="rtl"] .slide-body h3, html[lang="zh"] .slide-body h3 { letter-spacing: 0; }
.slide-body > p { color: var(--muted); font-size: 1.08rem; max-width: 42ch; }
.slide-examples { display: grid; gap: 8px; }
.slide-examples .label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
html[dir="rtl"] .slide-examples .label, html[lang="zh"] .slide-examples .label { letter-spacing: 0; font-size: .85rem; }
.slide-examples button { font: inherit; text-align: start; background: var(--bg); border: 0; border-radius: 12px; padding: 10px 14px; cursor: pointer; color: var(--ink); font-weight: 500; font-size: .93rem; display: flex; justify-content: space-between; gap: 10px; }
.slide-examples button:hover { background: var(--bg-2); }
.slide-examples button small { color: var(--muted); white-space: nowrap; }
.slide-body .btn { justify-self: start; }
.car-dots { display: flex; justify-content: center; gap: 8px; }
.car-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #DCD5D1; cursor: pointer; transition: width .3s, background .3s; }
.car-dot[aria-current="true"] { width: 30px; background: var(--ink); }
.car-progress { height: 3px; background: rgba(46,52,64,.08); border-radius: 3px; overflow: hidden; }

/* ---------- Browse tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { font: inherit; text-align: start; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 18px; color: var(--ink); font-weight: 600; font-size: 1.02rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.tile-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.tile:nth-child(3n+1) .tile-icon { background: var(--green-soft); }
.tile:nth-child(3n+2) .tile-icon { background: var(--butter); }
.tile:nth-child(3n) .tile-icon { background: var(--peach); }
.tile-icon svg { width: 21px; height: 21px; }
.tile-count { color: var(--muted); font-size: .85rem; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Languages ---------- */
.langs-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.langs-sub { color: var(--muted); max-width: 36ch; font-size: .98rem; }
.lang-cloud { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.lang-word { font: inherit; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.lang-word[lang="ar"] { font-family: "Noto Sans Arabic", sans-serif; }
.lang-word[lang="zh"] { font-family: "Noto Sans SC", sans-serif; }
.lang-word:hover { background: rgba(46,52,64,.06); }
.lang-word.hl-1 { background: var(--green-soft); }
.lang-word.hl-2 { background: var(--butter); }
.lang-word.hl-3 { background: var(--peach); }
.lang-word[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Mentor banner ---------- */
.mentor-banner { margin-top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; box-shadow: var(--shadow); }
.banner-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--butter); display: grid; place-items: center; color: var(--ink); align-self: start; }
.banner-icon svg { width: 26px; height: 26px; }
.banner-text { display: grid; gap: 6px; }
.banner-text .eyebrow { margin: 0; }
.banner-text h2 { font-size: 1.6rem; }
.banner-text p:last-child { color: var(--muted); max-width: 60ch; }

/* ---------- Tips ---------- */
.tip-list { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tip-list li { counter-increment: tip; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start; font-size: 1.02rem; }
.tip-list li::before { content: counter(tip); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: "Outfit", sans-serif; }
.tip-list li:nth-child(1)::before { background: var(--green-soft); }
.tip-list li:nth-child(2)::before { background: var(--butter); }
.tip-list li:nth-child(3)::before { background: var(--peach); }
.help-box { display: flex; gap: 14px; align-items: flex-start; background: var(--green-soft); border-radius: var(--r); padding: 18px 20px; font-weight: 500; }
.help-box svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- Find ---------- */
.find-layout { display: grid; grid-template-columns: 310px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 90px; max-height: calc(100vh - 106px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 20px; box-shadow: var(--shadow); }
.filters-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.filters-head h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; float: left; width: 100%; }
html[dir="rtl"] .field legend { float: right; }
.field legend + * { clear: both; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #FFFFFF; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D9D2CE; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(46,52,64,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C2410C; }
.hint { font-size: .82rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); transition: background .2s, border-color .2s; }
.chip:hover { border-color: #D9D2CE; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 19px; height: 19px; accent-color: var(--green); flex: none; margin: 2px 0 0; }
.filters-apply, .filter-toggle { display: none; }

.results-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 10px; }
.results-count { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.results-sub { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.verify { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.empty { grid-column: 1 / -1; background: var(--surface); border: 1px dashed #DCD5D1; border-radius: var(--r); padding: 36px; text-align: center; color: var(--muted); }

.card { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-org { color: var(--muted); font-size: .86rem; margin-top: -4px; }
.card-short { font-size: .95rem; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: .87rem; margin: 4px 0 0; padding: 12px 14px; background: var(--bg); border-radius: var(--r-sm); }
.meta div { display: contents; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--ink); }
.match { font-size: .82rem; color: var(--muted); }
.match b { color: var(--green); font-weight: 600; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; }
.card-more { font-weight: 600; color: var(--ink); font-size: .9rem; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: inherit; text-align: start; }
.card-more:hover { color: var(--green); }
.card:hover .card-more .arrow { transform: translateX(3px); }
html[dir="rtl"] .card:hover .card-more .arrow { transform: scaleX(-1) translateX(3px); }
.save-btn { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: .84rem; font-weight: 600; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.save-btn:hover { color: var(--ink); border-color: #D9D2CE; }
.save-btn svg { width: 15px; height: 15px; }
.save-btn[aria-pressed="true"] { color: var(--ink); background: var(--butter); border-color: var(--butter); }
.save-btn[aria-pressed="true"] svg path { fill: currentColor; }

.pill { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; white-space: nowrap; color: var(--muted); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C0BAB7; }
.pill-open { color: var(--green); }
.pill-open::before { background: #2E3440; box-shadow: 0 0 0 3px var(--green-soft); }
.pill-soon { color: var(--amber); }
.pill-soon::before { background: #FBF3D1; box-shadow: 0 0 0 3px #FBF3D1; }
.pill-free { color: var(--ink); background: var(--butter); padding: 3px 10px; border-radius: 999px; }
.pill-free::before { display: none; }

/* ---------- Detail dialog ---------- */
dialog { border: 0; padding: 0; border-radius: 28px; width: min(780px, calc(100% - 24px)); max-height: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px rgba(46,52,64,.3); }
dialog::backdrop { background: rgba(46,52,64,.35); backdrop-filter: blur(4px); }
.detail-inner { display: grid; gap: 28px; padding: 36px; }
.detail-head { display: grid; gap: 10px; position: relative; padding-inline-end: 52px; }
.detail-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; letter-spacing: -.04em; }
.close-btn { position: absolute; inset-inline-end: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.close-btn:hover { background: var(--bg); }
.status-note { background: #FBF3D1; border-radius: var(--r-sm); padding: 14px 16px; font-size: .93rem; }
.status-note.open { background: var(--green-soft); }
.detail-section { display: grid; gap: 12px; }
.detail-section h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); font-weight: 700; }
html[dir="rtl"] .detail-section h3, html[lang="zh"] .detail-section h3 { letter-spacing: 0; font-size: .9rem; }
.about { max-width: 65ch; font-size: 1.04rem; }
.en-note { font-size: .85rem; color: var(--muted); }
.details-table { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: .95rem; background: var(--bg); border-radius: var(--r); padding: 18px 20px; }
.details-table dt { color: var(--muted); }
.details-table dd { margin: 0; font-weight: 600; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; padding: 9px 0; position: relative; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .88rem; position: relative; z-index: 1; font-family: "Outfit", sans-serif; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 15.5px; top: 41px; bottom: -9px; width: 1px; background: var(--line); }
.steps li span { padding-top: 4px; }
.step-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.step-link { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--green); background: var(--green-soft); padding: 4px 11px; border-radius: 999px; }
.step-link:hover { background: #D0F3CD; }
.steps li > span { display: block; }
.steps-note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--bg); border-radius: var(--r-sm); padding: 12px 16px; font-size: .9rem; color: var(--muted); }
.steps-note .btn { padding: 8px 16px; font-size: .88rem; }
.simple-steps { background: var(--bg); border-radius: var(--r-sm); padding: 12px 16px; }
.simple-steps summary { cursor: pointer; font-weight: 600; }
.simple-steps .steps { margin-top: 8px; }
.facts-table dd { font-weight: 500; }
.doc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc-list li { display: flex; gap: 12px; align-items: flex-start; }
.doc-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border: 1.5px solid var(--green); border-radius: 6px; }
.notes { background: var(--butter); border-radius: var(--r-sm); padding: 14px 16px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail-actions .btn { padding: 11px 20px; font-size: .93rem; }
.detail-foot { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.small { font-size: .84rem; color: var(--muted); }

/* ---------- Mentor ---------- */
.mentor-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; padding-top: 16px; }
.mentor-intro { position: sticky; top: 100px; display: grid; gap: 22px; }
.mentor-intro h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.how-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.how-list li { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lg); }
#mentorForm { display: grid; gap: 28px; }
.form-sec { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.form-sec + .form-sec { padding-top: 28px; border-top: 1px solid var(--line); }
.form-sec legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; padding: 0; margin-bottom: 16px; float: left; width: 100%; }
html[dir="rtl"] .form-sec legend { float: right; }
.form-sec legend + * { clear: both; }
.sec-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: .9rem; font-family: "Outfit", sans-serif; flex: none; }
.form-sec:nth-of-type(2) .sec-num { background: var(--butter); }
.form-sec:nth-of-type(3) .sec-num { background: var(--peach); }
.req { color: #C2410C; }
.consent { background: var(--bg); padding: 14px 16px; border-radius: var(--r-sm); }
.form-error { color: #9A3412; background: #FBEFE8; border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; font-weight: 500; }
#mLangOther { margin-top: 4px; }
.form-done { display: grid; gap: 16px; justify-items: start; padding: 20px 0; }
.done-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.done-icon svg { width: 30px; height: 30px; }
.form-done p { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
.form-offline { display: grid; gap: 14px; }
.form-offline textarea { font: inherit; font-size: .88rem; width: 100%; padding: 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); }

/* ---------- Guides ---------- */
.page-head { display: grid; gap: 14px; margin-bottom: 40px; }
.guide-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.guide-toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.guide-toc a { text-decoration: none; color: var(--muted); padding: 9px 14px; border-radius: 12px; font-weight: 500; font-size: .93rem; }
.guide-toc a:hover { color: var(--ink); background: var(--surface); }
.guide-list { display: grid; gap: 18px; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 18px; scroll-margin-top: 96px; }
.guide h2 { font-size: 1.5rem; }
.guide ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; max-width: 68ch; }
.guide li::marker { color: var(--green); }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0; }
.glossary div { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.glossary dt { font-weight: 700; }
.glossary dt span { font-weight: 500; color: var(--muted); font-size: .86rem; }
.glossary dd { margin: 4px 0 0; font-size: .93rem; color: var(--muted); }



/* ---------- Hero place line ---------- */
.hero-place { display: inline-flex; align-items: center; gap: 8px; margin-top: -8px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); background: rgba(255,255,255,.55); border: 1px solid rgba(239,234,230,.9); padding: 6px 16px 6px 12px; border-radius: 999px; justify-self: start; backdrop-filter: blur(6px); }
html[dir="rtl"] .hero-place { padding: 6px 12px 6px 16px; }
.hero-place svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; }

/* ---------- Sources strip ---------- */
.sources { margin-top: 56px; display: grid; gap: 14px; }
.sources-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
html[dir="rtl"] .sources-label, html[lang="zh"] .sources-label { letter-spacing: 0; font-size: .85rem; }
.sources-row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.source-name { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.02rem; color: #878A94; letter-spacing: -.01em; white-space: nowrap; }
.stat-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.stats { margin-top: 64px; }

/* ---------- Featured band ---------- */
.feature-band { margin: 96px calc(50% - 50vw) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.feature-band::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(46,52,64,.55), transparent 65%); top: -300px; inset-inline-end: -200px; }
.feature-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 80px 28px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.feature-text { display: grid; gap: 20px; }
.feature-text h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; letter-spacing: -.04em; }
.feature-text p { color: rgba(255,255,255,.75); font-size: 1.08rem; max-width: 48ch; }
.feature-tag { justify-self: start; background: var(--butter); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
html[dir="rtl"] .feature-tag, html[lang="zh"] .feature-tag { letter-spacing: 0; }
.feature-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.feature-stats div { display: grid; }
.feature-stats strong { font-family: "Outfit", sans-serif; font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.feature-stats span { color: rgba(255,255,255,.65); font-size: .9rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--butter); }
.feature-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; transform: rotate(-3deg); }
.wall-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; backdrop-filter: blur(4px); }
.wall-card:nth-child(odd) { transform: translateY(14px); }
.wall-card strong { font-size: .98rem; font-weight: 600; color: #fff; }
.wall-card small { font-size: .78rem; color: rgba(255,255,255,.55); }
.wall-cat { justify-self: start; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: var(--ink); }
.wall-card.w0 .wall-cat { background: var(--green-soft); }
.wall-card.w1 .wall-cat { background: var(--butter); }
.wall-card.w2 .wall-cat { background: var(--peach); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.tl-date { display: grid; justify-items: start; line-height: 1.05; }
.tl-date span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.tl-date strong { font-family: "Outfit", sans-serif; font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.tl-date small { font-size: .72rem; color: var(--muted); }
.tl-body { display: grid; gap: 2px; }
.tl-title { font: inherit; font-size: 1.06rem; font-weight: 700; color: var(--ink); background: none; border: 0; padding: 0; text-align: start; cursor: pointer; }
.tl-title:hover { color: var(--green); text-decoration: underline; }
.tl-body p { color: var(--muted); font-size: .93rem; }
.tl-pill { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
html[dir="rtl"] .tl-pill, html[lang="zh"] .tl-pill { letter-spacing: 0; }
.tl-open { background: var(--green-soft); color: var(--green); }
.tl-deadline { background: #F4D6C6; color: #9A3412; }
.tl-upcoming { background: var(--butter); color: var(--ink); }
.tl-passed { background: #F3F0EC; color: var(--muted); }
.tl-item.is-passed { opacity: .6; }

/* ---------- Clubs catalog ---------- */
.school-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.school-tab { font: inherit; text-align: start; cursor: pointer; display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 260px; transition: border-color .2s, box-shadow .2s; }
.school-tab strong { font-size: 1.02rem; }
.school-tab span { font-size: .84rem; color: var(--muted); }
.school-tab:hover { border-color: #D9D2CE; }
.school-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.clubs-layout { display: grid; grid-template-columns: 330px 1fr; gap: 32px; align-items: start; }
.join-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.join-card h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.join-card .steps li { font-size: .92rem; }
.join-card .notes { font-size: .88rem; }
.clubs-tools { display: grid; gap: 14px; margin-bottom: 12px; }
.clubs-search input { font-size: 1rem; padding: 14px 18px; border-radius: 999px; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 12px; }
.club-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--green-soft); }
.club-card.cat-aca, .club-card.cat-car { border-top-color: #D0F3CD; }
.club-card.cat-svc, .club-card.cat-adv, .club-card.cat-pol { border-top-color: #FBF3D1; }
.club-card.cat-cul, .club-card.cat-gsa, .club-card.cat-soc { border-top-color: #F4D6C6; }
.club-card.cat-art, .club-card.cat-med { border-top-color: #C9E5FF; }
.club-card.cat-gam, .club-card.cat-spt { border-top-color: #C9E5FF; }
.club-cat { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
html[dir="rtl"] .club-cat, html[lang="zh"] .club-cat { letter-spacing: 0; }
.club-card h3 { font-size: 1.02rem; }
.club-card p { font-size: .9rem; color: var(--ink); }
.club-meta { display: grid; grid-template-columns: max-content 1fr; gap: 3px 10px; margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; }
.club-meta dt { color: var(--muted); }
.club-meta dd { margin: 0; font-weight: 600; }
.clubs-foot { margin-top: 24px; }
.club-match { background: var(--butter); border-radius: var(--r-sm); padding: 10px 16px; font-size: .92rem; margin: -6px 0 18px; }

/* ---------- Header scrolled ---------- */
.topbar { transition: box-shadow .25s, background .25s; }
.topbar.scrolled { box-shadow: 0 6px 24px rgba(46,52,64,.08); background: rgba(255,255,255,.94); }

/* ---------- Footer (full) ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); border: 0; padding: 0; margin-top: 96px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 64px 28px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand { margin: 0 0 14px; }
.footer-brand p { max-width: 40ch; font-size: .9rem; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
html[dir="rtl"] .footer-col h3, html[lang="zh"] .footer-col h3 { letter-spacing: 0; font-size: .9rem; }
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-lang { font: inherit; font-size: .82rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.footer-lang[aria-current="true"] { background: #fff; color: var(--ink); }
.footer-base { max-width: 1200px; margin: 0 auto; padding: 20px 28px 32px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }


/* =========================================================
   Texture & gradients layer
   ========================================================= */
/* film grain over everything (very light) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.22 0 0 0 0 0.2 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero: drifting color blobs */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; z-index: -1; inset: -120px calc(50% - 50vw) -60px; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.blob-a { width: 520px; height: 520px; background: #D0F3CD; top: -80px; left: 4%; animation: drift1 22s ease-in-out infinite alternate; }
.blob-b { width: 460px; height: 460px; background: #FBF3D1; top: 60px; left: 38%; animation: drift2 26s ease-in-out infinite alternate; }
.blob-c { width: 420px; height: 420px; background: #F4D6C6; top: -40px; right: 2%; animation: drift3 24s ease-in-out infinite alternate; }
.blob-d { width: 360px; height: 360px; background: #D0F3CD; bottom: -60px; right: 26%; opacity: .55; animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-90px, 40px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-60px, 90px) scale(1.08); } }

/* hand-drawn underline under the green line of the headline */
.hero h1 .accent { position: relative; display: inline-block; }
.hero h1 .accent > span { position: relative; z-index: 1; }
.squiggle { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.squiggle path { fill: none; stroke: #FBF3D1; stroke-width: 9; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; animation: draw 1.4s .3s ease-out backwards; }
@keyframes draw { from { stroke-dashoffset: 420; } }

/* headline gradient on the accent line */
.hero h1 .accent > span {
  background: linear-gradient(100deg, #2E3440 0%, #2E3440 45%, #2E3440 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* gradient border on the start card */
.start-card { border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(140deg, #D0F3CD, #FBF3D1 50%, #F4D6C6) border-box; }

/* primary button: soft gradient + sheen */
.btn-primary { background: linear-gradient(135deg, #2E3440, #2E3440 55%, #2E3440); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn-primary:hover::after { transform: translateX(120%); }

/* big stat number in gradient */
.stat.lead .stat-num { background: linear-gradient(120deg, #2E3440, #2E3440 60%, #D0F3CD); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 1; }

/* full-width gradient bands behind some sections */
.band { position: relative; isolation: isolate; padding-block: 72px; margin-top: 72px; }
.band::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); }
.band-mint::before {
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(208,243,205,.85), transparent 70%),
    radial-gradient(500px 320px at 92% 100%, rgba(251,243,209,.6), transparent 70%),
    linear-gradient(180deg, #EEF5EF, #FFFDFB);
}
.band-sun::before {
  background:
    radial-gradient(circle at 1px 1px, rgba(46,52,64,.12) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(700px 300px at 85% 10%, rgba(244,214,198,.75), transparent 70%),
    radial-gradient(600px 300px at 10% 90%, rgba(251,243,209,.7), transparent 70%),
    linear-gradient(180deg, #FFF9F3, #FFF4EE);
}
.band + .mentor-banner, .band + .section { margin-top: 72px; }

/* carousel art panels get richer gradients */
.slide.c0 .slide-media { background: radial-gradient(circle at 25% 20%, #E9F6EF, transparent 55%), linear-gradient(140deg, #D0F3CD, #D0F3CD); }
.slide.c1 .slide-media { background: radial-gradient(circle at 25% 20%, #FDFAED, transparent 55%), linear-gradient(140deg, #FBF3D1, #FBF3D1); }
.slide.c2 .slide-media { background: radial-gradient(circle at 25% 20%, #FBEFE8, transparent 55%), linear-gradient(140deg, #F4D6C6, #F4D6C6); }
.slide.c3 .slide-media { background: radial-gradient(circle at 25% 20%, #EEF1FA, transparent 55%), linear-gradient(140deg, #C9E5FF, #C9E5FF); }
.slide-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(46,52,64,.14) 1px, transparent 1.5px) 0 0 / 18px 18px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 65%); mask-image: linear-gradient(135deg, #000, transparent 65%); }

/* interest tiles: tinted gradient on hover */
.tile { position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: linear-gradient(140deg, rgba(208,243,205,.55), rgba(251,243,209,.35) 60%, rgba(244,214,198,.45)); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile:nth-child(3n+1) .tile-icon { background: linear-gradient(140deg, #E2F3EA, #D0F3CD); }
.tile:nth-child(3n+2) .tile-icon { background: linear-gradient(140deg, #FBF3D1, #FBF3D1); }
.tile:nth-child(3n) .tile-icon { background: linear-gradient(140deg, #F4D6C6, #F4D6C6); }

/* mentor banner: warm mesh */
.mentor-banner { position: relative; overflow: hidden; isolation: isolate; border: 0;
  background: radial-gradient(420px 240px at 100% 0%, rgba(244,214,198,.9), transparent 70%),
              radial-gradient(380px 260px at 0% 100%, rgba(208,243,205,.9), transparent 70%),
              linear-gradient(120deg, #FDFAED, #FBF3D1); }
.mentor-banner::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; border: 2px dashed rgba(46,52,64,.15); right: 18%; top: -90px; }

/* featured band: faint grid + second glow */
.feature-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(circle at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 70% 50%, #000, transparent 75%); }
.feature-band { background: radial-gradient(600px 400px at 0% 100%, rgba(251,243,209,.16), transparent 70%), linear-gradient(135deg, #2E3440, #3B4250 60%, #262B35); }
.feature-inner { z-index: 1; }

/* timeline: gradient spine */
.timeline { position: relative; border-top: 0; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 96px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(#D0F3CD, #FBF3D1 50%, #F4D6C6); }
.tl-item { position: relative; border-bottom: 1px solid rgba(239,234,230,.7); }
.tl-item::before { content: ""; position: absolute; inset-inline-start: 91px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--surface); border: 3px solid var(--green); }
.tl-item.is-passed::before { border-color: #CFC9C6; }
.tl-item { grid-template-columns: 84px 1fr auto; padding-inline-start: 0; }
.tl-body { padding-inline-start: 22px; }

/* inner page headers get a soft wash */
.page-head.wash { position: relative; isolation: isolate; padding: 40px 0 36px; }
.page-head.wash::before { content: ""; position: absolute; z-index: -1; inset: -40px calc(50% - 50vw) 0;
  background: radial-gradient(520px 260px at 8% 10%, rgba(208,243,205,.8), transparent 70%),
              radial-gradient(520px 260px at 92% 30%, rgba(251,243,209,.65), transparent 70%),
              radial-gradient(420px 220px at 55% 100%, rgba(244,214,198,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }

/* wave into the footer */
.footer-wave { display: block; width: 100%; height: 70px; margin-top: 96px; margin-bottom: -1px; }
.footer-wave path { fill: var(--ink); }
.footer { margin-top: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(46,52,64,.35), transparent 70%), var(--ink); }

/* cards: faint top highlight for depth */
.card, .club-card, .guide, .form-card, .filters, .join-card { background-image: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg span, .squiggle path { animation: none !important; }
}
@media (max-width: 720px) {
  .hero-bg span { filter: blur(50px); }
  .blob-a { width: 300px; height: 300px; } .blob-b { width: 280px; height: 280px; left: 30%; } .blob-c { width: 260px; height: 260px; } .blob-d { display: none; }
  .band { padding-block: 48px; margin-top: 48px; }
  .timeline::before { inset-inline-start: 72px; }
  .tl-item::before { inset-inline-start: 67px; top: 34px; margin-top: 0; }
  .tl-body { padding-inline-start: 14px; }
  .tl-pill { margin-inline-start: 14px; }
}

/* ---------- Motion effects (effects.js) ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #2E3440, #C9E5FF 35%, #2E3440 65%, #D0F3CD); pointer-events: none; }
html[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }
.fx-on .reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.fx-on .reveal.in { opacity: 1; transform: none; }
.fx-on .feature-wall.reveal { transform: rotate(-3deg) translateY(40px); }
.fx-on .feature-wall.reveal.in { transform: rotate(-3deg); }
.hero-bg { will-change: transform; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.feature-wall { transition: transform .3s linear; }
.tile, .card, .club-card, .start-card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; transform-style: preserve-3d; }
.card.fx-hot, .club-card.fx-hot { background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(208,243,205,.14), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%); box-shadow: var(--shadow-lg); }
.tile::before { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(208,243,205,.95), rgba(208,243,205,.55) 45%, transparent 75%) !important; }
.start-card.fx-hot { box-shadow: 0 2px 4px rgba(46,52,64,.04), 0 30px 70px rgba(46,52,64,.18); }
.feature-wall > * { transition: transform .3s, box-shadow .3s; }
.feature-wall > *:hover { transform: translateY(-6px) scale(1.03); }
.feature-wall > .fx-hot { background-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(208,243,205,.25), transparent 70%); }
.tile:hover .tile-icon, .card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.tile-icon { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.mainnav a { position: relative; }
.mainnav a:not(.nav-mentor)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s ease; }
.mainnav a:not(.nav-mentor):hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero-bg, .feature-wall { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .feature-inner { grid-template-columns: 1fr; padding: 56px 24px; }
  .feature-wall { transform: none; }
  .clubs-layout { grid-template-columns: 1fr; }
  .join-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat.lead { grid-column: 1 / -1; }
  .stat:not(.lead):nth-child(2) { padding-inline-start: 0; border: 0; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .tip-list { grid-template-columns: 1fr; }
  .find-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: grid; }
  .filters-apply, .filter-toggle { display: inline-flex; }
  .mentor-layout { grid-template-columns: 1fr; gap: 32px; }
  .mentor-intro { position: static; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .guide-toc a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
}
@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-media { min-height: 200px; }
  .slide-icon { width: 120px; height: 120px; border-radius: 34px; }
  .slide-icon svg { width: 60px; height: 60px; }
  .slide-body { padding: 26px; }
}
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 64px 1fr; gap: 6px 16px; }
  .tl-pill { grid-column: 2; justify-self: start; }
  .feature-wall .wall-card:nth-child(n+7) { display: none; }
  .school-tab { min-width: 0; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .topbar-inner { padding: 10px 16px 0; gap: 8px 12px; min-height: 0; }
  .brand { min-width: 0; }
  .lang-picker select { max-width: 92px; text-overflow: ellipsis; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 30px; height: 30px; }
  .mainnav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: none; }
  .mainnav a { padding: 6px 12px; font-size: .88rem; white-space: nowrap; }
  main { padding: 0 16px 56px; }
  .section, .mentor-banner { margin-top: 64px; }
  .stats { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .stat:not(.lead) { padding-inline-start: 0; border: 0; display: flex; align-items: baseline; gap: 10px; }
  .stat:not(.lead) .stat-num { font-size: 2rem; }
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px; gap: 12px; font-size: .95rem; }
  .card-grid { grid-template-columns: 1fr; }
  .mentor-banner { grid-template-columns: 1fr; padding: 24px; }
  .start-card, .form-card { padding: 20px; border-radius: 22px; }
  .start-card::before { display: none; }
  .detail-inner { padding: 22px; gap: 24px; }
  .details-table { grid-template-columns: 1fr; gap: 2px; }
  .details-table dd { margin-bottom: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .guide { padding: 22px; }
  .lang-word { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   Palette (exact): Rose #F3BEBE · Peach #F4D6C6 · Cream #FBF3D1 · Mint #D0F3CD · Sky #C9E5FF
   Colors appear only as these pastel fills; all text stays dark for readability.
   Each area pairs palette neighbors (rose+peach, peach+cream, cream+mint, mint+sky),
   never opposite ends together.
   ===================================================================== */
:root { --rose: #F3BEBE; --peach: #F4D6C6; --cream: #FBF3D1; --mint: #D0F3CD; --sky: #C9E5FF;
  --w-rose: #FAE5E5; --w-peach: #FBEFE8; --w-cream: #FDFAED; --w-mint: #ECFAEB; --w-sky: #E9F5FF;
  --green: #2E3440; --ink: #2E3440; }
body { background-image: none; }
a { color: inherit; }
.eyebrow { color: #4A5060; }

/* Logo: dark wordmark, five-color badge */
.brand-name, .footer .brand-name { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; font-weight: 900; }
.brand-mark { border-radius: 10px; background: conic-gradient(var(--rose) 0 72deg, var(--peach) 0 144deg, var(--cream) 0 216deg, var(--mint) 0 288deg, var(--sky) 0 360deg); }
.brand-mark rect { fill: transparent; } .brand-mark circle { stroke: var(--ink); } .brand-mark path { fill: var(--ink); }

/* Buttons: pastel fills with dark text */
.btn-primary { background: var(--rose); color: var(--ink); box-shadow: 0 10px 24px rgba(243,190,190,.45); }
.btn-primary:hover { background: var(--peach); transform: translateY(-1px); }
.btn-primary::after { display: none; }
.btn-dark { background: var(--mint); color: var(--ink); box-shadow: none; }
.btn-dark:hover { background: var(--sky); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(46,52,64,.08); }
.btn-light:hover { background: var(--cream); }
.btn-outline:hover { background: var(--w-peach); }

/* HERO: rose + peach */
.hero-bg span { opacity: .6 !important; }
.blob-a { background: var(--peach); } .blob-b { background: var(--cream); } .blob-c { background: var(--rose); opacity: .45 !important; } .blob-d { background: var(--peach); }
.tag { background: var(--peach); color: var(--ink); }
.hero h1 .accent > span { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.hero h1 .accent::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .38em; background: var(--rose); border-radius: 8px; z-index: 0; opacity: .85; }
.squiggle { display: none; }
.hero-place svg { stroke: var(--ink); }
.hero-place { background: var(--w-rose); }
.start-card .eyebrow { color: #4A5060; }
.start-icon { background: var(--rose); color: var(--ink); }
.start-card::before { background: var(--peach); }
.start-foot strong { color: var(--ink); background: var(--peach); padding: 2px 10px; border-radius: 999px; }
.dot-green { background: var(--rose); } .dot-butter { background: var(--peach); } .dot-peach { background: var(--cream); box-shadow: inset 0 0 0 1px #E8DFB8; }
.mainnav a.nav-mentor { background: var(--peach); color: var(--ink); }
.mainnav a.nav-mentor:hover, .mainnav a.nav-mentor.active { background: var(--rose); }
.mainnav a:not(.nav-mentor)::after { background: var(--rose); height: 3px; }

/* Stats: dark numbers on soft swatches (rose/peach, then mint/sky) */
.stat-num, .stat.lead .stat-num { background: none !important; color: var(--ink) !important; -webkit-text-fill-color: currentColor; }
.stat.lead .stat-num { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: .14em; text-underline-offset: .08em; }

/* Carousel band: mint + sky */
.band-mint::before { background: linear-gradient(120deg, var(--w-mint), var(--w-sky)); }
.slide.c0 .slide-media { background: var(--mint); } .slide.c1 .slide-media { background: var(--sky); }
.slide.c2 .slide-media { background: var(--peach); } .slide.c3 .slide-media { background: var(--rose); }
.slide-icon .mini { background: var(--sky); color: var(--ink); }
.car-dot { background: #DDE3EA; } .car-dot[aria-current="true"] { background: var(--sky); box-shadow: inset 0 0 0 1px #A9C9E8; }

/* Featured clubs band: peach + cream */
.feature-band { background: linear-gradient(120deg, var(--w-peach), var(--w-cream)); color: var(--ink); }
.feature-band::before { background: radial-gradient(circle, rgba(244,214,198,.55), transparent 65%); }
.feature-band::after { background-image: linear-gradient(rgba(46,52,64,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(46,52,64,.035) 1px, transparent 1px); }
.feature-text h2 { color: var(--ink); } .feature-text p, .feature-stats span { color: var(--muted); }
.feature-stats strong { color: var(--ink) !important; }
.feature-tag { background: var(--peach); color: var(--ink); }
.wall-card { background: #fff; border-color: rgba(46,52,64,.07); box-shadow: 0 8px 22px rgba(46,52,64,.06); }
.wall-card strong { color: var(--ink); } .wall-card small { color: var(--muted); }
.wall-card .wall-cat { color: var(--ink) !important; }
.wall-card:nth-child(2n+1) .wall-cat { background: var(--peach) !important; } .wall-card:nth-child(2n) .wall-cat { background: var(--cream) !important; }

/* Browse tiles: each tile one palette color, neighbors side by side */
.tile:nth-child(5n+1) .tile-icon { background: var(--rose) !important; } .tile:nth-child(5n+2) .tile-icon { background: var(--peach) !important; }
.tile:nth-child(5n+3) .tile-icon { background: var(--cream) !important; } .tile:nth-child(5n+4) .tile-icon { background: var(--mint) !important; }
.tile:nth-child(5n) .tile-icon { background: var(--sky) !important; }
.tile-icon { color: var(--ink) !important; }
.tile::before { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(251,243,209,.8), transparent 70%) !important; }

/* Language band: cream + mint */
.band-sun::before { background: radial-gradient(circle at 1px 1px, rgba(46,52,64,.05) 1px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(120deg, var(--w-cream), var(--w-mint)); }
.lang-word.hl-1 { background: var(--mint); } .lang-word.hl-2 { background: var(--cream); } .lang-word.hl-3 { background: var(--mint); }
.lang-word[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Mentor banner + help: sky + mint */
.mentor-banner { background: linear-gradient(120deg, var(--w-sky), var(--w-mint)); }
.mentor-banner .banner-icon { background: var(--sky); color: var(--ink); }
.help-box { background: var(--w-sky) !important; }

/* Footer: sky with rose touch (wraps the palette ends) — kept very light */
.footer-wave path { fill: var(--w-sky); }
.footer { background: var(--w-sky); color: var(--muted); }
.footer-col h3 { color: var(--ink); } .footer-col a { color: #3B4250; } .footer-col a:hover { color: var(--ink); text-decoration-color: var(--rose); }
.footer-lang { background: #fff; color: var(--ink); } .footer-lang[aria-current="true"] { background: var(--sky); color: var(--ink); box-shadow: inset 0 0 0 1px #A9C9E8; }
.footer-base { border-top-color: rgba(46,52,64,.1); }

/* Chips, pills, badges */
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--sky); border-color: #A9C9E8; color: var(--ink); }
.pill-free { background: var(--mint); color: var(--ink); }
.pill-open { color: var(--ink); } .pill-open::before { background: #8FD08A; box-shadow: 0 0 0 3px var(--mint); }
.count-badge { background: var(--rose); color: var(--ink); }
.save-btn[aria-pressed="true"] { background: var(--peach); border-color: var(--peach); }
.club-card { border-top-width: 5px; }
.club-card.cat-cul, .club-card.cat-soc, .club-card.cat-gsa { border-top-color: var(--rose); }
.club-card.cat-art, .club-card.cat-med { border-top-color: var(--peach); }
.club-card.cat-adv, .club-card.cat-car, .club-card.cat-pol { border-top-color: #F2E4A8; }
.club-card.cat-svc, .club-card.cat-spt { border-top-color: var(--mint); }
.club-card.cat-aca, .club-card.cat-gam { border-top-color: var(--sky); }
.club-cat { color: #4A5060; }
.sec-num { background: var(--rose); } .form-sec:nth-of-type(2) .sec-num { background: var(--peach); } .form-sec:nth-of-type(3) .sec-num { background: var(--cream); }
.done-icon { background: var(--mint); color: var(--ink); }
.card.fx-hot, .club-card.fx-hot { background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(251,243,209,.6), transparent 65%); }
.feature-wall > .fx-hot { background-image: none; }
.scroll-progress { background: linear-gradient(90deg, var(--rose), var(--peach), var(--cream), var(--mint), var(--sky)) !important; height: 4px; }

/* Hero: one soft wash through the whole palette, left to right */
.hero-bg { background: linear-gradient(115deg, rgba(243,190,190,.55) 0%, rgba(244,214,198,.55) 25%, rgba(251,243,209,.6) 50%, rgba(208,243,205,.55) 75%, rgba(201,229,255,.6) 100%); }
.blob-a { background: var(--rose); left: 0%; } .blob-b { background: var(--cream); } .blob-c { background: var(--sky); opacity: .6 !important; } .blob-d { background: var(--mint); }

.orig-name { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Peer cohorts ---------- */
.cohort-band { margin-top: 88px; position: relative; padding: 48px 40px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--w-cream), var(--w-mint) 55%, var(--w-sky)); display: grid; gap: 28px; scroll-margin-top: 96px; }
.cohort-head { max-width: 720px; display: grid; gap: 10px; }
.cohort-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0; }
.cohort-head .lede { margin: 0; }
.cohort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cohort-card { background: var(--surface); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 0 rgba(46,52,64,.04); transition: transform .2s, box-shadow .2s; }
.cohort-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cohort-card h3 { margin: 6px 0 0; font-size: 1.15rem; }
.cohort-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.cohort-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.cohort-icon svg { width: 24px; height: 24px; }
.c-rose .cohort-icon { background: var(--rose); } .c-rose { border-top: 5px solid var(--rose); }
.c-peach .cohort-icon { background: var(--peach); } .c-peach { border-top: 5px solid var(--peach); }
.c-mint .cohort-icon { background: var(--mint); } .c-mint { border-top: 5px solid var(--mint); }
.cohort-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cohort-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cohort-facts li { background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; }
.cohort-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 8px; vertical-align: middle; }
.cohort-facts li:nth-child(1)::before { background: var(--cream); box-shadow: inset 0 0 0 1px #E8DFB8; }
.cohort-facts li:nth-child(2)::before { background: var(--mint); }
.cohort-facts li:nth-child(3)::before { background: var(--sky); }
.cohort-note { margin: -8px 0 0; color: var(--muted); }
.cohort-jump { font: inherit; cursor: pointer; text-align: start; display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, var(--w-mint), var(--w-sky)); border: 0; border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cohort-jump:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cohort-jump .arrow { margin-inline-start: auto; }
.cohort-jump-tag { background: var(--sky); border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 700; flex: none; }
@media (max-width: 860px) {
  .cohort-band { padding: 32px 20px; margin-top: 56px; }
  .cohort-grid { grid-template-columns: 1fr; }
  .cohort-foot .btn { width: 100%; justify-content: center; }
}
