/* DigiGrant: a warm, editorial layer around the existing working tools. */
:root, :root[data-palette] {
  color-scheme: light;
  --page:#f7f6f0; --surface:#fffefa; --surface-soft:#eef2e9;
  --ink-color:#223f39; --copy:#53625b; --muted:#67746c;
  --edge-color:#d9e0d5; --accent:#27654f; --accent-hover:#1c503e;
  --accent-ink:#fff; --accent-soft:#e4eddf; --highlight:#ead6bc;
  --highlight-ink:#67452f; --success-color:#27654f;
  --stage-top:#fffdf5; --stage-bottom:#e5ebde;
  --font-display:"Manrope",Arial,sans-serif;
  --blue:var(--accent); --ice:#cbdcc5; --line:var(--edge-color);
}
body { background:var(--page); color:var(--ink-color); }
.brand { font-size:27px; letter-spacing:-1.2px; gap:10px; color:var(--ink-color); }
.brand svg { width:37px; height:37px; color:var(--accent); }
.brand .brand-thin { font-weight:400; }
.brand small { display:block; font:500 8px/1.4 var(--font-body); letter-spacing:.12em; margin-top:5px; color:var(--muted); }
.presentation-mast { max-width:1360px; margin:0 auto; padding:0 42px; height:94px; border-bottom:1px solid var(--edge-color); }
.presentation-mast nav { gap:25px; }
.presentation-mast nav>a { font:500 12px var(--font-body); letter-spacing:0; }
.header-verify { padding:13px 21px; border-radius:30px; font-size:12px; color:var(--ink-color); }
.presentation-shell { max-width:1360px; margin:auto; padding:0 42px; }
.presentation-screen, #solutii, #metoda { gap:clamp(34px,5vw,78px); }
.presentation-screen { scroll-margin-top:30px; }
#actiune { min-height:650px; padding-block:46px 32px; }
.logic-thread, .power-port, .power-outline { display:none; }
.powered-shell { box-shadow:none!important; border-radius:24px; }
.studio, .sector-story, .method-board { border-radius:24px; overflow:hidden; border:1px solid var(--edge-color); box-shadow:0 18px 50px -35px #294d3938; }
.eyebrow, .funding-hero .eyebrow { font:600 10px/1.7 var(--font-body); letter-spacing:.1em; }
.eyebrow i { box-shadow:none; background:#a97950; }
#actiune .funding-hero h1 { margin:20px 0; font-weight:600; }
.grant-prefix { font:500 19px var(--font-body); color:var(--copy); }
.grant-amount { font-size:clamp(65px,7.4vw,100px); letter-spacing:-.065em; line-height:1.17; }
.grant-purpose { font-size:clamp(31px,3.2vw,44px); line-height:1.14; letter-spacing:-.045em; margin-top:7px; }
.funding-hero>.funding-lead { font-size:16px; line-height:1.55; font-weight:600; max-width:38ch; margin:20px 0 12px; }
.intro-copy>p, .funding-hero>p { font-size:14px; line-height:1.8; max-width:47ch; }
.intro-copy h2, #solutii .intro-copy h2, #metoda .intro-copy h2 { font-size:clamp(34px,3.6vw,49px); line-height:1.14; letter-spacing:-.055em; font-weight:600; }
.intro-copy h2 em { font-family:Georgia,"Times New Roman",serif; font-weight:400; font-style:italic; letter-spacing:-.04em; line-height:1.15; }
.primary-action, .wizard-page .form-next { border-radius:12px; min-height:50px; box-shadow:none!important; transition:background .2s,transform .2s; }
.primary-action { font-size:13px; padding:15px 22px; }
.primary-action:hover { transform:translateY(-2px); }
.intro-copy .eligibility-note { font:400 11px/1.7 var(--font-body); max-width:none; }
.hero-benefits { display:flex; gap:6px 13px; flex-wrap:wrap; margin-top:20px; color:var(--copy); font-size:10px; }
.hero-benefits span:before { content:'✓'; color:var(--accent); margin-right:6px; }
.funding-window { margin-top:22px; padding-top:16px; }
.funding-window-label { font:600 8px var(--font-body); border-radius:5px; padding:6px 9px; }
.funding-window p { font-size:11px; }
.funding-window a { font-size:10px; }
.studio-top { font:600 8px var(--font-body); letter-spacing:.03em; padding:18px 20px; }
.studio-top>span:last-child { font-size:7px; }
.scene-window { height:350px; }
.scene-label { font:500 8px var(--font-body); letter-spacing:.06em; }
.scene-orbit-hint { font:400 9px var(--font-body); }
.live-document { min-height:107px; padding:21px 23px; }
.live-document h2 { font-size:23px; line-height:1.2; font-weight:600; }
.document-kicker { font:600 8px var(--font-body); letter-spacing:.08em; }
.live-document p { font-size:11px; }
.scene-steps button { min-height:48px; font:500 11px var(--font-body); }
.scene-steps button span { font-size:9px; }
.scene-timeline { height:3px; }
.scroll-invitation { font:500 9px var(--font-body); letter-spacing:.08em; padding:22px 0 32px; border-bottom:1px solid var(--edge-color); }
.scroll-invitation>.scroll-label:last-child { font:500 12px var(--font-body); letter-spacing:0; }
#incepe { padding:68px 0 76px; min-height:0; }
#incepe .intro-copy h2 { margin:18px 0; }
.start-journey { list-style:none; padding:0; margin:27px 0 0; }
.start-journey li { display:flex; gap:14px; padding:12px 0; align-items:flex-start; }
.start-journey li>span { flex:none; display:grid; place-items:center; width:31px; height:31px; border:1px solid #c8d5c2; background:#eff2e9; border-radius:50%; font-size:12px; color:var(--accent); }
.start-journey strong { font-size:13px; font-weight:600; }
.start-journey p { font-size:12px; color:var(--copy); margin-top:4px; }
.start-card { background:var(--surface); border:1px solid #d7dfcf; border-radius:24px; padding:32px; box-shadow:0 15px 40px -30px #244d3030; }
.start-card-top { display:flex; justify-content:space-between; gap:12px; font-size:11px; color:var(--muted); }
.start-card-top>span:first-child { font-weight:600; color:var(--ink-color); }
.start-progress { display:flex; gap:7px; margin:17px 0 30px; }
.start-progress i { height:4px; flex:1; border-radius:3px; background:#e7ebe2; }
.start-progress i:first-child { background:var(--accent); }
.start-card h3 { font-size:27px; font-weight:600; letter-spacing:-.04em; }
.start-card>p { font-size:12px; color:var(--copy); margin-top:9px; line-height:1.7; }
#home-company-form { margin-top:27px; }
#home-company-form label { display:block; margin-bottom:10px; font-size:12px; font-weight:600; }
.home-cui-field { display:flex; align-items:center; border:1px solid #aebda8; border-radius:12px; background:#fff; overflow:hidden; }
.home-cui-field:focus-within { outline:3px solid #32765b38; border-color:var(--accent); }
.home-cui-field>span { padding:0 15px; font-size:13px; color:var(--muted); border-right:1px solid var(--edge-color); }
#home-cui { width:100%; min-width:0; min-height:57px; border:0; outline:none; padding:16px; background:transparent; color:var(--ink-color); font-size:17px; }
#home-cui-help { font-size:11px; line-height:1.7; margin-top:9px; color:var(--muted); }
#home-cui-error { font-size:12px; color:#a1352d; margin-top:10px; }
#home-company-form .primary-action { width:100%; margin-top:23px; justify-content:center; }
.start-reassurance { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 14px; padding-top:18px; color:var(--copy); font-size:10px; }
.start-reassurance span:before { content:'✓'; margin-right:6px; color:var(--accent); }
.start-card>.start-data-note { border-top:1px solid var(--edge-color); margin-top:24px; padding-top:17px; font-size:10px; color:var(--muted); }
#solutii, #metoda, #intrebari { padding-block:65px; }
.sector-tabs { gap:9px; }
.sector-tabs button { border-radius:25px; min-height:44px; padding:11px 17px; font-size:12px; }
.story-heading { font:500 9px var(--font-body); }
.story-heading>span:last-child { font-size:8px; }
.story-flow article { border-radius:12px; }
.story-flow article>span { font:600 8px var(--font-body); }
.story-connector b { font:600 8px var(--font-body); }
.service-board-head, .service-number, .service-deliverable>span { font-family:var(--font-body); }
.service-board-head { font-size:9px; }
.service-title { font-size:20px; letter-spacing:-.025em; }
.faq-list { background:none; }
.faq-list summary { font-size:15px; line-height:1.5; padding-block:21px; }
.faq-answer p { font-size:13px; }
.presentation-footer { max-width:1276px; margin:0 auto; font:500 10px var(--font-body); padding:25px 0; height:auto; min-height:72px; gap:20px; }
.presentation-footer>span:last-child { font-size:10px; }
.wizard-mast { background:var(--page); }
.wizard-heading h1 { font-size:29px; font-weight:600; }
.wizard-page .evaluation .evaluation-card, .wizard-page .evaluation .has-financial-context .evaluation-card { background:var(--surface); color:var(--ink-color); border-radius:20px; padding:28px 34px 0; }
.wizard-page .form-top, .form-step-names { font-family:var(--font-body); }
.wizard-page .form-progress { display:flex; margin:15px 0 27px; gap:7px; }
.form-progress i { flex:1; border-radius:3px; background:#e5eadd; }
.form-progress i.active { background:var(--accent); }
.wizard-page .form-step-names { font-size:11px; color:var(--muted); }
.form-step-names [aria-current=step] { color:var(--accent); font-weight:700; }
.wizard-page #evaluation-form legend { font-size:28px; line-height:1.25; font-weight:600; letter-spacing:-.04em; color:var(--ink-color); }
.wizard-page .step-help { font-size:13px; color:var(--copy); line-height:1.75; }
.wizard-page #evaluation-form input:not([type=checkbox]):not([type=range]), .wizard-page #evaluation-form select, .wizard-page #evaluation-form textarea { border-radius:9px; border:1px solid #c8d1c4; background:#fff; color:var(--ink-color); }
.wizard-page #evaluation-form select { appearance:none; width:100%; min-height:46px; padding:12px 34px 12px 13px; background-image:linear-gradient(45deg,transparent 50%,#67746c 50%),linear-gradient(135deg,#67746c 50%,transparent 50%); background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px; background-size:5px 5px; background-repeat:no-repeat; }
.wizard-page #evaluation-form label { color:var(--ink-color); }
.wizard-page .form-next { --accent:#27654f; --accent-hover:#1c503e; --accent-ink:#fff; border-radius:10px; }
.wizard-page .form-actions { background:#fffefaed; box-shadow:0 -10px 20px #fffefae6; padding-block:16px; }
.wizard-page .finance-score-line { top:-28px; background:#fffefaed; border-color:var(--edge-color); }
.wizard-page .field-hint { color:var(--muted); }
.wizard-page .company-card { background:#f0f4ea; border-color:#ccd8c3; border-radius:14px; }
.wizard-page .company-card h2 { color:var(--ink-color); }
.company-source, .sector-example>span { color:var(--accent); }
.sector-example { background:#f0f4ea; border-color:#8baa7c; border-radius:0 10px 10px 0; }
.sector-example p { color:var(--copy); }
.priority-toolbar { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:10px; margin-bottom:14px; }
.priority-toolbar>span:first-child { font-weight:600; letter-spacing:.06em; }
.priority-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.wizard-page #evaluation-form label.priority-card { position:relative; display:flex; gap:12px; align-items:flex-start; padding:18px 15px; margin:0; min-width:0; border:1px solid #d9dfd2; border-radius:14px; background:#fff; cursor:pointer; transition:background .15s,border-color .15s; }
.priority-card>input { position:absolute; width:1px; height:1px; opacity:0; }
.priority-card:has(input:checked) { background:#eff5e8!important; border-color:#52824b!important; box-shadow:inset 0 0 0 1px #52824b; }
.priority-card:has(input:focus-visible) { outline:3px solid #3c755841; outline-offset:3px; }
.priority-card:has(input:disabled) { opacity:.5; cursor:default!important; }
.priority-icon { flex:0 0 28px; color:var(--accent); }
.priority-icon svg { width:25px; height:25px; }
.priority-copy { min-width:0; padding-right:12px; }
.priority-copy strong { display:block; font-size:12px; line-height:1.5; font-weight:600; }
.priority-copy>span { display:block; margin-top:6px; font-size:11px; line-height:1.65; color:var(--copy); font-weight:400; }
.priority-check { position:absolute; right:10px; top:10px; display:grid; place-items:center; width:17px; height:17px; border-radius:50%; color:transparent; border:1px solid #cbd5c4; font-size:10px; }
.priority-card:has(input:checked) .priority-check { background:var(--accent); color:#fff; border-color:var(--accent); }
.wizard-page #evaluation-form .priority-card .priority-copy strong { color:var(--ink-color); }
.wizard-page #evaluation-form .priority-card>.priority-icon { color:var(--accent); }
.wizard-page #evaluation-form .priority-card>.priority-check { color:transparent; }
.wizard-page #evaluation-form .priority-card:has(input:checked)>.priority-check { color:#fff; }
.optional-context summary, .data-note summary { color:var(--accent); }
.wizard-page .computed-contribution { background:#f0f4ea; border-color:#cfdbc6; border-radius:14px; }
.wizard-page .computed-contribution output { color:var(--ink-color); }
.wizard-page #evaluation-form input[type=range]::-webkit-slider-runnable-track { background:linear-gradient(to right,var(--accent) var(--range-fill,0%),#dce3d5 var(--range-fill,0%)); }
.wizard-page #evaluation-form input[type=range]::-moz-range-track { background:linear-gradient(to right,var(--accent) var(--range-fill,0%),#dce3d5 var(--range-fill,0%)); }
.contact-block { margin-top:30px; }
.contact-heading>span { color:var(--accent); font:600 10px var(--font-body); }
.contact-heading h3 { margin:10px 0; font-size:23px; letter-spacing:-.03em; }
.contact-heading p { color:var(--copy); font-size:12px; line-height:1.75; }
.honey { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.wizard-page .submission-result h3 { font-size:clamp(29px,4vw,43px); color:var(--ink-color); font-weight:600; letter-spacing:-.05em; }
.wizard-page .submission-result>p { font-size:14px; line-height:1.8; color:var(--copy); }
.wizard-page .submission-result .microtag { font-size:10px; color:var(--accent); margin:18px 0 10px; }
.wizard-page .submission-result #submission-reference { font-size:11px; margin:15px 0; }
.submission-result .success-next { margin-top:15px; font-weight:600; }
.result-amounts>div { display:flex; justify-content:space-between; gap:15px; padding:13px 0; border-bottom:1px solid var(--edge-color); font-size:12px; }
.result-amounts dt { color:var(--copy); }
.result-amounts dd { font-weight:600; color:var(--ink-color); text-align:right; }
.result-priorities { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.result-priorities span { padding:7px 11px; background:#eaf1e3; border-radius:20px; font-size:11px; color:var(--accent); }
.is-submitted .form-step-names { display:none; }
.pet-message { border-radius:18px; }
:focus-visible { outline-color:#448566!important; }
@media (min-width:1100px) { .budget-sliders.anaf-budget { grid-template-columns:1fr 1fr; } }
@media (max-width:1050px) and (min-width:701px) {
  .presentation-mast { padding-inline:28px; gap:18px; }
  .presentation-mast nav { gap:16px; }
  .presentation-mast nav>a { font-size:10px; }
  .presentation-shell { padding-inline:28px; }
  .presentation-screen, #solutii, #metoda { gap:30px; }
  .grant-amount { font-size:68px; }
  .grant-purpose { font-size:32px; }
  .funding-hero>.funding-lead { font-size:14px; }
  .scene-window { height:320px; }
  .studio-top>span:last-child { display:none; }
  .live-document { grid-template-columns:1fr; gap:10px; }
  .start-card { padding:24px; }
  .priority-grid { gap:10px; }
}
@media (max-width:700px) {
  .presentation-mast { padding:0; margin:0 20px; height:110px; grid-template-rows:67px 43px; }
  .presentation-mast .brand { font-size:25px; }
  .presentation-mast .brand svg { width:32px; height:32px; }
  .presentation-mast nav { gap:8px; }
  .presentation-mast nav>a { font-size:10px; padding-inline:0; }
  .header-verify { padding:11px 17px; font-size:11px; }
  .presentation-shell { padding:0 20px; }
  #actiune { padding:27px 0 0; min-height:0; gap:28px; }
  .funding-hero .eyebrow { font-size:8px; letter-spacing:.07em; }
  .grant-prefix { font-size:16px; }
  .grant-amount { font-size:clamp(63px,18.1vw,91px); }
  .grant-purpose { font-size:clamp(28px,8.1vw,40px); line-height:1.14; }
  #actiune .funding-hero h1 { margin-block:16px; }
  .funding-hero>.funding-lead { font-size:14px; max-width:37ch; margin-top:17px; }
  .intro-copy>p, .funding-hero>p { font-size:13px; line-height:1.8; }
  .hero-benefits { font-size:9px; gap:7px 11px; margin-top:16px; }
  .intro-copy .eligibility-note { font-size:10px; text-align:center; }
  .funding-window { margin-top:19px; }
  .funding-window-label { display:none; }
  .funding-window p { margin-top:0; }
  .powered-shell, .studio, .sector-story, .method-board { border-radius:19px; }
  .studio-top { padding:14px 15px; font-size:7px; }
  .studio-top>span:last-child { font-size:6px; }
  .scene-window { height:260px; }
  .live-document { min-height:97px; padding:17px 16px; grid-template-columns:1fr 1fr; gap:14px; }
  .live-document h2 { font-size:19px; }
  .document-kicker { font-size:7px; }
  .scene-steps button { font-size:10px; }
  .scroll-invitation { padding:25px 0; gap:16px; }
  .scroll-invitation>span:first-child { max-width:24ch; font-size:7px; }
  .scroll-invitation>.scroll-label:last-child { font-size:10px; }
  #incepe { padding-block:38px; gap:26px; }
  .intro-copy h2, #solutii .intro-copy h2, #metoda .intro-copy h2 { font-size:34px; }
  .start-journey { margin-top:18px; }
  .start-journey li { padding-block:9px; }
  .start-journey strong { font-size:12px; }
  .start-journey p { font-size:11px; }
  .start-card { padding:24px 22px; border-radius:19px; }
  .start-card-top { font-size:10px; }
  .start-card h3 { font-size:25px; }
  .start-reassurance { font-size:9px; gap:10px; }
  #solutii, #metoda, #intrebari { padding-block:40px; gap:24px; }
  .story-flow p { font-size:12px; }
  .faq-list summary { font-size:14px; }
  .presentation-footer { margin:0 20px; padding:22px 0; display:block; font-size:9px; line-height:1.8; }
  .presentation-footer>span { display:block; }
  .presentation-footer>span:last-child { text-align:left; font-size:9px; }
}
@media (max-width:600px) {
  .wizard-mast .brand { font-size:23px; }
  .wizard-mast .brand svg { width:29px; height:29px; }
  .wizard-mast .brand small { font-size:6px; }
  .wizard-page main { padding:0 12px 12px; }
  .wizard-heading { min-height:86px; padding:14px 65px 14px 7px; }
  .wizard-heading h1 { font-size:25px; }
  .wizard-heading span { font:600 8px var(--font-body); }
  .wizard-page .evaluation .evaluation-card, .wizard-page .evaluation .has-financial-context .evaluation-card { padding:22px 20px 0; border-radius:17px; margin-top:0; }
  .wizard-page .pet-companion { top:65px; right:15px; bottom:auto; width:46px; }
  .wizard-page .pet-message { top:70px; bottom:auto; right:0; max-height:calc(100dvh - 165px); width:min(330px,calc(100vw - 28px)); }
  .wizard-page .form-top { font-size:9px; }
  .wizard-page .form-step-names { font-size:10px; margin-bottom:23px; }
  .wizard-page #evaluation-form legend { font-size:25px; }
  .wizard-page .step-help { font-size:12px; }
  .wizard-page #evaluation-form label { font-size:12px; }
  .wizard-page .field-hint { font-size:10px; }
  .wizard-page .form-actions { padding:14px 0; gap:12px; }
  .wizard-page .form-actions .form-next { font-size:12px; padding:12px 15px; min-height:46px; }
  .wizard-page #form-hint { font-size:8px; }
  .wizard-page .finance-score-line { top:-22px; padding-block:12px; }
  .wizard-page .finance-score-line span { font-size:8px; }
  .wizard-page .finance-score-line p { font-size:9px; }
  .priority-grid { grid-template-columns:1fr; gap:9px; }
  .wizard-page #evaluation-form label.priority-card { padding:15px 14px; gap:13px; }
  .priority-copy strong { font-size:12px; }
  .priority-copy>span { font-size:11px; margin-top:4px; }
  .priority-toolbar { font-size:9px; }
  .priority-icon { flex-basis:27px; }
  .contact-heading h3 { font-size:23px; }
  .result-amounts>div { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  .primary-action, .priority-card { transition:none!important; }
  .primary-action:hover { transform:none; }
}
