/* whoislookuppro.com — shared styles
   Fonts & tokens mirror checkmyipnow.com (network standard):
   Fraunces (display/serif), Geist (body/sans), JetBrains Mono (labels/code).
   Self-host the woff2 files under /assets/fonts/ (same files used across the network). */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 600;font-display:swap;src:url('/assets/fonts/fraunces.woff2') format('woff2')}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:300 600;font-display:swap;src:url('/assets/fonts/fraunces-italic.woff2') format('woff2')}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/geist.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/jetbrains-mono.woff2') format('woff2')}

:root {
  --bg: #ffffff;
  --bg-warm: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-soft: #334155;
  --text-dim: #64748b;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-soft: #dbeafe;
  --good: #10b981; --good-soft: #d1fae5;
  --warn: #f59e0b; --warn-soft: #fef3c7;
  --bad: #dc2626; --bad-soft: #fee2e2;
  --neutral: #475569; --neutral-soft: #f1f5f9;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.05);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --maxw: 760px;
}
[data-theme="dark"] {
  --bg: #0b1120; --bg-warm: #0e1626; --surface: #111827; --surface-2: #1e293b; --border: #243044;
  --text: #e6edf6; --text-soft: #cbd5e1; --text-dim: #94a3b8;
  --primary: #60a5fa; --primary-hover: #93c5fd; --primary-soft: #16233c;
  --good: #4ade80; --good-soft: #11241a;
  --warn: #fbbf24; --warn-soft: #2a2110;
  --bad: #f87171; --bad-soft: #2a1414;
  --neutral: #cbd5e1; --neutral-soft: #1e293b;
  --shadow: 0 1px 3px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
  font-size: 16px; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background .2s, color .2s;
}
a { color: var(--primary); }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.brand span { font-family: var(--display); font-size: 24px; font-weight: 600; font-variation-settings: "SOFT" 50, "opsz" 80; letter-spacing: -.02em; }
.brand b { color: var(--primary); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 11px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.theme-toggle {
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1.05rem;
  display: grid; place-items: center; transition: border-color .15s, color .15s; margin-left: 4px;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- main wrapper ---------- */
main { flex: 1; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 20px 70px; }
.page { padding-top: 30px; }
.page h1 { font-family: var(--display); font-size: clamp(36px, 5.5vw, 56px); font-weight: 400; font-variation-settings: "SOFT" 50, "opsz" 144; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 16px; }
.page h2 { font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 48px 0 16px; }
.page h3 { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin: 32px 0 12px; }
.page p { font-size: 16px; line-height: 1.7; color: var(--text-soft); margin: 0 0 16px; }
.page .lead { font-size: 18px; line-height: 1.6; color: var(--text-dim); margin-bottom: 24px; }
.page ul { color: var(--text-soft); font-size: 16px; line-height: 1.7; padding-left: 22px; margin: 0 0 16px; }
.page li { margin-bottom: 8px; }
.page code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: var(--surface); }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .ans { padding: 0 18px 16px; color: var(--text-dim); }

/* card helper */
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px; }

/* ---------- footer (checkmyipnow layout: full-width, brand far-left, link columns spread) ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-warm); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 56px 32px 22px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-about { }
.footer-brand { font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 16px; }
.footer-tagline { color: var(--text-dim); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--text-dim); margin: 0 0 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--text); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; color: var(--text-dim); font-size: 12px; font-family: var(--mono); letter-spacing: .05em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-tagline { max-width: 420px; }
}
@media (max-width: 600px) {
  .nav a:not(.nav-keep) { display: none; }
  .footer-inner { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-tagline { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
