/* ── Shared Inner Pages CSS (employer, compliance) ─────────────────── */

/* ── Hero Split ─────────────────────────────────────────────────────── */
.ip2-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 519px;
    overflow: hidden;
}
.ip2-hero-left {
    background: linear-gradient(135deg, #0b1f3a 0%, #0f2d55 60%, #0d2340 100%);
    display: flex; align-items: center;
    padding: 48px 60px 48px max(calc((100vw - 1200px)/2 + 24px), 40px);
    position: relative; overflow: hidden;
}
.ip2-hero-left::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 85% 30%, rgba(182,50,62,.22) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(99,102,241,.15) 0%, transparent 50%);
    pointer-events: none;
}
.ip2-hero-left::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ip2-hero-right {
    position: relative; overflow: hidden; min-height: 386px;
}
.ip2-hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.ip2-hero-right-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(11,31,58,.4) 0%, transparent 50%);
}
.ip2-hero-content { position: relative; z-index: 1; max-width: 540px; }

.ip2-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; padding: 6px 16px;
    font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.88);
    letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px;
}
.ip2-hero h1 {
    font-size: clamp(24px, 2.4vw, 38px); font-weight: 900;
    color: #fff; margin: 0 0 16px; line-height: 1.12; letter-spacing: -.3px;
}
.ip2-hl { color: #f87171; }
.ip2-hero p {
    font-size: clamp(14px, 1.3vw, 16px); color: rgba(255,255,255,.72);
    line-height: 1.7; margin: 0 0 28px;
}
.ip2-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }

.ip2-btn-primary {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 12px 24px; background: var(--vs-red); color: #fff;
    border-radius: 10px; font-weight: 800; font-size: 14.5px;
    text-decoration: none; transition: background .15s, transform .12s;
    box-shadow: 0 4px 14px rgba(182,50,62,.3);
}
.ip2-btn-primary:hover { background: #c0392b; transform: translateY(-2px); color: #fff; }
.ip2-btn-outline {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px; border: 2px solid rgba(255,255,255,.4);
    color: #fff; border-radius: 10px; font-weight: 700; font-size: 14.5px;
    text-decoration: none; transition: border-color .15s, background .15s;
}
.ip2-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.ip2-section { padding: 88px 0; }
.ip2-section--soft { background: #f4f7fa; }
.ip2-section--navy {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a3a5c 100%);
    color: #fff;
}

.ip2-heading { margin-bottom: 52px; }
.ip2-heading--center { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.ip2-heading h2 {
    font-size: clamp(26px, 3vw, 38px); font-weight: 900;
    color: var(--vs-navy); margin: 10px 0 12px; line-height: 1.2;
}
.ip2-heading--navy h2 { color: #fff; }
.ip2-heading p { font-size: 17px; color: var(--vs-muted); line-height: 1.65; margin: 0; }
.ip2-heading--navy p { color: rgba(255,255,255,.68); }

/* ── Cards grid ──────────────────────────────────────────────────────── */
.ip2-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.ip2-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ip2-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.ip2-card {
    background: #fff; border: 1.5px solid #e8ecf4; border-radius: 16px;
    padding: 28px 24px; transition: box-shadow .2s, transform .18s;
}
.ip2-card:hover { box-shadow: 0 10px 32px rgba(11,31,58,.1); transform: translateY(-4px); }
.ip2-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.ip2-card h3 { font-size: 15.5px; font-weight: 800; color: var(--vs-navy); margin: 0 0 10px; }
.ip2-card p { font-size: 14px; color: var(--vs-muted); line-height: 1.65; margin: 0; }

/* ── Split layout ─────────────────────────────────────────────────────── */
.ip2-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.ip2-split-text h2 {
    font-size: clamp(24px, 2.8vw, 36px); font-weight: 900;
    color: var(--vs-navy); margin: 10px 0 16px; line-height: 1.2;
}
.ip2-split-text p {
    font-size: 16px; color: var(--vs-muted); line-height: 1.75; margin: 0 0 14px;
}
.ip2-split-text p strong { color: var(--vs-navy); }
.ip2-split-img img {
    width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(11,31,58,.14);
}
.ip2-split-img-left img { border-radius: 18px; }

/* ── Checklist ───────────────────────────────────────────────────────── */
.ip2-checklist { list-style: none; margin: 16px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ip2-checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: #374151; line-height: 1.6;
}
.ip2-checklist li::before {
    content: '';
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
    background: var(--vs-red);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l4 4 6-7' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.ip2-checklist li strong { color: var(--vs-navy); }

/* ── Plan cards ──────────────────────────────────────────────────────── */
.ip2-plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ip2-plan {
    background: #fff; border: 1.5px solid #e8ecf4; border-radius: 18px;
    padding: 32px 28px; position: relative;
    transition: box-shadow .2s, transform .18s;
}
.ip2-plan:hover { box-shadow: 0 12px 40px rgba(11,31,58,.12); transform: translateY(-4px); }
.ip2-plan--featured {
    border-color: var(--vs-red); border-width: 2px;
}
.ip2-plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--vs-red); color: #fff;
    font-size: 11px; font-weight: 900; padding: 4px 14px;
    border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
    white-space: nowrap;
}
.ip2-plan h3 { font-size: 20px; font-weight: 900; color: var(--vs-navy); margin: 0 0 6px; }
.ip2-plan > p { font-size: 14px; color: var(--vs-muted); margin: 0 0 20px; }
.ip2-plan-divider { height: 1.5px; background: #f0f2f7; margin: 0 0 18px; }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.ip2-cta {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a3a5c 100%);
    padding: 80px 0; text-align: center;
}
.ip2-cta h2 {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
    color: #fff; margin: 0 0 14px; letter-spacing: -.3px;
}
.ip2-cta p { font-size: 17px; color: rgba(255,255,255,.68); margin: 0 0 36px; line-height: 1.6; }
.ip2-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ip2-btn-cta {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 14px 30px; background: var(--vs-red); color: #fff;
    border-radius: 10px; font-weight: 800; font-size: 16px;
    text-decoration: none; transition: background .15s, transform .12s;
    box-shadow: 0 4px 16px rgba(182,50,62,.3);
}
.ip2-btn-cta:hover { background: #c0392b; transform: translateY(-2px); color: #fff; }
.ip2-btn-cta-ghost {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 12px 26px; border: 2px solid rgba(255,255,255,.35);
    color: #fff; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-decoration: none; transition: border-color .15s, background .15s;
}
.ip2-btn-cta-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── Navy outline button (for light backgrounds) ─────────────────────── */
.ip2-btn-outline-navy {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px; border: 2px solid var(--vs-navy);
    color: var(--vs-navy); border-radius: 10px; font-weight: 700; font-size: 14.5px;
    text-decoration: none; transition: background .15s, color .15s;
}
.ip2-btn-outline-navy:hover { background: var(--vs-navy); color: #fff; }

/* ── Industries chip grid ────────────────────────────────────────────── */
.ip2-industries-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 28px;
}
.ip2-industry-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; background: var(--vs-soft); border-radius: 9px;
    font-weight: 600; font-size: 13.5px; color: var(--vs-navy);
    border: 1.5px solid #e8ecf4;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ip2-grid-4 { grid-template-columns: repeat(2,1fr); }
    .ip2-grid-3 { grid-template-columns: repeat(2,1fr); }
    .ip2-plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 1024px) {
    .ip2-hero { grid-template-columns: 1fr; height: auto; }
    .ip2-hero-right { min-height: 414px; }
    .ip2-hero-left { padding: 56px 40px; }
}
@media (max-width: 768px) {
    .ip2-split { grid-template-columns: 1fr; gap: 40px; }
    .ip2-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ip2-hero-left { padding: 48px 24px; }
    .ip2-grid-3 { grid-template-columns: 1fr; }
    .ip2-section { padding: 56px 0; }
}
