/*
 * iplink — public website, sign-in and status screens.
 * Everything is scoped under .ipl-* so it never leaks into the app.
 */

body.ipl-body {
    background: #fff;
    overflow-x: hidden;
}

.ipl-site,
.ipl-auth,
.ipl-state {
    --ipl-ink: #140b24;
    --ipl-text: #3d3654;
    --ipl-muted: #6e6987;
    --ipl-line: #ebe7f4;
    --ipl-soft: #f6f3ff;
    --ipl-primary: #7c3aed;
    --ipl-fuchsia: #c026d3;
    --ipl-amber: #fbbf24;
    --ipl-grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ipl-text);
    font-size: 16px;
    line-height: 1.6;
}

.ipl-site h1,
.ipl-site h2,
.ipl-site h3,
.ipl-auth h1,
.ipl-auth h2,
.ipl-state h3 {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    color: var(--ipl-ink);
    letter-spacing: -0.025em;
    text-transform: none;
}

.ipl-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.ipl-gradient-text {
    background: var(--ipl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */

.ipl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.ipl-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.ipl-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .25);
}

.ipl-btn-sm {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
}

.ipl-btn-lg {
    padding: 14px 22px;
    font-size: 16px;
    border-radius: 14px;
}

.ipl-btn-block {
    width: 100%;
}

.ipl-btn-primary {
    background: var(--ipl-grad);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(124, 58, 237, .8);
}

.ipl-btn-primary:hover,
.ipl-btn-primary:focus {
    color: #fff;
    box-shadow: 0 18px 30px -12px rgba(124, 58, 237, .85);
}

.ipl-btn-ghost {
    background: #fff;
    border-color: var(--ipl-line);
    color: var(--ipl-ink);
}

.ipl-btn-ghost:hover {
    border-color: #d9cdfc;
    color: var(--ipl-primary);
}

.ipl-btn-light {
    background: #fff;
    color: var(--ipl-ink);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35);
}

.ipl-btn-light:hover {
    color: var(--ipl-primary);
}

.ipl-btn i {
    font-size: .9em;
    transition: transform .18s ease;
}

.ipl-btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

/* ---------- Navigation ---------- */

.ipl-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ipl-nav.is-scrolled {
    border-bottom-color: var(--ipl-line);
    box-shadow: 0 10px 30px -24px rgba(20, 11, 36, .4);
}

.ipl-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.ipl-logo img {
    display: block;
    height: 36px;
    width: auto;
}

.ipl-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ipl-menu a:not(.ipl-btn) {
    color: var(--ipl-text);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color .15s ease;
}

.ipl-menu a:not(.ipl-btn):hover {
    color: var(--ipl-primary);
}

.ipl-burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ipl-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ipl-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ipl-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.ipl-nav.is-open .ipl-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ipl-nav.is-open .ipl-burger span:nth-child(2) {
    opacity: 0;
}

.ipl-nav.is-open .ipl-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.ipl-hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
}

.ipl-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(192, 38, 211, .16), transparent 70%),
        radial-gradient(700px 500px at 10% 0%, rgba(124, 58, 237, .14), transparent 70%),
        radial-gradient(500px 300px at 50% 100%, rgba(251, 191, 36, .10), transparent 70%);
}

.ipl-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}

.ipl-glow-dark {
    background:
        radial-gradient(600px 360px at 90% 0%, rgba(192, 38, 211, .35), transparent 70%),
        radial-gradient(700px 480px at 0% 100%, rgba(124, 58, 237, .45), transparent 70%);
}

.ipl-glow-dark::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

.ipl-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
}

.ipl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border: 1px solid #e4dafd;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: var(--ipl-primary);
    font-size: 13px;
    font-weight: 600;
}

.ipl-pulse {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.ipl-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .35);
    animation: ipl-pulse 1.8s ease-out infinite;
}

@keyframes ipl-pulse {
    0% { transform: scale(.5); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.ipl-hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.04;
}

.ipl-lead {
    max-width: 540px;
    margin: 0 0 32px;
    color: var(--ipl-muted);
    font-size: 19px;
}

.ipl-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ipl-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ipl-muted);
    font-size: 14px;
    font-weight: 500;
}

.ipl-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ipl-checks i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ede5ff;
    color: var(--ipl-primary);
    font-size: 10px;
}

.ipl-checks-stacked {
    flex-direction: column;
}

/* Product mock-up */

.ipl-hero-visual {
    position: relative;
    padding: 28px 12px 40px 28px;
}

.ipl-window {
    position: relative;
    border: 1px solid var(--ipl-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(76, 29, 149, .5), 0 0 0 8px rgba(255, 255, 255, .6);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}

.ipl-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ipl-line);
}

.ipl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e8e4f2;
}

.ipl-window-title {
    margin-left: 10px;
    color: var(--ipl-ink);
    font-size: 13px;
    font-weight: 700;
}

.ipl-window-title i {
    margin-right: 6px;
    color: var(--ipl-primary);
}

.ipl-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ipl-map svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 280;
}

.ipl-route {
    stroke-dasharray: 10 8;
    animation: ipl-dash 1.2s linear infinite;
}

@keyframes ipl-dash {
    to { stroke-dashoffset: -18; }
}

.ipl-ping {
    transform-origin: 340px 56px;
    animation: ipl-ping 2s ease-out infinite;
}

@keyframes ipl-ping {
    0% { transform: scale(.7); opacity: .6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.ipl-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ipl-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px -24px rgba(20, 11, 36, .35);
    animation: ipl-float 6s ease-in-out infinite;
}

@keyframes ipl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ipl-float-order {
    left: 0;
    bottom: 6px;
}

.ipl-float-note {
    right: -8px;
    bottom: 96px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ipl-ink);
    animation-delay: -4s;
}

.ipl-float-note i {
    color: var(--ipl-amber);
}

.ipl-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ipl-grad);
    color: #fff;
    font-size: 17px;
}

.ipl-float-title {
    color: var(--ipl-ink);
    font-size: 14px;
    font-weight: 700;
}

.ipl-float-sub {
    color: var(--ipl-muted);
    font-size: 12px;
}

.ipl-status {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #ede5ff;
    color: var(--ipl-primary);
    font-weight: 600;
}

/* ---------- Sections ---------- */

.ipl-section {
    position: relative;
    padding: 104px 0;
    scroll-margin-top: 72px;
}

.ipl-section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.ipl-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ipl-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ipl-section-head h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
}

.ipl-section-head p {
    margin: 0;
    color: var(--ipl-muted);
    font-size: 18px;
}

.ipl-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ipl-feature {
    padding: 28px;
    border: 1px solid var(--ipl-line);
    border-radius: 20px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ipl-feature:hover {
    transform: translateY(-4px);
    border-color: #ddd0fd;
    box-shadow: 0 30px 50px -30px rgba(124, 58, 237, .45);
}

.ipl-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--ipl-soft);
    color: var(--ipl-primary);
    font-size: 20px;
    transition: background .2s ease, color .2s ease;
}

.ipl-feature:hover .ipl-feature-icon {
    background: var(--ipl-grad);
    color: #fff;
}

.ipl-feature h3,
.ipl-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.ipl-feature p,
.ipl-step p {
    margin: 0;
    color: var(--ipl-muted);
    font-size: 15px;
}

/* Dark "how it works" band */

.ipl-section-dark {
    overflow: hidden;
    background: var(--ipl-ink);
    color: #cfc8e6;
}

.ipl-section-dark .ipl-container {
    position: relative;
}

.ipl-section-dark h2,
.ipl-section-dark h3 {
    color: #fff;
}

.ipl-section-dark .ipl-kicker {
    color: #d8b4fe;
}

.ipl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ipl-step {
    position: relative;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
}

.ipl-section-dark .ipl-step p {
    color: #b7afd3;
}

.ipl-step-num {
    display: inline-block;
    margin-bottom: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #c4b5fd, #f0abfc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Two-column sections (businesses, couriers, contact) */

.ipl-section-soft {
    background: linear-gradient(180deg, #faf8ff 0%, #f4f0fe 100%);
}

.ipl-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 56px;
}

.ipl-split-title {
    margin: 0 0 16px;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.12;
}

.ipl-split-text {
    margin: 0 0 28px;
    color: var(--ipl-muted);
    font-size: 18px;
}

.ipl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 32px;
}

.ipl-chip {
    padding: 7px 14px;
    border: 1px solid #e4dafd;
    border-radius: 999px;
    background: var(--ipl-soft);
    color: var(--ipl-primary);
    font-size: 14px;
    font-weight: 600;
}

.ipl-benefits {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ipl-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--ipl-line);
    border-radius: 20px;
    background: #fff;
}

.ipl-benefits h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
}

.ipl-benefits p {
    margin: 0;
    color: var(--ipl-muted);
    font-size: 15px;
}

.ipl-benefit-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ipl-grad);
    color: #fff;
    font-size: 18px;
}

.ipl-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 18px 20px;
    border: 1px solid var(--ipl-line);
    border-radius: 18px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    color: var(--ipl-ink);
}

.ipl-contact-card a {
    color: var(--ipl-primary);
    text-decoration: none;
}

.ipl-contact-label {
    display: block;
    color: var(--ipl-muted);
    font-size: 13px;
    font-weight: 500;
}

/* Forms */

.ipl-form {
    padding: 32px;
    border: 1px solid var(--ipl-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 60px -40px rgba(76, 29, 149, .45);
}

.ipl-form-label {
    display: block;
    margin: 0 0 8px;
    color: var(--ipl-ink);
    font-size: 14px;
    font-weight: 600;
}

.ipl-control {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 13px 16px;
    border: 1px solid #e0dbee;
    border-radius: 14px;
    background: #fbfaff;
    color: var(--ipl-ink);
    font: inherit;
    font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.ipl-control:focus {
    outline: none;
    border-color: var(--ipl-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .15);
}

textarea.ipl-control {
    resize: vertical;
    min-height: 110px;
}

.ipl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* honeypot field, invisible to people */
.ipl-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ipl-form-error {
    min-height: 0;
    margin: 0 0 12px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
}

.ipl-form-error:empty {
    display: none;
}

.ipl-form-done {
    display: none;
    padding: 24px 0;
    text-align: center;
}

.ipl-form-done .ipl-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
}

.ipl-form-done h3 {
    margin: 16px 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.ipl-form-done p {
    margin: 0;
    color: var(--ipl-muted);
}

.ipl-form.is-sent .ipl-form-fields {
    display: none;
}

.ipl-form.is-sent .ipl-form-done {
    display: block;
}

.ipl-form.is-sending .ipl-btn {
    opacity: .6;
    pointer-events: none;
}

/* ---------- Footer ---------- */

.ipl-footer {
    padding: 40px 0;
    border-top: 1px solid var(--ipl-line);
}

.ipl-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ipl-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ipl-footer-brand img {
    height: 30px;
}

.ipl-footer-brand span {
    color: var(--ipl-muted);
    font-size: 14px;
}

.ipl-footer-links {
    display: flex;
    gap: 24px;
}

.ipl-footer-links a {
    color: var(--ipl-text);
    font-size: 14px;
    text-decoration: none;
}

.ipl-footer-links a:hover {
    color: var(--ipl-primary);
}

.ipl-footer-copy {
    width: 100%;
    color: var(--ipl-muted);
    font-size: 13px;
}

/* ---------- Sign-in ---------- */

.ipl-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    background: #fff;
}

.ipl-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    overflow: hidden;
    background: var(--ipl-ink);
    color: #cfc8e6;
}

.ipl-auth-brand > :not(.ipl-glow) {
    position: relative;
}

.ipl-auth-logo img {
    display: block;
    height: 40px;
}

.ipl-auth-pitch {
    max-width: 440px;
}

.ipl-auth-pitch h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 800;
    line-height: 1.08;
}

.ipl-auth-pitch .ipl-gradient-text {
    background: linear-gradient(135deg, #c4b5fd, #f0abfc);
    -webkit-background-clip: text;
    background-clip: text;
}

.ipl-auth-pitch p {
    margin: 0 0 28px;
    color: #b7afd3;
    font-size: 17px;
}

.ipl-auth-pitch .ipl-checks {
    color: #e3ddf5;
    font-size: 15px;
}

.ipl-auth-pitch .ipl-checks i {
    background: rgba(255, 255, 255, .1);
    color: var(--ipl-amber);
}

.ipl-auth-foot {
    color: #8f87ab;
    font-size: 13px;
}

.ipl-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(192, 38, 211, .07), transparent 70%),
        #fff;
}

.ipl-auth-card {
    width: 100%;
    max-width: 400px;
}

.ipl-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--ipl-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.ipl-auth-back:hover {
    color: var(--ipl-primary);
    text-decoration: none;
}

.ipl-auth-mobile-logo {
    display: none;
    height: 34px;
    margin-bottom: 28px;
}

.ipl-auth-card h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
}

.ipl-auth-sub {
    margin: 0 0 32px;
    color: var(--ipl-muted);
}

.ipl-field {
    margin-bottom: 18px;
}

.ipl-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ipl-ink);
    font-size: 14px;
    font-weight: 600;
}

.ipl-input {
    position: relative;
}

.ipl-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a7a1bd;
    font-size: 15px;
    cursor: default !important;
    pointer-events: none;
}

.ipl-input .form-control {
    height: 52px;
    padding: 0 16px 0 44px;
    border: 1px solid #e0dbee;
    border-radius: 14px;
    background: #fbfaff;
    color: var(--ipl-ink);
    font-size: 15px;
}

.ipl-input .form-control:focus {
    background: #fff;
}

.ipl-input:focus-within i {
    color: var(--ipl-primary);
}

.ipl-login-form .ipl-btn {
    margin-top: 10px;
}

/* ---------- Loading / no-access screen ---------- */

.ipl-state {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(192, 38, 211, .12), transparent 70%),
        radial-gradient(700px 500px at 10% 100%, rgba(124, 58, 237, .12), transparent 70%),
        #faf9fe;
}

.ipl-state-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    border: 1px solid var(--ipl-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(76, 29, 149, .4);
    text-align: center;
}

.ipl-state-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.ipl-state h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.ipl-state p {
    margin: 0;
    color: var(--ipl-muted);
    font-size: 15px;
}

.ipl-state-actions {
    margin-top: 24px;
}

.ipl-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    border: 3px solid #ece6fd;
    border-top-color: var(--ipl-primary);
    border-radius: 50%;
    animation: ipl-spin .8s linear infinite;
}

@keyframes ipl-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .ipl-nav-inner {
        height: 64px;
    }

    .ipl-burger {
        display: inline-flex;
    }

    .ipl-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 20px;
        background: #fff;
        border-bottom: 1px solid var(--ipl-line);
        box-shadow: 0 24px 40px -24px rgba(20, 11, 36, .35);
        display: none;
    }

    .ipl-nav.is-open .ipl-menu {
        display: flex;
    }

    .ipl-menu a:not(.ipl-btn) {
        padding: 12px 4px;
        font-size: 16px;
    }

    .ipl-menu .ipl-btn {
        margin-top: 8px;
        padding: 12px 18px;
    }
}

@media (max-width: 1024px) {
    .ipl-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .ipl-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ipl-hero-copy {
        text-align: center;
    }

    .ipl-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .ipl-cta,
    .ipl-hero-copy .ipl-checks {
        justify-content: center;
    }

    .ipl-hero-visual {
        max-width: 620px;
        margin: 0 auto;
    }

    .ipl-auth {
        grid-template-columns: 1fr;
    }

    .ipl-auth-brand {
        display: none;
    }

    .ipl-auth-mobile-logo {
        display: block;
    }
}

@media (max-width: 760px) {
    .ipl-container {
        padding: 0 16px;
    }

    .ipl-hero {
        padding: 48px 0 72px;
    }

    .ipl-lead {
        font-size: 17px;
    }

    .ipl-cta .ipl-btn {
        width: 100%;
    }

    .ipl-hero-visual {
        padding: 20px 0 64px;
    }

    .ipl-window {
        transform: none;
    }

    .ipl-float-note {
        display: none;
    }

    .ipl-float-order {
        left: 8px;
        right: 8px;
        bottom: 0;
    }

    .ipl-section {
        padding: 72px 0;
    }

    .ipl-section-head {
        margin-bottom: 40px;
    }

    .ipl-features,
    .ipl-steps {
        grid-template-columns: 1fr;
    }

    .ipl-form {
        padding: 24px 20px;
    }

    .ipl-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ipl-benefits li {
        padding: 20px;
    }

    .ipl-footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ipl-site *,
    .ipl-site *::before,
    .ipl-site *::after,
    .ipl-state * {
        animation: none !important;
        transition: none !important;
    }

    .ipl-courier {
        display: none;
    }
}
