/* =========================================================
   NeuroLifts Policy / Information Pages
   Shared stylesheet for:
   About, Support, Editorial Policy, Privacy, Terms, Copyright
   ========================================================= */

.policy-page {
  --policy-text: #ffffff;
  --policy-muted: #d1d5db;
  --policy-sky: #7dd3fc;
  --policy-border: rgba(255, 255, 255, 0.1);
  --policy-card: rgba(255, 255, 255, 0.1);
  --policy-card-soft: rgba(255, 255, 255, 0.05);

  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  color: var(--policy-text);

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(14, 165, 233, 0.15),
      transparent 32rem
    ),
    linear-gradient(
      135deg,
      #1e3a8a 0%,
      #0c4a6e 48%,
      #0f172a 100%
    );
}


/* =========================================================
   Main layout
   ========================================================= */

.policy-page .policy-main {
  position: relative;
  z-index: 1;
}

.policy-page .policy-wrapper {
  width: min(100% - 32px, 1024px);
  margin: 0 auto;
  padding: 64px 0;
}


/* =========================================================
   Hero
   ========================================================= */

.policy-page .policy-hero {
  padding: 40px;

  border: 1px solid var(--policy-border);
  border-radius: 24px;

  background: var(--policy-card);

  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.policy-page .policy-eyebrow {
  margin: 0;

  color: var(--policy-sky);

  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.policy-page .policy-title {
  max-width: 820px;

  margin: 12px 0 0;

  color: #ffffff;

  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.policy-page .policy-intro {
  max-width: 780px;

  margin: 20px 0 0;

  color: var(--policy-muted);

  font-size: 1rem;
  line-height: 1.75;
}

.policy-page .policy-meta {
  margin: 18px 0 0;

  color: #cbd5e1;

  font-size: 0.85rem;
  line-height: 1.6;
}


/* =========================================================
   Buttons
   ========================================================= */

.policy-page .policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}

.policy-page .policy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 12px 20px;

  border-radius: 9px;

  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;

  text-align: center;
  text-decoration: none;

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.18);

  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.policy-page .policy-button-primary {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      #0ea5e9,
      #2563eb
    );
}

.policy-page .policy-button-primary:hover {
  color: #ffffff;

  transform: translateY(-1px);

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #38bdf8
    );

  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.policy-page .policy-button-secondary {
  color: #f3f4f6;

  background: rgba(255, 255, 255, 0.1);
}

.policy-page .policy-button-secondary:hover {
  color: #ffffff;

  transform: translateY(-1px);

  background: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   Layout grids
   ========================================================= */

.policy-page .policy-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  margin-top: 24px;
}

.policy-page .policy-three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  margin-top: 24px;
}


/* =========================================================
   Standard cards
   ========================================================= */

.policy-page .policy-card {
  padding: 32px;

  border: 1px solid var(--policy-border);
  border-radius: 24px;

  background: var(--policy-card);

  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.3);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.policy-page .policy-card + .policy-card {
  /* Mainly useful when cards are stacked directly */
}

.policy-page .policy-section {
  margin-top: 24px;
}

.policy-page .policy-card h2,
.policy-page .policy-section h2 {
  margin: 0;

  color: #ffffff;

  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.policy-page .policy-card h3 {
  margin: 24px 0 0;

  color: #ffffff;

  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.policy-page .policy-card h3:first-child {
  margin-top: 0;
}


/* =========================================================
   Card body / long-form policy text
   ========================================================= */

.policy-page .policy-content {
  margin-top: 16px;

  color: var(--policy-muted);

  font-size: 0.925rem;
  line-height: 1.75;
}

.policy-page .policy-content p {
  margin: 0;
}

.policy-page .policy-content p + p {
  margin-top: 16px;
}

.policy-page .policy-content h2 {
  margin-top: 32px;
}

.policy-page .policy-content h3 {
  margin-top: 26px;
}

.policy-page .policy-content strong {
  color: #ffffff;
}

.policy-page .policy-content em {
  color: #e5e7eb;
}


/* =========================================================
   Lists
   ========================================================= */

.policy-page .policy-list,
.policy-page .policy-content ul,
.policy-page .policy-content ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.policy-page .policy-list li,
.policy-page .policy-content li {
  padding-left: 2px;
}

.policy-page .policy-list li + li,
.policy-page .policy-content li + li {
  margin-top: 8px;
}


/* =========================================================
   Small feature / value cards
   ========================================================= */

.policy-page .policy-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  margin-top: 24px;
}

.policy-page .policy-feature-card {
  padding: 20px;

  border: 1px solid var(--policy-border);
  border-radius: 16px;

  background: var(--policy-card-soft);
}

.policy-page .policy-feature-card h3 {
  margin: 0;

  color: #ffffff;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.policy-page .policy-feature-card p {
  margin: 12px 0 0;

  color: var(--policy-muted);

  font-size: 0.875rem;
  line-height: 1.65;
}


/* =========================================================
   Links
   ========================================================= */

.policy-page .policy-link,
.policy-page .policy-content a {
  color: var(--policy-sky);

  font-weight: 700;
  text-decoration: none;
}

.policy-page .policy-link:hover,
.policy-page .policy-content a:hover {
  color: #bae6fd;
  text-decoration: underline;
}


/* =========================================================
   Callout box
   Useful for warnings, important notes, disclaimers
   ========================================================= */

.policy-page .policy-callout {
  margin-top: 24px;
  padding: 24px;

  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 18px;

  background:
    linear-gradient(
      90deg,
      rgba(14, 165, 233, 0.12),
      rgba(37, 99, 235, 0.12)
    );
}

.policy-page .policy-callout h2,
.policy-page .policy-callout h3 {
  margin: 0;

  color: #ffffff;
}

.policy-page .policy-callout p {
  margin: 12px 0 0;

  color: var(--policy-muted);

  font-size: 0.925rem;
  line-height: 1.7;
}


/* =========================================================
   Contact / CTA section
   ========================================================= */

.policy-page .policy-contact {
  margin-top: 24px;
  padding: 40px;

  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 24px;

  text-align: center;

  background:
    linear-gradient(
      90deg,
      rgba(14, 165, 233, 0.15),
      rgba(37, 99, 235, 0.15)
    );

  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.policy-page .policy-contact h2 {
  margin: 0;

  color: #ffffff;

  font-size: 1.5rem;
  font-weight: 700;
}

.policy-page .policy-contact p {
  max-width: 640px;

  margin: 12px auto 0;

  color: var(--policy-muted);

  font-size: 0.9rem;
  line-height: 1.7;
}

.policy-page .policy-contact .policy-button {
  margin-top: 24px;
}


/* =========================================================
   Definition / detail rows
   Useful for support, privacy and terms pages
   ========================================================= */

.policy-page .policy-details {
  margin-top: 20px;
}

.policy-page .policy-detail-row {
  padding: 16px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-page .policy-detail-row:first-child {
  padding-top: 0;
}

.policy-page .policy-detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-page .policy-detail-label {
  display: block;

  margin-bottom: 4px;

  color: #ffffff;

  font-size: 0.875rem;
  font-weight: 700;
}

.policy-page .policy-detail-value {
  color: var(--policy-muted);

  font-size: 0.925rem;
  line-height: 1.65;
}


/* =========================================================
   Divider
   ========================================================= */

.policy-page .policy-divider {
  height: 1px;

  margin: 28px 0;

  border: 0;

  background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   Return / navigation link
   ========================================================= */

.policy-page .policy-return {
  margin-top: 32px;

  text-align: center;
}

.policy-page .policy-return a {
  color: var(--policy-sky);

  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-page .policy-return a:hover {
  color: #bae6fd;
}


/* =========================================================
   Focus accessibility
   ========================================================= */

.policy-page a:focus-visible,
.policy-page button:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.9);
  outline-offset: 3px;
}




/* ======================================================
    Homepage FAQ
   ====================================================== */

.nl-home-faq {
  max-width: 850px;
  margin: 0 auto;
}

.nl-home-faq h2 {
  margin-bottom: 24px;
}

.nl-home-faq-item {
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

.nl-home-faq-item summary {
  cursor: pointer;
  color: #f8fafc;
  font-weight: 700;
  line-height: 1.6;
}

.nl-home-faq-item p {
  margin: 16px 0 0;
  color: var(--home-muted);
  line-height: 1.8;
}

.nl-home-faq-item a {
  color: var(--home-link);
}

/* =========================================================
   Tablet / mobile
   ========================================================= */

@media (max-width: 767px) {

  .policy-page .policy-wrapper {
    width: min(100% - 24px, 1024px);
    padding: 40px 0;
  }

  .policy-page .policy-hero {
    padding: 28px 24px;
  }

  .policy-page .policy-two-column,
  .policy-page .policy-three-column,
  .policy-page .policy-feature-grid {
    grid-template-columns: 1fr;
  }

  .policy-page .policy-card,
  .policy-page .policy-contact {
    padding: 28px 24px;
  }

  .policy-page .policy-actions {
    flex-direction: column;
  }

  .policy-page .policy-button {
    width: 100%;
  }

}


/* =========================================================
   Very small screens
   ========================================================= */

@media (max-width: 420px) {

  .policy-page .policy-wrapper {
    width: min(100% - 20px, 1024px);
  }

  .policy-page .policy-hero,
  .policy-page .policy-card,
  .policy-page .policy-contact {
    border-radius: 20px;
  }

  .policy-page .policy-title {
    font-size: 2rem;
  }

}