/* Hope Access Tools — styles from the approved mockup (styles.css), scoped to .hope-access
   so the theme and Elementor can't restyle the checker or fund list, and vice versa. */
.hope-access{
  --indigo-900:#1d1b4f; --indigo-800:#26246a; --indigo-700:#33317f; --indigo-600:#444293; --indigo-500:#5c5aab;
  --indigo-100:#ebeaf7; --indigo-50:#f5f4fb;
  --coral-600:#c9532c; --coral-500:#de6a43; --coral-100:#fbe7df; --coral-50:#fdf3ee;
  --cream:#fbf8f3; --white:#fff; --ink:#1f1d33; --muted:#5d5b72; --line:#e4e2ee;
  --green:#1d7a51; --green-bg:#e3f4ea; --gray:#6b6a7a; --gray-bg:#efeef3;
  --radius:18px; --radius-sm:12px; --shadow:0 1px 2px rgba(29,27,79,.06),0 8px 28px rgba(29,27,79,.08);
  --shadow-lg:0 2px 4px rgba(29,27,79,.06),0 24px 60px rgba(29,27,79,.16);
  --font-display:'Cabinet Grotesk','Satoshi',system-ui,sans-serif; --font-body:'Satoshi',system-ui,sans-serif;
  font-family:var(--font-body);color:var(--ink);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-align:left
}
.hope-access *,.hope-access *::before,.hope-access *::after{box-sizing:border-box;margin:0;padding:0}
.hope-access a{color:var(--indigo-600)}
.hope-access button{font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;line-height:inherit;white-space:normal;border-radius:0;box-shadow:none;min-height:0}
.hope-access :focus-visible{outline:3px solid var(--coral-500);outline-offset:3px;border-radius:6px}
.hope-access h2,.hope-access h3,.hope-access h4,.hope-access h5{font-family:var(--font-display);line-height:1.08;letter-spacing:-.02em;color:var(--indigo-900);text-transform:none;margin:0}
.hope-access h2{font-size:clamp(2rem,3.6vw,3rem);font-weight:800}
.hope-access h3{font-size:1.4rem;font-weight:700;letter-spacing:-.01em}
.hope-access h4{font-size:1.1rem;font-weight:700;letter-spacing:0}
.hope-access p{max-width:68ch;text-wrap:pretty;margin:0}
.hope-access ul{margin:0;padding:0}
.hope-access select,.hope-access input{font:inherit;min-height:0;height:auto}
.hope-access [hidden]{display:none!important}
.hope-access .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hope-access a[href^="tel:"]{white-space:nowrap}
/* The checker sits on the dark hero but is a white card */
.hope-access .checker a:not(.btn){color:var(--indigo-600)}

.hope-access .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 26px;border-radius:999px;font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;transition:transform .15s ease,background .2s,box-shadow .2s,color .2s;white-space:nowrap;line-height:1.6}
.hope-access .btn svg{width:18px;height:18px;transition:transform .2s}
.hope-access .btn:hover svg{transform:translateX(3px)}
.hope-access .btn-primary{background:var(--coral-500);color:#fff;box-shadow:0 6px 18px rgba(222,106,67,.35)}
.hope-access .btn-primary:hover{background:var(--coral-600);transform:translateY(-1px)}
.hope-access .btn-indigo{background:var(--indigo-700);color:#fff}
.hope-access .btn-indigo:hover{background:var(--indigo-800);transform:translateY(-1px)}
.hope-access .btn-outline{border-color:var(--indigo-700);color:var(--indigo-700);background:transparent}
.hope-access .btn-outline:hover{background:var(--indigo-700);color:#fff}
.hope-access .btn-ghost-light{border-color:rgba(255,255,255,.55);color:#fff}
.hope-access .btn-ghost-light:hover{background:#fff;color:var(--indigo-900)}
.hope-access .btn-white{background:#fff;color:var(--indigo-800)}
.hope-access .btn-white:hover{background:var(--coral-50)}
.hope-access .btn-sm{padding:10px 18px;font-size:.92rem}
.hope-access .btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hope-access .link-arrow{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--indigo-700);text-decoration:none}
.hope-access .link-arrow:hover{color:var(--coral-600)}
.hope-access .link-arrow svg{width:16px;height:16px}
.hope-access .checker{background:#fff;color:var(--ink);border-radius:22px;box-shadow:var(--shadow-lg);overflow:hidden}
.hope-access .checker-head{padding:24px 28px 0}
.hope-access .checker-head h2{font-size:1.55rem}
.hope-access .checker-head p{color:var(--muted);font-size:.95rem;margin-top:6px}
.hope-access .checker-steps{display:flex;gap:6px;padding:18px 28px 0}
.hope-access .checker-steps span{flex:1;height:5px;border-radius:5px;background:var(--line);transition:background .3s}
.hope-access .checker-steps span.on{background:var(--coral-500)}
.hope-access .checker-body{padding:22px 28px 28px;min-height:280px}
.hope-access .checker-q{font-weight:700;font-size:1.06rem;margin-bottom:14px;color:var(--indigo-900)}
.hope-access .opt-grid{display:grid;gap:10px}
.hope-access .opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font-weight:600;color:var(--ink);transition:border-color .15s,background .15s}
.hope-access .opt:hover{border-color:var(--indigo-500);background:var(--indigo-50)}
.hope-access .opt .dot{width:20px;height:20px;border-radius:50%;border:2px solid #bdbbd3;flex:none}
.hope-access .field{display:grid;gap:6px;margin-bottom:14px}
.hope-access .field label{font-weight:600;font-size:.92rem}
.hope-access .field select,.hope-access .field input{width:100%;padding:13px 14px;border:1.5px solid var(--line);border-radius:12px;font:inherit;background:#fff;color:var(--ink)}
.hope-access .field select:focus,.hope-access .field input:focus{border-color:var(--indigo-500);outline:none;box-shadow:0 0 0 4px var(--indigo-100)}
.hope-access .checker-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:.86rem;color:var(--muted);margin-top:16px}
.hope-access .checker-meta span{display:inline-flex;gap:6px;align-items:center}
.hope-access .checker-meta svg{width:16px;height:16px;color:var(--indigo-500)}
.hope-access .checker-nav{display:flex;justify-content:space-between;align-items:center;margin-top:18px}
.hope-access .back-btn{background:none;border:0;color:var(--muted);font-weight:600;padding:6px 0}
.hope-access .result{text-align:left}
.hope-access .result .r-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin-bottom:14px}
.hope-access .result .r-icon svg{width:26px;height:26px}
.hope-access .result.ok .r-icon{background:var(--green-bg);color:var(--green)}
.hope-access .result.no .r-icon{background:var(--coral-100);color:var(--coral-600)}
.hope-access .result h3{font-size:1.3rem;margin-bottom:8px}
.hope-access .result p{color:var(--muted);font-size:.95rem}
.hope-access .result .fine{font-size:.8rem;margin-top:12px}
.hope-access .icon-tile{width:60px;height:60px;border-radius:16px;display:grid;place-items:center;margin-bottom:20px}
.hope-access .icon-tile svg{width:30px;height:30px}
.hope-access .it-indigo{background:var(--indigo-100);color:var(--indigo-700)}
.hope-access .it-coral{background:var(--coral-100);color:var(--coral-600)}
.hope-access .it-green{background:var(--green-bg);color:var(--green)}
.hope-access .fund-tools{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.hope-access .search{flex:1;min-width:260px;position:relative}
.hope-access .search input{width:100%;padding:16px 18px 16px 50px;border:1.5px solid var(--line);border-radius:999px;font:inherit;background:#fff}
.hope-access .search input:focus{outline:none;border-color:var(--indigo-500);box-shadow:0 0 0 4px var(--indigo-100)}
.hope-access .search svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--muted)}
.hope-access .filter-chips{display:flex;gap:8px;flex-wrap:wrap}
.hope-access .chip-btn{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:10px 16px;font-weight:600;font-size:.9rem;color:var(--ink)}
.hope-access .chip-btn[aria-pressed="true"]{background:var(--indigo-700);border-color:var(--indigo-700);color:#fff}
.hope-access .legend{display:flex;gap:18px;font-size:.88rem;color:var(--muted);margin-bottom:16px;flex-wrap:wrap}
.hope-access .legend span{display:inline-flex;gap:8px;align-items:center}
.hope-access .fund{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .2s}
.hope-access .fund.open{box-shadow:var(--shadow-lg);border-color:#cfcde6}
.hope-access .fund-head{display:grid;grid-template-columns:1.2fr 2fr 40px;align-items:center;gap:20px;width:100%;padding:22px 26px;background:none;border:0;text-align:left;color:var(--ink)}
.hope-access .fund-head:hover{background:var(--indigo-50)}
.hope-access .fund-name{font-family:var(--font-display);font-weight:800;font-size:1.3rem;color:var(--indigo-900);letter-spacing:-.01em}
.hope-access .fund-name small{display:block;font-family:var(--font-body);font-weight:500;font-size:.85rem;color:var(--muted);letter-spacing:0}
.hope-access .fund-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hope-access .st{display:flex;flex-direction:column;gap:3px;padding:8px 12px;border-radius:10px;font-size:.72rem;font-weight:600;color:var(--muted);line-height:1.2}
.hope-access .st b{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;letter-spacing:.06em}
.hope-access .st b::before{content:"";width:8px;height:8px;border-radius:50%}
.hope-access .st.open{background:var(--green-bg)} .hope-access .st.open b{color:var(--green)} .hope-access .st.open b::before{background:var(--green)}
.hope-access .st.closed{background:var(--gray-bg)} .hope-access .st.closed b{color:var(--gray)} .hope-access .st.closed b::before{background:#a3a2b0}
.hope-access .chev{width:40px;height:40px;border-radius:50%;background:var(--indigo-50);display:grid;place-items:center;color:var(--indigo-700);transition:transform .25s}
.hope-access .chev svg{width:20px;height:20px}
.hope-access .fund.open > .fund-head .chev{transform:rotate(180deg);background:var(--indigo-700);color:#fff}
.hope-access .fund-body{display:none;padding:6px 26px 30px;border-top:1px solid var(--line)}
.hope-access .fund.open .fund-body{display:block;animation:ha-fade .3s ease}
@keyframes ha-fade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.hope-access .fund-grid{display:grid;grid-template-columns:.85fr 1.4fr;gap:32px;margin-top:22px}
.hope-access .basic-elig h4{margin-bottom:14px}
.hope-access .elig-list{list-style:none;display:grid;gap:12px}
.hope-access .elig-list li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem}
.hope-access .elig-list .ei{width:38px;height:38px;border-radius:10px;background:var(--indigo-50);color:var(--indigo-700);display:grid;place-items:center;flex:none}
.hope-access .elig-list .ei svg{width:19px;height:19px}
.hope-access .elig-list strong{display:block;color:var(--indigo-900)}
.hope-access .elig-list span{color:var(--muted)}
.hope-access .sub-acc{border:1px solid var(--line);border-radius:14px;margin-bottom:12px;overflow:hidden;background:#fff}
.hope-access .sub-acc.is-closed{background:#fafafc}
.hope-access .sub-head{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;background:none;border:0;text-align:left;color:var(--ink)}
.hope-access .sub-head .icon-tile{width:42px;height:42px;border-radius:12px;margin:0;flex:none}
.hope-access .sub-head .icon-tile svg{width:21px;height:21px}
.hope-access .sub-head .t{flex:1;font-weight:700;font-size:1.02rem;color:var(--indigo-900)}
.hope-access .sub-head .t small{display:block;font-weight:500;color:var(--muted);font-size:.85rem}
.hope-access .badge{font-size:.75rem;font-weight:800;letter-spacing:.08em;padding:6px 12px;border-radius:999px}
.hope-access .badge.open{background:var(--green);color:#fff}
.hope-access .badge.closed{background:var(--gray-bg);color:var(--gray)}
.hope-access .sub-head .chev{width:32px;height:32px}
.hope-access .sub-acc.open .sub-head .chev{transform:rotate(180deg);background:var(--indigo-700);color:#fff}
.hope-access .sub-body{display:none;padding:4px 18px 20px 74px}
.hope-access .sub-acc.open .sub-body{display:block}
.hope-access .sub-body p{font-size:.95rem;color:var(--muted);margin-bottom:12px}
.hope-access .sub-body .mini-elig{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 16px}
.hope-access .sub-body .mini-elig div{background:var(--indigo-50);border-radius:10px;padding:10px 12px;font-size:.85rem}
.hope-access .sub-body .mini-elig b{display:block;color:var(--indigo-900);font-size:.8rem;letter-spacing:.04em;text-transform:uppercase}
.hope-access .closed-note{display:flex;gap:10px;align-items:center;background:var(--gray-bg);border-radius:10px;padding:12px 14px;font-size:.9rem;color:#4b4a5c;font-weight:600;margin-bottom:12px}
.hope-access .closed-note svg{width:18px;height:18px;flex:none}
.hope-access .max-line{font-size:.95rem;margin-bottom:10px}
.hope-access .max-line b{color:var(--indigo-900)}
.hope-access .no-results{display:none;text-align:center;padding:40px;color:var(--muted)}

/* Elsewhere / external resources */
.hope-access .elsewhere{margin-top:22px;border:2px dashed #cfcde6;border-radius:16px;padding:22px;background:repeating-linear-gradient(135deg,#fff,#fff 12px,#fbfaff 12px,#fbfaff 24px)}
.hope-access .elsewhere-head{display:flex;gap:12px;align-items:center;margin-bottom:6px}
.hope-access .elsewhere-head .lbl{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:var(--indigo-900);color:#fff;padding:5px 10px;border-radius:6px}
.hope-access .elsewhere > p{font-size:.95rem;color:var(--muted);margin-bottom:16px}
.hope-access .res-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hope-access .res-col h5{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.hope-access .res-link{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--indigo-800);font-weight:600;font-size:.93rem;margin-bottom:8px}
.hope-access .res-link:hover{border-color:var(--indigo-500)}
.hope-access .res-link svg{width:16px;height:16px;flex:none;color:var(--muted)}
.hope-access .res-link.ext{color:var(--ink)}
.hope-access .res-note{font-size:.85rem;color:var(--muted);margin-top:4px}
.hope-access .res-intro{font-size:.9rem;color:var(--muted);margin:-4px 0 10px}
.hope-access .hope-res{list-style:none;display:grid;gap:10px;margin:0 0 16px;padding:0}
.hope-access .hope-res li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.hope-access .hope-res strong{display:block;color:var(--indigo-800);font-size:.95rem}
.hope-access .hope-res span{display:block;font-size:.9rem;color:var(--muted);margin-top:2px;line-height:1.5}
.hope-access .res-link small{display:block;font-weight:500;color:var(--muted);font-size:.8rem}
.hope-access .res-col .btn + .res-note{margin-top:8px}
.hope-access .res-cols.one{grid-template-columns:1fr}
.hope-access .fund-closed-banner{display:flex;gap:12px;align-items:flex-start;background:var(--coral-50,#fdf1ec);border-left:4px solid var(--coral-500,#de6a43);padding:14px 16px;border-radius:12px;margin-bottom:20px;font-size:.95rem;color:var(--ink);line-height:1.55}
.hope-access .fund-closed-banner svg{width:20px;height:20px;flex:none;color:var(--coral-500,#de6a43);margin-top:2px}
.hope-access .fund-closed-banner a{color:var(--indigo-800);font-weight:600}
/* same banner inside the eligibility check result, where it sits under the "may be eligible" line */
.hope-access .result .fund-closed-banner{margin:16px 0 0;font-size:.9rem}
.hope-access a[href^="tel:"]{white-space:nowrap}
.hope-access .checker-privacy{font-size:.8rem;color:var(--muted);margin-top:10px;line-height:1.5}
.hope-access .field-note{display:block;font-size:.8rem;color:var(--muted);margin-top:4px}
.hope-access .video-frame{cursor:pointer}
.hope-access .fund-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--indigo-50);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:20px;font-size:.95rem;color:var(--ink)}
.hope-access .fund-cta strong{color:var(--indigo-900)}
.hope-access .ext-link{display:inline-flex;align-items:center;gap:6px;margin-top:2px}
.hope-access .ext-link svg{width:14px;height:14px}
@media (max-width:560px){.hope-access .fund-cta .btn{width:100%;justify-content:center}}
.hope-access .fund-cta .btn{white-space:normal;text-align:center;line-height:1.3}
.hope-access .fund-grid > *{min-width:0}
@media (max-width:560px){.hope-access .fund-body{padding:6px 16px 22px}}
.hope-access .apply-frame{background:#fff;border:1px solid var(--line);border-radius:24px;padding:12px;overflow:hidden}
.hope-access .apply-frame iframe{display:block;width:100%;height:1500px;border:none}
@media (max-width:560px){.hope-access .apply-frame{padding:4px;border-radius:16px}.hope-access .apply-frame iframe{height:2000px}}
.hope-access .seal{color:inherit;text-decoration:none}.hope-access .seal:hover{border-color:rgba(255,255,255,.4)}
/* Apply page gate: the two questions in front of the application form */
.hope-access .apply-gate{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;max-width:620px;margin:0 auto}
.hope-access .apply-gate-head h3{font-size:1.35rem;color:var(--indigo-900)}
.hope-access .apply-gate-head p{color:var(--muted);font-size:.95rem;margin:8px 0 22px}
.hope-access .apply-gate #gateGo{width:100%;margin-top:4px}
.hope-access .apply-gate.is-chosen{padding:16px 20px;max-width:none}
.hope-access .apply-gate.is-chosen>:not(#gateChosen){display:none}
.hope-access .gate-chosen{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.95rem;color:var(--ink)}
/* an author display rule outranks the browser's own [hidden] rule, so restate it here */
.hope-access .gate-chosen[hidden]{display:none}
.hope-access .gate-chosen svg{width:20px;height:20px;flex:none;color:var(--green)}
.hope-access .gate-chosen .back-btn{margin-left:auto;text-decoration:underline}
.hope-access .gate-closed{background:var(--coral-50);border:1px solid var(--coral-100);border-radius:16px;padding:24px;margin-top:22px}
.hope-access .gate-closed .icon-tile{width:48px;height:48px;border-radius:12px;margin-bottom:14px}
.hope-access .gate-closed .icon-tile svg{width:24px;height:24px}
.hope-access .gate-closed h4{font-size:1.1rem;color:var(--indigo-900);margin-bottom:8px}
.hope-access .gate-closed p{color:var(--muted);font-size:.93rem;margin-bottom:10px;line-height:1.6}
.hope-access .gate-closed p:last-of-type{margin-bottom:0}
.hope-access .gate-closed a:not(.btn){color:var(--indigo-700);font-weight:600}
.hope-access .gate-closed .gate-elsewhere{font-size:.88rem}
.hope-access .gate-closed .btn-row{margin-top:18px}
.hope-access .apply-closed{background:#fff;border:1px solid var(--line);border-radius:24px;padding:56px 32px;text-align:center}
.hope-access .apply-closed .icon-tile{margin:0 auto 18px}
.hope-access .apply-closed p{max-width:560px;margin:10px auto 22px;color:var(--muted)}
.hope-access .fund-note{display:flex;gap:12px;align-items:flex-start;background:var(--indigo-50);border-left:4px solid var(--indigo-700);border-radius:12px;padding:14px 18px;margin-bottom:20px;font-size:.95rem;color:var(--ink);line-height:1.55}
.hope-access .fund-note svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--indigo-700)}
.hope-access .fund-note strong{display:block;color:var(--indigo-900);margin-bottom:2px}

/* Responsive (from the mockup) */
@media (max-width:820px){
  .hope-access{font-size:16px}
  .hope-access .fund-grid,.hope-access .res-cols{grid-template-columns:1fr}
  .hope-access .fund-head{grid-template-columns:1fr 40px}
  .hope-access .fund-status{grid-column:1/-1;grid-row:2}
  .hope-access .sub-body{padding-left:18px}
}
@media (max-width:560px){
  .hope-access .fund-status{grid-template-columns:1fr 1fr 1fr;gap:6px}
  .hope-access .st{padding:6px 8px;font-size:.66rem}
  .hope-access .st b{font-size:.72rem}
}
@media (prefers-reduced-motion:reduce){.hope-access *{animation:none!important}}
