/* Shared styles for PrimeReply legal pages on prydio.com (matches the Prydio product pages). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #22C55E;
  --accent-2: #16A34A;
  --accent-soft: rgba(34, 197, 94, 0.1);
  --accent-line: rgba(34, 197, 94, 0.25);
  --purple: #8B5CF6;
  --dark: #0A0A0F;
  --dark-2: #111118;
  --dark-3: #1A1A26;
  --text: #E8E8F0;
  --text-muted: #9A9AB8;
  --border: rgba(255,255,255,0.08);
  --gradient-brand: linear-gradient(135deg, var(--purple), #EC4899);
  --gradient-app: linear-gradient(135deg, var(--accent), var(--accent-2));
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--dark); color: var(--text); line-height: 1.7; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); }

.nav { background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 2px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; }
.logo:hover { text-decoration: none; }
.logo-mark { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.6rem; }
.logo-text { color: var(--text); }
.nav-sep { color: var(--border); font-size: 1.2rem; margin: 0 4px; }
.nav-app { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.app-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-app); }
.app-icon { display: block; width: 22px; height: 22px; }
.app-name { color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.app-accent { color: var(--accent); }
.nav-back { margin-left: auto; font-size: 0.85rem; color: var(--text-muted); }
.nav-back:hover { color: var(--text); text-decoration: none; }

.policy-hero { background: var(--dark-2); border-bottom: 1px solid var(--border); padding: 56px 24px; text-align: center; position: relative; overflow: hidden; }
.policy-hero::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px; }
.policy-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.policy-hero p { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; margin: 0 auto; }
.effective-date { display: inline-block; margin-top: 16px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; padding: 6px 16px; font-size: 0.82rem; color: var(--text-muted); }

.policy-layout { max-width: 1100px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.toc { position: sticky; top: 80px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.toc-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 16px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a { display: block; font-size: 0.83rem; color: var(--text-muted); padding: 6px 10px; border-radius: 8px; line-height: 1.4; }
.toc-list a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

.policy-content { min-width: 0; }
.policy-section { margin-bottom: 48px; scroll-margin-top: 90px; }
.policy-section h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.policy-section h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; }
.section-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; font-size: 0.75rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.policy-section p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 14px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul, .policy-section ol { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.policy-section ul { list-style: none; }
.policy-section ul li { position: relative; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.policy-section ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.policy-section ol { padding-left: 22px; }
.policy-section ol li { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; padding-left: 4px; }
.highlight-box { background: var(--dark-3); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 16px 0; }
.highlight-box p { margin-bottom: 0 !important; font-size: 0.9rem !important; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
.data-table th { background: var(--dark-3); padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border: 1px solid var(--border); }
.data-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); vertical-align: top; line-height: 1.5; }

.policy-footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 40px 24px; text-align: center; }
.policy-footer p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 768px) {
  .policy-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 16px; }
  .toc { position: static; }
  .nav-inner { padding: 16px; }
  .nav-back { font-size: 0.8rem; }
}
