:root {
  --ink: #10263d;
  --ink-soft: #536274;
  --paper: #f5f3ee;
  --white: #fffefd;
  --line: #dcded9;
  --jade: #14746c;
  --jade-dark: #0e5f59;
  --sand: #e8dfd1;
  --warm: #f7ede0;
  --serif: "DM Serif Display", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(20,116,108,.3); outline-offset: 3px; }
.app-shell { min-height: 100dvh; padding-bottom: 78px; overflow: hidden; }
.site-header, .sub-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.site-header { position: relative; z-index: 2; }
.brand, .profile-link, .back-button, .text-button { border: 0; background: transparent; color: var(--ink); padding: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; color: white; background: var(--ink); border-radius: 50% 50% 45% 50%; font-size: 13px; font-weight: 600; }
.profile-link { color: var(--ink-soft); font-size: 13px; }
main { max-width: 660px; margin: 0 auto; }
.view { display: none; animation: arrive .35s ease both; }
.view.active { display: block; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero { position: relative; padding: 52px 24px 45px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 245px; height: 245px; top: -95px; right: -110px; border: 1px solid rgba(16,38,61,.14); border-radius: 48% 52% 40% 60%; box-shadow: 0 0 0 28px rgba(16,38,61,.035), 0 0 0 56px rgba(16,38,61,.025); }
.eyebrow, .section-kicker, .card-overline { margin: 0 0 12px; color: var(--jade); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .form-intro h1, .plan-hero h1 { position: relative; z-index: 1; margin: 0; font: 42px/1.11 var(--serif); letter-spacing: -.035em; }
.hero h1 em { color: var(--jade); font-style: italic; }
.hero-copy { position: relative; z-index: 1; max-width: 310px; margin: 20px 0 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 50px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; color: white; background: var(--ink); font-weight: 600; transition: transform .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-2px); background: #1b3957; }
.primary-button span, .outline-button span { font-size: 19px; font-weight: 400; line-height: 1; }
.trust-line { display: flex; gap: 8px; align-items: center; margin-top: 20px; color: #71808b; font-size: 11px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }

.search-panel { margin: 0 16px 36px; padding: 23px 20px 19px; border-radius: 9px; background: var(--white); box-shadow: 0 8px 28px rgba(16,38,61,.06); }
.search-panel h2, .journey-section h2, .school-teaser h2 { margin: 0; font: 27px/1.2 var(--serif); letter-spacing: -.02em; }
.search-box { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.search-box:focus-within { border-color: var(--jade); }
.search-box svg { width: 19px; fill: none; stroke: var(--ink-soft); stroke-width: 1.7; }
.search-box input { width: 100%; min-width: 0; height: 49px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #9da6a9; }
.search-filters { display: grid; gap: 16px; margin-top: 15px; }.filter-group { margin: 0; }.filter-label { margin: 0 0 8px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }.filter-chip { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: var(--white); font-size: 12px; transition: background .18s ease, border-color .18s ease, color .18s ease; }.filter-chip.is-active { border-color: var(--jade); color: white; background: var(--jade); }.filter-chip.is-unavailable, .filter-chip:disabled { border-color: #e5e7e4; color: #b3bab7; background: #f4f5f2; cursor: not-allowed; }.school-list-heading { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; }
.search-results { display: grid; gap: 8px; margin-top: 4px; }
.search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 2px 2px; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.search-result strong { display: block; font-size: 14px; }.search-result small { color: var(--ink-soft); font-size: 11px; }.search-result > span:last-child { color: var(--jade); }
.search-empty { padding: 7px 2px 0; color: var(--ink-soft); font-size: 12px; }
.ai-service-note { margin: 18px 0 0; padding: 10px 11px; border-left: 2px solid var(--jade); color: #597069; background: #f5fbf8; font-size: 11px; line-height: 1.7; }

.journey-section { padding: 0 20px; }.section-heading { margin-bottom: 17px; }.journey-list { display: grid; gap: 1px; border-top: 1px solid var(--line); }
.journey-card { display: grid; grid-template-columns: 29px 1fr 18px; gap: 8px; align-items: center; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.journey-index { align-self: start; padding-top: 2px; color: var(--jade); font: 17px/1 var(--serif); }.journey-content strong { display: block; margin-bottom: 3px; font-size: 15px; }.journey-content small { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }.arrow { color: var(--jade); font-size: 18px; }
.quiet-note { display: flex; gap: 12px; align-items: flex-start; margin: 35px 20px 20px; padding: 17px 16px; border-radius: 5px; background: var(--sand); color: #5d5c56; font-size: 12px; line-height: 1.75; }.quiet-note p { margin: 0; }.note-symbol { color: var(--jade); }

.sub-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }.back-button { color: var(--ink-soft); font-size: 13px; }.step-label { color: var(--ink-soft); font-size: 11px; font-weight: 400; }.text-button { color: var(--jade); font-size: 13px; }
.form-intro { padding: 38px 24px 27px; }.form-intro h1 { font-size: 36px; }.form-intro > p:last-child { margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; }.assessment-form { padding: 0 20px 32px; }.assessment-form fieldset { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); }.assessment-form legend { margin-bottom: 15px; padding: 0; font-size: 14px; font-weight: 700; }.choice-grid { display: grid; gap: 8px; }.grade-grid { grid-template-columns: repeat(3, 1fr); }.choice-grid label, .choice-stack label { position: relative; display: block; }.choice-grid input, .choice-stack input { position: absolute; opacity: 0; }.choice-grid span { display: grid; min-height: 47px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-weight: 600; }.choice-stack { display: grid; gap: 8px; }.choice-stack span { display: block; padding: 12px 14px 12px 39px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13px; }.choice-stack span::before { content: ""; position: absolute; top: 15px; left: 14px; width: 13px; height: 13px; border: 1px solid #9ba4a6; border-radius: 50%; }.choice-grid input:checked + span, .choice-stack input:checked + span { border-color: var(--jade); color: var(--jade); background: #f4faf8; }.choice-stack input:checked + span::before { border: 4px solid var(--jade); }.assessment-form select { width: 100%; height: 49px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); }.submit-button { width: 100%; margin-top: 7px; }

.plan-hero { padding: 38px 24px 27px; }.plan-meta { margin: 0 0 13px; color: var(--ink-soft); font-size: 12px; }.plan-hero h1 { max-width: 330px; font-size: 38px; }.plan-hero > p:last-child { margin: 18px 0 0; color: var(--ink-soft); font-size: 14px; }.action-card { margin: 0 16px; padding: 23px 20px; border-radius: 8px; background: var(--ink); color: white; }.action-card .card-overline { color: #89c7bb; }.action-list { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: action; }.action-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; line-height: 1.65; }.action-list li::before { counter-increment: action; content: counter(action, decimal-leading-zero); color: #89c7bb; font: 15px var(--serif); }.school-teaser { margin: 37px 24px 0; }.school-teaser h2 { font-size: 32px; }.school-teaser p:not(.section-kicker) { max-width: 290px; color: var(--ink-soft); font-size: 13px; }.outline-button { display: inline-flex; align-items: center; gap: 20px; margin-top: 3px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 13px; font-weight: 700; }.disclaimer { margin: 40px 24px 20px; color: #7d8789; font-size: 10px; line-height: 1.7; }

.mobile-action-bar { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1.25fr 1fr; height: 68px; padding: 7px 14px env(safe-area-inset-bottom); border-top: 1px solid rgba(16,38,61,.08); background: rgba(255,254,253,.96); box-shadow: 0 -8px 22px rgba(16,38,61,.07); backdrop-filter: blur(12px); }.mobile-action-bar button { display: grid; place-content: center; gap: 1px; border: 0; color: var(--ink-soft); background: transparent; font-size: 10px; }.mobile-action-bar button span { font-size: 18px; line-height: 1; }.mobile-action-bar button.is-active { margin: 0 7px; border-radius: 4px; color: white; background: var(--jade); font-weight: 600; }.mobile-action-bar button.is-active span { font-size: 14px; }

.sheet-backdrop { position: fixed; z-index: 20; inset: 0; visibility: hidden; opacity: 0; background: rgba(8,22,35,.42); transition: opacity .25s, visibility .25s; }.school-sheet { position: fixed; z-index: 21; right: 0; bottom: 0; left: 0; max-width: 660px; max-height: 88dvh; margin: auto; padding: 8px 20px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 20px 20px 0 0; background: var(--white); transform: translateY(105%); transition: transform .32s cubic-bezier(.22,.8,.27,1); }.school-sheet [hidden] { display: none !important; }.sheet-open .school-sheet { transform: translateY(0); }.sheet-open .sheet-backdrop { visibility: visible; opacity: 1; }.sheet-handle { width: 37px; height: 4px; margin: 0 auto 16px; border-radius: 3px; background: #d7d9d5; }.sheet-topline { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 12px; }.close-button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--ink); background: #eef0ed; font-size: 23px; line-height: 1; }.school-tag { display: inline-block; margin-top: 19px; padding: 3px 8px; border-radius: 30px; color: var(--jade); background: #e8f4f0; font-size: 10px; font-weight: 700; }.school-sheet h2 { margin: 11px 0; font: 34px/1.05 var(--serif); }.sheet-summary { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }.school-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 23px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.school-facts div { padding: 0 9px; border-left: 1px solid var(--line); }.school-facts div:first-child { padding-left: 0; border-left: 0; }.school-facts dt { color: var(--ink-soft); font-size: 10px; }.school-facts dd { margin: 4px 0 0; font-size: 11px; line-height: 1.45; }.sheet-section { margin-top: 22px; }.sheet-section .section-kicker { margin-bottom: 7px; }.sheet-section > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }.sheet-section > p + p { margin-top: 9px; }.sheet-section strong { color: var(--ink); }.observation-note { padding-left: 10px; border-left: 2px solid var(--jade); color: #405a56 !important; }.detail-note { color: #59686d !important; font-size: 11px !important; }.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }.profile-facts div { min-height: 55px; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }.profile-facts div:nth-child(even) { padding-left: 11px; border-left: 1px solid var(--line); }.profile-facts dt { color: var(--ink-soft); font-size: 10px; }.profile-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 12px; line-height: 1.4; }.source-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.source-links a { display: inline-flex; align-items: center; min-height: 27px; padding: 0 8px; border: 1px solid #c9d7d1; border-radius: 3px; color: #24594f; background: #f4faf7; font-size: 11px; text-decoration: none; }.source-links--primary a { color: #445b6b; border-color: #d6dfe3; background: #fff; }.warm-section { padding: 15px; border-radius: 5px; background: var(--warm); }.warm-section ul { margin: 8px 0 0; padding-left: 17px; color: #625d55; font-size: 12px; line-height: 1.9; }.sheet-cta { width: 100%; margin-top: 23px; }
.ai-settings { margin-top: 18px; padding: 0 2px; border-top: 1px solid var(--line); }.ai-settings summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }.ai-settings summary span { color: var(--jade); font-size: 11px; font-weight: 500; }.ai-settings-intro, .ai-security-note { margin: 0 0 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }.ai-settings form { display: grid; gap: 11px; padding-bottom: 17px; }.ai-settings label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }.ai-settings input, .ai-settings select { width: 100%; height: 41px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 400; }.ai-settings-actions, .ai-evaluation-actions { display: flex; align-items: center; gap: 13px; }.ai-settings-actions .primary-button, .ai-evaluation-actions .primary-button { min-height: 41px; padding: 0 13px; font-size: 12px; }.ai-settings-actions .primary-button span, .ai-evaluation-actions .primary-button span { font-size: 15px; }.ai-evaluation-section { padding: 15px; border: 1px solid #cde1da; border-radius: 6px; background: #f5fbf8; }.ai-evaluation-status { color: #476761 !important; font-size: 12px !important; }.ai-evaluation-actions { margin-top: 13px; }.ai-evaluation-actions .primary-button:disabled { border-color: #c8d0cc; color: #85908c; background: #e3e9e5; cursor: not-allowed; }.ai-evaluation-output { margin-top: 14px; padding-top: 13px; border-top: 1px solid #d7e7e0; }.ai-evaluation-summary { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.7; }.ai-evaluation-output section { margin-top: 12px; }.ai-evaluation-output strong { display: block; color: #315d55; font-size: 11px; }.ai-evaluation-output ul { display: grid; gap: 4px; margin: 5px 0 0; padding-left: 17px; color: #526863; font-size: 11px; line-height: 1.65; }.ai-evaluation-output a { color: #21665b; }.ai-evaluation-limit { margin: 12px 0 0; color: #6a7875; font-size: 10px; line-height: 1.65; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 760px) {
  body { background: #e7e5df; }.app-shell { max-width: 1120px; min-height: 100vh; margin: 0 auto; background: var(--paper); box-shadow: 0 0 70px rgba(16,38,61,.12); }.site-header { padding: 22px 44px; }.hero { padding: 82px 72px 65px; }.hero h1 { font-size: 59px; }.hero-copy { max-width: 400px; font-size: 15px; }.search-panel { margin: 0 44px 55px; padding: 28px; }.journey-section { padding: 0 48px; }.journey-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }.journey-card { min-height: 155px; grid-template-columns: 1fr 18px; align-content: start; padding: 20px 18px; border-right: 1px solid var(--line); border-bottom: 0; }.journey-card:first-child { padding-left: 0; }.journey-index { grid-column: 1 / -1; }.quiet-note { max-width: 520px; margin: 52px 48px 38px; }.form-intro, .assessment-form, .plan-hero { max-width: 640px; margin: auto; }.assessment-form { padding-bottom: 55px; }.mobile-action-bar { display: none; }.app-shell { padding-bottom: 0; }.school-sheet { right: 28px; bottom: 24px; left: auto; width: 450px; border-radius: 15px; }.sub-header { padding: 23px 44px; }
}
