/* Gawk Does Good - isolated landing-page styles. */

.gdg-active #header .main-header {
    display: none;
}

.gdg-page {
    --gdg-purple: #542d54;
    --gdg-purple-deep: #3f203f;
    --gdg-green: #d7df23;
    --gdg-accent: #bd8dd2;
    --gdg-white: #ffffff;
    --gdg-ink: #542d54;
    --gdg-soft: #f4eef5;
    --gdg-border: rgba(84, 45, 84, 0.16);
    --gdg-radius: 28px;
    --gdg-shadow: 0 22px 55px rgba(40, 18, 40, 0.14);
    color: var(--gdg-ink);
    font-family: "Montserrat", Arial, sans-serif;
    overflow: hidden;
}

.gdg-page,
.gdg-page * {
    box-sizing: border-box;
}

.gdg-page .gdg-container {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
}

.gdg-page .gdg-section {
    position: relative;
    padding: 100px 0;
}

.gdg-page h1,
.gdg-page h2,
.gdg-page h3,
.gdg-page p,
.gdg-page ul,
.gdg-page ol,
.gdg-page blockquote {
    margin-top: 0;
}

.gdg-page h1,
.gdg-page h2,
.gdg-page h3 {
    color: inherit;
    font-family: "Montserrat", Arial, sans-serif;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-transform: none;
}

.gdg-page h2 {
    margin-bottom: 24px;
    font-size: clamp(42px, 6vw, 78px);
}

.gdg-page h3 {
    margin-bottom: 14px;
    font-size: clamp(23px, 2.1vw, 31px);
    line-height: 1.05;
}

.gdg-page p,
.gdg-page li {
    color: var(--gdg-purple);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.62;
}

.gdg-page a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gdg-page a:focus-visible {
    outline: 3px solid var(--gdg-accent);
    outline-offset: 4px;
}

.gdg-eyebrow {
    margin-bottom: 18px;
    color: inherit;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.gdg-rich-text > :last-child {
    margin-bottom: 0;
}

.gdg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 66px;
    padding: 18px 32px;
    border: 2px solid var(--gdg-green);
    border-radius: 999px;
    background: var(--gdg-green);
    color: var(--gdg-purple) !important;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.gdg-button span {
    font-size: 24px;
    line-height: 1;
}

.gdg-button:hover {
    border-color: var(--gdg-white);
    background: var(--gdg-white);
    color: var(--gdg-purple) !important;
    transform: translateY(-2px);
}

.gdg-hero .gdg-button {
    min-height: 72px;
    padding: 20px 38px;
    font-size: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

/* Hero */
.gdg-hero {
    position: relative;
    isolation: isolate;
    min-height: 760px;
    padding: 110px 0;
    overflow: hidden;
    background: var(--gdg-purple);
    color: var(--gdg-white);
}

.gdg-hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(84, 45, 84, 0.98) 0%, rgba(84, 45, 84, 0.94) 48%, rgba(84, 45, 84, 0.78) 100%),
        var(--gdg-hero-image, none) center / cover no-repeat;
    content: "";
}

.gdg-hero::after {
    position: absolute;
    z-index: -1;
    right: -18%;
    bottom: -34%;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: rgba(189, 141, 210, 0.17);
    content: "";
}

.gdg-hero__layout {
    display: grid;
    grid-template-areas: "content logo";
    grid-template-columns: minmax(460px, 1fr) minmax(420px, 1.05fr);
    gap: clamp(46px, 6vw, 84px);
    align-items: start;
}

.gdg-hero__content {
    grid-area: content;
}

.gdg-hero__logo-frame {
    grid-area: logo;
    position: relative;
    aspect-ratio: 2.12 / 1;
    overflow: hidden;
    border: 3px solid var(--gdg-green);
    border-radius: var(--gdg-radius);
    background: var(--gdg-white);
    box-shadow: var(--gdg-shadow);
}

.gdg-hero__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
}

.gdg-hero__title {
    max-width: 760px;
    margin-bottom: 28px;
    color: var(--gdg-white) !important;
    font-size: clamp(52px, 5.4vw, 78px);
}

.gdg-hero .gdg-eyebrow {
    color: var(--gdg-accent);
}

.gdg-hero__intro {
    max-width: 720px;
    margin-bottom: 32px;
}

.gdg-hero__intro p {
    margin-bottom: 14px;
    color: var(--gdg-white);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.58;
}

.gdg-quote {
    max-width: 680px;
    margin: 34px 0;
    padding: 22px 0 22px 24px;
    border-left: 4px solid var(--gdg-green);
    color: var(--gdg-white);
}

.gdg-quote p {
    margin-bottom: 8px;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
}

.gdg-quote cite {
    color: var(--gdg-accent);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.gdg-hero__brandmark,
.gdg-form-section__brandmark {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--gdg-green);
    color: var(--gdg-white);
}

.gdg-heart-mark {
    width: 96px;
    height: auto;
    fill: currentColor;
}

.gdg-hero__brandmark {
    top: -52px;
    right: 7%;
    transform: rotate(7deg);
}

/* Shared section heading */
.gdg-section-heading {
    max-width: 780px;
    margin-bottom: 50px;
}

.gdg-section-heading .gdg-eyebrow {
    color: var(--gdg-purple);
}

.gdg-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

/* Steps */
.gdg-steps {
    background: var(--gdg-soft);
}

.gdg-steps__list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gdg-step {
    grid-column: span 2;
    min-height: 390px;
    padding: 38px 34px;
    border: 1px solid var(--gdg-border);
    border-radius: 22px;
    background: var(--gdg-white);
    box-shadow: 0 14px 36px rgba(84, 45, 84, 0.08);
}

.gdg-step:nth-child(4) {
    grid-column: 2 / span 2;
}

.gdg-step__number {
    display: block;
    margin-bottom: 40px;
    color: var(--gdg-green);
    font-size: clamp(88px, 8.4vw, 126px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.78;
}

.gdg-step h3 {
    color: var(--gdg-purple);
}

.gdg-step p {
    margin-bottom: 0;
    color: var(--gdg-purple);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.58;
}

/* Eligibility */
.gdg-eligibility {
    background: var(--gdg-white);
}

.gdg-eligibility__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.gdg-eligibility-card {
    position: relative;
    min-height: 520px;
    padding: clamp(38px, 5vw, 64px);
    overflow: hidden;
    border-radius: var(--gdg-radius);
}

.gdg-eligibility-card--yes {
    background: var(--gdg-green);
    color: var(--gdg-purple);
}

.gdg-eligibility-card--no {
    background: var(--gdg-purple);
    color: var(--gdg-white);
}

.gdg-eligibility-card h3 {
    margin-bottom: 34px;
    color: inherit;
    font-size: clamp(34px, 4vw, 54px);
}

.gdg-eligibility-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gdg-eligibility-card li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 30px;
    color: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.gdg-eligibility-card li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.gdg-eligibility-card__icon {
    position: absolute;
    top: 22px;
    right: 28px;
    color: inherit;
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.2;
}

/* Guidelines */
.gdg-guidelines {
    background: var(--gdg-accent);
    color: var(--gdg-purple);
}

.gdg-guidelines__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
    gap: clamp(52px, 8vw, 110px);
    align-items: start;
}

.gdg-guidelines__heading {
    position: sticky;
    top: 30px;
}

.gdg-guidelines__heading h2 {
    color: var(--gdg-purple);
}

.gdg-guidelines__contact {
    margin-top: 36px;
    font-size: 16px !important;
    font-weight: 700;
}

.gdg-guidelines__contact a {
    color: var(--gdg-purple);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.gdg-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gdg-checklist li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 14px;
    padding: 22px 24px;
    border: 1px solid rgba(84, 45, 84, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--gdg-purple);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.gdg-checklist li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gdg-purple);
    color: var(--gdg-green);
    font-size: 19px;
    line-height: 1;
}

/* Form */
.gdg-form-section {
    isolation: isolate;
    background: var(--gdg-purple);
    color: var(--gdg-white);
    scroll-margin-top: 24px;
}

.gdg-form-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 13% 14%, rgba(189, 141, 210, 0.23), transparent 36%);
    content: "";
}

.gdg-form-section__layout {
    display: block;
}

.gdg-form-section__heading {
    max-width: 820px;
    margin-bottom: 54px;
}

.gdg-form-section__heading h2 {
    color: var(--gdg-white);
}

.gdg-form-section__heading .gdg-eyebrow {
    color: var(--gdg-accent);
}

.gdg-form-section__heading > p:last-child {
    color: var(--gdg-white);
    font-size: 17px;
}

.gdg-form-card {
    width: 100%;
    min-height: 480px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: var(--gdg-ink);
}

.gdg-hubspot-form {
    width: 100%;
}

.gdg-form-section__brandmark {
    right: -52px;
    bottom: -44px;
    width: 220px;
    height: 220px;
    transform: rotate(-9deg);
}

.gdg-form-card .hs-form-field {
    margin-bottom: 20px;
}

.gdg-form-card .hs-form-field label {
    color: var(--gdg-purple);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.gdg-form-card input:not([type="checkbox"]):not([type="radio"]),
.gdg-form-card select,
.gdg-form-card textarea {
    width: 100% !important;
    min-height: 52px;
    padding: 12px 14px !important;
    border: 1px solid rgba(84, 45, 84, 0.28) !important;
    border-radius: 10px !important;
    background: var(--gdg-white) !important;
    box-shadow: none !important;
    color: var(--gdg-ink) !important;
    font-family: "Montserrat", Arial, sans-serif !important;
}

.gdg-form-card textarea {
    min-height: 130px;
}

.gdg-form-card .hs-button {
    min-height: 54px;
    padding: 14px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--gdg-green) !important;
    color: var(--gdg-purple) !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-weight: 800 !important;
    cursor: pointer;
}

@media (max-width: 980px) {
    .gdg-page .gdg-section,
    .gdg-hero {
        padding: 82px 0;
    }

    .gdg-hero__layout,
    .gdg-guidelines__layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .gdg-hero__layout {
        grid-template-areas:
            "logo"
            "content";
    }

    .gdg-hero__logo-frame {
        width: min(100%, 620px);
    }

    .gdg-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gdg-step,
    .gdg-step:nth-child(4) {
        grid-column: auto;
    }

    .gdg-step:last-child {
        grid-column: 1 / -1;
    }

    .gdg-guidelines__heading {
        position: static;
    }
}

@media (max-width: 700px) {
    .gdg-page .gdg-container {
        width: min(calc(100% - 32px), 1180px);
    }

    .gdg-page .gdg-section,
    .gdg-hero {
        padding: 68px 0;
    }

    .gdg-page h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .gdg-page p,
    .gdg-page li {
        font-size: 16px;
    }

    .gdg-hero {
        min-height: 0;
    }

    .gdg-hero__layout {
        gap: 42px;
    }

    .gdg-hero__title {
        font-size: clamp(46px, 13vw, 64px);
    }

    .gdg-hero__logo-frame {
        border-radius: 20px;
    }

    .gdg-hero__brandmark {
        top: -40px;
        right: -38px;
        width: 130px;
        height: 130px;
        font-size: 33px;
    }

    .gdg-steps__list,
    .gdg-eligibility__grid {
        grid-template-columns: 1fr;
    }

    .gdg-step,
    .gdg-step:last-child {
        grid-column: auto;
        min-height: 0;
        padding: 28px;
    }

    .gdg-step__number {
        margin-bottom: 30px;
        font-size: clamp(82px, 28vw, 112px);
    }

    .gdg-eligibility-card {
        min-height: 0;
        padding: 38px 28px;
        border-radius: 22px;
    }

    .gdg-eligibility-card h3 {
        font-size: 36px;
    }

    .gdg-checklist li {
        grid-template-columns: 34px 1fr;
        gap: 14px;
        padding: 18px;
    }

    .gdg-checklist li span {
        width: 32px;
        height: 32px;
    }

    .gdg-form-card {
        padding: 0;
    }

    .gdg-form-section__brandmark {
        right: -76px;
        bottom: -72px;
        width: 180px;
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdg-page *,
    .gdg-page *::before,
    .gdg-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
