:root {
  --green: #00b14f;
  --green-dark: #008f3f;
  --green-soft: #eafaf1;
  --ink: #1f2937;
  --muted: #667085;
  --line: #e6e9ee;
  --soft: #f5f7f8;
  --warning: #f59e0b;
  --danger: #dc2626;
  --white: #fff;
  --shadow: 0 16px 42px rgba(20, 42, 32, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(920px, calc(100% - 40px)); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, #00c85a, #009a45); font-size: 14px; font-weight: 900; box-shadow: 0 8px 20px rgba(0,177,79,.22); }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 18px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--green-dark); }
.nav-cta { padding: 10px 17px; color: white !important; background: var(--green); border-radius: 8px; }

.hero { position: relative; overflow: hidden; padding: 82px 0 76px; background: radial-gradient(circle at 85% 10%, rgba(0,177,79,.14), transparent 32%), linear-gradient(180deg, #fbfffd, #f4fbf7); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 70px solid rgba(0,177,79,.035); border-radius: 50%; left: -210px; top: 90px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.eyebrow { color: var(--green-dark); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.hero h1, .result-heading h1, .plain-page h1 { margin: 15px 0 18px; font-size: clamp(38px, 5vw, 60px); line-height: 1.1; letter-spacing: -.04em; }
.hero h1 em, .result-heading h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { max-width: 650px; color: #52606d; font-size: 18px; }
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 750; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--green); box-shadow: 0 8px 20px rgba(0,177,79,.2); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { color: #344054; background: white; border-color: #d7dce1; }
.button.danger { color: white; background: var(--danger); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #536159; font-size: 13px; }
.trust-row span::first-letter { color: var(--green); }

.hero-visual { position: relative; min-height: 455px; display: grid; place-items: center; }
.preview-card { width: min(510px, 100%); padding: 25px; border: 1px solid rgba(0,177,79,.12); border-radius: 18px; background: white; box-shadow: 0 25px 65px rgba(18,61,39,.15); transform: rotate(1.2deg); }
.preview-head { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.preview-head span:nth-child(2) { flex: 1; }
.preview-head b, .preview-head small { display: block; }
.preview-head small { color: var(--muted); font-size: 11px; }
.mini-logo { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: white; background: #243c32; font-size: 12px; font-weight: 800; }
.status-dot { padding: 5px 9px; color: var(--green-dark); background: var(--green-soft); border-radius: 99px; font-size: 11px; font-weight: 700; }
.preview-score { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 12px; }
.preview-score strong { font-size: 48px; line-height: 1; color: #173d2c; }
.preview-score small { color: var(--muted); }
.preview-score > span { padding: 7px 11px; color: var(--green-dark); background: var(--green-soft); border-radius: 8px; font-weight: 750; }
.mini-bars label { display: grid; grid-template-columns: 135px 1fr 42px; gap: 10px; align-items: center; margin: 12px 0; font-size: 12px; }
progress { width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 99px; background: #e7ece9; }
progress::-webkit-progress-bar { background: #e7ece9; border-radius: 99px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #00b14f, #42d581); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 99px; }
.preview-tags, .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.preview-tags span, .tag { padding: 6px 10px; border-radius: 7px; color: #14663b; background: #edf9f2; font-size: 12px; font-weight: 650; }
.preview-tags .missing, .tag.missing { color: #a04809; background: #fff5e7; }
.float-card { position: absolute; padding: 11px 14px; border-radius: 9px; background: white; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; }
.float-one { top: 48px; right: -20px; color: var(--green-dark); }
.float-two { bottom: 28px; left: -24px; }

.evaluate-section { padding: 84px 0; background: var(--soft); }
.section-heading { max-width: 730px; margin: 0 auto 34px; text-align: center; }
.section-heading h2 { margin: 10px 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); }
.evaluation-form { display: grid; gap: 18px; }
.form-card { padding: 27px; border: 1px solid #e3e7e5; border-radius: 14px; background: white; box-shadow: 0 8px 24px rgba(22,41,31,.045); }
.step-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.step-title > span { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.step-title h3 { margin: 0; font-size: 20px; }
.step-title p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.drop-zone { min-height: 175px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 25px; border: 2px dashed #b8c7bf; border-radius: 12px; background: #fbfefc; text-align: center; cursor: pointer; transition: .2s ease; }
.drop-zone:hover, .drop-zone.dragging, .drop-zone.has-file { border-color: var(--green); background: var(--green-soft); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; color: var(--green-dark); background: #dff7e9; font-size: 24px; font-weight: 900; }
.drop-zone small { margin-top: 6px; color: var(--muted); }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
label { font-weight: 650; font-size: 14px; }
.optional { color: var(--muted); font-size: 12px; font-weight: 500; }
input[type="text"], select, textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #d5dbe0; border-radius: 8px; outline: none; }
textarea { resize: vertical; min-height: 210px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,177,79,.11); }
.full-label { display: block; }
.char-hint { margin-top: 6px; color: var(--muted); text-align: right; font-size: 12px; }
.consent-card { border-color: #cdebd9; }
.check-row { display: flex; gap: 13px; padding: 15px; margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.check-row:hover { border-color: #a9dabb; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.check-row span { flex: 1; }
.check-row strong, .check-row small { display: block; }
.check-row small { margin-top: 4px; color: var(--muted); font-weight: 450; }
.research-check { background: #fbfefc; }
.privacy-note, .method-note { color: var(--muted); font-size: 13px; }
.privacy-note a { color: var(--green-dark); text-decoration: underline; }
.submit-button { width: 100%; min-height: 61px; flex-direction: column; }
.submit-button span { font-size: 17px; }
.submit-button small { opacity: .82; font-size: 11px; font-weight: 500; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.alert { margin-bottom: 18px; padding: 15px 18px; border-radius: 10px; }
.alert strong { display: block; }
.alert ul { margin: 8px 0 0; }
.alert.error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.alert.warning { color: #854d0e; background: #fffbeb; border: 1px solid #fde68a; }
.alert.success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }

.how-section { padding: 84px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.feature-number { width: 47px; height: 47px; display: grid; place-items: center; color: var(--green-dark); background: var(--green-soft); border-radius: 11px; font-size: 18px; font-weight: 850; }
.feature-grid h3 { margin: 17px 0 8px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.research-banner { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; padding: 31px 34px; color: white; background: linear-gradient(120deg, #123b2a, #08783c); border-radius: 15px; }
.research-banner .eyebrow { color: #89e6ad; }
.research-banner h3 { margin: 6px 0; font-size: 25px; }
.research-banner p { margin: 0; color: #d5eee0; }

.result-hero { padding: 54px 0; background: linear-gradient(180deg, #f4fbf7, #fff); border-bottom: 1px solid var(--line); }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.result-heading > div { max-width: 780px; }
.result-heading h1 { margin: 8px 0 12px; font-size: clamp(34px, 4.5vw, 50px); }
.result-heading p { margin: 0; color: var(--muted); }
.result-section { padding: 42px 0 76px; background: #f7f9f8; }
.result-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.score-panel, .result-card, .receipt-card, .privacy-result { border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 25px rgba(26,48,36,.05); }
.score-panel { position: sticky; top: 92px; padding: 27px; text-align: center; }
.score-circle { width: 144px; height: 144px; display: grid; align-content: center; margin: 0 auto 15px; border: 12px solid #cff1dc; border-top-color: var(--green); border-right-color: var(--green); border-radius: 50%; }
.score-circle strong { font-size: 45px; line-height: 1; color: #123b2a; }
.score-circle span { color: var(--muted); font-size: 12px; }
.score-panel h2 { margin: 0; }
.score-panel > p { color: var(--muted); font-size: 13px; }
.score-breakdown { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.score-breakdown label { display: block; margin-bottom: 18px; }
.score-breakdown label > span { display: flex; justify-content: space-between; gap: 10px; }
.score-breakdown small { color: var(--green-dark); font-weight: 750; }
.score-breakdown progress { margin: 7px 0 2px; }
.score-breakdown em { display: block; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 450; }
.result-content { display: grid; gap: 18px; }
.result-card { padding: 26px; }
.card-title { display: flex; gap: 13px; align-items: flex-start; }
.card-title h2 { margin: 0; font-size: 21px; }
.card-title p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.title-icon { flex: 0 0 auto; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; color: #315245; background: #edf2ef; font-weight: 850; }
.title-icon.good { color: var(--green-dark); background: var(--green-soft); }
.title-icon.improve { color: #9a5b00; background: #fff4dc; }
.insight-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.insight-list li { padding: 12px 14px 12px 42px; position: relative; border-radius: 9px; background: #f7fbf9; }
.insight-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--green); font-weight: 900; }
.improvement-list { margin: 20px 0 0; padding: 0; list-style: none; }
.improvement-list li { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); }
.improvement-list li:first-child { border-top: 0; }
.improvement-list li > span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #965b08; background: #fff2d8; font-size: 12px; font-weight: 850; }
.improvement-list p { margin: 2px 0; }
.skill-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.skill-columns h3 { margin: 0; font-size: 14px; }
.tag.matched { color: #136c3c; background: #eafaf1; }
.compact-card p { margin-bottom: 0; color: var(--muted); }
.receipt-card { display: flex; gap: 18px; padding: 25px; border-color: #a9ddbc; background: #f5fcf8; }
.receipt-icon { font-size: 30px; color: var(--green); }
.receipt-card h2 { margin: 0 0 5px; font-size: 20px; }
.receipt-card p { margin: 0 0 12px; color: var(--muted); }
.receipt-card code { display: block; overflow-wrap: anywhere; padding: 12px 14px; color: #0b5b32; background: white; border: 1px dashed #74c594; border-radius: 8px; font-size: 15px; }
.receipt-card small { display: block; margin-top: 8px; color: var(--muted); }
.privacy-result { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px; }
.privacy-result strong { color: var(--green-dark); }
.privacy-result span { color: var(--muted); }

.feedback-card { border-color: #f3dfa2; }
.rating-icon { color: #b07800; background: #fff6d6; }
.feedback-form { display: grid; gap: 14px; margin-top: 18px; }
.feedback-form textarea { min-height: 96px; }
.feedback-form .privacy-note { margin: 0; }
.star-rating { margin: 0; padding: 0; border: 0; }
.star-rating legend { margin-bottom: 4px; font-weight: 650; font-size: 14px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars label { color: #d0d5dd; font-size: 36px; line-height: 1; cursor: pointer; transition: color .12s ease, transform .12s ease; }
.stars label:hover { transform: scale(1.08); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f5b301; }
.stars input:focus-visible + label { outline: 3px solid rgba(0,177,79,.35); outline-offset: 2px; border-radius: 6px; }
.rating-caption { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.feedback-status { font-size: 14px; font-weight: 650; }
.feedback-status.success { color: var(--green-dark); }
.feedback-status.error { color: var(--danger); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.admin-page { padding: 42px 0 76px; background: #f7f9f8; }
.admin-page .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.admin-page .container > *, .admin-grid > *, .kpi-row > * { min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.admin-head h1 { margin: 6px 0 4px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; }
.admin-head p { margin: 0; color: var(--muted); font-size: 14px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin-status { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 13px 16px; border-radius: 10px; font-size: 14px; }
.admin-status.ok { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.admin-status.warn { color: #854d0e; background: #fffbeb; border: 1px solid #fde68a; }
.admin-status span { color: var(--ink); }
.kpi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kpi { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.kpi span { display: block; color: var(--muted); font-size: 13px; font-weight: 650; }
.kpi strong { display: block; margin-top: 6px; color: #123b2a; font-size: 30px; line-height: 1.1; }
.kpi strong small { color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi em { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-style: normal; }
.admin-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; align-items: start; }
.admin-grid.groups { grid-template-columns: repeat(4, 1fr); }
.admin-page .result-card h2 { margin: 0 0 12px; font-size: 18px; }
.bar-chart { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.bar-chart .grid { stroke: #eef1ef; stroke-width: 1; }
.bar-chart .axis { stroke: #c9d1cc; stroke-width: 1; }
.bar-chart .tick { fill: var(--muted); font-size: 11px; }
.bar-chart .value { fill: var(--ink); font-size: 12px; font-weight: 700; }
.bar-chart .bar path { fill: var(--green); }
.bar-chart .bar .hit { fill: transparent; }
.bar-chart .bar:hover path { fill: var(--green-dark); }
.bar-chart .bar:hover .hit { fill: rgba(0,177,79,.06); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { padding: 7px 8px; color: var(--muted); text-align: left; font-weight: 700; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 7px 8px; border-bottom: 1px solid #f0f2f1; vertical-align: top; }
.admin-table.comments td:nth-child(3) { min-width: 260px; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-content, .result-card { min-width: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.stars-cell { color: #f5b301; white-space: nowrap; letter-spacing: 1px; }
.stars-cell .muted { color: #d0d5dd; }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.admin-filter { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-filter select { width: auto; min-width: 110px; padding: 8px 10px; }
.admin-filter .button { min-height: 40px; }
.inline-check { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; font-weight: 500; }
.withdraw-form input[type="password"] { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #d5dbe0; border-radius: 8px; }
/* Rubric v2 strategies (M1–M4) */
.strategy-list { display: grid; gap: 2px; }
.strategy-option input { margin-top: 3px; }
.criteria-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.criteria-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.criteria-list h3 { margin: 0 0 6px; font-size: 15px; }
.criteria-list h3 small { color: var(--muted); font-weight: 600; }
.criteria-list p { margin: 4px 0 0; font-size: 14px; }

@media (max-width: 980px) {
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .admin-grid, .admin-grid.groups { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .admin-grid, .admin-grid.groups { grid-template-columns: 1fr; }
}

.plain-page { min-height: 70vh; padding: 70px 0; background: #f7f9f8; }
.prose { max-width: 820px; padding: 42px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.plain-page h1 { margin-top: 9px; font-size: 42px; }
.prose .lead { color: #4a5b52; font-size: 18px; }
.prose h2 { margin-top: 30px; font-size: 21px; }
.prose p { color: #55635c; }
.withdraw-wrap { max-width: 650px; }
.withdraw-form { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.withdraw-form label { display: block; margin-bottom: 16px; }
.withdraw-form .button { width: 100%; }

.site-footer { padding: 48px 0; color: #cfd9d4; background: #17251f; }
.hidden { display: none !important; }
.processing-page { min-height: 72vh; display: grid; align-items: center; padding: 70px 0; background: linear-gradient(180deg, #f4fbf7, #f8faf9); }
.processing-wrap { max-width: 760px; }
.processing-card { padding: 48px 38px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.processing-card h1 { margin: 12px 0; font-size: clamp(30px, 5vw, 44px); }
.processing-card > p { color: var(--muted); }
.processing-card > small { display: block; margin-top: 20px; color: var(--muted); }
.spinner { width: 62px; height: 62px; display: block; margin: 0 auto 22px; border: 6px solid #dff4e7; border-top-color: var(--green); border-radius: 50%; animation: spin .9s linear infinite; }
.spinner.stopped { animation: none; border-color: #fecaca; }
.processing-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; font-size: 28px; font-weight: 900; }
.processing-icon.failed { color: #991b1b; background: #fef2f2; }
.pipeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 30px 0; }
.pipeline-steps span { padding: 10px 7px; color: #607068; background: #f0f3f1; border-radius: 8px; font-size: 12px; font-weight: 700; }
.pipeline-steps .active { color: var(--green-dark); background: var(--green-soft); }
.pipeline-proof { border-color: #b8e2c7; }
.warning-text { color: #92400e !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 55px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid p { margin: 0; color: #9fb0a7; font-size: 13px; }
.footer-grid a { color: #b8c8c0; font-size: 13px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #9fb0a7; }

@media (max-width: 980px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 400px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .score-panel { position: static; }
}

@media (max-width: 650px) {
  .container, .narrow { width: min(100% - 24px, 1180px); }
  .nav-wrap { min-height: 62px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; }
  .hero { padding: 55px 0; }
  .hero h1 { font-size: 38px; }
  .float-card { display: none; }
  .preview-card { padding: 18px; }
  .mini-bars label { grid-template-columns: 110px 1fr 38px; }
  .evaluate-section, .how-section { padding: 58px 0; }
  .form-card { padding: 20px; }
  .inline-fields, .feature-grid, .skill-columns, .footer-grid { grid-template-columns: 1fr; }
  .research-banner, .result-heading, .privacy-result { align-items: flex-start; flex-direction: column; }
  .result-heading h1 { font-size: 36px; }
  .prose { padding: 25px 20px; }
  .processing-card { padding: 35px 20px; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
}

.score-circle.pending strong { color: var(--muted, #64748b); }
.result-content, .result-card { min-width: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.requirement-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; }
.requirement-table th, .requirement-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(100, 116, 139, 0.2); vertical-align: top; }
.requirement-table td small { display: block; color: var(--muted, #64748b); }
.requirement-table .req-met { color: #1d7a4c; font-weight: 600; }
.requirement-table .req-mentioned_only { color: #a16207; font-weight: 600; }
.requirement-table .req-missing { color: #b42318; font-weight: 600; }
.requirement-table .req-unclear { color: var(--muted, #64748b); font-weight: 600; }

/* Result page: two scores, to-do list ranked by points, items that may not apply, counts */
.score-panel .good-enough { margin: 6px 0 0; color: var(--green-dark); font-weight: 650; }
.score-panel .na-note { margin: 6px 0 0; color: #854d0e; font-size: 12px; }
.score-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 4px; }
.score-split div { padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.score-split span { display: block; color: var(--muted); font-size: 12px; }
.score-split strong { display: block; color: #123b2a; font-size: 26px; line-height: 1.2; }
.score-split small { color: var(--muted); font-size: 11px; }
.score-disclaimer { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: left; }
.todo-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.todo { padding: 14px 16px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; }
.todo.important { border-left-color: var(--danger); }
.todo.should { border-left-color: var(--warning); }
.todo.minor { border-left-color: #cbd5e1; }
.todo.not-applied { opacity: .55; }
.todo-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.todo-head h3 { flex: 1 1 200px; margin: 0; font-size: 15px; }
.todo-head h3 small { color: var(--muted); font-weight: 600; }
.todo .severity { padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #475467; background: #f2f4f7; }
.todo.important .severity { color: #991b1b; background: #fef2f2; }
.todo.should .severity { color: #854d0e; background: #fffbeb; }
.todo .gain { color: var(--green-dark); font-size: 13px; font-weight: 800; white-space: nowrap; }
.todo p { margin: 6px 0 0; font-size: 14px; }
.todo-evidence { color: var(--muted); }
.todo-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.todo-actions .inline-check { padding: 0; font-size: 13px; }
.text-button { padding: 0; border: 0; background: none; color: var(--green-dark); font-size: 13px; font-weight: 750; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.todo-more { margin-top: 14px; }
.check-list li::before { content: "?"; color: #965b08; }
.check-list small { color: var(--muted); }
.more-card summary { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; list-style: none; }
.more-card summary::-webkit-details-marker { display: none; }
.more-card summary small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.more-card h3 { margin: 18px 0 0; font-size: 14px; }
ul.tag-list { padding: 0; list-style: none; }
.count-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.count-list li { padding: 12px 14px; border-radius: 10px; background: #f7fbf9; }
.count-list strong { display: block; color: #123b2a; font-size: 22px; }
.count-list span { color: var(--muted); font-size: 13px; }
/* Demo refresh 2026-10-24: shared rubric, neutral wording and responsive forms. */
:root { color-scheme: light; --green: #12824e; --green-dark: #08613b; --green-soft: #edf7f1; --ink: #172c25; --muted: #53645e; --line: #dce5df; --soft: #f5f8f6; }
html { scroll-padding-top: 95px; }
body { line-height: 1.65; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #297bb6; outline-offset: 4px; border-radius: 4px; }
.site-header { box-shadow: 0 1px 0 #dce5df; }
.brand-icon { background: #12824e; box-shadow: none; border-radius: 9px; }
.brand small { font-size: 11px; }
.hero { padding: 64px 0; background: linear-gradient(120deg,#f3f8f5,#fff 75%); }
.hero::before { display: none; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
.hero h1 { font-size: clamp(34px,4.2vw,52px); line-height: 1.18; letter-spacing: -.025em; }
.hero-copy > p { font-size: 17px; color: #44594e; }
.hero-copy > .demo-disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 460px; }
.eyebrow { letter-spacing: .065em; font-size: 11px; }
.trust-row { gap: 8px 16px; font-size: 12px; }
.trust-row span { padding-left: 12px; position: relative; }
.trust-row span::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hero-visual { min-height: 0; }
.preview-card { width: 100%; transform: none; box-shadow: 0 14px 40px #193e2910; border: 1px solid var(--line); border-radius: 14px; padding: 23px; }
.preview-head { padding-bottom: 16px; }
.preview-head b { font-size: 15px; }
.rubric-preview-list { display: grid; margin-top: 8px; }
.rubric-preview-list > div { display: grid; grid-template-columns: 30px minmax(0,1fr) 36px; gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid #edf1ee; font-size: 12px; line-height: 1.4; }
.criterion-code { color: var(--green-dark); font-size: 11px; font-weight: 750; }
.rubric-preview-list strong { text-align: right; font-size: 15px; }
.rubric-preview-list strong small { color: var(--muted); font-size: 11px; padding-left: 2px; }
.preview-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.button { font-weight: 650; }
.button.primary { box-shadow: none; }
.button:hover { transform: none; }
.evaluate-section { padding: 64px 0; }
.section-heading h2 { font-size: clamp(26px,3vw,34px); letter-spacing: -.02em; }
.section-heading p { line-height: 1.7; }
.narrow { max-width: 850px; }
.form-card { padding: 28px; border: 1px solid var(--line); box-shadow: none; }
.step-title h3 { font-size: 18px; }
.step-title > span { border-radius: 8px; width: 30px; height: 30px; font-size: 14px; }
.drop-zone { min-height: 155px; background: #f9fcfa; }
.drop-zone:focus-within { outline: 3px solid #297bb6; outline-offset: 3px; }
.upload-icon { font-size: 22px; }
.language-field { align-items: end; }
.field-help { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.strategy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.strategy-list .check-row { margin: 0; height: 100%; }
.strategy-option:has(input:checked) { background: var(--green-soft); border-color: var(--green); }
.check-row input { flex-shrink: 0; }
.check-row small { font-size: 12px; line-height: 1.7; }
.submit-button small { font-size: 12px; opacity: 1; padding: 3px 12px; }
.alert.info { color: #254c69; background: #f0f6fb; border: 1px solid #cfdfed; }
.alert p { margin: 6px 0 0; }
.how-section { padding: 64px 0 80px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.workflow-grid article { padding: 0 0 20px; border-bottom: 2px solid #cce1d4; }
.workflow-grid article > span { font-size: 12px; color: var(--green-dark); font-weight: 750; }
.workflow-grid h3 { font-size: 16px; margin: 8px 0; }
.workflow-grid p { color: var(--muted); margin: 0; font-size: 14px; }
.rubric-section { margin-top: 72px; }
.rubric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.rubric-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.rubric-card-heading { display: flex; align-items: center; justify-content: space-between; }
.rubric-card-heading .criterion-code { font-size: 13px; }
.rubric-weight { font-size: 12px; font-weight: 700; color: var(--green-dark); background: var(--green-soft); padding: 3px 9px; border-radius: 5px; }
.rubric-card h3 { font-size: 17px; line-height: 1.45; margin: 13px 0 7px; }
.rubric-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.rubric-card summary { color: var(--green-dark); font-size: 13px; cursor: pointer; }
.rubric-card ol { font-size: 13px; padding-left: 23px; margin-bottom: 0; }
.rubric-card li { padding: 5px 0 5px 5px; }
.rubric-footnote { margin: 24px auto 0; max-width: 850px; color: var(--muted); font-size: 13px; text-align: center; }
.result-hero { padding: 42px 0; }
.result-heading h1 { font-size: clamp(30px,4vw,42px); letter-spacing: -.025em; }
.result-heading p { font-size: 15px; max-width: 750px; }
.result-grid { grid-template-columns: 325px minmax(0,1fr); align-items: start; }
.score-panel { padding: 24px; }
.score-circle strong { font-size: 46px; }
.score-circle { border: 8px solid #dceee4; background: #f8fcf9; }
.score-split strong { font-size: 23px; }
.unscored-line { display: block; border-top: 2px dashed #ccd6cf; margin-top: 8px; }
.result-card { box-shadow: none; }
.score-disclaimer, .privacy-result { line-height: 1.65; }
.privacy-result a { text-decoration: underline; }
.result-content details > summary { font-weight: 650; color: #254a36; }
.result-content details > p { color: var(--muted); font-size: 13px; }
.criteria-list > li { scroll-margin-top: 100px; }
.criteria-list h3 small { display: block; line-height: 1.6; padding-top: 5px; }
.gain { white-space: nowrap; font-size: 11px; }
.requirement-summary { padding: 12px 14px; background: #f2f7f4; font-size: 13px; border-radius: 8px; }
.requirement-table th { font-size: 12px; }
.requirement-table td { overflow-wrap: anywhere; }
.site-footer { color: #243c32; background: #f4f7f5; border-top: 1px solid var(--line); }
.site-footer .footer-brand strong { color: #172c25; }
.site-footer .footer-brand small, .site-footer p { color: #53645e; }
.site-footer a { color: #315343; }
.site-footer a:hover { color: #08613b; text-decoration: underline; }
.score-preview { transform: rotate(1.2deg); box-shadow: 0 25px 65px #123d2726; }
.score-preview .mini-bars label { grid-template-columns: 125px minmax(0,1fr) 67px; }
.score-preview .mini-bars b { text-align: right; white-space: nowrap; }
.hero-visual:has(.score-preview) { min-height: 440px; }
.hero-visual .float-one { top: 10px; right: -12px; }
.hero-visual .float-two { bottom: 5px; left: -15px; }
.method-status { padding: 12px 14px; border: 1px solid #cfdfed; border-radius: 8px; color: #254c69; background: #f0f6fb; font-size: 13px; }
.strategy-option.unavailable { color: #53645e; background: #f7f9f8; cursor: not-allowed; }
.strategy-option.unavailable:has(input:checked) { border-color: #c4d0c8; background: #f7f9f8; }
.availability-note { color: #79500e; font-weight: 650; }
@media(max-width:650px) { .score-preview .mini-bars label { grid-template-columns: 110px minmax(0,1fr) 67px; gap: 7px; font-size: 11px; } .hero-visual:has(.score-preview) { min-height: 355px; } .score-preview { transform: none; } }
@media(max-width:1000px) { .hero-grid { gap: 28px; } nav { gap: 15px; } .result-grid { grid-template-columns: 285px minmax(0,1fr); gap: 20px; } .rubric-preview-list > div { font-size: 11px; } }
@media(max-width:800px) { .hero { padding: 40px 0; } .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: 650px; } .hero-visual { max-width: 650px; width: 100%; margin: 0 auto; } .rubric-preview-list > div { font-size: 13px; } .result-grid { grid-template-columns: 1fr; } .score-panel { position: static; } .workflow-grid { grid-template-columns: 1fr 1fr; } .strategy-list { grid-template-columns: 1fr; } .site-header nav .nav-cta { display: none; } }
@media(max-width:540px) { .container { width: calc(100% - 32px); } .hero h1 { font-size: 35px; } .nav-wrap { gap: 10px; } nav { gap: 12px; font-size: 12px; } nav a { display: none; } nav a:first-child { display: block; } .hero-actions .button { padding: 0 15px; font-size: 14px; } .preview-card { padding: 18px; } .form-card { padding: 20px; } .language-field { grid-template-columns: 1fr; gap: 8px; } .field-help { margin: 0; } .rubric-grid { grid-template-columns: 1fr; } .rubric-card { padding: 20px; } .workflow-grid { gap: 20px; } .workflow-grid h3 { font-size: 15px; } .workflow-grid p { font-size: 13px; } .submit-button { padding: 12px; } .submit-button small { text-align: center; line-height: 1.5; } .result-heading { align-items: start; } .privacy-result { display: block; } .privacy-result span { display: block; margin-top: 8px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; } }
@media(min-width:801px) { .score-panel { max-height: calc(100vh - 105px); overflow-y: auto; overscroll-behavior: contain; } }

.queue-box { display: inline-flex; align-items: baseline; gap: 10px; margin: 6px auto 0; padding: 12px 20px; color: var(--green-dark); background: var(--green-soft); border-radius: 12px; font-weight: 700; }
.queue-box strong { font-size: 30px; line-height: 1; }
.queue-box.hidden { display: none; }
