/* Shared styles for Parkoo legal, deletion, and support pages */
body.legal-page {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #1b353c;
  background-color: #ffffff;
  line-height: 1.7;
}

/* Header Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e6edf0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: #1b353c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background-color: #f4f4f4;
  color: #5277f7;
  outline: none;
}

.site-nav a[aria-current="page"] {
  background-color: #1b353c;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #d5e0e5;
  border-radius: 8px;
  padding: 8px 12px;
  color: #1b353c;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* Hero Banner */
.legal-hero {
  background-color: #f4f4f4;
  border-bottom: 2.5px solid #5277f7;
  padding: 48px 0 40px;
}

.legal-breadcrumb {
  font-size: 13px;
  color: #556b72;
  margin-bottom: 12px;
}

.legal-breadcrumb a {
  color: #5277f7;
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #1b353c;
  margin-bottom: 12px;
}

.legal-accent-line {
  width: 48px;
  border: 0;
  border-top: 4px solid #00ccbb;
  opacity: 1;
  margin: 0 0 18px 0;
}

.legal-lead {
  font-size: 16px;
  color: #345159;
  max-width: 760px;
  margin-bottom: 18px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  color: #49656d;
}

/* Main Content */
.legal-main {
  padding: 48px 0 72px;
}

/* Sidebar TOC */
.legal-sidebar {
  position: sticky;
  top: 100px;
}

.legal-toc-card {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 22px 20px;
  border: 1px solid #e6edf0;
}

.legal-toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1b353c;
  margin-bottom: 12px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc-list li + li {
  margin-top: 6px;
}

.legal-toc-list a {
  display: block;
  font-size: 13.5px;
  color: #345159;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.legal-toc-list a:hover,
.legal-toc-list a:focus-visible {
  background-color: #ffffff;
  color: #5277f7;
}

/* Content Cards & Sections */
.legal-card {
  background-color: #ffffff;
  border: 1px solid #e6edf0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: 21px;
  font-weight: 700;
  color: #1b353c;
  margin-bottom: 14px;
  scroll-margin-top: 96px;
}

.legal-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: #1b353c;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
  font-size: 15px;
  color: #2f4a52;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-card li + li {
  margin-top: 6px;
}

/* Confirmation Notice / Callouts */
.confirmation-banner {
  background-color: #fff8e6;
  border: 1px solid #f5d07a;
  border-left: 4px solid #d97706;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.confirmation-banner strong,
.confirmation-inline strong {
  color: #854d0e;
}

.confirmation-banner p,
.confirmation-banner li {
  font-size: 14px;
  color: #5c3d0c;
  margin-bottom: 6px;
}

.confirmation-banner ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.confirmation-inline {
  background-color: #fffaf0;
  border: 1px dashed #e6b85c;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 14px;
  color: #6b4408;
}

.info-callout {
  background-color: #f0f9f8;
  border: 1px solid #bcebe6;
  border-left: 4px solid #00ccbb;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 16px 0;
}

.info-callout p:last-child {
  margin-bottom: 0;
}

/* Steps & Support Grid */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.step-item {
  counter-increment: step-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f4;
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1b353c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-badge::before {
  content: counter(step-counter);
}

.support-topic-card {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  border: 1px solid #e6edf0;
}

.support-topic-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1b353c;
  margin-top: 0;
  margin-bottom: 10px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #e6edf0;
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 15.5px;
  color: #1b353c;
  cursor: pointer;
  list-style-position: inside;
}

.faq-item p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 14.5px;
  color: #345159;
}

/* Table styling */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14.5px;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e3e8eb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background-color: #f4f4f4;
  color: #1b353c;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 1px solid #e6edf0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .legal-card {
    padding: 22px 18px;
  }
}

@media (max-width: 576px) {
  .legal-hero {
    padding: 32px 0 28px;
  }

  .legal-main {
    padding: 28px 0 48px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }
}
