@font-face { font-family: "Noto Sans"; src: url("fonts/NotoSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("fonts/NotoSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("fonts/NotoSans-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("fonts/NotoSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root { --ink: #17231f; --paper: #f4f1e8; --green: #2d6a57; --pale: #dce7e0; --slate: #66706b; --copper: #a45a3a; --white: #fff; --rule: #9da9a2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Serif", Georgia, serif; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.hero { min-height: 100vh; background: var(--ink); color: var(--white); padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; flex-direction: column; }
.nav { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.24); font-family: "Noto Sans", Arial, sans-serif; }
.wordmark { font-family: "Noto Sans", Arial, sans-serif; font-weight: 800; letter-spacing: -.06em; font-size: 1.45rem; text-decoration: none; }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-size: .82rem; }
.nav-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(20rem,.8fr); gap: clamp(3rem,8vw,8rem); align-items: center; padding: 5rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--green); font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; font-size: .72rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #8fc5b0; }
h1, h2, h3 { font-family: "Noto Sans", Arial, sans-serif; }
h1 { margin: 0; max-width: 13ch; font-size: clamp(3.4rem,7vw,7.2rem); line-height: .92; letter-spacing: -.065em; }
.hero-lead { max-width: 42rem; margin: 2rem 0; color: rgba(255,255,255,.75); font-size: clamp(1.05rem,1.6vw,1.3rem); line-height: 1.65; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.4rem; padding: .85rem 1.2rem; border: 1px solid var(--green); background: var(--green); color: white; font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary-action:hover, .primary-action:focus-visible { background: #367b66; }
.primary-action:disabled { cursor: not-allowed; opacity: .55; }
.question-figure { max-width: 34rem; display: grid; gap: 1rem; font-family: "Noto Sans", Arial, sans-serif; }
.question-figure p { margin: 0; padding: 1.4rem 1.5rem; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.035); font-size: clamp(.9rem,1.4vw,1.05rem); font-weight: 700; line-height: 1.5; }
.question-figure p::before { content: "?"; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-right: .75rem; border-radius: 50%; background: var(--green); color: white; font-size: .9rem; }
.status-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; border-top: 1px solid rgba(255,255,255,.24); padding: 1.25rem 0; color: rgba(255,255,255,.63); font-family: "Noto Sans", Arial, sans-serif; font-size: .75rem; letter-spacing: .03em; }
.standard, .form-section, .transparency, .privacy, footer { padding: clamp(5rem,10vw,9rem) clamp(1.25rem,7vw,7rem); }
.section-intro { display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 6rem; }
.section-intro .eyebrow, .form-intro .eyebrow { grid-column: 1/-1; }
h2 { margin: 0; font-size: clamp(2.3rem,4vw,4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.section-intro > p:last-child, .form-intro > p, .transparency-copy, .privacy-grid { margin: 0; color: #4f5a55; font-size: 1.05rem; line-height: 1.8; }
.check-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 5rem; }
.check-card { min-height: 21rem; border: 1px solid var(--rule); padding: 2rem; display: flex; flex-direction: column; }
.card-number { margin: 0 0 auto; color: var(--green); font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; }
.check-card h3 { margin: 2rem 0 0; color: #53605a; font-family: "Noto Serif", Georgia, serif; font-size: 1.3rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }
.evidence-note { margin-top: 1rem; padding: 2rem; background: var(--ink); color: white; display: grid; grid-template-columns: 1.3fr repeat(4,1fr); gap: 1rem; }
.evidence-note .eyebrow { color: #8fc5b0; }
.evidence-note div { display: flex; flex-direction: column; gap: .45rem; font-family: "Noto Sans", Arial, sans-serif; }
.evidence-note strong { font-size: .86rem; } .evidence-note span { color: rgba(255,255,255,.6); font-size: .77rem; }
.form-section { background: white; }
.form-intro { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 6rem; margin-bottom: 5rem; }
.review-form { max-width: 76rem; margin: 0 auto; }
.form-group { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 3rem 0; }
.form-group > legend { padding: 0 1rem 0 0; font-family: "Noto Sans", Arial, sans-serif; font-size: 1.45rem; font-weight: 700; }
.form-group > legend span { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-right: .8rem; border-radius: 50%; background: var(--ink); color: white; font-size: .8rem; }
.group-prompt { max-width: 44rem; margin: 1.6rem 0 2rem; color: #4f5a55; line-height: 1.7; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .55rem; font-family: "Noto Sans", Arial, sans-serif; }
.field.full { grid-column: 1/-1; }
.field > span, .rating-field legend { font-size: .84rem; font-weight: 700; }
.field small { color: var(--slate); font-size: .74rem; line-height: 1.5; }
input, select, textarea { width: 100%; border: 1px solid var(--rule); border-radius: 0; background: #fbfaf6; color: var(--ink); padding: .85rem .9rem; outline: none; }
input, select { min-height: 3.15rem; } textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,87,.12); }
.rating-field { border: 0; padding: 0; margin: 2rem 0; }
.rating-field legend { margin-bottom: 1rem; }
.rating-scale { display: grid; grid-template-columns: repeat(10,minmax(2.5rem,1fr)); gap: .45rem; }
.rating-scale label { position: relative; }
.rating-scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-scale span { min-height: 3.2rem; border: 1px solid var(--rule); display: grid; place-items: center; cursor: pointer; font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; }
.rating-scale input:checked + span { background: var(--green); border-color: var(--green); color: white; }
.rating-scale input:focus-visible + span { outline: 3px solid rgba(45,106,87,.3); outline-offset: 2px; }
.rating-anchors { display: flex; justify-content: space-between; margin-top: .5rem; color: var(--slate); font-family: "Noto Sans", Arial, sans-serif; font-size: .7rem; }
.consent-panel { background: var(--pale); padding: 1.5rem; display: grid; gap: 1rem; }
.consent-panel label { display: flex; gap: .75rem; align-items: flex-start; font-family: "Noto Sans", Arial, sans-serif; font-size: .82rem; line-height: 1.5; }
.consent-panel input[type="checkbox"] { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; min-height: 0; margin-top: .15rem; }
.honeypot { position: absolute; left: -9999px; }
.submit-row { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.submit-row p { color: var(--slate); font-family: "Noto Sans", Arial, sans-serif; font-size: .75rem; }
.error-message, .configuration-notice { max-width: 76rem; margin: 0 auto 2rem; border-left: 4px solid var(--copper); padding: 1rem; color: #71331f; background: #f6e9e3; font-family: "Noto Sans", Arial, sans-serif; line-height: 1.55; }
.configuration-notice { border-color: var(--green); color: var(--ink); background: var(--pale); }
.field-error { color: #8b2e16; font-size: .75rem; font-weight: 600; }
.success-panel { max-width: 62rem; margin: 0 auto; padding: 4rem; background: var(--pale); border-top: 4px solid var(--green); }
.success-panel h3 { font-size: 2.3rem; margin: 0 0 1rem; } .success-panel p { line-height: 1.7; }
.secondary-action { margin-top: 1rem; background: transparent; color: var(--ink); }
.transparency { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8rem; background: var(--ink); color: white; }
.transparency .eyebrow { color: #8fc5b0; } .transparency-copy { color: rgba(255,255,255,.72); } .transparency-copy p { margin: 0 0 1.5rem; }
.privacy h2 { max-width: 18ch; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
footer { padding-top: 2.5rem; padding-bottom: 2.5rem; background: var(--paper); border-top: 1px solid var(--rule); display: flex; justify-content: space-between; font-family: "Noto Sans", Arial, sans-serif; }
footer > div:first-child { display: flex; align-items: baseline; gap: 1rem; } footer p { margin: 0; color: var(--slate); font-size: .8rem; }
.footer-meta { display: flex; gap: 1.5rem; color: var(--slate); font-size: .75rem; }

.admin-shell { min-height: 100vh; padding: 2rem clamp(1rem,4vw,4rem); background: var(--paper); }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); font-family: "Noto Sans", Arial, sans-serif; }
.admin-header nav { display: flex; gap: 1rem; align-items: center; }
.admin-header form { margin: 0; }
.admin-main { max-width: 90rem; margin: 3rem auto; }
.admin-main h1 { font-size: clamp(2.4rem,5vw,4.8rem); }
.admin-panel { background: white; border: 1px solid var(--rule); padding: clamp(1.25rem,3vw,2.5rem); margin-top: 2rem; }
.admin-login { max-width: 34rem; margin: 8vh auto; }
.admin-login .field { margin-bottom: 1rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-family: "Noto Sans", Arial, sans-serif; font-size: .78rem; }
.admin-table th, .admin-table td { text-align: left; vertical-align: top; padding: .75rem; border-bottom: 1px solid #d7ddd9; }
.admin-table th { background: var(--ink); color: white; }
.status-pill { display: inline-block; padding: .25rem .5rem; background: var(--pale); font-family: "Noto Sans", Arial, sans-serif; font-size: .7rem; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.admin-detail { padding: 1rem 0; border-bottom: 1px solid #d7ddd9; }
.admin-detail dt { color: var(--green); font-family: "Noto Sans", Arial, sans-serif; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.admin-detail dd { margin: .4rem 0 0; white-space: pre-wrap; line-height: 1.6; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.admin-actions .field { min-width: 15rem; }
.button-small { border: 1px solid var(--green); background: var(--green); color: white; min-height: 2.6rem; padding: .55rem .8rem; font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; cursor: pointer; text-decoration: none; }

.legal-shell { min-height: 100vh; padding: 0 clamp(1.25rem,7vw,7rem) 6rem; }
.legal-header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); font-family: "Noto Sans", Arial, sans-serif; }
.legal-page { max-width: 56rem; margin: 5rem auto 0; }
.legal-page h1 { max-width: none; font-size: clamp(3rem,7vw,6rem); }
.legal-meta { margin: 2rem 0 4rem; padding: 1.25rem; border-left: 4px solid var(--green); background: var(--pale); font-family: "Noto Sans", Arial, sans-serif; line-height: 1.7; }
.legal-page section { padding: 2rem 0; border-top: 1px solid var(--rule); }
.legal-page section h2 { font-size: clamp(1.5rem,3vw,2.2rem); letter-spacing: -.025em; }
.legal-page section p { color: #4f5a55; line-height: 1.8; }
.consent-panel a { font-weight: 700; }

@media (max-width:900px) {
  .hero-grid, .section-intro, .form-intro, .transparency { grid-template-columns: 1fr; gap: 3rem; }
  .question-figure { max-width: none; } .check-grid { grid-template-columns: 1fr; } .check-card { min-height: 15rem; }
  .evidence-note { grid-template-columns: 1fr 1fr; } .field-grid, .privacy-grid, .admin-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-meta { flex-direction: column; gap: .4rem; }
}
@media (max-width:620px) {
  .nav-links a:not(:nth-child(2)) { display: none; } .hero-grid { padding: 3rem 0; } h1 { font-size: 3.55rem; }
  .question-figure { width: 100%; }
  .status-band { grid-template-columns: 1fr; }
  .standard, .form-section, .transparency, .privacy, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .evidence-note { grid-template-columns: 1fr; } .rating-scale { grid-template-columns: repeat(5,1fr); }
  .submit-row, footer, footer > div:first-child, .admin-header { align-items: flex-start; flex-direction: column; } .success-panel { padding: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
