/* Presence Bell - Legal & Support Pages */

:root {
  --bg: #faf9f7;
  --bg-subtle: #f3f1ed;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --accent: #3d7a5a;
  --accent-light: rgba(61, 122, 90, 0.1);
  --accent-lighter: rgba(61, 122, 90, 0.05);
  --accent-hover: #2d5a42;
  --border: #e5e1da;
  --border-light: #eeeae4;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.brand-logo {
  border-radius: 10px;
  object-fit: contain;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

/* Main container */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Hero section for landing */
.hero {
  text-align: center;
  padding: 24px 20px 20px;
}

.hero-logo {
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.hero h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--text);
}

.hero-tagline {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Link cards for landing page */
.link-grid {
  display: grid;
  gap: 10px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.link-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-lighter);
  transform: translateY(-2px);
}

.link-card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.link-card-icon svg {
  width: 18px;
  height: 18px;
}

.link-card-content h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1px;
}

.link-card-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact box */
.contact-box {
  background: linear-gradient(135deg, var(--accent) 0%, #4a8a66 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  color: white;
  text-align: center;
  margin-top: 10px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
}

.contact-box h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-box p {
  opacity: 0.9;
  margin-bottom: 14px;
  font-size: 13px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-btn svg {
  width: 14px;
  height: 14px;
}

/* Footer */
.footer {
  margin-top: 32px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Page header for subpages */
.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--accent-light);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 100px;
}

.badge svg {
  width: 11px;
  height: 11px;
}

.effective-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* Card for content pages */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* Intro text */
.intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

/* Section styling */
.section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.section:first-of-type {
  padding-top: 0;
}

.section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.section-icon svg {
  width: 14px;
  height: 14px;
}

.section h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

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

.section ul {
  list-style: none;
  margin: 0;
}

.section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.section li:last-child {
  margin-bottom: 0;
}

.section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item[open] {
  background: var(--card);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Inline link */
.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 24px 16px 48px;
  }

  .hero {
    padding: 16px 16px 16px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .page-header h1 {
    font-size: 22px;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 24px;
    height: 24px;
  }

  .link-card {
    padding: 14px 16px;
  }

  .link-card-icon {
    width: 36px;
    height: 36px;
  }

  .contact-box {
    padding: 20px;
  }
}
