.funding-panel [hidden] { display: none !important; }
.funding-hero { padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--line); }
.funding-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(17rem, .7fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.funding-hero .display { max-width: 13ch; font-size: clamp(3.8rem, 7.8vw, 7.4rem); line-height: .94; letter-spacing: -.065em; }
.funding-hero .hero-copy { max-width: 39rem; margin-top: 2.2rem; }
.funding-hero .hero-actions { margin-top: 2rem; }
.funding-hero-note { display: flex; flex-direction: column; min-height: 24rem; padding: 1.8rem; border: 1px solid #91c9a8; background: #c9efda; color: #183a2b; }
.funding-note-top, .funding-note-bottom, .funding-stamp, .funding-steps span, .deadline-date, .deadline-type, .result-status, .result-meta, .result-facts, .result-checked { font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.funding-note-top { color: #34674b; }
.funding-hero-note strong { display: block; margin: auto 0 1.2rem; font-family: "Archivo", sans-serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.funding-hero-note p { max-width: 25rem; line-height: 1.6; color: #315e43; }
.funding-note-bottom { display: block; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #8cc6a2; color: #34674b; }
.funding-hot { background: #e8f7ed; border-bottom: 1px solid #b9d7c4; }
.funding-section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.3rem; }
.funding-section-head > p { max-width: 27rem; color: var(--muted); line-height: 1.55; }
.hot-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hot-card { min-height: 16rem; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--ink); background: var(--ivory); }
.hot-card:first-child { border-color: #4c9d6f; background: #b8eacb; color: #173d29; }
.deadline-top { display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.deadline-date { font-weight: 500; }
.deadline-type { opacity: .65; text-align: right; }
.hot-card h3, .deadline-card h3 { margin: 1.3rem 0 .5rem; font-family: "Archivo", sans-serif; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.03em; }
.hot-card p, .deadline-card p { margin-bottom: 1.3rem; color: inherit; opacity: .75; line-height: 1.5; font-size: .9rem; }
.source-link { width: fit-content; margin-top: auto; border-bottom: 1px solid currentColor; padding-bottom: .25rem; font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .04em; }
.source-link:hover { color: var(--accent); }
.hot-card:first-child .source-link:hover { color: var(--accent); }
.more-dates { margin-top: 1.6rem; border-top: 1px solid #9bcab0; }
.more-dates[hidden] { display: none; }
.more-dates summary { width: fit-content; padding: 1rem .2rem; color: #285b3e; font-family: "IBM Plex Mono", monospace; font-size: .78rem; font-weight: 500; cursor: pointer; }
.more-dates .deadline-list { margin-top: .4rem; }
.more-dates .deadline-card { background: #f5fbf6; }
.funding-intro { border-bottom: 1px solid var(--line); }
.funding-intro .heading { max-width: 16ch; }
.funding-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.funding-steps article { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.funding-steps span { color: var(--accent); }
.funding-steps h3 { margin: 1.5rem 0 .7rem; font-family: "Archivo", sans-serif; font-size: 1.4rem; letter-spacing: -.03em; }
.funding-steps p { max-width: 23rem; color: var(--muted); line-height: 1.6; }
.funding-finder { background: #e2f4e8; }
.funding-layout { display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.funding-form-head { position: sticky; top: calc(var(--header-height) + 2rem); }
.funding-form-head > p:not(.kicker) { max-width: 25rem; margin-top: 1.3rem; color: var(--muted); line-height: 1.6; }
.funding-stamp { width: fit-content; margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid var(--ink); line-height: 1.6; }
.funding-stamp small { font-family: "Public Sans", sans-serif; font-size: .75rem; letter-spacing: 0; text-transform: none; }
.funding-panel { background: var(--paper); border: 1px solid var(--ink); }
.funding-panel fieldset { margin: 0; padding: 1.6rem; border: 0; border-bottom: 1px solid var(--line); }
.funding-panel legend { width: 100%; padding: 0 0 1.2rem; font-family: "Archivo", sans-serif; font-size: 1.17rem; font-weight: 700; letter-spacing: -.02em; }
.funding-panel legend span { margin-right: .7rem; color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: 0; }
.funding-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.funding-fields label { display: grid; gap: .45rem; color: var(--muted); font-size: .8rem; font-weight: 600; }
.funding-fields input, .funding-fields select { width: 100%; min-height: 2.85rem; border: 1px solid #bdb9af; border-radius: 0; padding: .6rem .7rem; background: #fff; color: var(--ink); font-weight: 400; }
.funding-fields input::placeholder { color: #89867e; }
.field-help { margin-top: .8rem; color: var(--quiet); font-size: .78rem; }
.funding-radio { display: grid; gap: .5rem; }
.funding-radio label { display: flex; align-items: center; gap: .7rem; min-height: 2.9rem; padding: .7rem; border: 1px solid var(--line); cursor: pointer; }
.funding-radio label:has(input:checked) { border-color: var(--accent); background: #fff2ec; }
.funding-radio input { accent-color: var(--accent); width: 1rem; height: 1rem; }
.funding-form-actions { padding: 1.6rem; }
.funding-form-actions p { max-width: 25rem; margin-top: .9rem; color: var(--quiet); font-size: .75rem; line-height: 1.4; }
.funding-results { background: #ccefd9; color: #173a29; }
.funding-results[hidden] { display: none; }
.funding-results-top { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.funding-results-top p:not(.kicker) { max-width: 44rem; margin-top: 1rem; color: #315e43; line-height: 1.55; }
.funding-results-top .button { color: #173a29; border-color: #3d7854; }
.mini-report { margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 3rem); background: #f4f1ea; color: var(--ink); }
.report-overline { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.mini-report h3 { max-width: 22ch; margin: .7rem 0 1rem; font-family: "Archivo", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: -.05em; }
.mini-report-header > p { max-width: 45rem; color: var(--muted); font-size: 1.06rem; line-height: 1.6; }
.mini-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; }
.mini-report-grid > div { border-top: 1px solid var(--ink); padding-top: 1rem; }
.mini-report h4 { font-family: "Archivo", sans-serif; font-size: 1.15rem; }
.report-model-note { margin-top: .5rem; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.mini-report ul, .mini-report ol { margin-top: 1rem; padding-left: 1.2rem; color: var(--muted); line-height: 1.6; }
.mini-report li + li { margin-top: .5rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.report-note { margin-top: 1rem; color: var(--quiet); font-size: .78rem; line-height: 1.5; }
.copy-status { min-height: 1.4rem; margin-top: .5rem; font-size: .85rem; color: #285b3e; }
.prompt-fallback { margin-top: 1rem; }
.prompt-fallback[hidden] { display: none; }
.prompt-fallback label { display: block; margin-bottom: .5rem; font-weight: 700; }
.prompt-fallback textarea { width: 100%; max-width: 100%; padding: .8rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font: .9rem/1.5 "Public Sans", sans-serif; }
.report-call { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #81b894; background: #eaf8ef; }
.report-call h3 { margin: .5rem 0; font-family: "Archivo", sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.report-call p:not(.kicker) { max-width: 38rem; color: #315e43; line-height: 1.55; }
.report-call .offer-boundary { margin-top: .8rem; font-size: .78rem; }
.report-call .button { flex: 0 0 auto; }
.result-milestones, .deadline-milestones { font-size: .8rem; line-height: 1.45; }
.result-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.result-card { display: flex; flex-direction: column; padding: clamp(1.3rem, 2.5vw, 2rem); background: var(--paper); color: var(--ink); }
.result-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.result-status { color: var(--accent); }
.result-card h3 { margin: 1.2rem 0 .8rem; font-family: "Archivo", sans-serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.08; letter-spacing: -.04em; }
.result-funding { color: var(--muted); line-height: 1.55; }
.result-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.4rem 0; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.result-card h4 { margin: 0 0 .6rem; font-family: "Archivo", sans-serif; font-size: 1rem; }
.result-card ul { padding-left: 1.2rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.result-card li + li { margin-top: .4rem; }
.result-card .button { width: fit-content; margin-top: 1.2rem; }
.discovery-card { background: #e4ece6; }
.result-checked { margin-top: 1rem; color: var(--muted); }
.funding-results-foot { max-width: 50rem; margin-top: 2.5rem; color: #315e43; line-height: 1.55; }
.funding-results .kicker { color: #34674b; }
body[data-page="funding"] .site-footer { border-color: #92c8a5; background: #bce8ca; color: #173a29; }
body[data-page="funding"] .site-footer .footer-copy, body[data-page="funding"] .site-footer .footer-links a, body[data-page="funding"] .site-footer .footer-bottom { color: #315e43; }
body[data-page="funding"] .site-footer .footer-bottom { border-color: #8dc49f; }
.funding-deadlines { background: var(--paper); }
.deadline-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.deadline-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); }
.deadline-card h3 { margin-top: 1.2rem; }
.deadline-card .source-link { color: var(--accent); }
.funding-faq { border-top: 1px solid var(--line); }
.funding-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.funding-faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.funding-faq details:first-child { border-top: 1px solid var(--line); }
.funding-faq summary { font-family: "Archivo", sans-serif; font-size: 1.12rem; font-weight: 700; cursor: pointer; }
.funding-faq details p { max-width: 45rem; margin-top: 1rem; color: var(--muted); line-height: 1.65; }
.funding-empty { padding: 1.5rem; border: 1px solid var(--line); }
.funding-hero .display { max-width: 16ch; font-size: clamp(3.2rem, 6.5vw, 6.2rem); }
.hero-small { max-width: 38rem; margin-top: 1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.funding-panel { border: 1px solid #79b98e; background: #f0fbf3; }
.wizard-progress { display: grid; gap: .75rem; padding: 1.5rem 1.8rem 0; color: #376b4c; font-family: "IBM Plex Mono", monospace; font-size: .73rem; letter-spacing: .05em; text-transform: uppercase; }
.wizard-track { height: .35rem; background: #c7e9d2; overflow: hidden; }
.wizard-track span { display: block; height: 100%; width: 16.66%; background: #42845b; transition: width .24s ease; }
.funding-panel .funding-question { min-height: 19rem; padding: 2rem 1.8rem 1rem; border: 0; }
.funding-panel .funding-question legend { width: 100%; max-width: 24ch; padding: 1.8rem 0 .5rem; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.04em; }
.question-help { max-width: 35rem; margin-bottom: 1.35rem; color: #426b51; font-size: .9rem; line-height: 1.55; }
.question-control { display: grid; gap: .55rem; max-width: 27rem; color: #315e43; font-size: .82rem; font-weight: 600; }
.question-control input, .question-control select { width: 100%; min-height: 3.2rem; border: 1px solid #8fbca0; border-radius: 0; padding: .7rem .85rem; background: #fff; color: #173a29; font: inherit; font-weight: 400; }
.funding-panel .funding-radio { max-width: 34rem; }
.funding-panel .funding-radio label { min-height: 3.2rem; border-color: #a5cfb3; background: #fff; color: #173a29; }
.funding-panel .funding-radio label:has(input:checked) { border-color: #397653; background: #d3f1dc; box-shadow: inset 4px 0 #397653; }
.funding-panel .funding-radio input { accent-color: #397653; }
.funding-panel .funding-form-actions { display: flex; justify-content: space-between; gap: .75rem; padding: 1rem 1.8rem 0; }
.funding-panel .funding-form-actions .button { min-width: 8rem; }
.funding-panel .funding-form-actions .button-primary { margin-left: auto; }
.wizard-disclaimer { margin: 1rem 1.8rem 1.7rem; color: #4d6d58; font-size: .75rem; line-height: 1.45; }
.wizard-error { margin: .7rem 1.8rem; color: #9b351d; font-size: .85rem; }
.funding-panel input:focus-visible, .funding-panel select:focus-visible, .funding-panel button:focus-visible { outline: 3px solid #e15f3c; outline-offset: 2px; }
.funding-gate { width: min(31rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); border: 1px solid #7cae8e; padding: clamp(1.4rem, 4vw, 2.5rem); background: #e9f8ee; color: #173a29; box-shadow: 0 18px 70px #173a2940; }
.funding-gate::backdrop { background: #102c1fb8; }
.gate-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gate-top button { border: 0; background: transparent; color: #173a29; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.funding-gate h2 { margin: 1.25rem 0 .7rem; font-family: "Archivo", sans-serif; font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: -.04em; line-height: 1.1; }
.funding-gate > p { color: #315e43; line-height: 1.5; }
.funding-gate form { display: grid; gap: .9rem; margin-top: 1.5rem; }
.funding-gate form > label:not(.gate-consent) { display: grid; gap: .4rem; font-size: .82rem; font-weight: 600; }
.funding-gate input[type="text"], .funding-gate input[type="email"] { min-height: 2.8rem; width: 100%; border: 1px solid #84a991; border-radius: 0; padding: .65rem .75rem; background: #fff; color: #173a29; font: inherit; }
.funding-gate .gate-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.gate-consent { display: flex; align-items: flex-start; gap: .65rem; margin-top: .25rem; color: #315e43; font-size: .83rem; line-height: 1.45; }
.gate-consent input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: .1rem 0 0; accent-color: #34674b; }
.gate-privacy, .gate-status { color: #315e43; font-size: .76rem; line-height: 1.45; }
.gate-privacy a { text-decoration: underline; }
.gate-status { min-height: 1.2em; margin: 0; }
.funding-gate .button { width: 100%; }
.funding-gate button:focus-visible, .funding-gate input:focus-visible { outline: 3px solid #e55d36; outline-offset: 2px; }
@media (max-width: 960px) { .funding-hero-grid, .funding-layout, .funding-faq-grid { grid-template-columns: 1fr; } .funding-hero-note { min-height: 17rem; } .funding-form-head { position: static; } }
@media (max-width: 680px) { .funding-hot, .funding-intro, .funding-finder, .funding-results, .funding-deadlines, .funding-faq { padding-block: 3.5rem; } .funding-section-head, .funding-results-top { display: block; } .funding-section-head > p { margin-top: 1rem; } .funding-results-top .button { margin-top: 1.5rem; } .hot-list, .funding-steps, .deadline-list, .result-cards, .mini-report-grid { grid-template-columns: 1fr; } .funding-fields { grid-template-columns: 1fr; } .funding-hero .display { font-size: clamp(3.6rem, 15vw, 5.4rem); } .funding-panel fieldset, .funding-form-actions { padding: 1.2rem; } .result-card .button { width: 100%; } .report-call { display: block; } .report-call .button { margin-top: 1.5rem; } }
@media print { body[data-page="funding"] { background: #fff; color: #111; } body[data-page="funding"] .site-header, body[data-page="funding"] .site-footer, body[data-page="funding"] .funding-hero, body[data-page="funding"] .funding-hot, body[data-page="funding"] .funding-intro, body[data-page="funding"] .funding-finder, body[data-page="funding"] .funding-deadlines, body[data-page="funding"] .funding-faq, body[data-page="funding"] .funding-results-top .button, body[data-page="funding"] .report-actions, body[data-page="funding"] .report-call { display: none !important; } body[data-page="funding"] .funding-results { display: block; padding: 0; background: #fff; color: #111; } body[data-page="funding"] .funding-results-top p:not(.kicker), body[data-page="funding"] .funding-results-foot { color: #333; } body[data-page="funding"] .mini-report { margin-top: 1rem; padding: 0; background: #fff; } body[data-page="funding"] .result-cards { display: block; } body[data-page="funding"] .result-card { break-inside: avoid; margin: 1rem 0; border: 1px solid #bbb; } body[data-page="funding"] .result-card .button { display: none; } }
@media print { body[data-page="funding"]:not([data-report-unlocked="true"]) .funding-results { display: none !important; } body[data-page="funding"] .funding-gate { display: none !important; } }
