.grant-modal-overlay,
.bytesglue-grant-page {
    --grant-navy: #061223;
    --grant-navy-2: #0a1a31;
    --grant-cyan: #26e1f8;
    --grant-blue: #205595;
    --grant-ink: #172338;
    --grant-muted: #607089;
    --grant-line: rgba(32, 85, 149, 0.14);
    --grant-soft: #f5f9ff;
    --grant-card-shadow: 0 24px 70px rgba(6, 18, 35, 0.11);
}

.bytesglue-grant-page {
    overflow: hidden;
    background: #ffffff;
    color: var(--grant-ink);
    font-family: "Figtree", sans-serif;
}

.bytesglue-grant-body #vl-header-sticky .bytesglue-brand-text,
.bytesglue-grant-body #vl-header-sticky.header-sticky .bytesglue-brand-text {
    color: #ffffff !important;
}

.bytesglue-grant-body .grecaptcha-badge {
    visibility: hidden;
}

.grant-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 190px 0 72px;
    background:
        radial-gradient(circle at 84% 18%, rgba(38, 225, 248, 0.32), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(0, 113, 59, 0.18), transparent 28%),
        linear-gradient(135deg, #061223 0%, #08182c 48%, #0f2b45 100%);
}

.grant-hero::before,
.grant-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.grant-hero::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 82%);
}

.grant-hero::after {
    right: -110px;
    bottom: -150px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(38, 225, 248, 0.09);
    filter: blur(2px);
}

.grant-hero-copy {
    max-width: 740px;
}

.grant-eyebrow,
.grant-section-eyebrow,
.grant-card-kicker,
.grant-modal-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.grant-eyebrow {
    margin-bottom: 22px;
    padding: 11px 15px;
    border: 1px solid rgba(38, 225, 248, 0.28);
    background: rgba(255, 255, 255, 0.09);
    color: #d6faff;
}

.grant-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.grant-hero-lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: #d9e8f5;
    font-size: 20px;
    line-height: 1.65;
}

.grant-hero-actions,
.grant-final-actions,
.grant-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.grant-hero-actions {
    margin-top: 34px;
}

.grant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.grant-btn:hover,
.grant-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.grant-btn-primary {
    background: linear-gradient(135deg, var(--grant-cyan), #47f1ff);
    color: #041321;
    box-shadow: 0 16px 38px rgba(38, 225, 248, 0.23);
}

.grant-btn-primary:hover,
.grant-btn-primary:focus {
    color: #041321;
    box-shadow: 0 20px 48px rgba(38, 225, 248, 0.34);
}

.grant-btn-secondary {
    border-color: rgba(38, 225, 248, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #eafcff;
}

.grant-btn-secondary:hover,
.grant-btn-secondary:focus {
    border-color: rgba(38, 225, 248, 0.56);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.grant-trust-line {
    margin: 20px 0 0;
    color: #a9bfd2;
    font-size: 15px;
}

.grant-private-notice {
    max-width: 700px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    color: #c7d9e7;
    font-size: 13px;
    line-height: 1.55;
}

.grant-private-notice strong {
    color: #ffffff;
}

.grant-hero-card,
.grant-impact-card,
.grant-package-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 225, 248, 0.22);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 8%, rgba(38, 225, 248, 0.25), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
        #07182c;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    color: #ffffff;
}

.grant-hero-card {
    margin-left: auto;
    max-width: 470px;
    padding: 30px;
}

.grant-hero-card::before,
.grant-impact-card::before,
.grant-package-card::before,
.grant-modal-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 16px;
    background:
        linear-gradient(90deg, #c8102e 0 64px, transparent 64px 100%),
        linear-gradient(180deg, #00713b 0 33.333%, #ffffff 33.333% 66.666%, #111111 66.666% 100%);
    opacity: 0.9;
}

.grant-hero-card::after,
.grant-impact-card::after,
.grant-package-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 70% 10%, #000, transparent 70%);
    opacity: 0.65;
    pointer-events: none;
}

.grant-hero-card > *,
.grant-impact-card > *,
.grant-package-card > * {
    position: relative;
    z-index: 1;
}

.grant-hero-card-top,
.grant-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.grant-card-kicker {
    color: var(--grant-cyan);
}

.grant-card-pulse {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--grant-cyan);
    box-shadow: 0 0 0 8px rgba(38, 225, 248, 0.12);
}

.grant-funded-count {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    margin-top: 34px;
    align-items: center;
}

.grant-funded-number {
    display: inline-flex;
    width: 122px;
    height: 122px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(38, 225, 248, 0.26);
    border-radius: 30px;
    background: rgba(38, 225, 248, 0.1);
    color: #ffffff;
    font-size: 76px;
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
}

.grant-funded-count strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.05;
}

.grant-funded-count span:not(.grant-funded-number) {
    display: block;
    color: #b9d0df;
    font-size: 15px;
    line-height: 1.55;
}

.grant-card-divider {
    height: 1px;
    margin: 30px 0;
    background: linear-gradient(90deg, transparent, rgba(38, 225, 248, 0.42), transparent);
}

.grant-hero-points,
.grant-impact-card ul,
.grant-best-for ul,
.grant-check-list,
.grant-form-helper ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.grant-hero-points {
    display: grid;
    gap: 13px;
}

.grant-hero-points li,
.grant-impact-card li {
    position: relative;
    padding-left: 28px;
    color: #dcecf6;
    font-size: 15px;
    line-height: 1.55;
}

.grant-hero-points li::before,
.grant-impact-card li::before,
.grant-check-list li::before,
.grant-form-helper li::before,
.grant-best-for li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--grant-cyan), #ffffff);
    transform: translateY(-50%);
}

.grant-card-foot {
    margin-top: 28px;
    color: #8fb3c7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.grant-dates-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(38, 225, 248, 0.18);
    border-radius: 22px;
    background: rgba(38, 225, 248, 0.18);
}

.grant-dates-strip-hero {
    margin-top: 58px;
}

.grant-date-item {
    min-height: 104px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.grant-date-item span {
    display: block;
    margin-bottom: 10px;
    color: #abd2df;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.grant-date-item strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
}

.grant-section {
    padding: 104px 0;
}

.grant-section-light {
    background:
        radial-gradient(circle at 8% 12%, rgba(38, 225, 248, 0.11), transparent 26%),
        var(--grant-soft);
}

.grant-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.grant-section-heading-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.grant-section-eyebrow {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(38, 225, 248, 0.12);
    color: var(--grant-blue);
}

.grant-section h2,
.grant-story h2,
.grant-eligibility-layout h2,
.grant-final-cta h2 {
    margin: 0;
    color: var(--grant-ink);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.grant-section-heading p,
.grant-story p,
.grant-eligibility-layout p,
.grant-final-cta p {
    margin: 18px 0 0;
    color: var(--grant-muted);
    font-size: 18px;
    line-height: 1.75;
}

.grant-glance-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.grant-glance-item {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--grant-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(6, 18, 35, 0.06);
}

.grant-glance-item span {
    display: block;
    margin-bottom: 16px;
    color: var(--grant-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.grant-glance-item strong {
    display: block;
    color: var(--grant-ink);
    font-size: 18px;
    line-height: 1.35;
}

.grant-story {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94)),
        radial-gradient(circle at 92% 20%, rgba(0, 113, 59, 0.12), transparent 24%);
}

.grant-impact-card {
    margin-left: auto;
    padding: 34px;
}

.grant-impact-card ul {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.grant-impact-card strong {
    color: #ffffff;
}

.grant-package-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
}

.grant-package-card {
    padding: 38px;
}

.grant-package-head {
    max-width: 700px;
}

.grant-package-head h3 {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.grant-package-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    border: 1px solid rgba(38, 225, 248, 0.38);
    border-radius: 999px;
    color: #dffcff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.grant-package-link:hover,
.grant-package-link:focus {
    border-color: rgba(38, 225, 248, 0.72);
    background: rgba(38, 225, 248, 0.12);
    color: #ffffff;
    text-decoration: none;
}

.grant-showcase-section {
    background:
        radial-gradient(circle at 92% 10%, rgba(38, 225, 248, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f6faff);
}

.grant-showcase-section .grant-section-heading {
    margin-bottom: 48px;
}

.grant-showcase-section .bytesglue-website-card {
    box-shadow: 0 20px 58px rgba(6, 18, 35, 0.1);
}

.grant-included-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin-top: 34px;
}

.grant-included-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
}

.grant-included-item > span {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(38, 225, 248, 0.14);
}

.grant-included-item > span::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid var(--grant-cyan);
    border-left: 2px solid var(--grant-cyan);
    transform: rotate(-45deg);
}

.grant-included-item strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
}

.grant-included-item p {
    margin: 6px 0 0;
    color: #abc2d4;
    font-size: 14px;
    line-height: 1.55;
}

.grant-best-for {
    padding: 30px;
    border: 1px solid var(--grant-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--grant-card-shadow);
}

.grant-best-for h3,
.grant-form-helper h3 {
    margin: 0 0 20px;
    color: var(--grant-ink);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.grant-best-for ul {
    display: grid;
    gap: 13px;
}

.grant-best-for li,
.grant-check-list li,
.grant-form-helper li {
    position: relative;
    padding-left: 24px;
    color: #334258;
    line-height: 1.55;
}

.grant-best-for li::before,
.grant-check-list li::before,
.grant-form-helper li::before {
    background: linear-gradient(135deg, var(--grant-blue), var(--grant-cyan));
}

.grant-eligibility-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 44px;
    align-items: start;
}

.grant-eligibility-panel {
    padding: 30px;
    border: 1px solid var(--grant-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--grant-card-shadow);
}

.grant-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.grant-side-note {
    margin-top: 26px !important;
    padding: 18px 20px;
    border: 1px solid rgba(38, 225, 248, 0.2);
    border-radius: 18px;
    background: rgba(38, 225, 248, 0.08);
    color: #41516a !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.grant-selection-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.grant-selection-timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 35px;
    height: 2px;
    background: linear-gradient(90deg, rgba(32, 85, 149, 0.18), rgba(38, 225, 248, 0.7), rgba(32, 85, 149, 0.18));
}

.grant-selection-timeline li {
    position: relative;
    padding: 86px 22px 24px;
    border: 1px solid var(--grant-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(6, 18, 35, 0.06);
}

.grant-step-number {
    position: absolute;
    top: 12px;
    left: 22px;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--grant-blue), var(--grant-cyan));
    color: #ffffff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(38, 225, 248, 0.22);
}

.grant-selection-timeline strong {
    display: block;
    color: var(--grant-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.grant-selection-timeline p {
    margin: 10px 0 0;
    color: var(--grant-muted);
    line-height: 1.65;
}

.grant-selection-note {
    max-width: 860px;
    margin: 34px auto 0;
    padding: 20px 22px;
    border: 1px solid rgba(32, 85, 149, 0.12);
    border-radius: 18px;
    background: #ffffff;
    color: #40516b;
    text-align: center;
    box-shadow: 0 12px 34px rgba(6, 18, 35, 0.05);
}

.grant-application-section {
    background:
        radial-gradient(circle at 0% 6%, rgba(38, 225, 248, 0.11), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.grant-dates-strip-form {
    margin-bottom: 54px;
    border-color: var(--grant-line);
    background: var(--grant-line);
}

.grant-dates-strip-form .grant-date-item {
    background: #ffffff;
}

.grant-dates-strip-form .grant-date-item span {
    color: var(--grant-blue);
}

.grant-dates-strip-form .grant-date-item strong {
    color: var(--grant-ink);
}

.grant-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.grant-form {
    padding: 32px;
    border: 1px solid var(--grant-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--grant-card-shadow);
}

.grant-form-section {
    margin: 0 0 28px;
    padding: 0 0 28px;
    border: 0;
    border-bottom: 1px solid rgba(32, 85, 149, 0.11);
}

.grant-form-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.grant-form-section > legend {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 22px;
    color: var(--grant-ink);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.grant-form-section > legend span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(38, 225, 248, 0.13);
    color: var(--grant-blue);
    font-size: 14px;
    letter-spacing: 0;
}

.grant-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grant-field-full,
.grant-choice-group.grant-field-full {
    grid-column: 1 / -1;
}

.grant-field label,
.grant-choice-group > legend {
    display: block;
    margin: 0 0 9px;
    color: #263650;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.grant-field label span,
.grant-choice-group > legend span,
.grant-form-footer p span {
    color: #c8102e;
}

.grant-field input:not([type="checkbox"]),
.grant-field textarea,
.grant-field select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(32, 85, 149, 0.17);
    border-radius: 15px;
    background: #ffffff;
    color: var(--grant-ink);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.grant-field textarea {
    min-height: 118px;
    resize: vertical;
}

.grant-field input:focus,
.grant-field textarea:focus,
.grant-field select:focus,
.grant-choice-group label:focus-within {
    border-color: rgba(38, 225, 248, 0.68);
    box-shadow: 0 0 0 4px rgba(38, 225, 248, 0.14);
}

.grant-field-check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(32, 85, 149, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.82);
}

.grant-field-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--grant-blue);
}

.grant-field-check label {
    margin: 0;
    color: #394a62;
    font-weight: 700;
}

.grant-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.grant-choice-group > legend {
    flex: 0 0 100%;
}

.grant-choice-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    border: 1px solid rgba(32, 85, 149, 0.13);
    border-radius: 999px;
    background: #ffffff;
    padding: 10px 14px;
    color: #3f4f65;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.grant-choice-group input {
    accent-color: var(--grant-blue);
}

.grant-agreements {
    display: grid;
    gap: 12px;
}

.grant-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}

.grant-form-footer p {
    margin: 0;
    color: var(--grant-muted);
    font-size: 14px;
}

.grant-form-helper {
    position: sticky;
    top: 118px;
    padding: 30px;
    border: 1px solid var(--grant-line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 8%, rgba(38, 225, 248, 0.14), transparent 32%),
        #ffffff;
    box-shadow: var(--grant-card-shadow);
}

.grant-form-helper p {
    margin: 0 0 22px;
    color: var(--grant-muted);
    line-height: 1.7;
}

.grant-form-helper ul {
    display: grid;
    gap: 13px;
}

.grant-scope-fineprint,
.grant-accordion-item {
    border: 1px solid var(--grant-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(6, 18, 35, 0.05);
}

.grant-scope-fineprint {
    margin-top: 34px;
}

.grant-scope-fineprint summary,
.grant-accordion-item summary {
    position: relative;
    display: block;
    padding: 22px 58px 22px 24px;
    color: var(--grant-ink);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.grant-scope-fineprint summary::-webkit-details-marker,
.grant-accordion-item summary::-webkit-details-marker {
    display: none;
}

.grant-scope-fineprint summary::after,
.grant-accordion-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    color: var(--grant-blue);
    font-size: 26px;
    line-height: 1;
    transform: translateY(-50%);
}

.grant-scope-fineprint[open] summary::after,
.grant-accordion-item[open] summary::after {
    content: "-";
}

.grant-scope-fineprint div,
.grant-accordion-item p {
    padding: 0 24px 24px;
}

.grant-scope-fineprint p,
.grant-accordion-item p {
    margin: 0;
    color: var(--grant-muted);
    line-height: 1.75;
}

.grant-scope-fineprint p + p {
    margin-top: 14px;
}

.grant-scope-fineprint strong {
    color: var(--grant-ink);
}

.grant-faq-list {
    display: grid;
    max-width: 920px;
    margin: 0 auto;
    gap: 14px;
}

.grant-final-cta {
    padding: 98px 0 120px;
    background: #ffffff;
}

.grant-final-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    overflow: hidden;
    padding: 42px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 22%, rgba(38, 225, 248, 0.28), transparent 34%),
        linear-gradient(135deg, #061223 0%, #0a2b43 100%);
    box-shadow: 0 26px 80px rgba(6, 18, 35, 0.18);
}

.grant-final-cta-card h2,
.grant-final-cta-card p {
    color: #ffffff;
}

.grant-final-cta-card p {
    color: #cfe1ef;
}

.grant-final-cta .grant-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
}

.grant-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 10, 19, 0.64);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.grant-modal-open {
    overflow: hidden;
}

.grant-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.grant-modal-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 520px);
    border: 1px solid rgba(38, 225, 248, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 8%, rgba(38, 225, 248, 0.22), transparent 34%),
        linear-gradient(145deg, #08182c, #061223);
    padding: 34px;
    color: #ffffff;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.38);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.grant-modal-overlay.is-visible .grant-modal-card {
    transform: translateY(0) scale(1);
}

.grant-modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
}

.grant-modal-badge {
    margin-bottom: 22px;
    padding: 10px 13px;
    border: 1px solid rgba(38, 225, 248, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #d9fbff;
}

.grant-modal-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.grant-modal-visual strong {
    display: inline-flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(38, 225, 248, 0.13);
    color: #ffffff;
    font-size: 52px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.grant-modal-visual span {
    color: var(--grant-cyan);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: lowercase;
}

.grant-modal-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.grant-modal-card p {
    margin: 16px 0 24px;
    color: #c8dae8;
    font-size: 16px;
    line-height: 1.7;
}

.grant-modal-card .grant-modal-fineprint {
    margin: -8px 0 24px;
    color: #9eb8c9;
    font-size: 13px;
    line-height: 1.55;
}

.grant-modal-card .grant-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .grant-btn,
    .grant-modal-overlay,
    .grant-modal-card {
        transition: none;
    }

    .grant-btn:hover,
    .grant-btn:focus {
        transform: none;
    }
}

@media (max-width: 1199.98px) {
    .grant-glance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grant-package-layout,
    .grant-form-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .grant-best-for,
    .grant-form-helper {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .grant-hero {
        padding-top: 158px;
    }

    .grant-hero-card {
        margin: 42px 0 0;
        max-width: none;
    }

    .grant-dates-strip,
    .grant-selection-timeline,
    .grant-eligibility-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .grant-selection-timeline::before {
        left: 35px;
        right: auto;
        top: 20px;
        bottom: 20px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(32, 85, 149, 0.18), rgba(38, 225, 248, 0.7), rgba(32, 85, 149, 0.18));
    }

    .grant-selection-timeline li {
        padding: 24px 22px 24px 86px;
    }

    .grant-step-number {
        left: 20px;
        top: 22px;
    }

    .grant-final-cta-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .grant-section {
        padding: 72px 0;
    }

    .grant-hero-copy {
        max-width: 100%;
    }

    .grant-hero h1 {
        max-width: 100%;
        font-size: 34px;
        letter-spacing: -0.055em;
        line-height: 1.08;
        text-wrap: balance;
    }

    .grant-hero-lead,
    .grant-section-heading p,
    .grant-story p,
    .grant-eligibility-layout p,
    .grant-final-cta p {
        font-size: 16px;
    }

    .grant-glance-grid,
    .grant-included-list,
    .grant-check-list,
    .grant-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grant-form,
    .grant-package-card,
    .grant-impact-card,
    .grant-final-cta-card,
    .grant-modal-card {
        padding: 24px;
        border-radius: 22px;
    }

    .grant-funded-count {
        grid-template-columns: minmax(0, 1fr);
    }

    .grant-funded-number {
        width: 98px;
        height: 98px;
        font-size: 58px;
    }

    .grant-date-item {
        min-height: auto;
        padding: 18px;
    }

    .grant-form-footer,
    .grant-hero-actions,
    .grant-final-actions,
    .grant-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .grant-btn {
        width: 100%;
    }
}
