/* =========================================================================
   PolicyPoint — shared stylesheet
   Tailwind (CDN) handles utility classes; this file holds the design
   system pieces Tailwind utilities can't express cleanly: the CSS-only
   logo mark, the radar signature element, ambient background motion,
   and a handful of reusable component classes.
   ========================================================================= */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.pp-page-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(15, 159, 145, 0.14), transparent 32%),
    linear-gradient(135deg, #102536 0%, #0b1c2a 52%, #07131d 100%);
}

.pp-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 221, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 221, 235, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
  pointer-events: none;
}

.pp-page-hero>* {
  position: relative;
  z-index: 1;
}

/* Home footer system shared by every page. */
.pp-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(15, 159, 145, .07), transparent 28%),
    #02070C;
}

.pp-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 50px;
}

.pp-footer-title {
  color: #f1f5f9;
  font: 600 11px "IBM Plex Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pp-footer-link {
  color: #8ea3b0;
  font-size: 13px;
  transition: color .2s ease;
}

.pp-footer-link:hover {
  color: #f1f5f9;
}

.pp-footer-bottom {
  border-top: 1px solid #1c3442;
}

.pp-footer-note {
  max-width: 780px;
  color: #708591;
  font-size: 11px;
  line-height: 1.7;
}

.pp-simulator-hero .sim-orb {
  opacity: 0.55;
}

.pp-simulator-hero h1 {
  max-width: 32rem;
}

@media (max-width: 1023px) {
  .pp-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
  }

  .pp-footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .pp-simulator-hero {
    height: auto;
    min-height: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .pp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .pp-footer-grid>div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .pp-footer-grid {
    grid-template-columns: 1fr;
  }

  .pp-footer-grid>div:first-child {
    grid-column: auto;
  }
}

::selection {
  background: #0F9F91;
  color: #02070C;
}

/* Focus visibility kept intentionally strong against the dark canvas */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #67DDEB;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
     LOGO — shared with the home page.
     ------------------------------------------------------------------------- */
.pp-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.pp-logo-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(103, 221, 235, .42);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 159, 145, .24), rgba(7, 22, 31, .95));
  box-shadow: 0 0 22px rgba(15, 159, 145, .12), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.pp-logo-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(103, 221, 235, .28);
  border-radius: 7px;
  transform: rotate(45deg);
}

.pp-logo-icon--sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.pp-logo-icon--sm::before {
  inset: 6px;
  border-radius: 6px;
}

.pp-logo-icon-check {
  position: relative;
  width: 14px;
  height: 8px;
  border-left: 2px solid #67DDEB;
  border-bottom: 2px solid #67DDEB;
  transform: rotate(-45deg) translate(1px, -1px);
  z-index: 2;
  filter: drop-shadow(0 0 5px rgba(103, 221, 235, .45));
}

.pp-logo-icon--sm .pp-logo-icon-check {
  width: 12px;
  height: 7px;
}

.pp-logo-word {
  color: #F1F5F9;
  font-family: Fraunces, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.pp-logo-word--footer {
  font-size: 19px;
}

/* -------------------------------------------------------------------------
     MOBILE NAV
     ------------------------------------------------------------------------- */
.nav-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav-mobile.nav-open {
  max-height: 420px;
}

/* -------------------------------------------------------------------------
     AMBIENT BACKGROUND MOTION
     ------------------------------------------------------------------------- */
.pp-bg-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 42% at 22% 28%, rgba(15, 159, 145, 0.30), transparent 60%),
    radial-gradient(32% 36% at 82% 18%, rgba(103, 221, 235, 0.16), transparent 60%),
    radial-gradient(40% 46% at 70% 82%, rgba(185, 120, 82, 0.14), transparent 60%);
  filter: blur(40px);
  animation: pp-aurora-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pp-aurora-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-2%, 2%, 0) scale(1.05);
  }

  100% {
    transform: translate3d(2%, -1%, 0) scale(1);
  }
}

.pp-grid-overlay {
  background-image:
    linear-gradient(rgba(42, 70, 87, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 70, 87, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 85%);
  opacity: 0.5;
  pointer-events: none;
}

.pp-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.pp-bg-glow--teal {
  background: radial-gradient(45% 50% at 85% 10%, rgba(15, 159, 145, 0.14), transparent 65%);
  animation: pp-glow-shift 18s ease-in-out infinite alternate;
}

.pp-bg-glow--bronze {
  background: radial-gradient(45% 50% at 10% 85%, rgba(185, 120, 82, 0.13), transparent 65%);
  animation: pp-glow-shift 20s ease-in-out infinite alternate-reverse;
}

.pp-bg-glow--gold {
  background: radial-gradient(50% 55% at 90% 90%, rgba(210, 169, 74, 0.12), transparent 65%);
  animation: pp-glow-shift 24s ease-in-out infinite alternate;
}

@keyframes pp-glow-shift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-3%, 3%) scale(1.08);
  }
}

.pp-pulse {
  animation: pp-pulse-anim 2.4s ease-in-out infinite;
}

@keyframes pp-pulse-anim {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(103, 221, 235, 0.5);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 5px rgba(103, 221, 235, 0);
  }
}

/* -------------------------------------------------------------------------
     SIGNATURE ELEMENT — Coverage Radar
     ------------------------------------------------------------------------- */
.pp-radar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 37, 54, 0.6), rgba(8, 15, 23, 0.9));
  border: 1px solid #2A4657;
}

.pp-radar-ring {
  position: absolute;
  border-radius: 9999px;
  border: 1px solid rgba(103, 221, 235, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pp-radar-ring--1 {
  width: 32%;
  height: 32%;
}

.pp-radar-ring--2 {
  width: 62%;
  height: 62%;
}

.pp-radar-ring--3 {
  width: 92%;
  height: 92%;
}

.pp-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, rgba(103, 221, 235, 0.28), transparent 30%, transparent 100%);
  animation: pp-radar-spin 7s linear infinite;
  mix-blend-mode: screen;
}

@keyframes pp-radar-spin {
  to {
    transform: rotate(360deg);
  }
}

.pp-radar-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pp-radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  box-shadow: 0 0 0 4px rgba(241, 245, 249, 0.06);
  animation: pp-pulse-anim 3s ease-in-out infinite;
}

.pp-radar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9BAFBE;
  background: rgba(2, 7, 12, 0.55);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #2A4657;
}

.pp-radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #102536;
  border: 1px solid #2A4657;
  border-radius: 9999px;
  width: 34%;
  aspect-ratio: 1 / 1;
  justify-content: center;
  text-align: center;
}

/* -------------------------------------------------------------------------
     CARDS / BADGES / PANELS
     ------------------------------------------------------------------------- */
.pp-card-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #163546;
  border: 1px solid #2A4657;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pp-card-centered:hover {
  border-color: rgba(103, 221, 235, 0.45);
  transform: translateY(-2px);
}

.pp-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 159, 145, 0.12);
  border: 1px solid rgba(15, 159, 145, 0.35);
  color: #67DDEB;
}

.pp-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
}

.pp-badge--jade {
  color: #83C995;
  background: rgba(131, 201, 149, 0.10);
  border-color: rgba(131, 201, 149, 0.3);
}

.pp-badge--cyan {
  color: #67DDEB;
  background: rgba(103, 221, 235, 0.10);
  border-color: rgba(103, 221, 235, 0.3);
}

.pp-badge--gold {
  color: #D2A94A;
  background: rgba(210, 169, 74, 0.10);
  border-color: rgba(210, 169, 74, 0.3);
}

.pp-badge--bronze {
  color: #B97852;
  background: rgba(185, 120, 82, 0.12);
  border-color: rgba(185, 120, 82, 0.3);
}

.pp-panel {
  background: #102536;
  border: 1px solid #2A4657;
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.pp-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #67DDEB;
  border: 1px solid #2A4657;
  background: #102536;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
     FORM CONTROLS
     ------------------------------------------------------------------------- */
.pp-input {
  width: 100%;
  background: #0d2130;
  border: 1px solid #2A4657;
  color: #F1F5F9;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.pp-input:hover {
  border-color: rgba(103, 221, 235, 0.4);
}

.pp-input:focus {
  border-color: #67DDEB;
  outline: none;
}

textarea.pp-input {
  resize: vertical;
  min-height: 130px;
}

.pp-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9BAFBE;
  font-family: 'IBM Plex Mono', monospace;
  display: block;
  margin-bottom: 0.5rem;
}

.pp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0F9F91, #2A4657);
  outline: none;
}

.pp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #67DDEB;
  border: 3px solid #02070C;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(103, 221, 235, 0.4);
}

.pp-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #67DDEB;
  border: 3px solid #02070C;
  cursor: pointer;
}

.pp-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #2A4657;
  background: #0d2130;
  accent-color: #0F9F91;
}

/* -------------------------------------------------------------------------
     MISC
     ------------------------------------------------------------------------- */
.pp-corner-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(103, 221, 235, 0.4);
  border-style: solid;
  border-width: 0;
}

.hidden {
  display: none;
}

/* Hide Scrollbar */
html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 22px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}