/* CAFCA site - shared styles aligned with v3 landing */
:root {
  --rose: #ff00ff;
  --rose-lt: #ffe6ff;
  --rose-md: #ffccff;
  --blue: #1d4ed8;
  --blue-lt: #eff6ff;
  --green: #15803d;
  --green-lt: #f0fdf4;
  --amber: #d97706;
  --amber-lt: #fffbeb;
  --dark: #0f172a;
  --mid: #334155;
  --soft: #64748b;
  --pale: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 8px;
  --max: 1080px;
  --duck-blue: var(--rose);
  --azure-mist: var(--rose-lt);
  --brick-ember: var(--rose);
  --ink-black: var(--dark);
  --bg-soft: var(--pale);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--dark); background: var(--white);
}
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }
h1, h2, h3 { color: var(--dark); line-height: 1.2; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 700; }
p { color: var(--mid); }
img { max-width: 100%; display: block; }

.wireframe-badge { display: none; }

.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav .inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; flex-shrink: 0;
  color: var(--rose); font-size: 18px; font-weight: 800;
  letter-spacing: -.02em; text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.brand-logo, .nav-logo-img { width: auto; height: 42px; display: block; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--mid); font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--rose); text-decoration: none; }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--rose); color: var(--white) !important;
  font-size: 13px; font-weight: 600;
  padding: 8px 16px !important; border-radius: var(--radius);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: #cc00cc !important; color: var(--white) !important; text-decoration: none; }
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .mobile-menu { display: none; }
}

.hero-section { background: var(--pale); color: var(--dark); padding: 80px 0 64px; }
.hero-section h1 { color: var(--dark); }
.hero-section p { color: var(--mid); font-size: 18px; max-width: 720px; margin: 16px 0 28px; }
.hero-section .eyebrow { color: var(--soft); }
.alt-section { background: var(--pale); }
.dark-section { background: var(--dark); color: var(--white); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: #cbd5e1; }
.dark-section .eyebrow { color: #94a3b8; }

.eyebrow {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--soft); margin-bottom: 12px;
}
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; padding: 13px 24px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--rose) !important; color: var(--white) !important; }
.btn-primary:hover { background: #cc00cc !important; }
.btn-outline {
  background: var(--white) !important; color: var(--mid) !important;
  border-color: var(--border) !important;
}
.btn-outline:hover { border-color: var(--rose) !important; color: var(--rose) !important; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.card, .timeline, .risk-box, .faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px;
}
.card { padding: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="display:grid"] { grid-template-columns: 1fr !important; }
  .site-nav .inner { gap: 12px; }
  .nav-cta { padding: 8px 12px !important; font-size: 12px; }
}

.comp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 13px; background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.comp-table th { background: var(--dark); color: var(--white); padding: 12px 14px; text-align: left; font-weight: 700; }
.comp-table th:last-child { background: var(--rose) !important; }
.comp-table td { border-bottom: 1px solid var(--border); padding: 12px 14px; color: var(--mid); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--pale); }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--rose); font-weight: 700; }
.neutral { color: var(--amber); font-weight: 700; }
@media (max-width: 760px) { .comp-table { display: block; overflow-x: auto; white-space: nowrap; } }

.timeline { padding: 20px; display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 14px; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--white);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tl-line { width: 2px; background: var(--rose-md); flex: 1; margin: 4px 0; }
.tl-item:last-child .tl-line { display: none; }
.tl-content { padding-bottom: 18px; padding-top: 3px; }
.tl-title { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 3px; }
.tl-desc { font-size: 13px; color: var(--soft); line-height: 1.5; }

.faq-item { margin-bottom: 10px; overflow: hidden; }
.faq-q {
  font-weight: 700; font-size: 14px; padding: 16px 18px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--dark); user-select: none;
}
.faq-q:hover { color: var(--rose); }
.faq-a { font-size: 13px; line-height: 1.65; color: var(--soft); padding: 0 18px 16px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--rose); }

.risk-box {
  background: var(--rose-lt); border-color: var(--rose-md);
  padding: 20px 24px; font-size: 13px; line-height: 1.65; color: var(--mid);
}
.risk-box strong { color: var(--rose); }

input, select, textarea {
  width: 100%; padding: 10px 12px; font-size: 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--pale); color: var(--dark); outline: none; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--rose); }
label { font-size: 13px; font-weight: 600; color: var(--dark); }

.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 20px;
  background: var(--rose-md); color: var(--rose);
}

.site-footer {
  background: var(--dark); color: #94a3b8;
  padding: 40px 0; font-size: 13px;
}
.site-footer p { color: #94a3b8; font-size: 12px; }
.site-footer a { color: #94a3b8; font-size: 12px; }
.site-footer a:hover { color: var(--white); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { color: var(--rose); font-weight: 800; font-size: 16px; }
.footer-risk {
  font-size: 11px; color: #64748b; line-height: 1.6;
  max-width: var(--max); margin: 20px auto 0; padding: 20px 20px 0;
  border-top: 1px solid #334155;
}
