/* TPAIT - Professional Dark Theme Design System */
/* Built for Third-Party Administrators */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg-body: #0c1929;
  --bg-surface: #122234;
  --bg-elevated: #1a3048;
  --bg-card: #152639;
  --text-primary: #ffffff;
  --text-secondary: #a0b4c8;
  --text-muted: #7a94ac;
  --border-color: #1e3a54;
  --border-light: #152639;
  --brand-teal: #14b8a6;
  --brand-teal-dark: #0d9488;
  --brand-teal-light: #2dd4bf;
  --link-color: #14b8a6;
  --link-hover: #2dd4bf;
  --header-bg: rgba(12, 25, 41, 0.95);
  --footer-bg: #081321;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.3);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 200ms ease;
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --link-color: #0d9488;
  --link-hover: #0f766e;
  --header-bg: rgba(255,255,255,0.95);
  --footer-bg: #1a365d;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { 
  font-family: var(--font-body); 
  font-size: 1rem; 
  line-height: 1.7; 
  color: var(--text-primary); 
  background: var(--bg-body); 
  transition: background-color var(--transition), color var(--transition); 
  min-height: 100vh; 
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--text-primary); letter-spacing: -0.02em; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; line-height: 1.4; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: var(--space-4); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--link-color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
ul, ol { margin-left: var(--space-6); margin-bottom: var(--space-4); }
li { margin-bottom: var(--space-2); }
.lead { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.8; }

/* ACCESSIBILITY */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--brand-teal); color: #fff; padding: var(--space-3) var(--space-6); border-radius: 0 0 var(--radius) var(--radius); z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }

/* LAYOUT */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--max-width-narrow); }
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.logo { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; }
.logo:hover { color: var(--text-primary); }

/* NAVIGATION */
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: var(--space-1); padding: var(--space-2) var(--space-4); font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius); transition: all var(--transition); }
.nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav-link.active, .nav-item.active > .nav-link { color: var(--brand-teal); }
.nav-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; padding: var(--space-2) 0; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition); list-style: none; margin: 0; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown a { display: block; padding: var(--space-3) var(--space-5); font-size: 0.9375rem; color: var(--text-secondary); transition: all var(--transition); }
.dropdown a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.dropdown a.active { color: var(--brand-teal); background: var(--bg-elevated); }
.dropdown li { margin: 0; }

/* THEME TOGGLE */
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: var(--space-3); background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--radius); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); }
.theme-toggle:hover { color: var(--brand-teal); border-color: var(--brand-teal); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* MOBILE MENU */
.mobile-menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: none; color: var(--text-primary); cursor: pointer; }
.mobile-menu-btn svg { width: 24px; height: 24px; }
.header-cta { margin-left: var(--space-4); }

@media (max-width: 900px) {
  .nav-list { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-6); background: var(--bg-body); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition); }
  .nav-list.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: var(--space-4); font-size: 1.125rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: var(--space-6); }
  .mobile-menu-btn { display: flex; }
  .header-cta { display: none; }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.btn-primary { background: var(--brand-teal); color: #fff; }
.btn-primary:hover { background: var(--brand-teal-dark); color: #fff; }
.btn-secondary { background: var(--bg-elevated); color: var(--text-primary); border-color: var(--border-color); }
.btn-secondary:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: 1rem; }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: 0.875rem; }

/* HERO */
.hero { padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20); background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%); }
.hero-content { max-width: 800px; }
.hero h1 { margin-bottom: var(--space-6); }
.hero-lead { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: var(--space-8); line-height: 1.8; }
.hero-buttons { display: flex; gap: var(--space-4); flex-wrap: wrap; }
@media (max-width: 640px) { 
  .hero-buttons { flex-direction: column; } 
  .hero-buttons .btn { width: 100%; justify-content: center; } 
}

/* PAGE HEADER */
.page-header { padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-12); background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%); text-align: center; }
.page-header h1 { margin-bottom: var(--space-4); }
.page-header-lead { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* TRUST BAR */
.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); padding: var(--space-6) 0; color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; }
.trust-bar span { display: flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.trust-bar span::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--brand-teal); border-radius: 50%; flex-shrink: 0; }
@media (max-width: 768px) { 
  .trust-bar { gap: var(--space-4) var(--space-6); } 
  .trust-bar span { font-size: 0.8125rem; } 
}

/* CARDS */
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-8); transition: all var(--transition); }
.card:hover { border-color: var(--brand-teal); box-shadow: var(--shadow-card); }
.card h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; margin-bottom: var(--space-3); color: var(--text-primary); }
.card h4 { margin-bottom: var(--space-3); }
.card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* ============================================
   SERVICES GRID - 3 COLUMN (CRITICAL FIX)
   ============================================ */
.services-grid { 
  display: grid !important; 
  grid-template-columns: repeat(3, 1fr) !important; 
  gap: var(--space-6) !important; 
  width: 100%;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr !important; } }

/* ============================================
   SERVICE CARD (CRITICAL FIX)
   ============================================ */
.service-card { 
  display: block !important; 
  background: var(--bg-card) !important; 
  border: 1px solid var(--border-color) !important; 
  border-radius: var(--radius-lg) !important; 
  padding: var(--space-8) !important; 
  text-decoration: none !important; 
  transition: all var(--transition); 
}
.service-card:hover { border-color: var(--brand-teal); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-3); }
.service-card p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }

/* ============================================
   SERVICE ICON (CRITICAL FIX - SVG SIZING)
   ============================================ */
.service-icon { 
  width: 56px !important; 
  height: 56px !important; 
  min-width: 56px !important;
  max-width: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  background: rgba(20, 184, 166, 0.1) !important; 
  border-radius: var(--radius) !important; 
  margin-bottom: var(--space-5) !important; 
  color: var(--brand-teal) !important; 
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

/* CRITICAL: Force all SVGs inside service-icon to be 28x28 */
.service-icon svg,
.service-icon > svg { 
  width: 28px !important; 
  height: 28px !important; 
  min-width: 28px !important;
  max-width: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* ============================================
   FEATURES GRID - 2 COLUMN (CRITICAL FIX)
   ============================================ */
.features-grid { 
  display: grid !important; 
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: var(--space-6) !important; 
}
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr !important; } }

/* Features Grid - 3 Column Variant */
.features-grid.grid-3 { 
  grid-template-columns: repeat(3, 1fr) !important; 
}
@media (max-width: 900px) { .features-grid.grid-3 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .features-grid.grid-3 { grid-template-columns: 1fr !important; } }

/* ============================================
   PLATFORM GRID - 3 COLUMN (CRITICAL FIX)
   ============================================ */
.platform-grid { 
  display: grid !important; 
  grid-template-columns: repeat(3, 1fr) !important; 
  gap: var(--space-4) !important; 
  max-width: 900px; 
  margin: 0 auto; 
}
@media (max-width: 768px) { .platform-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .platform-grid { grid-template-columns: 1fr !important; } }

.platform-item { display: flex; align-items: center; justify-content: center; padding: var(--space-5) var(--space-4); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); text-align: center; transition: all var(--transition); }
.platform-item:hover { border-color: var(--brand-teal); color: var(--brand-teal); }

/* CONTENT GRID */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-12); align-items: start; }
@media (max-width: 1024px) { .content-grid { grid-template-columns: 1fr; } }
.content-main h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; margin-top: var(--space-8); margin-bottom: var(--space-3); color: var(--brand-teal); }
.content-main p { color: var(--text-secondary); }
.content-main ul { color: var(--text-secondary); }
.content-sidebar { position: sticky; top: calc(var(--header-height) + var(--space-6)); }

/* SIDEBAR */
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-6); }
.sidebar-card h3 { font-size: 1rem; margin-bottom: var(--space-4); color: var(--text-primary); }
.sidebar-card:last-child { margin-bottom: 0; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: var(--space-6); padding-bottom: var(--space-3); font-size: 0.875rem; color: var(--text-secondary); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-teal); font-weight: 600; }
.check-list li:last-child { padding-bottom: 0; }

.sidebar-cta { padding: var(--space-6); background: var(--bg-surface); border-radius: var(--radius-lg); text-align: center; }

/* FAQ */
.faq-item { padding: var(--space-6) 0; border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-3); }
.faq-item p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.75; margin: 0; }

.container-narrow h2 { margin-top: var(--space-12); margin-bottom: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--border-color); }
.container-narrow h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

/* ABOUT */
.about-leader { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-10); align-items: start; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .about-leader { grid-template-columns: 1fr; text-align: center; } }
.leader-photo img { width: 200px; height: 200px; border-radius: var(--radius-lg); border: 4px solid var(--border-color); object-fit: cover; }
@media (max-width: 768px) { .leader-photo img { margin: 0 auto; } }
.leader-title { color: var(--brand-teal); font-size: 1rem; margin-bottom: var(--space-4); }
.leader-content p { color: var(--text-secondary); }
.about-intro { font-size: 1.125rem; line-height: 1.8; margin-bottom: var(--space-8); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-12); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea { padding: var(--space-3) var(--space-4); font-family: var(--font-body); font-size: 1rem; color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius); transition: all var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b8299' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-group select option { background: var(--bg-surface); color: var(--text-primary); }

.contact-info { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; }
.contact-info h3 { margin-bottom: var(--space-6); }
.contact-info .contact-cta { margin-top: auto; }
.contact-item { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--border-light); }
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-width: 48px; background: var(--bg-elevated); border-radius: var(--radius); color: var(--brand-teal); flex-shrink: 0; }
.contact-item-icon svg { width: 24px; height: 24px; }
.contact-item-content h4 { font-size: 0.875rem; margin-bottom: var(--space-1); }
.contact-item-content p, .contact-item-content a { font-size: 0.9375rem; color: var(--text-secondary); }
.contact-form-container { background: var(--bg-card); padding: var(--space-8); border-radius: var(--radius-lg); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.contact-form-container h2 { margin-bottom: var(--space-6); }
.contact-form-container .contact-form { flex: 1; display: flex; flex-direction: column; }
.contact-form-container .contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form-container .contact-form button[type="submit"] { align-self: flex-start; }

/* CTA SECTION */
.cta-section { background: var(--bg-surface); text-align: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.cta-section h2 { margin-bottom: var(--space-4); }
.cta-section p { color: var(--text-secondary); font-size: 1.125rem; max-width: 600px; margin: 0 auto var(--space-8); }

/* FOOTER */
.footer { background: var(--footer-bg); padding: var(--space-16) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { color: #fff; margin-bottom: var(--space-4); display: inline-block; }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.7); margin-bottom: var(--space-6); }
.footer-column h4 { color: #fff; font-size: 0.9375rem; margin-bottom: var(--space-5); }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin-bottom: var(--space-3); }
.footer-column a { font-size: 0.9375rem; color: rgba(255,255,255,0.7); }
.footer-column a:hover { color: #fff; }
.footer-column a.active { color: var(--brand-teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a.active { color: var(--brand-teal); }
.footer-bottom-links { display: flex; gap: var(--space-6); }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; } }

/* ALERTS */
.alert { padding: var(--space-4) var(--space-6); border-radius: var(--radius); margin-bottom: var(--space-6); }
.alert-success { background: rgba(20, 184, 166, 0.1); border: 1px solid var(--brand-teal); color: var(--brand-teal); }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; }

/* TIMELINE */
.timeline { position: relative; padding-left: var(--space-8); }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; padding-bottom: var(--space-6); }
.timeline-item::before { content: ''; position: absolute; left: calc(-1 * var(--space-8) - 5px); top: 6px; width: 12px; height: 12px; background: var(--brand-teal); border-radius: 50%; }
.timeline-content { padding-left: var(--space-4); }
.timeline-date { font-size: 0.875rem; color: var(--brand-teal); font-weight: 600; margin-bottom: var(--space-2); }
.timeline-desc { color: var(--text-secondary); }

/* BREACH */
.breach-item { padding: var(--space-6); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.breach-item h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; margin-bottom: var(--space-2); }
.callout { padding: var(--space-6); background: var(--bg-surface); border-left: 4px solid var(--brand-teal); border-radius: var(--radius); margin: var(--space-6) 0; }

/* MISC */
.simple-list { list-style: disc; margin-left: var(--space-6); }
.simple-list li { margin-bottom: var(--space-2); }
.recaptcha-notice { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--space-4); }
.recaptcha-notice a { color: var(--text-muted); text-decoration: underline; }

/* PRINT */
@media print { 
  .header, .footer, .theme-toggle, .skip-link { display: none !important; } 
  body { background: #fff !important; color: #000 !important; } 
  .hero, .page-header { padding-top: 0 !important; } 
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-teal);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 200ms ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
}
.scroll-top:hover {
  background: var(--brand-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 640px) {
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

/* Form Success/Error Messages */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: none;
}
.form-message.show {
  display: block;
}
.form-message.success {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--brand-teal);
  color: var(--brand-teal);
}
.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}
