/* ============================================================================
   partners.css: the public Partner Program page (/partners). Loaded only by
   that view, on top of marketing.css, so it reuses the public site's fonts,
   buttons and inputs. Mobile first: every rule is written for a phone and
   widened with min-width queries. rem-based throughout (laptop density scale).
   ========================================================================= */

.ntp { --ntp-green: #17a05a; --ntp-deep: #0b7a5c; --ntp-ink: #0c1a14; --ntp-body: #42544b; --ntp-muted: #6b7c73;
       --ntp-line: rgba(11, 60, 44, .1); --ntp-blue: #1d87d6; --ntp-night: #08211a; --ntp-mint: #f5f8f6; }

.ntp-section { padding: 3.25rem 0; }
.ntp-section-tight { padding: 2.25rem 0; }
.ntp-center { text-align: center; }
.ntp-lede { font-size: 1.02rem; line-height: 1.65; color: var(--ntp-body); margin: .9rem 0 0; max-width: 40rem; }
.ntp-center .ntp-lede { margin-inline: auto; }
.ntp-h2 { font-size: 1.85rem; line-height: 1.12; margin: .7rem 0 0; }

/* ------------------------------------------------------------------ hero */

.ntp-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 2.75rem;
    background:
        radial-gradient(40rem 22rem at 90% -10%, rgba(29, 135, 214, .16), transparent 60%),
        radial-gradient(34rem 20rem at -10% 10%, rgba(23, 160, 90, .2), transparent 62%),
        var(--ntp-mint);
}
.ntp-hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.ntp-pill {
    display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--ntp-line); box-shadow: 0 .15rem .6rem -.35rem rgba(11, 60, 44, .35);
    font-size: .78rem; font-weight: 600; color: var(--ntp-deep);
}
.ntp-pill-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--ntp-green); animation: ntPulse 2.4s infinite; }
.ntp-hero h1 { font-size: 2.35rem; line-height: 1.05; letter-spacing: -.035em; margin: 1.1rem 0 0; }
.ntp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--ntp-deep), var(--ntp-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ntp-hero-lede { font-size: 1.05rem; line-height: 1.6; color: var(--ntp-body); margin: 1rem 0 0; }
.ntp-cta { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.6rem; }
.ntp-cta .nt-btn { justify-content: center; }
.ntp-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1.25rem; font-size: .84rem; color: var(--ntp-muted); }
.ntp-trust span { display: inline-flex; align-items: center; gap: .35rem; }
.ntp-trust i { color: var(--ntp-green); }

/* The dashboard preview card in the hero. Pure markup, no screenshot to keep current. */
.ntp-preview {
    position: relative; background: #fff; border: 1px solid var(--ntp-line); border-radius: 1.25rem; padding: 1.1rem;
    box-shadow: 0 1.75rem 3.5rem -1.75rem rgba(6, 40, 28, .45); animation: ntFade .8s ease .1s both;
}
.ntp-preview-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ntp-preview-title { font: 600 .95rem "Outfit", sans-serif; }
.ntp-preview-code { font: 500 .7rem "IBM Plex Mono", monospace; color: var(--ntp-deep); background: rgba(23, 160, 90, .1); padding: .25rem .5rem; border-radius: .4rem; }
.ntp-preview-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: .9rem; }
.ntp-preview-kpi { background: var(--ntp-mint); border-radius: .8rem; padding: .7rem .8rem; }
.ntp-preview-kpi small { display: block; font: 500 .62rem "IBM Plex Mono", monospace; letter-spacing: .06em; color: var(--ntp-muted); text-transform: uppercase; }
.ntp-preview-kpi strong { display: block; font: 600 1.3rem "Outfit", sans-serif; color: var(--ntp-deep); margin-top: .15rem; }
.ntp-preview-kpi.is-blue strong { color: var(--ntp-blue); }
.ntp-bars { display: flex; align-items: flex-end; gap: .35rem; height: 4.5rem; margin-top: .9rem; padding: 0 .2rem; }
.ntp-bars span { flex: 1; border-radius: .3rem .3rem 0 0; background: linear-gradient(180deg, var(--ntp-green), rgba(23, 160, 90, .35)); animation: ntpGrow .9s cubic-bezier(.22, .61, .36, 1) both; transform-origin: bottom; }
.ntp-preview-rows { margin-top: .9rem; display: grid; gap: .45rem; }
.ntp-preview-row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; padding: .55rem .7rem; border: 1px solid var(--ntp-line); border-radius: .7rem; }
.ntp-preview-row b { font-weight: 600; color: var(--ntp-deep); }
.ntp-float {
    position: absolute; background: #fff; border: 1px solid var(--ntp-line); border-radius: .9rem; padding: .55rem .75rem;
    box-shadow: 0 1rem 2.2rem -1rem rgba(6, 40, 28, .45); font-size: .75rem; display: none;
}
.ntp-float strong { display: block; font: 600 1.05rem "Outfit", sans-serif; color: var(--ntp-deep); }

@keyframes ntpGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ----------------------------------------------------------------- stats */

.ntp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ntp-line); border: 1px solid var(--ntp-line); border-radius: 1.1rem; overflow: hidden; margin-top: 2rem; }
.ntp-stat { background: #fff; padding: 1.05rem .95rem; }
.ntp-stat strong { display: block; font: 600 1.6rem "Outfit", sans-serif; letter-spacing: -.03em; color: var(--ntp-deep); }
.ntp-stat span { display: block; font-size: .8rem; line-height: 1.4; color: var(--ntp-muted); margin-top: .25rem; }

/* ------------------------------------------------------------- calculator */

.ntp-calc { background: var(--ntp-night); color: #e8f2ec; border-radius: 1.4rem; padding: 1.5rem 1.15rem; position: relative; overflow: hidden; }
.ntp-calc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(28rem 14rem at 100% 0%, rgba(23, 160, 90, .35), transparent 60%); pointer-events: none; }
.ntp-calc > * { position: relative; }
.ntp-calc h2 { color: #fff; }
.ntp-calc .nt-kick { color: #6fd3a4; }
.ntp-calc-grid { display: grid; gap: 1.5rem; margin-top: 1.4rem; }
.ntp-range-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; color: #b6ccc1; }
.ntp-range-label b { font: 600 1.15rem "Outfit", sans-serif; color: #fff; }
.ntp-range { width: 100%; margin: .65rem 0 1.25rem; accent-color: var(--ntp-green); height: 2rem; }
.ntp-calc-out { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 1.1rem; padding: 1.15rem; }
.ntp-calc-out small { display: block; font: 500 .68rem "IBM Plex Mono", monospace; letter-spacing: .1em; color: #8fb5a3; text-transform: uppercase; }
.ntp-calc-big { font: 600 2.4rem "Outfit", sans-serif; color: #6fd3a4; letter-spacing: -.03em; line-height: 1.05; margin-top: .3rem; }
.ntp-calc-row { display: flex; justify-content: space-between; font-size: .88rem; color: #d3e6db; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.ntp-calc-note { font-size: .74rem; color: #8fb5a3; margin: .9rem 0 0; line-height: 1.5; }

/* ----------------------------------------------------------------- cards */

.ntp-grid { display: grid; gap: .9rem; margin-top: 1.75rem; }
.ntp-card {
    background: #fff; border: 1px solid var(--ntp-line); border-radius: 1.1rem; padding: 1.25rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ntp-card:hover { transform: translateY(-.2rem); box-shadow: 0 1.2rem 2.4rem -1.6rem rgba(6, 40, 28, .45); border-color: rgba(23, 160, 90, .35); }
.ntp-icon { width: 2.6rem; height: 2.6rem; border-radius: .8rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: rgba(23, 160, 90, .12); color: var(--ntp-deep); }
.ntp-icon.is-blue { background: rgba(29, 135, 214, .12); color: var(--ntp-blue); }
.ntp-card h3 { font-size: 1.08rem; margin: .9rem 0 0; }
.ntp-card p { font-size: .9rem; line-height: 1.6; color: var(--ntp-body); margin: .45rem 0 0; }

.ntp-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.4rem; }
.ntp-chip { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--ntp-line); border-radius: 999px; padding: .5rem .9rem; font-size: .86rem; font-weight: 500; }
.ntp-chip i { color: var(--ntp-green); }

/* ------------------------------------------------------------------ steps */

.ntp-steps { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .9rem; counter-reset: ntp-step; }
.ntp-step { position: relative; background: #fff; border: 1px solid var(--ntp-line); border-radius: 1.1rem; padding: 1.15rem 1.15rem 1.15rem 4rem; counter-increment: ntp-step; }
.ntp-step::before {
    content: counter(ntp-step); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font: 600 .95rem "Outfit", sans-serif; color: #fff;
    background: linear-gradient(135deg, var(--ntp-green), var(--ntp-deep));
}
.ntp-step h3 { font-size: 1rem; margin: 0; }
.ntp-step p { font-size: .88rem; line-height: 1.55; color: var(--ntp-body); margin: .3rem 0 0; }

/* ----------------------------------------------------------- what earns */

.ntp-earns { display: grid; gap: .9rem; margin-top: 1.75rem; }
.ntp-earns-col { background: #fff; border: 1px solid var(--ntp-line); border-radius: 1.1rem; padding: 1.2rem; }
.ntp-earns-col h3 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.ntp-earns-col ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; font-size: .9rem; color: var(--ntp-body); }
.ntp-earns-col li { display: flex; gap: .55rem; align-items: flex-start; }
.ntp-yes i { color: var(--ntp-green); }
.ntp-no i { color: #b4433b; }
.ntp-fee { background: linear-gradient(135deg, #0b7a5c, #0d5c49); color: #fff; border: 0; }
.ntp-fee h3 { color: #fff; }
.ntp-fee-price { font: 600 2rem "Outfit", sans-serif; letter-spacing: -.03em; margin-top: .55rem; }
.ntp-fee-price s { font-size: 1.1rem; opacity: .6; margin-right: .35rem; font-weight: 500; }
.ntp-fee p { color: #d7f2e2; font-size: .86rem; line-height: 1.55; margin: .4rem 0 0; }

/* -------------------------------------------------------------------- FAQ */

.ntp-faq { display: grid; gap: .6rem; margin-top: 1.5rem; }
.ntp-faq details { background: #fff; border: 1px solid var(--ntp-line); border-radius: .9rem; padding: 0 1.1rem; }
.ntp-faq summary {
    list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; font: 600 .98rem "Outfit", sans-serif; position: relative;
}
.ntp-faq summary::-webkit-details-marker { display: none; }
.ntp-faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font-size: 1.3rem; color: var(--ntp-green); transition: transform .2s ease; }
.ntp-faq details[open] summary::after { transform: rotate(45deg); }
.ntp-faq details p { font-size: .9rem; line-height: 1.6; color: var(--ntp-body); margin: 0 0 1rem; }

/* ------------------------------------------------------------------- form */

.ntp-apply { background: linear-gradient(180deg, var(--ntp-mint), #e9f3ee); }
.ntp-form-card { background: #fff; border: 1px solid var(--ntp-line); border-radius: 1.4rem; padding: 1.4rem 1.1rem; box-shadow: 0 1.75rem 3.5rem -2.5rem rgba(6, 40, 28, .5); }
.ntp-form-grid { display: grid; gap: .95rem; }
.ntp-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ntp-body); margin-bottom: .4rem; }
.ntp-field .nt-inp { width: 100%; min-height: 3rem; font-size: 1rem; }
.ntp-field textarea.nt-inp { min-height: 6.5rem; }
.ntp-field .text-danger { display: block; margin-top: .3rem; }
.ntp-group-title { font: 500 .7rem "IBM Plex Mono", monospace; letter-spacing: .12em; color: var(--ntp-muted); text-transform: uppercase; margin: .4rem 0 -.2rem; }
.ntp-submit { width: 100%; justify-content: center; margin-top: 1.25rem; min-height: 3.1rem; }
.ntp-submit[disabled] { opacity: .7; pointer-events: none; }
.ntp-fineprint { font-size: .76rem; color: var(--ntp-muted); margin: .9rem 0 0; text-align: center; }

.ntp-state { text-align: center; padding: 1.5rem .5rem; }
.ntp-state-icon { width: 3.6rem; height: 3.6rem; border-radius: 1rem; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.ntp-state-icon.is-ok { background: rgba(23, 160, 90, .12); color: var(--ntp-deep); }
.ntp-state-icon.is-wait { background: rgba(29, 135, 214, .12); color: var(--ntp-blue); }
.ntp-state h2 { font-size: 1.45rem; margin: 1rem 0 0; }
.ntp-state p { font-size: .95rem; color: var(--ntp-body); margin: .6rem auto 0; max-width: 30rem; line-height: 1.6; }

/* Sticky "Apply" bar for phones, so the call to action is one tap away anywhere on the page. */
.ntp-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--ntp-line);
    display: flex; align-items: center; gap: .75rem; transition: transform .25s ease;
}
.ntp-sticky.is-hidden { transform: translateY(110%); }
.ntp-sticky span { font-size: .82rem; color: var(--ntp-body); flex: 1; line-height: 1.3; }
.ntp-sticky span b { color: var(--ntp-deep); }
.ntp-sticky .nt-btn { padding: .65rem 1.1rem; font-size: .92rem; }
.ntp-page-pad { height: 4.5rem; }

/* While the Apply bar shows on a phone, the site's floating back-to-top and install prompts sit above
   it instead of on top of the button. The bar is hidden from tablet width up, so this stays phone-only. */
@media (max-width: 47.99rem) {
    body:has(.ntp-sticky:not(.is-hidden)) .nt-top-btn,
    body:has(.ntp-sticky:not(.is-hidden)) .nt-pwa-install { bottom: 5.25rem; }
}

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 36rem) {
    .ntp-cta { flex-direction: row; flex-wrap: wrap; }
    .ntp-grid { grid-template-columns: repeat(2, 1fr); }
    .ntp-form-grid { grid-template-columns: repeat(2, 1fr); }
    .ntp-form-grid .ntp-span { grid-column: 1 / -1; }
    .ntp-form-card { padding: 2rem; }
    .ntp-calc { padding: 2rem; }
    .ntp-submit { width: auto; }
}

@media (min-width: 48rem) {
    .ntp-section { padding: 4.5rem 0; }
    .ntp-h2 { font-size: 2.4rem; }
    .ntp-hero { padding: 4rem 0 3.5rem; }
    .ntp-hero h1 { font-size: 3.1rem; }
    .ntp-stats { grid-template-columns: repeat(4, 1fr); }
    .ntp-stat { padding: 1.4rem 1.3rem; }
    .ntp-stat strong { font-size: 2rem; }
    .ntp-calc-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
    .ntp-earns { grid-template-columns: repeat(3, 1fr); }
    .ntp-steps { grid-template-columns: repeat(2, 1fr); }
    .ntp-sticky, .ntp-page-pad { display: none; }
}

@media (min-width: 62rem) {
    .ntp-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
    .ntp-hero h1 { font-size: 3.7rem; }
    .ntp-grid { grid-template-columns: repeat(3, 1fr); }
    .ntp-steps { grid-template-columns: repeat(4, 1fr); }
    .ntp-float { display: block; }
    .ntp-faq { grid-template-columns: repeat(2, 1fr); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    .ntp-bars span, .ntp-preview, .ntp-pill-dot { animation: none; }
    .ntp-card:hover { transform: none; }
}
