:root {
  --primary: #1b3a6b;
  --primary-light: #2a5298;
  --accent: #d32f2f;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5c6370;
  --border: #e2e8f0;
  --nav-bg: #071d49;
  --nav-border: rgba(255, 255, 255, 0.1);
  --nav-brand: #f8fafc;
  --nav-link: #94a3b8;
  --nav-link-hover: #e2e8f0;
  --nav-link-active: #60a5fa;
  --shadow: 0 4px 24px rgba(27, 58, 107, 0.08);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--nav-brand);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--nav-link);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--nav-link-hover);
}

.nav-links a[aria-current="page"] {
  color: var(--nav-link-active);
  border-bottom: 2px solid var(--nav-link-active);
  padding-bottom: 2px;
}

/* Contact */
.contact {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.contact h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.contact p {
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

.contact a {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: #0f2447;
  color: rgba(255, 255, 255, 0.65);
  padding: 1.75rem 0;
  font-size: 0.875rem;
  text-align: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

/* Legal / privacy page */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  color: var(--primary);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* ============================================================
   Homepage — legacy styles (moved to premium-pages.css)
   ============================================================ */

/* ============================================================
   Contact page (mockup layout)
   ============================================================ */

body.contact-page {
  --cp-blue: #2563eb;
  --cp-blue-dark: #1d4ed8;
  --cp-navy: #0a1628;
  --cp-text: #1e293b;
  --cp-muted: #64748b;
  --cp-bg: #f1f5f9;
  --cp-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  font-family: var(--font);
  color: var(--cp-text);
  background: var(--cp-bg);
}

body.contact-page .contact-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

body.contact-page .brand {
  color: var(--cp-navy);
}

body.contact-page .brand-mark {
  background: linear-gradient(135deg, var(--cp-blue), #3b82f6);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

body.contact-page .nav-links a {
  color: var(--cp-muted);
  position: relative;
  padding-bottom: 0.25rem;
}

body.contact-page .nav-links a:hover {
  color: var(--cp-blue);
  text-decoration: none;
}

body.contact-page .nav-links .nav-active {
  color: var(--cp-blue);
  font-weight: 600;
}

body.contact-page .nav-links .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cp-blue);
  border-radius: 2px;
}

/* Hero */
body.contact-page .contact-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(135deg, #020c1b 0%, #0a2540 45%, #0f3460 100%);
  color: #fff;
  text-align: center;
}

body.contact-page .contact-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.contact-page .decor-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

body.contact-page .decor-ring-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}

body.contact-page .decor-ring-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: -40px;
}

body.contact-page .decor-dots {
  position: absolute;
  top: 20%;
  left: 8%;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.5;
}

body.contact-page .contact-hero-inner {
  position: relative;
  z-index: 1;
}

body.contact-page .contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

body.contact-page .contact-badge svg {
  width: 14px;
  height: 14px;
}

body.contact-page .contact-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.contact-page .contact-hero p {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

body.contact-page .contact-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: var(--cp-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.contact-page .contact-hero-btn:hover {
  text-decoration: none;
  background: var(--cp-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.45);
}

body.contact-page .contact-hero-btn svg {
  width: 18px;
  height: 18px;
}

/* Sections */
body.contact-page .contact-section {
  padding: 4rem 0;
}

body.contact-page .contact-section-alt {
  padding-top: 0;
}

body.contact-page .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

body.contact-page .section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cp-navy);
}

body.contact-page .section-line {
  display: block;
  width: 48px;
  height: 3px;
  margin-inline: auto;
  background: var(--cp-blue);
  border-radius: 3px;
}

/* Touch cards */
body.contact-page .touch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

body.contact-page .touch-card {
  display: block;
  padding: 2rem 1.75rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cp-card-shadow);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.contact-page a.touch-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

body.contact-page .touch-card-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
}

body.contact-page .touch-card-icon svg {
  width: 26px;
  height: 26px;
}

body.contact-page .touch-card-icon-blue {
  background: #eff6ff;
  color: var(--cp-blue);
}

body.contact-page .touch-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cp-navy);
}

body.contact-page .touch-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cp-muted);
}

body.contact-page .touch-card-highlight {
  font-weight: 600;
  color: var(--cp-blue) !important;
}

body.contact-page .touch-card-note {
  margin-top: 0.75rem !important;
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
}

/* Topic pills */
body.contact-page .topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

body.contact-page .topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--cp-text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.contact-page .topic-pill svg {
  width: 18px;
  height: 18px;
  color: var(--cp-muted);
}

body.contact-page .topic-pill:hover {
  text-decoration: none;
  border-color: #bfdbfe;
  color: var(--cp-blue);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

body.contact-page .topic-pill:hover svg {
  color: var(--cp-blue);
}

/* Why connect */
body.contact-page .why-connect {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--cp-card-shadow);
}

body.contact-page .why-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--cp-blue);
  font-size: 0.78rem;
  font-weight: 600;
}

body.contact-page .why-connect-copy h2 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cp-navy);
  line-height: 1.3;
}

body.contact-page .why-connect-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cp-muted);
}

body.contact-page .why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

body.contact-page .why-stat {
  text-align: center;
}

body.contact-page .why-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
}

body.contact-page .why-stat-icon svg {
  width: 22px;
  height: 22px;
}

body.contact-page .why-stat-icon-blue { background: #eff6ff; color: #2563eb; }
body.contact-page .why-stat-icon-green { background: #ecfdf5; color: #10b981; }
body.contact-page .why-stat-icon-purple { background: #f5f3ff; color: #8b5cf6; }
body.contact-page .why-stat-icon-orange { background: #fff7ed; color: #f97316; }

body.contact-page .why-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cp-navy);
  letter-spacing: -0.02em;
}

body.contact-page .why-stat > span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cp-text);
}

body.contact-page .why-stat small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Footer */
body.contact-page .contact-footer {
  background: var(--cp-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

body.contact-page .contact-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

body.contact-page .footer-brand {
  color: #fff;
  margin-bottom: 1rem;
}

body.contact-page .footer-brand-col > p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

body.contact-page .footer-social {
  display: flex;
  gap: 0.65rem;
}

body.contact-page .footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease;
}

body.contact-page .footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

body.contact-page .footer-social svg {
  width: 16px;
  height: 16px;
}

body.contact-page .footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

body.contact-page .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.contact-page .footer-col li {
  margin-bottom: 0.55rem;
}

body.contact-page .footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  text-decoration: none;
}

body.contact-page .footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

body.contact-page .footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

body.contact-page .footer-email svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--cp-blue);
}

body.contact-page .footer-email a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

body.contact-page .footer-email a:hover {
  color: #fff;
}

body.contact-page .footer-response {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

body.contact-page .contact-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
}

body.contact-page .contact-footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  body.contact-page .touch-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  body.contact-page .why-connect {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  body.contact-page .why-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  body.contact-page .contact-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  body.contact-page .contact-hero {
    padding: 3.5rem 0 4rem;
  }

  body.contact-page .topic-pills {
    flex-direction: column;
    align-items: stretch;
  }

  body.contact-page .topic-pill {
    justify-content: center;
  }

  body.contact-page .contact-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 1rem;
  }
}
