.ipg {
  --ipg: #e85d2a;
  --ipg-sky: #2aa8c7;
  --ipg-sun: #f2b01c;
  --ipg-leaf: #3aaa6a;
  --ipg-ink: #1f2430;
  --ipg-muted: rgba(31, 36, 48, 0.58);
  --ipg-line: rgba(232, 93, 42, 0.16);
  --ipg-soft: #fff4ec;
  background: #fff;
  color: var(--ipg-ink);
}
.ipg-inner { width: 100%; max-width: 1160px; margin: 0 auto; }
.ipg-sec { padding: 72px 24px; }
.ipg-sec--soft { background: var(--ipg-soft); }
.ipg-sec--path {
  background: linear-gradient(120deg, #fff4ec 0%, #eaf7fb 50%, #fff8dd 100%);
}
.ipg-sec h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.ipg-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.ipg-hero-bg,
.ipg-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ipg-hero-bg img { object-fit: cover; object-position: 60% 35%; }
.ipg-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 40%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0.04) 100%);
}
.ipg-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 540px);
  gap: 24px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px 60px;
  min-height: 640px;
}
.ipg-crumb { margin-bottom: 16px; font-size: 13px; color: var(--ipg-muted); }
.ipg-crumb a { color: inherit; }
.ipg-crumb span { margin: 0 6px; }
.ipg-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.ipg-hero-copy h1 em { font-style: normal; color: var(--ipg); }
.ipg-hero-sub {
  margin: 0 0 18px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ipg-muted);
}
.ipg-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.ipg-dots li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.ipg-dots li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ipg);
}
.ipg-dots li:nth-child(2)::before { background: var(--ipg-sky); }
.ipg-dots li:nth-child(3)::before { background: var(--ipg-sun); }
.ipg-dots li:nth-child(4)::before { background: var(--ipg-leaf); }
.ipg-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ipg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--ipg);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.ipg-btn:hover { color: #fff; filter: brightness(1.05); }
.ipg-link { font-size: 15px; font-weight: 700; color: var(--ipg); }
.ipg-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--ipg-muted);
}

.ipg-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.ipg-bento article {
  padding: 20px 20px 16px;
  border-radius: 22px;
  background: #fff4ec;
}
.ipg-bento .is-wide {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ipg-line);
}
.ipg-bento .is-tall {
  grid-column: 3;
  grid-row: 1 / 3;
  background: #eaf7fb;
}
.ipg-bento article:nth-child(3) { background: #fff8dd; }
.ipg-bento article:nth-child(4) { background: #eef8f1; }
.ipg-bento span { color: var(--ipg); font-size: 12px; font-weight: 800; }
.ipg-bento h3 { margin: 8px 0 8px; font-size: 20px; font-weight: 800; }
.ipg-bento p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ipg-muted); }
.ipg-bento img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
}

.ipg-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ipg-path li {
  padding: 18px 14px;
  border-radius: 18px;
  background: #fff;
}
.ipg-path li:nth-child(1) { border-top: 5px solid var(--ipg); }
.ipg-path li:nth-child(2) { border-top: 5px solid var(--ipg-sky); }
.ipg-path li:nth-child(3) { border-top: 5px solid var(--ipg-sun); }
.ipg-path li:nth-child(4) { border-top: 5px solid var(--ipg-leaf); }
.ipg-path li:nth-child(5) { border-top: 5px solid #8b5cf6; }
.ipg-path strong { display: block; margin-bottom: 8px; font-size: 15px; }
.ipg-path span { font-size: 13px; line-height: 1.55; color: var(--ipg-muted); }

.ipg-plays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ipg-plays article {
  padding: 20px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ipg-line);
}
.ipg-plays span { color: var(--ipg); font-size: 13px; font-weight: 800; }
.ipg-plays h3 { margin: 8px 0 8px; font-size: 18px; }
.ipg-plays p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--ipg-muted); }
.ipg-plays a { font-weight: 700; color: var(--ipg); }

.ipg-coupons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ipg-coupons article {
  padding: 20px 16px 8px;
  border-radius: 22px;
  color: #fff;
}
.ipg-coupons .is-a { background: var(--ipg); }
.ipg-coupons .is-b { background: var(--ipg-sky); }
.ipg-coupons .is-c { background: #d49212; }
.ipg-coupons .is-d { background: var(--ipg-leaf); }
.ipg-coupons h3 { margin: 0 0 14px; font-size: 17px; }
.ipg-coupons dl { margin: 0; }
.ipg-coupons div { margin-bottom: 10px; }
.ipg-coupons dt { font-size: 12px; opacity: 0.78; }
.ipg-coupons dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; }

.ipg-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.ipg-steps span { display: block; margin-bottom: 12px; color: var(--ipg); font-weight: 800; }
.ipg-steps img {
  width: min(100%, 220px);
  border-radius: 22px;
  box-shadow: 0 16px 28px rgba(31, 36, 48, 0.12);
}
.ipg-steps strong { display: block; margin-top: 14px; font-size: 16px; }

.ipg-views { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.ipg-views .iphone { width: min(32%, 200px); }
.ipg-views .iphone-body { max-width: none; }

.ipg-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ipg-scenes article {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--ipg-line);
}
.ipg-scenes img { width: 100%; height: 168px; object-fit: cover; }
.ipg-scenes span,
.ipg-scenes h3,
.ipg-scenes p { display: block; margin-left: 16px; margin-right: 16px; }
.ipg-scenes span { margin-top: 14px; color: var(--ipg); font-size: 12px; font-weight: 800; }
.ipg-scenes h3 { margin-top: 6px; margin-bottom: 8px; font-size: 18px; }
.ipg-scenes p { margin-bottom: 16px; font-size: 14px; line-height: 1.65; color: var(--ipg-muted); }

.ipg-faq-wrap { max-width: 760px; }
.ipg-faq-wrap h2 { text-align: left; }
.ipg-faq details { border-bottom: 1px solid var(--ipg-line); }
.ipg-faq summary {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.ipg-faq summary::-webkit-details-marker { display: none; }
.ipg-faq summary::after { content: "+"; float: right; color: var(--ipg); }
.ipg-faq details[open] summary::after { content: "×"; }
.ipg-faq p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--ipg-muted); }
.ipg-more { margin: 28px 0 0; text-align: center; }
.ipg-more a { font-weight: 700; color: var(--ipg); }

@media (max-width: 1080px) {
  .ipg-hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .ipg-bento,
  .ipg-bento .is-wide,
  .ipg-path,
  .ipg-plays,
  .ipg-coupons,
  .ipg-scenes { grid-template-columns: 1fr; }
  .ipg-bento .is-tall { grid-column: auto; grid-row: auto; }
  .ipg-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ipg-sec { padding: 48px 16px; }
}
