/* PPGL Compliance V2 — scoped styles; style.css loads first */
.compliance-page main {
  overflow: clip;
}
.compliance-page .cp-hero,
.compliance-page .cp-section {
  position: relative;
}
.cp-hero {
  background: linear-gradient(120deg, #06121f, #0c2740);
  color: #fff;
  padding: clamp(70px, 8vw, 112px) 0;
}
.cp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.cp-kicker {
  display: inline-block;
  font-size: 0.73rem;
  letter-spacing: 0.17em;
  font-weight: 900;
  color: #b38600;
  text-transform: uppercase;
}
.cp-hero .cp-kicker,
.cp-dark .cp-kicker {
  color: #ffda36;
}
.cp-hero h1 {
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin: 18px 0 24px;
  max-width: 750px;
}
.cp-hero h1 em {
  font-style: normal;
  color: #ffda36;
}
.cp-hero-grid > div > p:not(.cp-disclaimer) {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: #c4d2e3;
  max-width: 620px;
}
.cp-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.cp-text-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.cp-text-link:hover {
  text-decoration: underline;
}
.cp-disclaimer {
  font-size: 0.8rem;
  color: #aabed2;
  margin-top: 24px;
}
.cp-disclaimer i {
  color: #ffda36;
  margin-right: 6px;
}
.cp-hero-visual {
  position: relative;
  border: 1px solid #39516a;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px #0005;
}
.cp-hero-visual > img {
  display: block;
  width: 100%;
  height: clamp(320px, 36vw, 490px);
  object-fit: cover;
}
.cp-hero-visual-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #06121fe8;
  color: #fff;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  padding: 15px 18px;
  backdrop-filter: blur(12px);
}
.cp-hero-visual-caption > i {
  font-size: 1.5rem;
  color: #ffda36;
}
.cp-hero-visual-caption strong,
.cp-hero-visual-caption small {
  display: block;
}
.cp-hero-visual-caption small {
  color: #b5c7d8;
  font-size: 0.75rem;
  margin-top: 4px;
}
.cp-section {
  padding: clamp(64px, 7vw, 104px) 0;
}
.cp-light {
  background: #f5f7fb;
  color: #0b1827;
}
.cp-dark {
  background: #071522;
  color: #fff;
}
.cp-heading {
  max-width: 790px;
  margin-bottom: 38px;
}
.cp-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin: 12px 0 14px;
  color: inherit;
}
.cp-heading p {
  color: #52637a;
  line-height: 1.7;
  font-size: 1.02rem;
  margin: 0;
}
.cp-dark .cp-heading p {
  color: #afc0d1;
}
.cp-credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cp-credential {
  min-width: 0;
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 18px;
  padding: 23px;
  box-shadow: 0 12px 30px #172b4510;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.cp-credential:hover {
  transform: translateY(-4px);
  border-color: #e5b916;
}
.cp-credential-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.cp-credential-top img {
  height: 58px;
  width: 80px;
  object-fit: contain;
  object-position: left center;
}
.cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #ead98a;
  border-radius: 30px;
  padding: 6px 9px;
  color: #785b00;
  background: #fff8db;
  font-size: 0.67rem;
  font-weight: 700;
  text-align: center;
}
.cp-credential h3 {
  color: #0c1929;
  font-size: 1.13rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cp-credential p {
  color: #4e6074;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.cp-footnote {
  color: #607085;
  font-size: 0.78rem;
  margin: 22px 0 0;
  line-height: 1.6;
}
.cp-register-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}
.cp-register-menu {
  display: grid;
  align-content: start;
  gap: 12px;
}
.cp-tab {
  font: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 80px;
  padding: 18px;
  border: 1px solid #31455b;
  background: #102437;
  color: #e0e9f2;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}
.cp-tab > i:first-child {
  color: #ffda36;
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}
.cp-tab > i:last-child {
  margin-left: auto;
  font-size: 0.75rem;
}
.cp-tab.is-active {
  border-color: #ffda36;
  background: #1c3446;
  box-shadow: inset 4px 0 #ffda36;
}
.cp-tab:focus-visible {
  outline: 3px solid #ffda36;
  outline-offset: 3px;
}
.cp-register-panels {
  border: 1px solid #35495d;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
  background: #102437;
  min-height: 370px;
}
.cp-panel[hidden] {
  display: none !important;
}
.cp-panel h3 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 10px;
}
.cp-panel p {
  color: #b4c3d2;
  line-height: 1.6;
  margin: 0 0 22px;
}
.cp-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.cp-panel li {
  display: flex;
  gap: 12px;
  color: #e4ebf3;
  line-height: 1.5;
}
.cp-panel li::before {
  content: "✓";
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffda36;
  color: #071522;
  font-size: 0.8rem;
  font-weight: 900;
}
.cp-register-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid #34485b;
  margin-top: 28px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #aabbd0;
}
.cp-register-bottom a {
  color: #ffda36;
  font-weight: 700;
  text-decoration: none;
}
.cp-register-bottom i {
  margin-right: 5px;
}
.cp-controls-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}
.cp-control-wheel {
  width: min(100%, 440px);
  aspect-ratio: 1;
  position: relative;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(
    from -45deg,
    #ffdb37 0 23%,
    #071522 23% 25%,
    #efbe1a 25% 48%,
    #071522 48% 50%,
    #ffdb37 50% 73%,
    #071522 73% 75%,
    #efbe1a 75% 98%,
    #071522 98% 100%
  );
  border: 16px solid #071522;
  box-shadow: 0 25px 60px #12233b30;
}
.cp-wheel-center {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #071522;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  border: 8px solid #f5f7fb;
}
.cp-wheel-center i {
  color: #ffda36;
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cp-wheel-center strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
}
.cp-wheel-center span {
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  line-height: 1.4;
}
.cp-wheel-label {
  position: absolute;
  color: #071522;
  font-weight: 900;
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  z-index: 2;
}
.cp-wheel-1 {
  top: 17%;
  left: 50%;
  transform: translateX(-50%);
}
.cp-wheel-2 {
  top: 49%;
  right: 4%;
  transform: translateY(-50%);
}
.cp-wheel-3 {
  bottom: 17%;
  left: 50%;
  transform: translateX(-50%);
}
.cp-wheel-4 {
  top: 49%;
  left: 5%;
  transform: translateY(-50%);
}
.cp-control-list {
  display: grid;
  gap: 13px;
}
.cp-control-list article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 15px;
}
.cp-control-list article > span {
  flex: 0 0 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffda36;
  color: #071522;
  font-weight: 900;
}
.cp-control-list h3 {
  margin: 0 0 4px;
  color: #0b1827;
  font-size: 1.05rem;
}
.cp-control-list p {
  margin: 0;
  color: #506177;
  font-size: 0.87rem;
  line-height: 1.5;
}
.cp-cycle-note {
  text-align: center;
  color: #34465a;
  font-weight: 700;
  margin: 30px 0 0;
}
.cp-cycle-note i {
  color: #b58b00;
  margin-right: 7px;
}
.cp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cp-steps article {
  position: relative;
  border: 1px solid #35495d;
  border-radius: 17px;
  background: #102437;
  padding: 25px 20px;
}
.cp-steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 44%;
  color: #ffda36;
  font-size: 1.4rem;
  z-index: 2;
  font-weight: 900;
}
.cp-steps article > span {
  display: inline-grid;
  place-items: center;
  background: #ffda36;
  color: #071522;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-weight: 900;
}
.cp-steps article > i {
  display: block;
  color: #ffda36;
  font-size: 1.5rem;
  margin: 26px 0 14px;
}
.cp-steps h3 {
  font-size: 1.13rem;
  color: #fff;
  margin: 0 0 8px;
}
.cp-steps p {
  font-size: 0.87rem;
  line-height: 1.6;
  color: #b5c6d6;
  margin: 0;
}
.cp-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 22px;
  padding: clamp(24px, 4vw, 45px);
  margin-top: 65px;
  background: linear-gradient(115deg, #163249, #0d2538);
  border: 1px solid #45596a;
}
.cp-bottom-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  margin: 10px 0;
}
.cp-bottom-cta p {
  color: #b9c8d8;
  margin: 0;
}
.cp-bottom-cta .btn {
  flex-shrink: 0;
}
.cp-hero .btn-primary,
.cp-dark .btn-primary {
  color: #071522;
  background: #ffda36;
  border-color: #ffda36;
}
.cp-hero .btn-primary:hover,
.cp-dark .btn-primary:hover {
  background: #ffe66e;
}
/* Theme remains intentionally contrast-safe: light sections stay light, dark sections stay dark. */
@media (max-width: 1050px) {
  .cp-hero-grid,
  .cp-controls-layout {
    grid-template-columns: 1fr;
  }
  .cp-hero-visual {
    max-width: 700px;
  }
  .cp-credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cp-steps article::after {
    display: none;
  }
}
@media (max-width: 700px) {
  .cp-hero {
    padding: 60px 0;
  }
  .cp-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }
  .cp-credentials-grid,
  .cp-register-grid,
  .cp-steps {
    grid-template-columns: 1fr;
  }
  .cp-register-panels {
    min-height: 0;
  }
  .cp-tab {
    min-height: 65px;
  }
  .cp-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .cp-control-wheel {
    border-width: 10px;
  }
  .cp-wheel-center {
    border-width: 5px;
  }
  .cp-wheel-label {
    font-size: clamp(0.55rem, 2.4vw, 0.85rem);
  }
  .cp-credential {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cp-credential {
    transition: none;
  }
}
