:root {
  --ip-red: #ce202f;
  --ip-red-dark: #a81924;
  --ip-navy: #14202e;
  --ip-slate: #2c3f57;
  --ip-ink: #1a2433;
  --ip-muted: #55627a;
  --ip-soft: #f4f6f9;
}

.ip-page p { font-size: 1rem; color: var(--ip-muted); }
.ip-page h1, .ip-page h2 { font-weight: 800; letter-spacing: -.02em; color: var(--ip-ink); }
.ip-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
.ip-page h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--ip-ink); }
.ip-soft { background: var(--ip-soft); }
.ip-head { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
.ip-head p { margin: .75rem 0 0; }

/* Buttons */
.ip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.5rem; border: 2px solid var(--ip-red); border-radius: 8px;
  background: var(--ip-red); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ip-btn:hover, .ip-btn:focus-visible { border-color: var(--ip-red-dark); background: var(--ip-red-dark); color: #fff; }
.ip-btn i { font-size: .8em; transition: transform .2s ease; }
.ip-btn:hover i { transform: translateX(3px); }
.ip-btn-light { border-color: rgba(255,255,255,.65); background: transparent; }
.ip-btn-light:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }
.ip-btn-outline { background: transparent; color: var(--ip-red); }
.ip-btn-outline:hover, .ip-btn-outline:focus-visible { border-color: var(--ip-red); background: var(--ip-red); color: #fff; }
.ip-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero */
.ip-hero { background: radial-gradient(800px 380px at 90% 20%, rgba(206,32,47,.35), transparent 70%), linear-gradient(120deg, var(--ip-navy), var(--ip-slate)); }
.ip-page .ip-hero h1 { margin: 0 0 .75rem; color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; }
.ip-page .ip-hero .ip-sub { margin: 0 0 1rem; color: #fff; font-size: 1.3rem; font-weight: 700; }
.ip-page .ip-hero p { color: #d3dbe8; font-size: 1.05rem; }
.ip-page .ip-hero .ip-btns { margin-top: 1.75rem; }
.ip-hero-img { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; }

/* Any user / device */
.ip-group-title { margin: 0 0 1rem; color: var(--ip-red); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ip-tile { height: 100%; display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.25rem .75rem; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 6px 22px rgba(20,32,46,.08); }
.ip-tile img { width: 36px; height: 36px; }
.ip-tile span { color: var(--ip-ink); font-size: .88rem; font-weight: 700; line-height: 1.3; }

/* Cards */
.ip-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(20,32,46,.1); transition: transform .3s ease, box-shadow .3s ease; }
.ip-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(20,32,46,.18); }
.ip-img-wrapper { flex: none; }
.ip-img-wrapper img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; display: block; }
.ip-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.ip-text-wrapper { flex: 1; margin-bottom: 1rem; }
.ip-page .ip-card h3 { margin-bottom: .45rem; }
.ip-page .ip-card p { margin: 0; font-size: .88rem; line-height: 1.55; }

/* Products */
.ip-prod-wrapper { display: flex; align-items: center; justify-content: center; height: 190px; padding: .75rem; background: linear-gradient(135deg, #f4f6f9, #e6ebf1); }
.ip-prod-wrapper img { width: auto; max-width: 100%; height: auto; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.ip-page .ip-card h3 { font-size: 1rem; }

/* Research */
.ip-research-img { width: 100%; max-width: 230px; height: auto; display: block; margin: 0 auto; border-radius: 12px; box-shadow: 0 20px 44px rgba(20,32,46,.3); }
.ip-research { background: radial-gradient(700px 320px at 20% 0, rgba(206,32,47,.3), transparent 70%), var(--ip-navy); }
.ip-page .ip-research h2 { color: #fff; }
.ip-page .ip-research p { color: #d3dbe8; }
.ip-page .ip-research .ip-eyebrow { margin: 0 0 .5rem; color: #ff8a94; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Trust */
.ip-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.ip-badges img { height: 84px; width: auto; max-width: 140px; object-fit: contain; }

/* CTA */
.ip-cta { background: #fbeff0; }
.ip-page .ip-cta h2 { margin-bottom: .5rem; }
.ip-page .ip-cta p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .ip-btn, .ip-btn i, .ip-card { transition: none; }
}
