/* HopeBridge: a consistent, accessible company theme. */
:root {
  --green: #17634f;
  --green-gradient: linear-gradient(125deg, #1d7059 0%, #12503e 100%);
  --green-dark-gradient: linear-gradient(125deg, #194d3e 0%, #0b322a 100%);
  --green-dark: #103f34;
  --ink: #233b36;
  --muted: #5c6d66;
  --line: #dce6df;
  --cream: #f5f3eb;
  --gold: #b39352;
  --page-gutter: clamp(22px, 4.2vw, 80px);
}
body { background: #fff; font-family: Arial, Helvetica, sans-serif; color: var(--ink); }
h1, h2, h3 { color: #183e33; }
h1 { font-size: clamp(36px, 3.7vw, 56px); letter-spacing: -1px; }
h2 { font-size: clamp(29px, 2.5vw, 39px); letter-spacing: -.5px; }
h3 { letter-spacing: -.2px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #b39352; outline-offset: 4px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #17634f; outline-offset: 2px;
}
.utility-bar { background:linear-gradient(125deg, #13493c 0%, #0c3229 100%); }
.utility-bar > .site-width { min-height: 38px; }
.masthead { min-height: 110px; }
.brand { font-size: 36px; letter-spacing: -.7px; }
.brand img { width: 53px; height: 53px; border-radius: 10px; }
.brand small { font-size: 14px; letter-spacing: .1px; }
.navigation-bar { background: #fff; border-color: #e1e7e1; }
.site-navigation { gap: 6px; min-height: 62px; }
.nav-link { padding: 18px 22px; font-size: 16px; color: #40554e; }
.nav-link.active { border-bottom-color: var(--green); background:linear-gradient(125deg, #f4f7f3 0%, #e7f0e6 100%); color: #124b3b; }
.nav-link:hover { background:linear-gradient(125deg, #f4f7f3 0%, #e7f0e6 100%); }
.account-navigation { background:linear-gradient(125deg, #f6f9f6 0%, #ebf1e9 100%); }
.account-navigation .nav-link { font-size: 15px; padding: 14px 18px; }
.header-wallet { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 8px auto; padding: 8px 16px; min-height: 48px; border: 1px solid #c9d9c5; border-radius: 6px; background: #fff; color: var(--green-dark); line-height: 1.35; }
.header-wallet:hover { background:linear-gradient(125deg, #f0f6eb 0%, #e6f0dd 100%); border-color: #8ba783; text-decoration: none; }
.header-wallet small { display: block; font-size: 12px; color: var(--muted); }
.header-wallet strong { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.header-wallet > .icon:last-child { width: 15px; height: 15px; }
@media (max-width: 850px) {
  .header-wallet { margin: 8px 0 12px; justify-content: center; flex: 1 0 100%; max-width: 100%; }
  .header-wallet > span { display: flex; align-items: center; gap: 12px; }
  .header-wallet small { font-size: 14px; }
}
main { padding-top: 44px; padding-bottom: 72px; }
.breadcrumb { font-size: 14px; margin-bottom: 30px; }
.page-heading { margin-bottom: 36px; }
.page-heading p { font-size: 18px; line-height: 1.75; margin-top: 16px; }
.eyebrow, .hero-tag { display: block; font-size: 12px; letter-spacing: 1.6px; font-weight: 700; color: #61775c; }
.btn { min-height: 50px; border-radius: 6px; padding: 13px 24px; font-size: 16px; transition: background .18s, border-color .18s, box-shadow .18s; }
.btn.primary { background:var(--green-gradient); box-shadow: 0 2px 4px #16493612; }
.btn.primary:hover { background:linear-gradient(125deg, #135544 0%, #0d3d31 100%); box-shadow: 0 3px 10px #16493622; }
.btn.outline { border-color: #b7c9bc; background: #fff; }
.btn.outline:hover { border-color: #52775d; background:linear-gradient(125deg, #f7faf6 0%, #ecf3e8 100%); }
.btn.text { box-shadow: none; }
.btn.danger { border-color: #e0b7ad; background: #fff4f0; }
.hero { grid-template-columns: 1.08fr 1fr; background: var(--cream); border: 0; border-radius: 10px; min-height: 550px; }
.hero-copy { padding: clamp(30px, 4.2vw, 72px); }
.hero h1 { font-size: clamp(42px, 4.25vw, 66px); line-height: 1.1; max-width: 620px; letter-spacing: -1.8px; margin-bottom: 26px; }
.hero-tag { margin-bottom: 25px; }
.hero-description { font-size: 19px; line-height: 1.8; max-width: 530px; color: #56665b; }
.hero-actions { margin-top: 32px; gap: 14px; }
.hero-reassurance { margin-top: 24px; color: #5c6e5b; }
.hero-visual { min-height: 550px; }
.hero-photo { filter: saturate(.88); }
.hero-caption { padding: 70px 32px 28px; font-size: 16px; }
.home-section { margin-top: 72px; }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(32px, 3vw, 42px); margin-bottom: 16px; }
.section-heading > p { font-size: 18px; }
.getting-started { padding-bottom: 54px; }
.help-steps { gap: 36px; }
.help-steps > article { padding: 18px 25px; }
.help-steps h3 { font-size: 26px; margin-bottom: 14px; }
.help-steps p { font-size: 17px; line-height: 1.8; }
.step-number { width: 48px; height: 48px; background:linear-gradient(125deg, #f1f6ed 0%, #e7f0df 100%); color: #17634f; border-color: #dce7d6; font-size: 22px; margin-bottom: 22px; }
.start-action { margin-top: 26px; }
.fund-card, .panel, .support-post, .security-card {
  border-color: var(--line); border-radius: 8px; box-shadow: 0 3px 16px #173e3006;
}
.fund-image { height: 235px; }
.fund-body { padding: 28px; }
.fund-body h3 { font-size: 28px; }
.fund-body > p { font-size: 17px; }
.fund-bottom { padding-top: 22px; }
.stats-grid { gap: 20px; }
.stat-card { padding: 30px 20px; background:linear-gradient(125deg, #f7f9f4 0%, #edf2e6 100%); border: 1px solid #e0e8da; border-radius: 8px; }
.stat-card > strong { font-size: 40px; color: #14543f; }
.stat-top { font-size: 16px; }
.stat-icon { width: 42px; height: 42px; background:linear-gradient(125deg, #e9f1e0 0%, #dfebd1 100%); }
.community-story { border-top: 3px solid var(--gold); border-radius: 0 0 8px 8px; padding: 42px; gap: 48px; }
.need-help { padding-top: 38px; margin-top: 55px; }
.info-banner { padding: 25px 28px; border-radius: 7px; background:linear-gradient(125deg, #f3f7ef 0%, #e9f1e1 100%); border-color: #dae6d2; }
.panel { padding: 34px; background: #fff; }
.workflow-page { max-width: 860px; margin: 0 auto; }
.workflow-page > p { margin-bottom: 22px; }
.workflow-page > .btn { margin: 8px 10px 8px 0; }
.workflow-page form > .btn { margin-top: 14px; }
.workflow-page .auth-switch { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.workflow-page .notification-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.field > span, .field > label { font-size: 16px; color: #304c3f; }
.field input, .field select, .field textarea { border-color: #b9cbbc; border-radius: 5px; background: #fff; min-height: 51px; }
.field input[readonly], .field input:disabled { background:linear-gradient(125deg, #f6f9f6 0%, #ebf1e9 100%); color: #53665a; border-color: #d6e0d5; }
.account-summary { padding: 28px 32px; background:linear-gradient(125deg, #f7f8f3 0%, #eef1e5 100%); border: 1px solid #e0e6d7; border-radius: 8px; }
.account-summary h2 { font-size: 32px; }
.avatar { background:linear-gradient(125deg, #e8efe2 0%, #dee9d4 100%); color: #356346; }
.tabs { gap: 8px; padding: 0; margin-bottom: 26px; border: 0; }
.tabs :is(button,a) { min-height: 50px; padding: 13px 22px; border: 1px solid #dce5d8; background: #fff; border-radius: 5px; color: #49634e; font-size: 16px; }
.tabs :is(button,a):hover { background:linear-gradient(125deg, #f6f9f3 0%, #ecf3e5 100%); border-color: #b1c6a7; }
.tabs :is(button,a).active { background:linear-gradient(125deg, #196d57 0%, #125644 100%); border-color: #17634f; color: #fff; font-weight: 600; }
.admin-tabs :is(button,a) { font-size: 15px; padding: 12px 17px; }
.badge { border-radius: 4px; font-size: 12px; padding: 7px 11px; }
.balance-card { background:linear-gradient(125deg, #13493c 0%, #0c3229 100%); border-radius: 9px; padding: 36px; }
.balance-card > strong { font-size: 58px; }
.member-summary > div, .member-toolbar, .member-table-wrap { border-radius: 7px; }
.member-table th { padding-top: 18px; padding-bottom: 18px; }
.member-table td { padding-top: 22px; padding-bottom: 22px; }
.admin-row { padding: 24px 0; }
.security-overview { background:linear-gradient(125deg, #f2f7ed 0%, #e8f1df 100%); border-color: #d7e4d0; border-left-color: #17634f; border-radius: 0 7px 7px 0; }
.security-authenticator { border-top-color: #17634f; }
.security-hero-icon { background:linear-gradient(125deg, #196d57 0%, #125644 100%); }
.security-card-icon { background:linear-gradient(125deg, #edf4e6 0%, #e3eed7 100%); color: #356640; }
.security-tips { border-radius: 8px; }
.modal-overlay { background:linear-gradient(125deg, #0a3427cc 0%, #051a14cc 100%); backdrop-filter: blur(3px); }
.modal { border-radius: 10px; padding: 38px; box-shadow: 0 24px 80px #061d3440; border: 1px solid #ffffff80; }
.modal h2 { font-size: 34px; line-height: 1.2; padding-right: 20px; }
.modal-brand { letter-spacing: .6px; color: #61715f; }
.close-modal { border-radius: 5px; }
.modal .form-error { font-size: 15px; }
.gate-card { background: #f7f7f0; border-radius: 8px; }
.site-footer { background:linear-gradient(125deg, #13493c 0%, #0c3229 100%); border-color: #103f34; color: #e3ebe1; }
.footer-content { padding-top: 56px; padding-bottom: 46px; }
.footer-brand, .footer-content h2 { color: #fff; }
.footer-content p, .footer-content small { color: #c6d5c8; line-height: 1.8; }
.footer-content > div:nth-child(2) > a, .footer-content > div:nth-child(2) > button { color: #e0e9dc; }
.footer-content .btn.outline { background: #ffffff0a; color: #fff; border-color: #6b8d7d; }
.footer-content .btn.outline:hover { background: #ffffff14; }
.footer-bottom { border-color: #416455; color: #c1d1c4; font-size: 13px; padding-top: 25px; padding-bottom: 25px; }
#back-to-top { background:linear-gradient(125deg, #196d57 0%, #125644 100%); border-radius: 50%; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
#toast { border-radius: 8px; background: #fffdf5; color: #173e30; border: 2px solid #b39352; box-shadow: 0 8px 30px #00000040; font-weight: 600; }
@media (max-width: 1100px) {
  .hero, .hero-visual { min-height: 480px; }
  .hero-copy { padding: 38px; }
  .nav-link { padding-left: 16px; padding-right: 16px; }
  .hero-description { font-size: 18px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 38px 30px; }
  .hero-visual { min-height: 340px; }
  .hero h1 { max-width: 600px; }
  .hero-description { max-width: 600px; }
  .help-steps { gap: 18px; }
  .help-steps > article { padding-left: 10px; padding-right: 10px; }
  .fund-body, .panel { padding: 26px; }
  .community-story { padding: 30px; }
  .footer-content { gap: 32px; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 20px; }
  main { padding-top: 26px; padding-bottom: 42px; }
  .masthead { min-height: 97px; }
  .brand { font-size: 30px; }
  .brand img { width: 44px; height: 44px; }
  .brand small { font-size: 12px; }
  .site-navigation { min-height: 54px; }
  .nav-link { padding: 14px 13px; font-size: 15px; }
  .account-navigation .nav-link { font-size: 14px; padding: 12px; }
  .hero { border-radius: 7px; }
  .hero-copy { padding: 32px 24px; }
  .hero h1 { font-size: 43px; letter-spacing: -1px; line-height: 1.13; }
  .hero-tag { font-size: 11px; letter-spacing: 1.2px; margin-bottom: 21px; }
  .hero-description { font-size: 18px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-reassurance { font-size: 14px; line-height: 1.6; }
  .hero-visual { min-height: 290px; }
  .hero-caption { padding: 55px 23px 23px; font-size: 15px; }
  .home-section { margin-top: 48px; }
  .section-heading > p { font-size: 17px; }
  .help-steps { gap: 16px; }
  .help-steps > article { padding: 12px 10px; }
  .help-steps h3 { font-size: 25px; }
  .getting-started { padding-bottom: 34px; }
  .stat-card { padding: 22px 13px; }
  .stat-card > strong { font-size: 33px; }
  .stat-top { font-size: 15px; }
  .community-story { padding: 27px 23px; }
  .panel { padding: 24px; }
  .page-heading p { font-size: 17px; }
  .account-summary { padding: 23px; }
  .account-summary h2 { font-size: 27px; }
  .tabs :is(button,a) { padding: 12px 14px; font-size: 15px; }
  .admin-tabs :is(button,a) { font-size: 14px; }
  .security-card { padding: 22px 19px; }
  .modal { padding: 31px 23px; }
  .modal h2 { font-size: 29px; }
  .balance-card { padding: 28px; }
  .balance-card > strong { font-size: 48px; }
  .footer-content { padding-top: 40px; padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* Authentication pages: photography and a calm, readable form. */
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1280px; margin: 12px auto 0; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 16px 55px #183c2910; }
.auth-story { position: relative; overflow: hidden; min-height: 680px; border-radius: 11px 0 0 11px; background:linear-gradient(125deg, #25553d 0%, #1a412e 100%); }
.auth-signup .auth-story, .contact-layout .auth-story { position: sticky; top: 24px; align-self: start; height: calc(100vh - 48px); max-height: 840px; }
.auth-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-story-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #15382912 0%, #12372588 44%, #0d2c20f2 100%); }
.auth-story-content { position: absolute; inset: auto 0 0; padding: 48px; color: white; }
.auth-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.6; color: #50705c; }
.auth-story .auth-eyebrow { color: #e1eccc; }
.auth-story h2 { color: white; font-size: clamp(40px, 4vw, 62px); line-height: 1.08; letter-spacing: -1.5px; margin: 20px 0; }
.auth-story p { color: #f0f4ed; font-size: 18px; line-height: 1.7; max-width: 430px; }
.auth-story-footer { display: flex; align-items: center; gap: 12px; padding-top: 26px; margin-top: 30px; border-top: 1px solid #ffffff40; font-size: 14px; color: #e1eccc; }
.auth-form-panel { width: 100%; max-width: none; margin: 0; padding: 48px; border: none; border-radius: 0 11px 11px 0; box-shadow: none; }
.auth-form-panel h1 { font-family: Georgia, serif; color: #214c37; font-size: 40px; line-height: 1.15; letter-spacing: -1px; margin: 14px 0 16px; }
.auth-form-panel > p { margin-bottom: 28px; font-size: 17px; }
.auth-form-panel form > .btn { width: 100%; justify-content: center; min-height: 54px; }
.auth-form-panel .auth-switch { text-align: center; font-size: 16px; }
.auth-form-panel .auth-switch button { color: #28563d; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.auth-journey { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: #52675b; }
.auth-journey span { display: inline-flex; gap: 7px; align-items: center; }
.auth-journey b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background:linear-gradient(125deg, #f0f5ed 0%, #e5efdf 100%); color: #28563d; }
.auth-assurance { display: flex; gap: 10px; justify-content: center; margin-top: 30px; color: #617466; font-size: 13px; line-height: 1.7; }
.auth-assurance .icon { margin-top: 3px; flex-shrink: 0; }
.auth-assurance a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .auth-story-content, .auth-form-panel { padding: 32px; }
  .auth-story h2 { font-size: 44px; }
}
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; margin-top: 0; }
  .auth-story, .auth-signup .auth-story, .contact-layout .auth-story { position: relative; top: auto; height: 310px; min-height: 310px; border-radius: 11px 11px 0 0; }
  .auth-story-content { padding: 26px; }
  .auth-story h2 { font-size: 36px; margin: 12px 0; }
  .auth-story h2 br { display: none; }
  .auth-story p { font-size: 16px; line-height: 1.5; max-width: 520px; }
  .auth-story-footer { display: none; }
  .auth-form-panel { border-radius: 0 0 11px 11px; padding: 30px 24px; }
  .auth-form-panel h1 { font-size: 34px; }
}

/* Make the current location distinct from a hover state. */
.site-navigation .nav-link.active,
.account-navigation .nav-link.active { background:var(--green-dark-gradient); color: #fff; border-bottom-color: var(--gold); font-weight: 700; }
.site-navigation .nav-link.active:hover,
.account-navigation .nav-link.active:hover { background:var(--green-dark-gradient); color: #fff; }
.header-wallet.active { background:linear-gradient(125deg, #e5ede2 0%, #dae6d4 100%); box-shadow: inset 0 -3px 0 var(--green); }
.tabs > a.active { font-weight: 700; }

/* A readable inbox for account updates. */
.notifications-page { max-width: 1000px; margin: 0 auto; }
.notifications-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid #d8e4d7; border-radius: 10px; background:linear-gradient(125deg, #f4f8f1 0%, #eaf2e3 100%); }
.notifications-summary { display: flex; align-items: center; gap: 18px; }
.notifications-summary-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background:linear-gradient(125deg, #e2ecdc 0%, #d7e6ce 100%); color: #28563d; flex-shrink: 0; }
.notifications-summary strong { font-size: 20px; color: #244b36; }
.notifications-summary p { margin: 5px 0 0; color: #435448; font-size: 15px; }
.notifications-filters { display: flex; gap: 8px; padding: 26px 0 20px; }
.notifications-filters button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 11px 17px; background: white; color: #435d4d; font-weight: 600; font-size: 15px; }
.notifications-filters button.active { background:var(--green-dark-gradient); border-color: var(--green-dark); color: white; }
.notifications-filters span { border-radius: 4px; background:linear-gradient(125deg, #f1f5ed 0%, #e7efdf 100%); padding: 1px 7px; color: #35523e; font-size: 13px; }
.notifications-list { display: grid; gap: 14px; }
.notification-card { display: flex; align-items: flex-start; gap: 20px; position: relative; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 26px 30px; }
.notification-card.is-unread { border-left: 4px solid #36744f; background:linear-gradient(125deg, #fffffe 0%, #f6fcec 100%); }
.notification-symbol { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background:linear-gradient(125deg, #f0f6ea 0%, #e6f0db 100%); color: #366b46; }
.is-read .notification-symbol { background:linear-gradient(125deg, #f3f6f2 0%, #e8ede6 100%); color: #7c8b80; }
.notification-copy { flex: 1; min-width: 0; }
.notification-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 13px; color: #4e5e52; }
.notification-meta > span { font-weight: 700; color: #437151; }
.notification-card h2 { font-family: Arial, sans-serif; font-size: 20px; line-height: 1.4; color: #284737; margin: 0 0 9px; }
.notification-card p { color: #34493b; font-size: 16px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; margin: 0; }
.notification-read { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0 0; background: none; border: none; color: #2f6543; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.notification-read .icon { width: 16px; height: 16px; }
.notification-unread-dot { position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background:linear-gradient(125deg, #478c61 0%, #3b7a52 100%); }
.notifications-empty { padding: 65px 25px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.notifications-empty > span { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background:linear-gradient(125deg, #f2f7ed 0%, #e8f1df 100%); color: #50794e; margin-bottom: 22px; }
.notifications-empty .icon { width: 30px; height: 30px; }
.notifications-empty h2 { font-size: 30px; margin-bottom: 13px; }
.notifications-empty p { max-width: 470px; margin: 0 auto; color: #435448; font-size: 16px; line-height: 1.7; }
.notifications-footnote { display: flex; gap: 8px; justify-content: center; margin-top: 25px; font-size: 13px; color: #4e5e52; }
.notifications-footnote .icon { width: 16px; height: 16px; }
@media (max-width: 600px) {
 .notifications-toolbar { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px; }
 .notifications-toolbar > .btn { width: 100%; justify-content: center; }
 .notification-card { padding: 22px 18px; gap: 13px; }
 .notification-symbol { width: 34px; height: 34px; border-radius: 8px; }
 .notification-card h2 { font-size: 18px; }
 .notification-meta { font-size: 12px; }
}

.footer-contact-links { display: grid; gap: 6px; margin: 22px 0; }
.footer-contact-links a { display: flex; align-items: center; gap: 10px; min-height: 38px; color: #fffdf5; font-size: 15px; text-decoration: none; }
.footer-contact-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact-links a span { min-width: 0; overflow-wrap: anywhere; }
.footer-contact-links .icon { width: 18px; height: 18px; flex-shrink: 0; color: #d9e6cf; }
.footer-contact-links a > .icon:last-child { width: 14px; height: 14px; margin-left: auto; }

/* A welcoming, structured footer with clear destinations. */
.site-footer {
 background: radial-gradient(ellipse at 0% 0%, #5b956d45 0%, transparent 55%), radial-gradient(ellipse at 100% 100%, #547a8738 0%, transparent 60%), linear-gradient(120deg, #0c302c 0%, #174b3c 52%, #102f38 100%);
 border-top: 5px solid #b39352;
}
.footer-invitation { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 46px; padding-bottom: 40px; border-bottom: 1px solid #ffffff26; }
.footer-eyebrow { color: #dfc792; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; }
.footer-invitation h2 { color: #fffdf5; font-size: clamp(29px, 3vw, 42px); line-height: 1.2; margin-top: 14px; }
.footer-contact-button { background: #f5eddc; color: #173e30; border-color: #f5eddc; flex-shrink: 0; }
.footer-contact-button:hover { background: #fffdf5; color: #173e30; }
.footer-content { grid-template-columns: 1.15fr .8fr 1fr; gap: 70px; padding-top: 44px; padding-bottom: 46px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fffdf5; font-size: 32px; }
.footer-brand img { width: 40px; height: 40px; padding: 5px; border-radius: 7px; background: #f5eddc; }
.footer-about p { margin: 22px 0; max-width: 390px; font-size: 15px; }
.footer-about small { display: block; font-size: 12px; margin-top: 16px; }
.footer-service-area { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #f2ebd9; }
.footer-service-area .icon { width: 17px; height: 17px; }
.footer-content h2 { font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; font-weight: 700; letter-spacing: .2px; margin: 7px 0 22px; color: #fffdf5; }
.footer-explore nav { display: grid; gap: 3px; }
.footer-explore nav a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; color: #e3ece4; font-size: 15px; text-decoration: none; border-bottom: 1px solid #ffffff10; }
.footer-explore nav a:hover { color: #f4d699; text-decoration: underline; text-underline-offset: 4px; }
.footer-explore nav .icon { width: 15px; height: 15px; color: #a9c0b2; }
.footer-connect > p { font-size: 15px; }
.footer-connect .footer-contact-links { gap: 5px; margin: 18px 0 0; }
.footer-contact-links a { padding: 8px 0; }
.footer-contact-links a > .icon:first-child { width: 19px; height: 19px; }
.footer-bottom { border-color: #ffffff26; padding-top: 23px; padding-bottom: 23px; gap: 20px; }
.footer-bottom > span:last-child { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 1000px) { .footer-content { gap: 36px; } }
@media (max-width: 850px) {
 .footer-content { grid-template-columns: 1fr 1fr; }
 .footer-about { grid-column: 1 / -1; }
 .footer-about p { max-width: 600px; }
}
@media (max-width: 600px) {
 .footer-invitation { flex-direction: column; align-items: flex-start; padding-top: 32px; padding-bottom: 32px; gap: 24px; }
 .footer-contact-button { width: 100%; justify-content: center; }
 .footer-content { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; padding-bottom: 32px; }
 .footer-content h2 { margin-bottom: 14px; }
 .footer-explore nav a { min-height: 44px; }
 .footer-brand { font-size: 30px; }
}

.footer-contact-links .brand-icon { filter: brightness(0) invert(1); opacity: .92; object-fit: contain; }
.footer-contact-links a:hover .brand-icon { opacity: 1; }

/* Compact main navigation and masthead balance. */
.header-actions .header-wallet { margin: 0; flex: none; }
.site-navigation { gap: 4px; }
.site-navigation > .nav-link { padding-left: 18px; padding-right: 18px; }
@media (max-width: 1100px) {
 .site-navigation > .nav-link { padding-left: 12px; padding-right: 12px; font-size: 15px; }
}
@media (max-width: 850px) {
 .header-actions .header-wallet { flex: none; margin: 0; min-width: 160px; }
 .header-actions .header-wallet > span { display: block; }
 .header-actions .header-wallet small { font-size: 12px; }
}
@media (max-width: 600px) {
 .header-actions { flex-wrap: wrap; }
 .site-navigation > .nav-link { white-space: normal; }
}

/* Cohesive header colors with clear visual hierarchy. */
.utility-bar { background: linear-gradient(110deg, #103b32, #205844); color: #f6f4e9; border-bottom: 1px solid #c2ac6b55; }
.utility-bar button { color: #fffdf5; }
.site-header { background: #faf8f1; border-bottom: 1px solid #e6e4d8; }
.brand { color: #164a3b; }
.brand small, .member-greeting { color: #54675c; }
.header-actions .btn.outline { background: #fffef9; border-color: #9bac99; color: #214d3c; }
.header-actions .header-wallet { background: #fffef9; border-color: #c7d3bf; color: #214d3c; box-shadow: 0 2px 7px #173e3008; }
.header-actions .header-wallet:hover { background:linear-gradient(125deg, #f0f5ea 0%, #e6efdc 100%); border-color: #8fa68b; }
.navigation-bar { background:linear-gradient(125deg, #f3f6f1 0%, #e9efe4 100%); border-top-color: #e0e7dc; border-bottom-color: #cedacb; box-shadow: 0 3px 12px #173e300c; }
.site-navigation > .nav-link { color: #304f40; }
.site-navigation > .nav-link:hover { background:linear-gradient(125deg, #e4eddf 0%, #d9e7d1 100%); color: #163f30; }
.site-navigation > .nav-link.active, .site-navigation > .nav-link.active:hover { background:linear-gradient(125deg, #1a5744 0%, #124032 100%); color: #fffdf5; border-bottom-color: #c2a263; }

.support-option .btn:disabled { opacity: 1; background:linear-gradient(125deg, #f1f3ed 0%, #e7ece0 100%); color: #657466; border-color: #cbd4c6; cursor: not-allowed; }
.support-option .support-request-note { font-size: 14px; color: #4a5d50; margin-top: 12px; }
.support-request-note a { color: #285d40; text-decoration: underline; text-underline-offset: 3px; }

.fund-date-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.fund-date-form .field { margin: 0; }
.fund-date-form .field > label, .fund-date-form .field > span { font-size: 13px; }
.fund-date-form input[type="date"] { min-height: 46px; }
.fund-date-form .form-error { width: 100%; font-size: 14px; }
@media (max-width: 600px) { .fund-date-form { width: 100%; } .fund-date-form .field { flex: 1; min-width: 150px; } }

.account-navigation { background:linear-gradient(125deg, #ecf2e9 0%, #e1ebdb 100%); border-bottom: 1px solid #cbd8c5; }
.account-navigation > .site-width { gap: 6px; }
.account-navigation .nav-link { color: #304f40; }
.account-navigation .nav-link:hover { background:linear-gradient(125deg, #dfead9 0%, #d4e4cb 100%); color: #173e30; }
.account-navigation .nav-link.active, .account-navigation .nav-link.active:hover { background:linear-gradient(125deg, #1a5744 0%, #124032 100%); color: #fffdf5; border-bottom-color: #c2a263; }
.giving-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;align-items:start}
.giving-wallet{padding:20px 0;border-bottom:1px solid #dce4d7;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.giving-wallet small{display:block;color:#536c60;margin-top:5px}
.giving-wallet code,.giving-review .address{overflow-wrap:anywhere;word-break:break-all}
.giving-options{border:1px solid #dce4d7;border-radius:12px;padding:20px;margin:24px 0}
.giving-options legend{font-weight:700;padding:0 8px;color:#174d3c}
.giving-layout .field:has(input[name="address"]),.giving-layout .field:has(input[name="txHash"]){grid-column:1/-1}
.giving-review{margin-top:20px}
.giving-acknowledgements{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.giving-acknowledgements article{display:flex;gap:12px;align-items:start;padding:16px;background:linear-gradient(125deg, #f3f6f1 0%, #e9efe4 100%);border-radius:12px}
.giving-acknowledgements p{margin:6px 0 0}
@media(max-width:800px){.giving-layout,.giving-acknowledgements{grid-template-columns:1fr}}
.list-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0;color:#304f40;border-top:1px solid #dce4d7;margin-top:18px}
.list-pagination>div{display:flex;align-items:center;gap:14px}
.list-pagination .btn{min-height:42px;padding:9px 18px}
.list-pagination:focus-visible{outline:2px solid #174d3c;outline-offset:4px}
@media(max-width:600px){.list-pagination{flex-direction:column;align-items:flex-start}.list-pagination>div{width:100%;justify-content:space-between;gap:8px}}
.signup-verification{background:linear-gradient(125deg,#f3f7ef,#e7f0e0);border:1px solid #d2dfcc;border-radius:10px;padding:24px;margin:20px 0}
.signup-verification h3{margin-bottom:10px}
.signup-code{padding-top:20px;margin-top:18px;border-top:1px solid #d2dfcc}
.signup-code-actions{display:flex;flex-wrap:wrap;gap:12px}
.signup-code .section-intro{margin:0 0 12px}
.signup-code [role="status"]{margin:12px 0 0;font-size:14px;color:#294936}
.auth-form-panel [data-signup-create]:disabled{cursor:not-allowed}
/* Ant Design-inspired sizing tokens, adapted to HopeBridge's green palette. */
:root {
  --control-height: 32px;
  --control-radius: 6px;
  --control-border: #d9d9d9;
  --control-font: 14px;
}
body { font-size: 14px; line-height: 1.5715; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-weight: 600; letter-spacing: -.3px; }
h1 { font-size: clamp(28px, 2.5vw, 36px); }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { line-height: 1.65; }
body .btn { min-height: var(--control-height); padding: 4px 15px; gap: 8px; font-size: var(--control-font); line-height: 22px; font-weight: 400; border-radius: var(--control-radius); }
body .btn .icon { width: 16px; height: 16px; }
body .btn:disabled { cursor: not-allowed; }
body .text-btn { min-height: 32px; padding: 4px 0; font-size: 14px; font-weight: 500; }
body .icon-button { width: 32px; height: 32px; border-radius: 6px; }
body .icon-button .icon { width: 16px; height: 16px; }
body .field { gap: 6px; margin-bottom: 16px; }
body .field > :is(span,label) { font-size: 14px; font-weight: 500; line-height: 22px; }
body .field :is(input,select,textarea), body .search-input {
  min-height: var(--control-height); padding: 4px 11px; font-size: var(--control-font); line-height: 22px;
  border: 1px solid var(--control-border); border-radius: var(--control-radius);
  transition: border-color .2s, box-shadow .2s;
}
body .field :is(input,select,textarea):hover, body .search-input:hover { border-color: #7b9e8c; }
body .field :is(input,select,textarea):focus, body .search-input:focus {
  border-color: var(--green); outline: none; box-shadow: 0 0 0 2px #17634f1a;
}
body .field textarea { min-height: 88px; resize: vertical; }
body .field input[type=file] { padding: 4px 8px; }
body .form-grid { column-gap: 16px; }
body .check-label { font-size: 14px; margin: 12px 0; line-height: 1.6; }
body .check-label input, body .switch-row input { width: 16px; height: 16px; }
body .password-input input { padding-right: 64px; }
body .password-input button { min-height: 26px; font-size: 12px; padding: 2px 8px; }
body .badge { padding: 0 7px; font-size: 12px; font-weight: 500; line-height: 20px; border-radius: 4px; }
body .masthead { min-height: 80px; }
body .brand { font-size: 28px; }
body .brand img { width: 40px; height: 40px; }
body .brand small { font-size: 12px; margin-top: 4px; }
body .site-navigation { min-height: 44px; }
body .nav-link, body .account-navigation .nav-link { min-height: 40px; padding: 10px 14px; font-size: 14px; }
body .header-wallet { min-height: 36px; padding: 4px 12px; gap: 8px; }
body .header-wallet strong { font-size: 16px; }
body main { padding-top: 28px; padding-bottom: 48px; }
body .breadcrumb { margin-bottom: 20px; font-size: 13px; }
body .page-heading { margin-bottom: 24px; }
body .page-heading p { font-size: 15px; margin-top: 8px; }
body :is(.panel,.security-card,.security-tips) { padding: 24px; border-radius: 8px; box-shadow: 0 1px 2px #00000005; }
body .tabs { gap: 4px; margin: 20px 0; }
body .tabs :is(a,button) { min-height: 36px; padding: 7px 14px; font-size: 14px; }
body :is(.muted,.security-description,.security-overview p,.account-summary p,.kyc-block > p) { font-size: 14px; line-height: 1.65; }
body :is(.account-summary,.security-overview) { padding: 20px; gap: 16px; }
body :is(.account-summary h2,.security-overview h2,.security-contact h3) { font-size: 24px; }
body .security-card-heading h3 { font-size: 20px; }
body :is(.security-main,.security-sidebar,.security-layout) { gap: 16px; }
body .security-card-icon { width: 36px; height: 36px; border-radius: 6px; }
body .security-steps { gap: 14px; margin: 16px 0; }
body .security-steps strong { font-size: 14px; }
body :is(.verification-list > div,.switch-row) { padding: 16px 0; gap: 12px; }
body :is(.verification-list strong,.switch-row strong) { font-size: 14px; }
body .modal { padding: 24px; border-radius: 8px; }
body .modal h2 { font-size: 24px; }
body .modal .field { margin-bottom: 16px; }
body .modal > p, body .modal .muted { font-size: 14px; margin: 12px 0 16px; }
body .modal-brand { margin-bottom: 20px; }
body .auth-form-panel { padding: 32px; }
body .auth-form-panel h1 { font-size: 28px; margin: 10px 0 12px; }
body .auth-form-panel > p { font-size: 14px; margin-bottom: 20px; }
body .auth-form-panel form > .btn { min-height: 32px; }
body .auth-form-panel .auth-switch { font-size: 14px; }
body .signup-verification { padding: 16px; margin: 16px 0; border-radius: 6px; }
body .signup-code { padding-top: 12px; margin-top: 12px; }
body .signup-code-actions { gap: 8px; }
body .list-pagination { padding: 14px 0; margin-top: 12px; gap: 12px; }
body :is(th,td) { padding: 10px 12px; font-size: 14px; }
body .member-toolbar { padding: 16px; gap: 12px; }
body .giving-options { padding: 16px; margin: 16px 0; border-radius: 6px; }
body .fund-body { padding: 20px; }
body .fund-body h3 { font-size: 22px; }
body .fund-body > p { font-size: 14px; }
body .stat-card { padding: 20px 16px; }
body .stat-card > strong { font-size: 30px; }
body .home-section { margin-top: 48px; }
body .section-heading { margin-bottom: 24px; }
body .section-heading h2 { font-size: 28px; }
body .section-heading > p, body .help-steps p { font-size: 15px; }
body .help-steps h3 { font-size: 22px; }
@media (max-width: 600px), (pointer: coarse) {
  :root { --control-height: 40px; }
  body .field :is(input,select,textarea) { font-size: 16px; }
  body .btn, body .text-btn, body .icon-button { min-height: 40px; }
  body .icon-button { width: 40px; }
  body .auth-form-panel, body .panel, body .modal { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body .field :is(input,select,textarea), body .search-input { transition: none; }
}
