:root {
  --primary: #1F3A8A; --primary-dark: #15296B; --accent: #FF6B00;
  --accent-light: #FFE0B2; --bg: #F5F7FB; --text: #0F1729;
  --muted: #5A6478; --surface: #FFFFFF; --border: #E2E8F0; --dark: #0F1B3D;
  --shadow-sm: 0 1px 2px rgba(31,58,138,0.05);
  --shadow-md: 0 4px 16px rgba(31,58,138,0.10);
  --shadow-lg: 0 12px 40px rgba(31,58,138,0.15);
  --radius: 14px; --radius-sm: 8px; --radius-lg: 22px;
  --container: 1180px; --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Devanagari", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.topbar { background: var(--dark); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .promo { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.topbar .promo .badge { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; }
.topbar .social { display: flex; gap: 12px; }
.topbar .social a { color: rgba(255,255,255,0.85); }
.topbar .social svg { width: 16px; height: 16px; fill: currentColor; }

header.site { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); height: var(--header-h); display: flex; align-items: center; box-shadow: var(--shadow-sm); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: 22px; }
.logo svg { width: 32px; height: 32px; }
.logo span.cs { color: var(--text); font-weight: 500; }
nav.main { display: flex; gap: 4px; flex: 1; justify-content: center; }
nav.main a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 15px; }
nav.main a:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--primary); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle:focus-visible { outline: 3px solid rgba(31,58,138,.25); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; border: 0; transition: all 0.2s; white-space: nowrap; text-decoration: none; gap: 8px; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #E55A00; color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* LAYOUT 005 — Fantasy Dashboard Cards */
.hero { background: linear-gradient(135deg, #EEF2FF 0%, #F5F7FB 100%); padding: 56px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(31,58,138,0.06) 0, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255,107,0,0.05) 0, transparent 50%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-content h1 { font-size: 48px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 16px; }
.hero-content p.lede { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat strong { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat span { font-size: 13px; color: var(--muted); margin-top: 4px; display: block; }

.dashboard-preview { position: relative; }
.preview-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; margin-bottom: 16px; }
.preview-card .pc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.preview-card .pc-title { font-size: 14px; font-weight: 700; color: var(--text); }
.preview-card .pc-status { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 12px; background: #DCFCE7; color: #15803D; text-transform: uppercase; }
.preview-card .pc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.preview-card .pc-row:not(:last-child) { border-bottom: 1px dashed var(--border); }
.preview-card .pc-label { color: var(--muted); }
.preview-card .pc-value { font-weight: 700; color: var(--text); }
.preview-card .pc-value.green { color: #15803D; }
.preview-card .pc-value.blue { color: var(--primary); }
.preview-card.score-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.preview-card.score-card .pc-title, .preview-card.score-card .pc-value { color: #fff; }
.preview-card.score-card .pc-label { color: rgba(255,255,255,0.7); }
.preview-card.score-card .pc-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.15); }
.score-big { font-size: 56px; font-weight: 900; line-height: 1; margin: 16px 0 8px; }
.score-cap { font-size: 13px; opacity: 0.85; }

section { padding: 64px 0; }
section.alt { background: var(--surface); }
section.dark { background: var(--dark); color: #fff; }
section h2 { font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; }
section .section-sub { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 auto 40px; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .section-sub { color: rgba(255,255,255,0.8); }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.2s; }
.dash-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dash-card .dash-icon { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.dash-card.alt .dash-icon { background: var(--accent); }
.dash-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dash-card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.dash-card .dash-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }

.stats-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 48px 0; }
.stats-banner .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stats-banner .stat-item strong { display: block; font-size: 42px; font-weight: 900; line-height: 1; color: var(--accent); }
.stats-banner .stat-item span { display: block; font-size: 14px; opacity: 0.85; margin-top: 8px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.feature-grid .feature-content h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.feature-grid .feature-list { list-style: none; padding: 0; margin: 0; }
.feature-grid .feature-list li { display: flex; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.feature-grid .feature-list li:last-child { border-bottom: 0; }
.feature-grid .feature-list li .check { width: 24px; height: 24px; background: #DCFCE7; color: #15803D; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.feature-grid .feature-visual { background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg) 100%); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 120px; box-shadow: var(--shadow-md); }

.hub-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 32px; }
.hub-nav { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: 14px; }
.hub-nav:hover { border-color: var(--primary); background: var(--bg); text-decoration: none; color: var(--primary); }
.hub-nav .hub-num { font-size: 12px; color: var(--muted); font-weight: 700; }

.faq-list { max-width: 820px; margin: 32px auto 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item[open] { border-color: var(--primary); }
.faq-item summary { padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--text); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-size: 24px; color: var(--primary); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .answer { padding: 0 24px 20px; color: var(--muted); line-height: 1.7; }

.inline-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; margin: 56px 0; }
.inline-cta h3 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.inline-cta p { color: rgba(255,255,255,0.95); font-size: 17px; margin-bottom: 28px; }
.inline-cta .cta-pair { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.inline-cta .btn-primary { background: var(--accent); color: #fff; }
.inline-cta .btn-primary:hover { background: #E55A00; }
.inline-cta .btn-outline { border-color: #fff; color: #fff; }
.inline-cta .btn-outline:hover { background: #fff; color: var(--primary); }

footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 56px 0 24px; margin-top: 80px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: #fff; }
footer .footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; margin-top: 12px; }
footer .footer-brand .logo { color: #fff; }
footer .footer-brand .logo span.cs { color: rgba(255,255,255,0.6); }
footer .legal-bar { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.55); }

.longform { max-width: 820px; margin: 0 auto; }
.longform h1 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.longform .lede { font-size: 19px; color: var(--muted); line-height: 1.6; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.longform h2 { font-size: 28px; line-height: 1.2; font-weight: 800; text-align: left; margin: 48px 0 16px; }
.longform p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }

.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 14px; color: var(--muted); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 12px 16px; z-index: 50; box-shadow: 0 -4px 12px rgba(0,0,0,0.08); gap: 8px; }
.sticky-cta .btn { flex: 1; padding: 12px 16px; font-size: 14px; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  nav.main { display: none; }
  nav.main.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  nav.main.open a { padding: 12px 16px; }
  header.site .container > .btn-primary { display: none !important; }
  .menu-toggle { display: inline-flex; }
  footer .container { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 36px; }
  .longform h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p.lede { font-size: 16px; }
  section { padding: 40px 0; }
  section h2 { font-size: 26px; }
  .longform h1 { font-size: 26px; }
  .longform h2 { font-size: 22px; }
  .longform p { font-size: 16px; }
  .stats-banner .stat-item strong { font-size: 32px; }
  .preview-card.score-card .score-big { font-size: 40px; }
  footer .container { grid-template-columns: 1fr; }
  footer .legal-bar { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* Hub card grid fix for homepage hub section. */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 140px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.hub-card h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.hub-card p {
  margin: 0;
}
.hub-card a {
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 640px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
