/* Arrow Shift Escape - Legal & Policy Stylesheet */
:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #141c30;
  --bg-card: #1a233a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-gold: #f59e0b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(59, 130, 246, 0.3);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 860px;
  --radius-lg: 16px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-title span {
  color: var(--accent-blue);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 6px 12px;
  border-radius: var(--radius-md);
}

nav a:hover, nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

nav a.active {
  color: var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
}

/* Layout */
.main-content {
  max-width: var(--max-width);
  margin: 40px auto 80px;
  padding: 0 24px;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.meta-info {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Content Sections */
.policy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
}

.policy-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

li {
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* Callout Box */
.callout {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p {
  color: #bfdbfe;
  font-size: 0.95rem;
  margin: 0;
}

.callout.gold {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-gold);
}

.callout.gold p {
  color: #fde68a;
}

/* Data Table */
.data-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Contact Box */
.contact-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(26, 35, 58, 0.6));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  background: rgba(59, 130, 246, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  transition: all 0.2s ease;
}

.contact-email:hover {
  background: var(--accent-blue);
  color: white;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

/* Home hero card */
.hero-card {
  text-align: center;
  padding: 60px 24px;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.nav-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-card h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.nav-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.nav-card .action-link {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsive */
@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  
  nav {
    width: 100%;
    justify-content: space-between;
  }
  
  nav a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 1.75rem;
  }
}
