.ipa-page {
  --ipa-ink: #182331;
  --ipa-muted: #5f6f7c;
  --ipa-line: #dbe3ea;
  --ipa-paper: #ffffff;
  --ipa-soft: #eef4f3;
  --ipa-panel: #f6f9fb;
  --ipa-panel-dark: #17202d;
  --ipa-warm: rgba(241, 115, 31, 0.16);
  --ipa-shadow: 0 20px 52px rgba(16, 24, 40, 0.10);
  --ipa-radius-xl: 28px;
  --ipa-radius-lg: 20px;
  --ipa-radius-md: 16px;
}

.ipa-page .container {
  position: relative;
  z-index: 1;
}

.ipa-page h2 {
  color: var(--ipa-ink);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  margin: 0;
}

.ipa-section-head {
  margin-bottom: 24px;
}

.ipa-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 34px;
  background:
    radial-gradient(circle at top left, rgba(241, 115, 31, 0.15), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(86, 164, 154, 0.18), transparent 28%),
    linear-gradient(180deg, #f7fafb 0%, #edf4f1 100%);
}

.ipa-hero::before {
  content: "";
  position: absolute;
  inset: auto auto 22% -8%;
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 142, 255, 0.10), transparent 66%);
  pointer-events: none;
}

.ipa-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 36px;
  transform: rotate(22deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.ipa-hero__shell {
  position: relative;
}

.ipa-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.ipa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 30px rgba(18, 26, 35, 0.06);
  color: #9a4d10;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ipa-hero__title {
  max-width: 9ch;
  margin: 0 0 14px;
  color: var(--ipa-ink);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.ipa-hero__subtitle {
  max-width: 60ch;
  margin: 0;
  color: var(--ipa-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.68;
}

.ipa-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ipa-page .btn-primary,
.ipa-page .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ipa-page .btn-primary {
  background: linear-gradient(180deg, #ef7c2d, #e86816);
  color: #fff;
  box-shadow: 0 18px 30px rgba(232, 104, 22, 0.22);
}

.ipa-page .btn-primary:hover,
.ipa-page .btn-primary:focus-visible,
.ipa-page .btn-secondary:hover,
.ipa-page .btn-secondary:focus-visible {
  transform: translateY(-1px);
}

.ipa-page .btn-secondary {
  color: var(--ipa-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 35, 49, 0.08);
  box-shadow: 0 14px 28px rgba(18, 26, 35, 0.06);
}

.ipa-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ipa-hero__meta .pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(18, 26, 35, 0.07);
  color: var(--ipa-ink);
  font-size: 13px;
  font-weight: 800;
}

.ipa-console__frame {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--ipa-radius-xl);
  background:
    linear-gradient(180deg, rgba(21, 31, 44, 0.96), rgba(30, 43, 60, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: var(--ipa-shadow);
}

.ipa-console__frame::before {
  content: "";
  position: absolute;
  inset: 22px auto auto 24px;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(241, 115, 31, 0.18), transparent 70%);
  pointer-events: none;
}

.ipa-console__frame::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 200, 176, 0.16), transparent 68%);
  pointer-events: none;
}

.ipa-console__rail {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 4px 0 24px 0;
}

.ipa-console__rail::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08));
}

.ipa-console__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ipa-console__step-dot {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #ef7c2d 0, #ef7c2d 28%, rgba(239, 124, 45, 0.18) 29%, rgba(239, 124, 45, 0.18) 100%);
}

.ipa-console__step-title {
  color: #f7fafc;
  font-size: 15px;
  font-weight: 800;
}

.ipa-console__step-node {
  margin-top: 4px;
  color: rgba(230, 238, 244, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.ipa-console__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ipa-stat {
  padding: 16px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.ipa-stat__value {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.ipa-stat__label {
  margin-top: 6px;
  color: rgba(230, 238, 244, 0.74);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.ipa-swim {
  position: relative;
  padding: 28px 0 18px;
}

.ipa-process-board {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--ipa-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 249, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  border: 1px solid rgba(24, 35, 49, 0.06);
  box-shadow: var(--ipa-shadow);
}

.ipa-process-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24,35,49,0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24,35,49,0.02) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
}

.lanes {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.lane {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 35, 49, 0.06);
}

.lane-head {
  position: relative;
  padding-left: 18px;
  color: var(--ipa-ink);
  font-size: 18px;
  font-weight: 800;
}

.lane-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef7c2d;
  transform: translateY(-50%);
  box-shadow: 0 0 0 7px rgba(239, 124, 45, 0.12);
}

.lane-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.node {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 16px 16px 16px 44px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(24, 35, 49, 0.08);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
  color: var(--ipa-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.node::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(239, 124, 45, 0.22), rgba(239, 124, 45, 0.10));
  border: 1px solid rgba(239, 124, 45, 0.22);
  transform: translateY(-50%);
}

.ipa-playbooks {
  padding: 18px 0;
}

.accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.acc {
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 252, 1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  border: 1px solid rgba(24, 35, 49, 0.07);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.acc[open],
.acc:hover,
.acc.focus {
  transform: translateY(-2px);
  border-color: rgba(239, 124, 45, 0.22);
  box-shadow: 0 24px 42px rgba(16, 24, 40, 0.11);
}

.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc-title {
  color: var(--ipa-ink);
  font-size: 22px;
  line-height: 1.08;
  font-weight: 800;
}

.acc-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 32, 45, 0.06);
  color: var(--ipa-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acc-body {
  padding: 0 24px 24px;
  color: var(--ipa-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ipa-results {
  padding: 20px 0 24px;
}

.ipa-results__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.ipa-metrics,
.ipa-govern {
  padding: 28px;
  border-radius: var(--ipa-radius-xl);
  box-shadow: var(--ipa-shadow);
}

.ipa-metrics {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,252,1));
  border: 1px solid rgba(24, 35, 49, 0.07);
}

.metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(239, 124, 45, 0.08), rgba(239, 124, 45, 0.03));
  border: 1px solid rgba(239, 124, 45, 0.12);
}

.m-value {
  color: var(--ipa-ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.m-label {
  margin-top: 8px;
  color: var(--ipa-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.ipa-govern {
  background:
    radial-gradient(circle at top left, rgba(241, 115, 31, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(21, 31, 44, 0.98), rgba(27, 40, 58, 0.98));
  color: #fff;
}

.ipa-govern h2 {
  color: #fff;
}

.govern-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.govern-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(239, 244, 248, 0.90);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.govern-list strong {
  color: #ffb16e;
}

.ipa-cta {
  padding: 8px 0 64px;
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 30px;
  border-radius: calc(var(--ipa-radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #eb6d1b, #ee8a3d 54%, #f4a363 100%);
  color: #fff;
  box-shadow: 0 28px 52px rgba(232, 104, 22, 0.22);
}

.panel h2 {
  color: #fff;
}

.panel p {
  max-width: 54ch;
  margin: 12px 0 0;
  color: rgba(255, 246, 239, 0.92);
  font-size: 17px;
  line-height: 1.7;
}

.panel .btn-primary {
  margin-top: 22px;
  background: #fff;
  color: #d56010;
  box-shadow: 0 16px 28px rgba(130, 52, 5, 0.14);
}

.panel__flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.panel__chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff9f5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .ipa-hero__grid,
  .ipa-results__grid,
  .panel {
    grid-template-columns: 1fr;
  }

  .panel__flow {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .accordion,
  .metrics-ribbon {
    grid-template-columns: 1fr;
  }

  .lane {
    grid-template-columns: 1fr;
  }

  .lane-track {
    grid-template-columns: 1fr;
  }

  .ipa-hero {
    padding-top: 60px;
  }

  .ipa-process-board,
  .ipa-metrics,
  .ipa-govern,
  .panel,
  .ipa-console__frame {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .ipa-hero__title {
    max-width: none;
  }

  .ipa-page .btn-primary,
  .ipa-page .btn-secondary {
    width: 100%;
  }

  .ipa-hero__ctas,
  .ipa-hero__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .ipa-hero__meta .pill,
  .panel__chip,
  .acc-meta {
    width: fit-content;
  }

  .ipa-console__stats {
    grid-template-columns: 1fr;
  }
}
