/* ============================================================
   LEGAL / POLICY / FOOTER INFO PAGES — unique variants
   ============================================================ */

.lp-page {
  --lp-navy: #0b2147;
  --lp-sky: #3d7ea6;
  --lp-amber: #e8913a;
  --lp-ink: #1a2744;
  --lp-mute: #536274;
  --lp-shell: 1320px;
  --lp-gutter: clamp(20px, 5vw, 64px);
  background: #fff;
  color: var(--lp-ink);
  overflow-x: clip;
}

.lp-shell {
  width: 100%;
  max-width: var(--lp-shell);
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
  position: relative;
  z-index: 1;
}

.lp-section {
  position: relative;
  padding-block: clamp(56px, 8vw, 100px);
}

.lp-accent {
  color: var(--lp-amber);
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-slide-left {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes lp-slide-down {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-pop {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes lp-wipe {
  from { opacity: 0; clip-path: inset(0 40% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-mesh {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 42px, 42px 42px; }
}

@keyframes lp-pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 145, 58, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(232, 145, 58, 0); }
}

@keyframes lp-rail-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Hero */

.lp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(64px, 10vw, 110px) clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
}

.lp-hero > .lp-hero__sonar {
  position: absolute;
  inset: 0;
  z-index: 0;
  --sonar-grid-color: #9bb8cf;
}

.lp-hero__content {
  position: relative;
  z-index: 1;
}

.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--lp-mute);
}

.lp-breadcrumb a {
  color: var(--lp-navy) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.lp-breadcrumb a:hover {
  color: var(--lp-amber) !important;
}

.lp-hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--lp-navy);
  margin: 0 0 18px;
}

.lp-hero__rule {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8913a 0%, #3d7ea6 100%);
  margin-bottom: 20px;
}

.lp-hero__lead {
  margin: 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--lp-mute);
}

/* Body */

.lp-body {
  overflow: hidden;
  background:
    radial-gradient(46% 40% at 0% 0%, rgba(232, 145, 58, 0.1) 0%, transparent 58%),
    radial-gradient(46% 40% at 100% 100%, rgba(61, 126, 166, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f7f4ed 0%, #f4f8fc 100%);
}

.lp-body__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 33, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 33, 71, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  animation: lp-mesh 28s linear infinite;
}

/* Shared panel base */

.lp-panel {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 33, 71, 0.1);
  box-shadow: 0 24px 52px rgba(26, 39, 68, 0.09);
  overflow: hidden;
}

.lp-content > * {
  position: relative;
  z-index: 1;
}

.lp-panel p,
.lp-panel li {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--lp-mute);
}

.lp-panel p {
  margin-bottom: 1rem;
}

.lp-panel h5,
.lp-panel h6,
.lp-panel h4,
.lp-panel h3,
.lp-panel h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  color: var(--lp-navy) !important;
  letter-spacing: -0.2px;
  margin-top: 1.6rem !important;
  margin-bottom: 0.85rem !important;
}

.lp-panel h5 {
  font-size: clamp(20px, 2.4vw, 24px) !important;
}

.lp-panel h6 {
  font-size: 17px !important;
}

.lp-panel ul,
.lp-panel ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.lp-panel li {
  margin-bottom: 0.55rem;
}

.lp-panel li::marker {
  color: var(--lp-amber);
}

.lp-panel a {
  color: var(--lp-sky) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-panel a:hover {
  color: var(--lp-amber) !important;
}

.lp-panel strong {
  color: var(--lp-ink);
}

/* ---- stack (Our Fees): rise + left gradient ---- */
.lp-panel--stack {
  /* max-width: 920px; */
  margin-inline: auto;
  animation: lp-rise 0.75s ease both;
}
.lp-panel--stack::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #e8913a 0%, #3d7ea6 55%, #0b2147 100%);
}
.lp-page--stack .lp-content p {
  animation: lp-fade-up 0.55s ease both;
}
.lp-page--stack .lp-content p:nth-of-type(1) { animation-delay: 40ms; }
.lp-page--stack .lp-content p:nth-of-type(2) { animation-delay: 90ms; }
.lp-page--stack .lp-content p:nth-of-type(3) { animation-delay: 140ms; }

/* ---- split (Accessibility): aside + slide ---- */
.lp-split {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 992px) {
  .lp-split {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 36px;
  }
}
.lp-split__aside {
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #0b2147 0%, #123a5c 100%);
  color: #fff;
  animation: lp-slide-left 0.7s ease both;
  box-shadow: 0 18px 40px rgba(11, 33, 71, 0.2);
}
.lp-split__title {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.lp-split__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.lp-panel--split {
  animation: lp-rise 0.8s ease both;
  animation-delay: 100ms;
}
.lp-panel--split::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 126, 166, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- tiles (Modern Slavery): pop cards feel ---- */
.lp-panel--tiles {
  max-width: 980px;
  margin-inline: auto;
  border-top: 4px solid #3d7ea6;
  animation: lp-pop 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
.lp-page--tiles .lp-content h5 {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(61, 126, 166, 0.1);
  animation: lp-pop 0.5s ease both;
}

/* ---- alert (Scam): warning banner pulse ---- */
.lp-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(232, 145, 58, 0.12);
  border: 1px solid rgba(232, 145, 58, 0.35);
  animation: lp-slide-down 0.55s ease both, lp-pulse-soft 2.8s ease-in-out 0.6s infinite;
}
.lp-alert__badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8913a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-alert p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--lp-ink);
}
.lp-panel--alert {
  animation: lp-rise 0.7s ease both;
  animation-delay: 120ms;
  border-left: 4px solid #e8913a;
}

/* ---- ledger (Terms): wipe + ruled top ---- */
.lp-panel--ledger {
  max-width: 900px;
  margin-inline: auto;
  border-radius: 8px 8px 24px 24px;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(11, 33, 71, 0.035) 31px,
      rgba(11, 33, 71, 0.035) 32px
    ),
    #fff;
  animation: lp-wipe 0.85s ease both;
}
.lp-panel--ledger::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(90deg, #0b2147 0%, #3d7ea6 50%, #e8913a 100%);
}

/* ---- rail (Privacy): vertical dots track ---- */
.lp-rail {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .lp-rail {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 28px;
  }
}
.lp-rail__track {
  display: none;
}
@media (min-width: 900px) {
  .lp-rail__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 28px;
  }
  .lp-rail__track span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e8913a;
    animation: lp-rail-glow 2.4s ease-in-out infinite;
  }
  .lp-rail__track span:nth-child(2) {
    background: #3d7ea6;
    animation-delay: 0.4s;
  }
  .lp-rail__track span:nth-child(3) {
    background: #0b2147;
    animation-delay: 0.8s;
  }
}
.lp-panel--rail {
  animation: lp-rise 0.75s ease both;
}

/* ---- chips (Cookie): bounce chips ---- */
.lp-chips {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 33, 71, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-navy);
  box-shadow: 0 8px 18px rgba(26, 39, 68, 0.06);
  animation: lp-pop 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
  animation-delay: var(--lp-chip-delay, 0ms);
}
.lp-panel--chips {
  animation: lp-rise 0.7s ease both;
  animation-delay: 100ms;
  border-top: 3px solid #e8913a;
}

/* ---- steps (Complaints): cascade steps ---- */
.lp-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.lp-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 33, 71, 0.1);
  box-shadow: 0 12px 28px rgba(26, 39, 68, 0.06);
  animation: lp-rise 0.6s ease both;
  animation-delay: var(--lp-step-delay, 0ms);
}
.lp-step__num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #e8913a;
}
.lp-step:nth-child(2) .lp-step__num { color: #3d7ea6; }
.lp-step:nth-child(3) .lp-step__num { color: #0b2147; }
.lp-step__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
  line-height: 1.35;
}
.lp-panel--steps {
  animation: lp-rise 0.75s ease both;
  animation-delay: 160ms;
}

/* ---- dock (Data Protection): top dock slide ---- */
.lp-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(11, 33, 71, 0.1);
  box-shadow: 0 14px 32px rgba(26, 39, 68, 0.07);
  animation: lp-slide-down 0.6s ease both;
}
.lp-dock__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e8913a;
  margin-bottom: 4px;
}
.lp-dock strong {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--lp-navy);
}
.lp-dock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.lp-dock__actions a {
  color: var(--lp-sky) !important;
  font-weight: 600;
  text-decoration: none !important;
}
.lp-dock__actions a:hover {
  color: var(--lp-amber) !important;
}
.lp-panel--dock {
  animation: lp-rise 0.75s ease both;
  animation-delay: 120ms;
}

/* ---- narrow (Disclaimer): centered soft fade ---- */
.lp-narrow {
  display: flex;
  justify-content: center;
}
.lp-panel--narrow {
  max-width: 640px;
  text-align: left;
  border-radius: 32px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(232, 145, 58, 0.1) 0%, transparent 55%),
    #fff;
  animation: lp-fade-up 0.9s ease both;
}
.lp-page--narrow .lp-content p {
  font-size: 16px;
  animation: lp-fade-up 0.6s ease both;
}
.lp-page--narrow .lp-content p:nth-of-type(1) { animation-delay: 80ms; }
.lp-page--narrow .lp-content p:nth-of-type(2) { animation-delay: 140ms; }
.lp-page--narrow .lp-content p:nth-of-type(3) { animation-delay: 200ms; }
.lp-page--narrow .lp-content p:nth-of-type(4) { animation-delay: 260ms; }

@media (prefers-reduced-motion: reduce) {
  .lp-body__mesh,
  .lp-panel,
  .lp-split__aside,
  .lp-alert,
  .lp-chip,
  .lp-step,
  .lp-dock,
  .lp-rail__track span,
  .lp-content p,
  .lp-content h5 {
    animation: none !important;
  }
}
