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

:root { --blue: #087ea4; --navy: #12344d; --yellow: #f2da24; --ink: #163047; --muted: #657786; --paper: #f8fbfc; --line: #dce8ed; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 'DM Sans', sans-serif; }
h1, h2, strong, .brand, .eyebrow { font-family: 'Space Grotesk', sans-serif; }
h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: 0; margin: 0 0 20px; }
h2 { margin: 0 0 8px; }
a { color: inherit; }
.site-header { height: 78px; padding: 12px max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-size: 12px; line-height: 1.1; text-decoration: none; letter-spacing: .03em; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand strong { color: var(--blue); font-size: 14px; }
.header-label { color: var(--muted); font-size: 13px; }
.page-shell { max-width: 1180px; min-height: calc(100vh - 130px); margin: auto; padding: 56px 24px 80px; }
.site-footer { color: var(--muted); text-align: center; font-size: 12px; padding: 18px; border-top: 1px solid var(--line); background: var(--white); }
.hero-panel { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 490px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-copy { padding: clamp(36px, 7vw, 90px); align-self: center; }
.hero-copy h1 { max-width: 680px; }
.organization-copy { max-width: 620px; margin: 0 0 18px; color: #e4f0f3; font-size: 13px; line-height: 1.55; }
.lead { max-width: 640px; color: #bcd0db; font-size: 17px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--yellow); }
.quick-facts { display: flex; gap: 24px; margin: 28px 0; color: #e4f0f3; font-size: 13px; }
.quick-facts span::before { content: '•'; color: var(--yellow); margin-right: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; padding: 13px 20px; font: 600 14px 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #12344d22; }
.button-primary { color: var(--navy); background: var(--yellow); }
.button-dark { color: var(--white); background: var(--navy); }
.button-quiet { color: var(--navy); background: transparent; border: 1px solid var(--line); }
.hero-mark { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--yellow); color: var(--navy); transform: skew(-8deg); margin-right: -50px; }
.hero-mark span, .hero-mark strong, .hero-mark small { transform: skew(8deg); }
.hero-mark span { font: 600 18px 'Space Grotesk'; letter-spacing: .15em; }
.hero-mark strong { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .9; }
.hero-mark small { margin-top: 22px; font-size: 10px; letter-spacing: .2em; }
.intro-strip { display: flex; gap: 18px; align-items: center; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-top: 0; }
.intro-strip strong { color: var(--blue); }
.narrow { max-width: 560px; margin: 30px auto; }
.form-wrap { background: var(--white); padding: 44px; border: 1px solid var(--line); }
.muted { color: var(--muted); }
.stack-form { display: grid; gap: 20px; margin-top: 28px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 600; font-size: 13px; }
input, select { width: 100%; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 13px 14px; font: 15px 'DM Sans'; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #087ea422; }
.alert { padding: 13px 16px; margin-top: 20px; font-size: 14px; }
.alert-error { background: #fff0ed; color: #9b3328; border-left: 4px solid #dc5c4d; }
.question-wrap { max-width: 900px; margin: auto; }
.question-top, .dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.question-count { color: var(--blue); font-weight: 700; }
.question-card { margin: 0 0 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.question-card legend { width: 100%; display: flex; align-items: flex-start; gap: 14px; font: 600 18px/1.35 'Space Grotesk'; }
.question-card legend span { color: var(--blue); font-size: 13px; padding-top: 4px; }
.scale-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; }
.scale-options label { display: block; cursor: pointer; }
.scale-options input { position: absolute; opacity: 0; }
.scale-options label span { display: flex; min-height: 72px; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 5px; border: 1px solid var(--line); text-align: center; transition: .2s; }
.scale-options label b { font-size: 11px; line-height: 1.2; }
.scale-options label small { color: var(--blue); font-size: 17px; }
.scale-options input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.scale-options input:checked + span small { color: var(--yellow); }
.submit-button { margin-top: 12px; }
.result-header { max-width: 780px; margin-bottom: 42px; }
.result-header h1 strong { color: var(--blue); }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.score-card { padding: 22px; color: var(--white); }
.score-card > div:first-child { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.score-card span { max-width: 160px; font-size: 13px; }.score-card strong { font-size: 38px; line-height: .9; }.score-blue { background: var(--blue); }.score-yellow { background: #d3b900; }.score-navy { background: var(--navy); }
.bar { height: 7px; margin-top: 28px; background: #ffffff55; }.bar i { display: block; height: 100%; background: var(--white); }
.result-note { display: flex; gap: 18px; margin: 28px 0; padding: 25px; background: var(--white); border: 1px solid var(--line); }.note-icon { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--yellow); font-weight: 700; }.result-note p { margin: 0; color: var(--muted); }.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.filter-bar { display: flex; align-items: end; gap: 12px; padding: 18px; margin-bottom: 18px; background: var(--white); border: 1px solid var(--line); }.filter-bar label { flex: 1; }.filter-bar .search-field { flex: 2; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }table { width: 100%; border-collapse: collapse; min-width: 850px; }th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }.dominant-tag { padding: 5px 8px; background: #fff7bd; color: #776900; font-weight: 700; }.empty-state { color: var(--muted); text-align: center; padding: 40px; }
@media (max-width: 700px) { .site-header { padding: 12px 18px; }.page-shell { padding: 28px 16px 50px; }.hero-panel { display: block; }.hero-copy { padding: 44px 28px; }.hero-mark { min-height: 180px; margin: 0 -20px -20px; }.intro-strip { display: block; }.intro-strip span { display: block; margin-top: 8px; }.form-wrap { padding: 28px 22px; }.question-top, .dashboard-head { align-items: start; flex-direction: column; }.question-card { padding: 18px 14px; }.question-card legend { font-size: 16px; }.scale-options { grid-template-columns: 1fr; }.scale-options label span { min-height: 48px; flex-direction: row; padding: 10px 14px; text-align: left; }.score-grid { grid-template-columns: 1fr; }.filter-bar { align-items: stretch; flex-direction: column; } }
