.ni-referral-page {
    background: #fcfcfc;
    color: #373943;
}

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

.tip-section {
    padding-block: clamp(72px, 9vw, 118px);
}

.tip-eyebrow {
    color: #14839a;
    font-size: .9rem;
    margin-bottom: 14px;
}

.tip-back {
    color: rgb(255 255 255 / 82%);
    display: inline-block;
    font-size: .92rem;
    margin-bottom: 42px;
    text-decoration: none;
}

.tip-back:hover {
    color: #72d8ea;
}

.tip-hero {
    background:
        radial-gradient(circle at 90% 12%, rgb(31 180 209 / 30%), transparent 32%),
        linear-gradient(135deg, #001e60 0%, #052d78 100%);
    color: #fff;
    overflow: hidden;
    padding-block: clamp(62px, 8vw, 110px);
}

.tip-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(42px, 7vw, 88px);
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr);
}

.tip-hero-grid > *,
.tip-intro-grid > *,
.tip-conditions-grid > *,
.tip-form-layout > *,
.tip-faq-grid > * {
    min-width: 0;
}

.tip-hero .tip-eyebrow {
    color: #72d8ea;
}

.tip-hero h1 {
    font-size: clamp(2.55rem, 5.7vw, 4.8rem);
    max-width: 850px;
}

.tip-hero-lead {
    color: rgb(255 255 255 / 86%);
    font-size: clamp(1.08rem, 1.7vw, 1.24rem);
    max-width: 760px;
}

.tip-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.tip-hero .button-primary {
    background: #5ed6ea;
    color: #001e60;
}

.tip-hero .button-primary:hover {
    background: #fff;
}

.tip-hero .button-secondary {
    border-color: rgb(255 255 255 / 65%);
    color: #fff;
}

.tip-hero .button-secondary:hover {
    background: rgb(255 255 255 / 12%);
}

.tip-reward-card {
    background: linear-gradient(145deg, #fff 0%, #eaf8fb 100%);
    border: 1px solid rgb(114 216 234 / 75%);
    border-radius: 12px;
    box-shadow: 0 28px 70px rgb(0 0 0 / 22%);
    color: #001e60;
    padding: clamp(30px, 5vw, 52px);
}

.tip-reward-card span {
    color: #287e91;
    display: block;
    font-size: .9rem;
    margin-bottom: 18px;
}

.tip-reward-card strong {
    color: #001e60;
    display: block;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    line-height: 1.07;
}

.tip-reward-card p {
    border-top: 1px solid #cfe8ee;
    color: #373943;
    margin: 25px 0 16px;
    padding-top: 22px;
}

.tip-reward-card small {
    color: #69707a;
    display: block;
    line-height: 1.55;
}

.tip-intro {
    background: #fff;
}

.tip-intro-grid {
    display: grid;
    gap: clamp(38px, 8vw, 104px);
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.tip-intro-copy {
    font-size: 1.06rem;
}

.tip-intro-copy p:last-child {
    margin-bottom: 0;
}

.tip-process {
    background: #f4f7fa;
}

.tip-heading {
    max-width: 820px;
}

.tip-process-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(38px, 6vw, 62px);
}

.tip-process-grid article {
    background: #fff;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    box-shadow: 0 16px 44px rgb(0 30 96 / 7%);
    padding: clamp(24px, 3vw, 32px);
}

.tip-process-grid span {
    align-items: center;
    background: #e8f7fa;
    border-radius: 50%;
    color: #147f96;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.tip-process-grid h3 {
    margin: 24px 0 13px;
}

.tip-process-grid p {
    margin: 0;
}

.tip-conditions {
    background: #fff;
}

.tip-conditions-grid {
    align-items: center;
    display: grid;
    gap: clamp(42px, 8vw, 104px);
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.tip-check-card {
    background: #001e60;
    border-radius: 11px;
    box-shadow: 0 24px 64px rgb(0 30 96 / 17%);
    padding: clamp(30px, 5vw, 48px);
}

.tip-check-card ul {
    display: grid;
    gap: 17px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tip-check-card li {
    color: rgb(255 255 255 / 91%);
    padding-left: 32px;
    position: relative;
}

.tip-check-card li::before {
    color: #72d8ea;
    content: "✓";
    font-weight: 600;
    left: 0;
    position: absolute;
}

.tip-privacy {
    background: #eaf8fb;
    padding-block: clamp(40px, 6vw, 64px);
}

.tip-privacy-inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 58px minmax(0, 1fr);
    max-width: 980px;
}

.tip-privacy-mark {
    align-items: center;
    background: #001e60;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 1.45rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.tip-privacy h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 10px;
}

.tip-privacy p {
    margin: 0;
}

.tip-form-section {
    background: linear-gradient(135deg, #001e60 0%, #052d78 100%);
    color: #fff;
}

.tip-form-layout {
    align-items: start;
    display: grid;
    gap: clamp(44px, 8vw, 96px);
    grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
}

.tip-form-copy {
    position: sticky;
    top: 120px;
}

.tip-form-copy .tip-eyebrow {
    color: #72d8ea;
}

.tip-form-copy h2 {
    color: #fff;
}

.tip-form-copy > p:not(.tip-eyebrow) {
    color: rgb(255 255 255 / 84%);
}

.tip-direct-contact {
    display: grid;
    gap: 12px;
    margin-top: 38px;
}

.tip-direct-contact a {
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 8px;
    display: grid;
    padding: 16px 18px;
    text-decoration: none;
}

.tip-direct-contact a:hover {
    border-color: #72d8ea;
}

.tip-direct-contact span {
    color: #72d8ea;
    font-size: .82rem;
}

.tip-direct-contact strong {
    color: #fff;
    overflow-wrap: anywhere;
}

.tip-form {
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 28px 70px rgb(0 0 0 / 21%);
    color: #373943;
    display: grid;
    gap: 16px;
    padding: clamp(26px, 5vw, 46px);
}

.tip-form > *,
.tip-form-row > * {
    min-width: 0;
}

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

.tip-form label {
    color: #001e60;
    font-size: .92rem;
}

.tip-form input,
.tip-form select,
.tip-form textarea {
    background: #f8fafb;
    border: 1px solid #dce4ea;
    border-radius: 8px;
    display: block;
    font: inherit;
    margin-top: 6px;
    min-height: 50px;
    padding: 11px 12px;
    width: 100%;
}

.tip-form textarea {
    resize: vertical;
}

.tip-form input:focus,
.tip-form select:focus,
.tip-form textarea:focus {
    background: #fff;
    border-color: #1fb4d1;
    outline: 3px solid rgb(31 180 209 / 18%);
}

.tip-form-consent {
    align-items: start;
    color: #4c5260 !important;
    display: grid;
    font-size: .84rem !important;
    gap: 10px;
    grid-template-columns: 20px minmax(0, 1fr);
}

.tip-form-consent input {
    margin: 3px 0 0;
    min-height: 18px;
    width: 18px;
}

.tip-form-consent a {
    color: #001e60;
}

.tip-form .button {
    margin-top: 8px;
    white-space: normal;
    width: 100%;
}

.tip-form-note {
    color: #69707a;
    font-size: .82rem;
    margin: 0;
    text-align: center;
}

.tip-honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.tip-form-notice {
    border-radius: 7px;
    padding: 14px 16px;
}

.tip-form-success {
    background: #edf8e8;
    border: 1px solid #9ac883;
    color: #285516;
}

.tip-form-error {
    background: #fff2f1;
    border: 1px solid #e0a09b;
    color: #812b24;
}

.tip-faq {
    background: #f4f7fa;
}

.tip-faq-grid {
    align-items: start;
    display: grid;
    gap: clamp(42px, 8vw, 100px);
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.tip-faq-list {
    border-top: 1px solid #dce4ea;
}

.tip-faq-list details {
    border-bottom: 1px solid #dce4ea;
}

.tip-faq-list summary {
    color: #001e60;
    cursor: pointer;
    font-size: 1.08rem;
    list-style: none;
    padding: 22px 42px 22px 0;
    position: relative;
}

.tip-faq-list summary::-webkit-details-marker {
    display: none;
}

.tip-faq-list summary::after {
    content: "+";
    font-size: 1.5rem;
    position: absolute;
    right: 6px;
    top: 16px;
}

.tip-faq-list details[open] summary::after {
    content: "−";
}

.tip-faq-list details p {
    padding: 0 36px 20px 0;
}

@media (max-width: 980px) {
    .tip-hero-grid,
    .tip-intro-grid,
    .tip-conditions-grid,
    .tip-form-layout,
    .tip-faq-grid {
        grid-template-columns: 1fr;
    }

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

    .tip-form-copy {
        position: static;
    }
}

@media (max-width: 620px) {
    .tip-container {
        width: min(calc(100% - 24px), 1180px);
    }

    .tip-hero-actions,
    .tip-hero-actions .button {
        width: 100%;
    }

    .tip-process-grid,
    .tip-form-row {
        grid-template-columns: 1fr;
    }

    .tip-privacy-inner {
        align-items: start;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .tip-privacy-mark {
        height: 44px;
        width: 44px;
    }

    .tip-reward-card,
    .tip-check-card,
    .tip-form {
        padding: 24px;
    }
}

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