/* ============================================================
   kd-airadar-shell.css — Shared shell (header, footer, base)
   for /ai-radar/ and /ai-radar/results/. Brand-matched to
   the homepage so the tool feels like first-class kunaldabi.com.
   ============================================================ */

/* Reset/base */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--red, #ef4444); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Brand tokens (mirrors kd-v21.css) */
:root {
  --navy: #0B1340;
  --navy-darker: #060924;
  --gold: #fcd873;
  --red: #ef4444;
  --red-dark: #dc2626;
  --muted: #64748b;
  --hair: #e5e7eb;
  --hair-strong: #cbd5e1;
  --text-dark: #0F172A;
}

/* ── HEADER ───────────────────────────────────────────────── */
.kdah-shell-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  z-index: 50;
}
.kdah-shell-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.kdah-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-decoration: none;
}
.kdah-logo:hover { text-decoration: none; }
.kdah-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}
.kdah-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kdah-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kdah-logo-text span {
  color: var(--red);
  font-style: italic;
}
.kdah-logo-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.kdah-nav {
  display: none;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 600;
  margin-left: auto;
}
.kdah-nav a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}
.kdah-nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.kdah-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(239,68,68,0.28);
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.kdah-cta:hover {
  background: var(--red-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(239,68,68,0.36);
}

@media (min-width: 900px) {
  .kdah-nav { display: flex; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.kdah-shell-footer {
  background: var(--navy-darker);
  color: #cbd5e1;
  padding: 56px 0 28px;
  font-size: 14px;
  margin-top: 80px;
}
.kdah-shell-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.kdah-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
@media (max-width: 800px) {
  .kdah-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.kdah-footer-brand-title {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.kdah-footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 0 16px;
  font-size: 13.5px;
}
.kdah-footer-motto {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}
.kdah-footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.kdah-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kdah-footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s;
}
.kdah-footer-col a:hover {
  color: var(--gold);
  text-decoration: none;
}
.kdah-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12.5px;
  color: #94a3b8;
}
.kdah-footer-bottom a { color: #cbd5e1; }
.kdah-footer-bottom a:hover { color: var(--gold); text-decoration: none; }
.kdah-trust-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12.5px;
  color: #94a3b8;
}
.kdah-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kdah-trust-pills strong {
  color: var(--gold);
  font-weight: 700;
}

/* Don't print the header/footer on PDF export */
@media print {
  .kdah-shell-header,
  .kdah-shell-footer { display: none !important; }
}
