/* Policy pages: Service Policy, Pricing, Refund and Return Policy */
.legal-hero { background: radial-gradient(70% 120% at 100% 0%, rgba(26, 95, 224, .5) 0%, rgba(26, 95, 224, 0) 60%), linear-gradient(150deg, var(--navy) 0%, var(--deep) 100%); color: #C9D5EE; padding: 64px 0 56px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; margin: 14px 0 12px; }
.legal-hero p { max-width: 640px; font-size: 1.08rem; }
.legal-hero .legal-updated { margin-top: 14px; font-size: .88rem; color: #9FB2DA; }
.legal-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 5px 12px; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.legal-nav { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; }
.legal-nav > b { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 0 12px 6px; }
.legal-nav > a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.legal-nav > a:hover { background: var(--paper); }
.legal-nav > a[aria-current="page"] { background: var(--ice); color: var(--navy); box-shadow: inset 3px 0 0 var(--electric); }
.legal-help { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.legal-help b { font-size: .92rem; }
.legal-help a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; white-space: nowrap; }
.legal-help a[href^="mailto"] { white-space: normal; }

.legal-body { max-width: 760px; }
.legal-body section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-body h2 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 14px; color: var(--ink); }
.legal-body p { margin: 0 0 12px; color: #2C3547; }
.legal-body ul { margin: 0 0 12px; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.legal-body li { position: relative; padding-left: 26px; color: #2C3547; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); }
.legal-body li b { color: var(--ink); }
.summary-card, .contact-card { padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.summary-card ul { margin: 0; }
.contact-card p:last-child { margin-bottom: 0; }

/* Pricing page cards */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 8px 0 14px; }
.price-card { position: relative; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--navy); }
.price-card .badge { position: absolute; top: -12px; left: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--electric); border-radius: 999px; padding: 4px 11px; }
.price-card h3 { font-size: 1.1rem; }
.price-usd { margin: 8px 0 2px !important; font: 700 2.2rem/1.1 var(--serif); color: var(--navy) !important; }
.price-usd small { font: 600 .95rem var(--sans); color: var(--slate); }
.price-pkr { font-size: .9rem; color: var(--slate) !important; margin-bottom: 14px !important; }
.price-card ul { margin: 0; }
.rate-line { font-size: .88rem; color: var(--slate) !important; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-nav > b { width: 100%; }
  .legal-nav > a { background: var(--paper); font-size: .88rem; }
  .legal-help { width: 100%; margin-top: 6px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .legal-hero { padding: 44px 0 40px; }
  .price-grid { grid-template-columns: 1fr; }
  .legal-body h2 { font-size: 1.35rem; }
}
