/* scholinx.org: one stylesheet. Colours, radii, shadows and durations are tokens; light and dark
   themes (system preference, or the header toggle via html[data-theme]). No inline styles anywhere. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plus-jakarta-sans.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dm-sans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --sans: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --navy: #082B65; --blue: #0875E1; --orange: #FF9800;

  --bg: #FFFFFF; --bg-soft: #F5F8FC; --surface: #FFFFFF; --surface-2: #F5F8FC;
  --border: #DFE6F1; --border-strong: #C3D0E3;
  --ink: #082B65; --text: #22375B; --muted: #4F607E;
  --primary: #0875E1; --primary-hover: #0663C0; --on-primary: #FFFFFF; --primary-text: #0663C0; --primary-soft: #EAF3FD;
  --accent: #FF9800; --accent-text: #A35400; --accent-soft: #FFF3E0;
  --band: #082B65; --band-2: #0B3577; --on-band: #FFFFFF; --on-band-muted: #C6D4EC;
  --danger: #C62828; --danger-soft: #FDECEA; --success: #1B7F4B; --success-soft: #E8F5EE;
  --focus: #0875E1; --input-bg: #FFFFFF; --header-bg: rgba(255, 255, 255, .86);
  --shadow-sm: 0 1px 2px rgba(8, 43, 101, .06), 0 2px 8px -2px rgba(8, 43, 101, .08);
  --shadow-md: 0 12px 32px -12px rgba(8, 43, 101, .22), 0 2px 6px rgba(8, 43, 101, .05);
  --shadow-lg: 0 40px 80px -32px rgba(8, 43, 101, .35), 0 12px 24px -12px rgba(8, 43, 101, .12);
  --grid-line: rgba(8, 43, 101, .055); --glow: rgba(8, 117, 225, .16);
  /* dashboard preview */
  --d-bg: #F7F9FC; --d-panel: #FFFFFF; --d-grid: #E6ECF5; --d-track: #E8EEF7; --d-bar: #B9D6F6; --d-side: #FFFFFF;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px;
  --fast: 160ms; --med: 240ms; --ease: cubic-bezier(.2, .7, .2, 1);
  --show-light: inline-block; --show-dark: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #061428; --bg-soft: #081A34; --surface: #0C2142; --surface-2: #0F2850;
    --border: #1C355F; --border-strong: #2C4C80;
    --ink: #F2F6FC; --text: #C9D5E8; --muted: #9DAECB;
    --primary: #4DA3FF; --primary-hover: #7BBAFF; --on-primary: #04122A; --primary-text: #82BFFF; --primary-soft: rgba(77, 163, 255, .13);
    --accent: #FF9800; --accent-text: #FFB547; --accent-soft: rgba(255, 152, 0, .13);
    --band: #0A2350; --band-2: #0E2C63; --on-band: #FFFFFF; --on-band-muted: #C3D1EA;
    --danger: #FF8A80; --danger-soft: rgba(255, 99, 88, .13); --success: #5AD19A; --success-soft: rgba(90, 209, 154, .12);
    --focus: #7BBAFF; --input-bg: #081A34; --header-bg: rgba(6, 20, 40, .84);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03);
    --grid-line: rgba(130, 170, 230, .06); --glow: rgba(77, 163, 255, .14);
    --d-bg: #0A1B36; --d-panel: #0E2244; --d-grid: #1B3360; --d-track: #183056; --d-bar: #2B5A96; --d-side: #0B1D3B;
    --show-light: none; --show-dark: inline-block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061428; --bg-soft: #081A34; --surface: #0C2142; --surface-2: #0F2850;
  --border: #1C355F; --border-strong: #2C4C80;
  --ink: #F2F6FC; --text: #C9D5E8; --muted: #9DAECB;
  --primary: #4DA3FF; --primary-hover: #7BBAFF; --on-primary: #04122A; --primary-text: #82BFFF; --primary-soft: rgba(77, 163, 255, .13);
  --accent: #FF9800; --accent-text: #FFB547; --accent-soft: rgba(255, 152, 0, .13);
  --band: #0A2350; --band-2: #0E2C63; --on-band: #FFFFFF; --on-band-muted: #C3D1EA;
  --danger: #FF8A80; --danger-soft: rgba(255, 99, 88, .13); --success: #5AD19A; --success-soft: rgba(90, 209, 154, .12);
  --focus: #7BBAFF; --input-bg: #081A34; --header-bg: rgba(6, 20, 40, .84);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03);
  --grid-line: rgba(130, 170, 230, .06); --glow: rgba(77, 163, 255, .14);
  --d-bg: #0A1B36; --d-panel: #0E2244; --d-grid: #1B3360; --d-track: #183056; --d-bar: #2B5A96; --d-side: #0B1D3B;
  --show-light: none; --show-dark: inline-block;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -.022em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
strong, b { font-weight: 700; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 800px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; transition: top var(--fast); }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.on-light { display: var(--show-light); }
.on-dark { display: var(--show-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 var(--display); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -8px var(--primary); }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; }
.btn-on-dark { background: #FFFFFF; color: #082B65; }
.btn-on-dark:hover { background: #EAF3FD; text-decoration: none; }
.btn-outline-dark { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .42); }
.btn-outline-dark:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, .06); text-decoration: none; }
.btn-on-dark:focus-visible, .btn-outline-dark:focus-visible { outline-color: #FFFFFF; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--ink); cursor: pointer; transition: background-color var(--fast), border-color var(--fast); }
.icon-btn:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.icon-btn .when-light { display: var(--show-light); }
.icon-btn .when-dark { display: var(--show-dark); }
.menu-btn .when-open, .menu-btn[aria-expanded="true"] .when-closed { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: inline-block; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--display); color: var(--primary-text); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--med), box-shadow var(--med); }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(8, 43, 101, .35); }
.header-row { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand-logo { height: 34px; width: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font: 500 15px var(--display); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

@media (min-width: 1080px) {
  .menu { display: flex; align-items: center; flex: 1; gap: 16px; }
  .nav { display: flex; gap: 2px; margin-inline: auto; }
  .nav a { position: relative; padding: 9px 13px; border-radius: 8px; transition: color var(--fast), background-color var(--fast); }
  .nav a:hover { background: var(--bg-soft); }
  .nav a[aria-current="page"]::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
  .menu-actions { display: flex; align-items: center; gap: 6px; }
  .header-tools { margin-left: 4px; }
  .menu-btn { display: none; }
}
@media (max-width: 1079.98px) {
  .menu { position: fixed; inset: 72px 0 auto 0; z-index: 49; max-height: calc(100dvh - 72px); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 8px clamp(16px, 4vw, 32px) 24px; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity var(--med) var(--ease), transform var(--med) var(--ease), visibility 0s linear var(--med); }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--med) var(--ease), transform var(--med) var(--ease), visibility 0s; }
  .nav { display: flex; flex-direction: column; }
  .nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { color: var(--primary-text); }
  .menu-actions { display: grid; gap: 10px; margin-top: 20px; }
  .menu-actions .btn { min-height: 50px; }
  .menu-actions .btn-ghost { border-color: var(--border-strong); }
}
@media (max-width: 380px) { .brand-logo { height: 28px; } }

/* ---------- shared section pieces ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tight { padding-block: 8px 40px; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; font-weight: 800; }
.section-head .lead { margin-top: 16px; }
.kicker { font: 700 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--primary-text); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.section-foot { margin-top: 36px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; line-height: 1.5; }
.ticks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--primary-text); stroke-width: 2.2; }
.ticks-lg li { font-size: 16.5px; }
.ticks-lg { gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.3 var(--display); white-space: nowrap; }
.pill-core { background: var(--primary-soft); color: var(--primary-text); }
.pill-planned { background: var(--accent-soft); color: var(--accent-text); }
.dev-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-soft); color: var(--text); font-size: 15px; line-height: 1.55; }
.dev-note .icon { color: var(--primary-text); margin-top: 1px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 auto 0; height: 980px; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 600 13.5px var(--display); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { margin-top: 24px; max-width: 15ch; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.038em; }
.hl { color: var(--primary-text); background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 94% / 100% .09em; padding-bottom: .04em; }
.hero-lead { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-dash { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-dash::before { content: ''; position: absolute; left: 10%; right: 10%; top: 8%; height: 70%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); pointer-events: none; }

/* ---------- dashboard preview ---------- */
.dash { position: relative; margin: 0; }
.dash-window { position: relative; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--d-bg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; color: var(--text); text-align: left; }
.dash-top { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 16px; background: var(--d-panel); border-bottom: 1px solid var(--d-grid); }
.dash-brand { display: flex; align-items: center; gap: 10px; width: 184px; font: 700 14px var(--display); color: var(--ink); flex: none; }
.dash-mark { width: 30px; height: 30px; }
.dash-switch { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; border: 1px solid var(--d-grid); border-radius: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dash-switch .icon { width: 15px; height: 15px; color: var(--muted); }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.dash-search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 360px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--d-bg); color: var(--muted); white-space: nowrap; overflow: hidden; }
.dash-search .icon { width: 15px; height: 15px; }
.dash-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dash-sample { padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font: 700 11px/1.3 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.dash-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font: 700 12px var(--display); }
.dash-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.dash-side { list-style: none; padding: 14px 10px; background: var(--d-side); border-right: 1px solid var(--d-grid); display: grid; align-content: start; gap: 2px; }
.dash-side li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.dash-side .icon { width: 17px; height: 17px; }
.dash-side .is-active { background: var(--primary-soft); color: var(--primary-text); font-weight: 700; }
.dash-main { padding: 20px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dash-greet { font: 700 17px var(--display); color: var(--ink); letter-spacing: -.01em; }
.dash-term { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; background: var(--d-panel); border: 1px solid var(--d-grid); border-radius: 12px; min-width: 0; }
.kpi-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.kpi-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--primary-soft); color: var(--primary-text); flex: none; }
.kpi-icon .icon { width: 15px; height: 15px; }
.kpi-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value { margin-top: 10px; font: 800 27px/1 var(--display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-note { display: flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-note.is-up { color: var(--success); }
.kpi-note .icon { width: 14px; height: 14px; }
.dash-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.panel { background: var(--d-panel); border: 1px solid var(--d-grid); border-radius: 12px; padding: 14px 16px 16px; min-width: 0; }
.panel header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.p-title { font: 700 13.5px var(--display); color: var(--ink); }
.p-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.panel-att { grid-column: span 4; }
.panel-fee { grid-column: span 2; }
.panel-perf, .panel-campus, .panel-activity { grid-column: span 2; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .g { stroke: var(--d-grid); stroke-width: 1; }
.chart .t { fill: var(--muted); font: 500 10px var(--sans); }
.chart .v { fill: var(--ink); font: 700 9.5px var(--sans); }
.chart .bar { fill: var(--d-bar); transform-box: fill-box; transform-origin: 50% 100%; }
.chart .bar-today { fill: var(--primary); }
.chart .target { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend-target { height: 2px; border-radius: 0; background: var(--accent); }
.legend-paid { background: var(--primary); }
.legend-part { background: var(--accent); }
.legend-due { background: var(--d-track); }
.panel-fee { display: flex; flex-direction: column; }
.fee-body { display: flex; align-items: center; gap: 16px; flex: 1; }
.donut { width: 112px; height: 112px; flex: none; }
.donut circle { fill: none; stroke-width: 12; }
.d-track { stroke: var(--d-track); }
.d-paid { stroke: var(--primary); }
.d-part { stroke: var(--accent); }
.d-big { fill: var(--ink); font: 800 19px var(--display); }
.d-small { fill: var(--muted); font: 500 9px var(--sans); }
.fee-legend { list-style: none; display: grid; gap: 8px; flex: 1; min-width: 0; }
.fee-legend li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.fee-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.perf { list-style: none; display: grid; gap: 9px; }
.perf li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 34px; align-items: center; gap: 10px; }
.perf-label { color: var(--muted); white-space: nowrap; }
.perf-track { width: 100%; height: 8px; display: block; }
.perf-bg { fill: var(--d-track); }
.perf-fill { fill: var(--primary); transform-box: fill-box; transform-origin: 0 50%; }
.perf-val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.campus-list, .activity { list-style: none; display: grid; gap: 4px; }
.campus-list li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--d-grid); }
.campus-list li:last-child { border-bottom: 0; }
.campus-list li:nth-child(2) .c-dot { background: var(--accent); }
.campus-list li:nth-child(3) .c-dot { background: var(--navy); }
.campus-list li:nth-child(4) .c-dot { background: var(--success); }
:root[data-theme="dark"] .campus-list li:nth-child(3) .c-dot { background: #9DAECB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .campus-list li:nth-child(3) .c-dot { background: #9DAECB; } }
.c-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.c-att { min-width: 50px; text-align: center; padding: 2px 6px; border-radius: 6px; background: var(--success-soft); color: var(--success); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.c-att.is-low { background: var(--accent-soft); color: var(--accent-text); }
.activity li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; }
.a-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--d-bg); color: var(--primary-text); border: 1px solid var(--d-grid); }
.a-icon .icon { width: 15px; height: 15px; }
.a-text { display: grid; min-width: 0; }
.a-title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.dash figcaption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 13.5px; text-align: center; }
.dash figcaption .icon { width: 16px; height: 16px; }
@media (max-width: 1180px) { .dash-side { display: none; } .dash-body { grid-template-columns: minmax(0, 1fr); } .dash-brand { width: auto; } }
@media (max-width: 900px) {
  .dash-search { display: none; }
  .panel-att, .panel-fee, .panel-perf, .panel-campus { grid-column: span 3; }
  .panel-activity { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dash-main { padding: 14px; }
  .dash-top { padding: 0 12px; gap: 10px; }
  .dash-brand span, .dash-avatar { display: none; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-att, .panel-fee, .panel-campus { grid-column: auto; }
  .panel-perf { display: none; }
  .kpi { padding: 12px; }
  .kpi-value { font-size: 23px; }
  .dash-head { flex-direction: column; gap: 2px; }
  .dash figcaption { align-items: flex-start; text-align: left; }
}
@media (max-width: 380px) { .dash-switch { padding: 0 8px; } .donut { width: 92px; height: 92px; } }

/* ---------- home sections ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.benefit { border-top: 1px solid var(--border-strong); padding-top: 22px; }
.benefit-n { display: block; font: 700 14px var(--display); color: var(--accent-text); letter-spacing: .04em; margin-bottom: 14px; }
.benefit h3 { font-size: 20px; }
.benefit p { margin-top: 10px; color: var(--muted); }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.module-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color var(--fast) var(--ease), transform var(--med) var(--ease), box-shadow var(--med) var(--ease); scroll-margin-top: 96px; }
.module-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.module-card:target { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.module-card.is-planned { background: transparent; border-style: dashed; border-color: var(--border-strong); }
.module-card.is-planned .module-icon { background: var(--accent-soft); color: var(--accent-text); }
.module-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.module-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.module-icon .icon { width: 23px; height: 23px; }
.module-card p { color: var(--muted); font-size: 15px; }
.module-card .ticks { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.module-grid.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-grid.is-compact .module-card { padding: 22px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); counter-reset: none; position: relative; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font: 800 16px var(--display); margin-bottom: 20px; box-shadow: 0 0 0 6px var(--primary-soft); }
.step h3 { font-size: 18px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split .section-head { margin-bottom: 28px; }
.split-rev > :first-child { order: 2; }
.tree { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.tree-root { display: flex; align-items: center; gap: 14px; max-width: 340px; margin: 0 auto; padding: 16px 18px; border-radius: var(--r); background: var(--navy); color: #FFFFFF; }
.tree-root .icon { width: 28px; height: 28px; color: #FFB547; }
.tree-root b { display: block; color: #FFFFFF; font: 700 16px var(--display); }
.tree-root small { display: block; color: #C6D4EC; font-size: 13px; }
.tree-lines { display: block; width: 100%; height: 48px; }
.tree-lines path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tree-kids { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tree-kids li { padding: 14px 10px; text-align: center; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-soft); }
.tree-dot { display: block; width: 10px; height: 10px; margin: 0 auto 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tree-kids li:nth-child(2) .tree-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tree-kids b { display: block; font: 700 14px/1.3 var(--display); }
.tree-kids small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.role { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.role h3 { font-size: 20px; }
.role .ticks { flex: 1; }
.section-dark { background: var(--band); color: var(--on-band-muted); position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.section-dark .wrap { position: relative; }
.section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark .kicker { color: #FFB547; }
.section-dark .lead { color: var(--on-band-muted); }
.section-dark :focus-visible { outline-color: #FFFFFF; }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
.sec-item { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.sec-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #9CCBFF; margin-bottom: 18px; }
.sec-icon .icon { width: 22px; height: 22px; }
.sec-item p { margin-top: 8px; font-size: 15px; color: var(--on-band-muted); }
.report-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 700 16px var(--display); color: var(--ink); margin-bottom: 22px; }
.rc-bars { list-style: none; display: grid; gap: 16px; }
.rc-bars li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 44px; align-items: center; gap: 14px; font-size: 14.5px; }
.rc-bars span { color: var(--muted); white-space: nowrap; }
.rc-bars svg { display: block; width: 100%; height: 10px; }
.rc-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.rc-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.rc-foot .icon { width: 16px; height: 16px; }
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--band); overflow: hidden; }
.cta-inner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 152, 0, .16); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #FFFFFF; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; }
.cta-inner p { margin-top: 10px; max-width: 560px; color: var(--on-band-muted); font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-hero h1 { max-width: 18ch; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.034em; }
.page-hero .lead { margin-top: 20px; max-width: 680px; }
.page-hero .hero-actions { justify-content: flex-start; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 14px; text-decoration: none; transition: border-color var(--fast), color var(--fast), background-color var(--fast); }
.jump a:hover { border-color: var(--primary); color: var(--primary-text); background: var(--primary-soft); }
.solutions { padding-bottom: clamp(40px, 6vw, 72px); }
.group-title { margin-top: clamp(40px, 6vw, 64px); padding-bottom: 14px; font: 700 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); border-bottom: 2px solid var(--ink); }
.solution { padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--border); scroll-margin-top: 88px; }
.solution-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.solution-copy .kicker { margin-bottom: 10px; }
.solution-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.solution-copy .lead { margin-top: 12px; color: var(--ink); font-size: 18px; }
.solution-copy p:last-child { margin-top: 14px; color: var(--muted); }
.solution-side { padding: 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); align-self: start; }
.solution-mods-title { margin-top: 22px; font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color var(--fast), color var(--fast); }
.chip .icon { width: 16px; height: 16px; color: var(--primary-text); }
.chip:hover { border-color: var(--primary); color: var(--primary-text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.plan.is-featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.plan-flag { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: 700 12px/1.4 var(--display); }
.plan h2 { font-size: 24px; font-weight: 800; }
.plan-aud { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 48px; }
.plan-price { margin: 22px 0; padding-block: 16px; border-block: 1px solid var(--border); font: 700 19px/1.3 var(--display); color: var(--ink); }
.plan-sub { margin: 26px 0 12px; font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.custom { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg-soft); }
.custom > div { max-width: 640px; }
.custom h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 800; }
.custom .lead { margin-top: 10px; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: 600 16.5px/1.4 var(--display); color: var(--ink); border-radius: var(--r); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--primary-text); transition: transform var(--med) var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.prose h2 { margin: 40px 0 12px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; font-size: 17px; line-height: 1.7; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.principle { padding-top: 20px; border-top: 2px solid var(--ink); }
.principle p { margin-top: 10px; color: var(--muted); }
.not-found { min-height: 60vh; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.form { display: grid; gap: 20px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field label { font: 600 14.5px var(--display); color: var(--ink); }
.opt { margin-left: 6px; font-weight: 500; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--input-bg); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color var(--fast), box-shadow var(--fast); }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field-hint { color: var(--muted); font-size: 13.5px; }
.field-err { color: var(--danger); font-size: 14px; font-weight: 500; }
.form-summary { padding: 14px 16px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 15px; }
.form-summary:focus { outline: 3px solid var(--danger); outline-offset: 2px; }
.form-foot { display: grid; gap: 14px; justify-items: start; }
.form-note { display: flex; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-note .icon { width: 18px; height: 18px; margin-top: 1px; }
.form-status { padding: 14px 16px; border-radius: 10px; background: var(--success-soft); color: var(--text); font-size: 15px; }
.form-status a { font-weight: 600; }
.contact-aside { display: grid; gap: 18px; }
.aside-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-soft); }
.aside-card h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.aside-card p + p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; font: 700 17px var(--display); overflow-wrap: anywhere; }
.mini-steps { padding-left: 20px; display: grid; gap: 10px; color: var(--text); font-size: 15px; }
.mini-steps li::marker { color: var(--accent-text); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: clamp(48px, 6vw, 72px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-logo { display: inline-flex; border-radius: 8px; }
.footer-lockup { height: 38px; width: auto; }
.footer-tagline { margin-top: 14px; font: 700 13px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.footer-brand p { max-width: 340px; color: var(--muted); }
.footer-brand p + p { margin-top: 10px; }
.footer-contact { list-style: none; display: grid; gap: 6px; margin-top: 14px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.footer-mail .icon { width: 18px; height: 18px; }
.footer-mail:hover { text-decoration: underline; }
.site-footer h2 { font: 700 12.5px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; padding: 5px 0; color: var(--text); text-decoration: none; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--primary-text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-dev { white-space: nowrap; }
.footer-dev a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--primary-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-dev a:hover, .footer-dev a:focus-visible { text-decoration-thickness: 2px; }
.footer-dev strong { color: inherit; font-weight: 700; }
.footer-dev-icon { display: inline-block; width: 12px; height: 12px; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .module-grid.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles, .benefits, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan-aud { min-height: 0; }
}
@media (max-width: 900px) {
  .split, .solution-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split-rev > :first-child { order: 0; }
  .sec-grid, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .module-grid.is-compact, .roles, .benefits, .steps, .sec-grid, .principles, .field-row { grid-template-columns: minmax(0, 1fr); }
  .tree-kids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tree-lines { display: none; }
  .tree-root { margin-bottom: 12px; }
  .hero-actions .btn, .cta-actions .btn, .custom .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-bars li { grid-template-columns: 96px minmax(0, 1fr) 40px; gap: 10px; font-size: 13.5px; }
  .module-card { padding: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .site-header, .skip, .footer-dev, .cta-band, .hero-bg, .menu-btn, [data-theme-toggle] { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
  .section-dark { background: #FFFFFF; color: #000000; }
  .section-dark h2, .section-dark h3, .section-dark p { color: #000000; }
  .dash-window, .report-card, .tree { box-shadow: none; }
}
