* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0b1f3a;
  background: transparent; 
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* --- PAGE LOAD ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

body { animation: fadeIn 0.4s ease-out; }
.site-header { animation: slideDown 0.5s ease-out; }
.policy-hero h1, .hero h1 { animation: slideUp 0.6s ease-out 0.1s both; }
.policy-hero .intro, .hero p { animation: slideUp 0.6s ease-out 0.2s both; }
.policy-hero .eyebrow, .hero .btn-primary { animation: slideUp 0.6s ease-out 0.3s both; }

/* --- SCROLL ANIMATIONS (Triggered by JS) --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* --- HOVER MICRO-INTERACTIONS --- */
a { color: var(--brand, #1e6bff); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-header { position: sticky; top: 0; z-index: 20; transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; transition: opacity 0.2s; }
.brand:hover { opacity: 0.8; }
.brand-logo { height: 32px; width: auto; }
.brand-name { font-size: 1.05rem; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 22px; }

/* Nav Link Hover */
.site-nav a { font-weight: 500; font-size: 0.95rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.site-nav a:hover { text-decoration: none; border-bottom-color: var(--brand); }

/* Button Hover & Click */
.btn-primary {
  display: inline-block; margin-top: 8px; background: var(--brand, #1e6bff);
  color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 22px rgba(30,107,255,0.3); text-decoration: none; color: #fff; }
.btn-primary:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 12px rgba(30,107,255,0.2); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Card Hover */
.policy-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.policy-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(11,31,58,0.15); }

/* Policy Layout */
.policy-main { padding: 56px 24px 80px; }
.policy-hero { max-width: 100%; margin-bottom: 32px; }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.policy-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
.policy-hero .intro { font-size: 1.05rem; color: #3a4b66; margin: 0 0 12px; }
.updated { font-size: 0.88rem; color: #6b7a92; }

.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.policy-toc { position: sticky; top: 92px; border: 1px solid #e8eef8; border-radius: 14px; padding: 20px 22px; background: rgba(255, 255, 255, 0.5); }
.policy-toc h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7a92; margin: 0 0 12px; }
.policy-toc ol { margin: 0; padding-left: 18px; }
.policy-toc li { margin: 6px 0; font-size: 0.9rem; }

/* TOC Hover */
.policy-toc a { color: #3a4b66; display: inline-block; transition: color 0.2s, transform 0.2s; }
.policy-toc a:hover { color: var(--brand); transform: translateX(4px); }

.policy-section { scroll-margin-top: 90px; margin-bottom: 34px; }
.policy-section h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 0 0 10px; color: #0b1f3a; }
.policy-section p { margin: 0; color: #33445e; }

.card { border: 1px solid #e8eef8; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(11,31,58,0.05); background: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.policy-contact { margin-top: 8px; }
.policy-contact h2 { margin-top: 0; }
.btn-ghost { display: inline-block; background: transparent; border: 1px solid #d6e4ff; color: var(--brand); padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: background 0.2s, border-color 0.2s; }
.btn-ghost:hover { background: #f0f6ff; border-color: var(--brand); text-decoration: none; }
.small { font-size: 0.88rem; color: #6b7a92; margin-top: 12px; }

.site-footer { padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-inner p { margin: 0; color: #6b7a92; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #3a4b66; font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--brand); text-decoration: none; }

@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-toc { position: static; }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
  .policy-main { padding: 36px 16px 60px; }
  .container { padding: 0 16px; }
  .policy-hero, .policy-layout { padding: 24px; }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}