/* Landing page styles — extracted verbatim from the Next.js app's
   components/landing/landing.module.css. Selectors were already plain class
   names, so no conversion was needed.

   ONE addition below: --font-sans used to be injected by next/font (Inter) from
   the app's root layout. This is a standalone static site now, so it has to
   define the variable itself or every rule falls back to a serif default. */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

/* Minimal reset — the app got this from Tailwind's preflight, which is gone. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); }
img, svg { vertical-align: middle; max-width: 100%; }
button { font-family: inherit; }

/* ── Design tokens (local to landing only) ────────────────────────────────── */
.nav,
.hero,
.previewSection,
.whySection,
.featuresSection,
.ruleSection,
.dashboardsSection,
.ctaSection,
.footer {
  --l-green:      #1a7a3c;
  --l-green-dark: #145f2e;
  --l-green-light:#e8f5ed;
  --l-green-mid:  #2d9a52;
  --l-black:      #0d0d0d;
  --l-off-white:  #f7f8f5;
  --l-gray:       #6b7280;
  --l-gray-light: #e5e7eb;
  --l-white:      #ffffff;
  font-family: var(--font-sans), system-ui, sans-serif;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--l-white);
  border-bottom: 1px solid var(--l-gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navLogo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--l-black);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.navLogoIcon {
  width: 34px;
  height: 34px;
  background: var(--l-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navLinks {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navLinks a {
  font-size: 14px;
  color: var(--l-gray);
  text-decoration: none;
  transition: color 0.15s;
}
.navLinks a:hover { color: var(--l-black); }
.navActions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btnGhost {
  font-size: 14px;
  color: var(--l-black);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
  font-weight: 500;
}
.btnGhost:hover { background: var(--l-off-white); }
.btnPrimary {
  font-size: 14px;
  font-weight: 600;
  color: var(--l-white);
  background: var(--l-green);
  padding: 9px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.btnPrimary:hover { background: var(--l-green-dark); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--l-off-white);
  padding: 80px 48px 72px;
  text-align: center;
}
.heroPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-gray);
  margin-bottom: 28px;
}
.heroPillDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--l-green-mid);
}
.heroH1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--l-black);
  max-width: 720px;
  margin: 0 auto 20px;
}
.heroGreen { color: var(--l-green); }
.heroP {
  font-size: 18px;
  color: var(--l-gray);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.heroCtas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btnHeroPrimary {
  font-size: 15px;
  font-weight: 600;
  color: var(--l-white);
  background: var(--l-green);
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.btnHeroPrimary:hover { background: var(--l-green-dark); }
.btnHeroSecondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--l-black);
  background: var(--l-white);
  border: 1.5px solid var(--l-gray-light);
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btnHeroSecondary:hover { border-color: #aaa; }
.playIcon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--l-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l-green);
}
.heroTrust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.heroTrust span {
  font-size: 13px;
  color: var(--l-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.heroTrust span::before { content: '✓'; font-weight: 700; }

/* ── Dashboard Preview ───────────────────────────────────────────────────── */
.previewSection {
  padding: 0 48px 80px;
  background: var(--l-off-white);
}
.previewWindow {
  max-width: 900px;
  margin: 0 auto;
  background: var(--l-white);
  border-radius: 14px;
  border: 1px solid var(--l-gray-light);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.previewBar {
  background: #f0f0f0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--l-gray-light);
}
.previewDot { width: 12px; height: 12px; border-radius: 50%; }
.dotRed    { background: #ff5f57; }
.dotYellow { background: #febc2e; }
.dotGreen  { background: #28c840; }
.previewBarUrl {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--l-gray);
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 6px;
  padding: 4px 12px;
  max-width: 220px;
  margin: 0 auto;
}
.previewBody {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.previewSidebar {
  background: #1a7a3c;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.previewSidebarHeader { padding: 8px 12px; margin-bottom: 8px; }
.firmName { font-size: 13px; font-weight: 700; color: white; }
.firmSub  { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 1px; }
.previewNavItem {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.previewNavItemActive {
  background: rgba(255,255,255,0.18);
  color: white;
  font-weight: 600;
}
.previewMain { padding: 24px; background: #f9fafb; overflow: auto; }
.previewGreeting { font-size: 16px; font-weight: 700; color: var(--l-black); margin-bottom: 4px; }
.previewSub { font-size: 11px; color: var(--l-gray); margin-bottom: 16px; }
.previewStats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.previewStat {
  background: white;
  border: 1px solid var(--l-gray-light);
  border-radius: 8px;
  padding: 10px 12px;
}
.sNum { font-size: 18px; font-weight: 800; color: var(--l-black); }
.sLbl { font-size: 10px; color: var(--l-gray); margin-top: 2px; }
.sBadge { font-size: 9px; color: var(--l-green); font-weight: 600; margin-top: 2px; }
.sBadgeDanger { color: #dc2626; }
.previewCards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.previewCard {
  background: white;
  border: 1px solid var(--l-gray-light);
  border-radius: 8px;
  padding: 12px;
}
.previewCardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.previewCardTitle { font-size: 11px; font-weight: 700; color: var(--l-black); }
.previewCardLink  { font-size: 10px; color: var(--l-green); font-weight: 600; }
.previewClientRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}
.previewClientRow:last-child { border-bottom: none; }
.previewAvatar {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white; flex-shrink: 0;
}
.previewClientName { font-size: 11px; font-weight: 600; color: var(--l-black); }
.previewClientType { font-size: 9px; color: var(--l-gray); }
.previewBadge { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.badgeActive  { background: #e8f5ed; color: #1a7a3c; }
.badgePending { background: #fef3c7; color: #92400e; }
.complianceRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}
.complianceRow:last-child { border-bottom: none; }
.complianceName { font-size: 11px; font-weight: 600; color: var(--l-black); }
.complianceDate { font-size: 10px; color: var(--l-gray); }
.complianceStatus { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.statusUrgent { background: #fee2e2; color: #991b1b; }
.statusRisk   { background: #fef3c7; color: #92400e; }
.statusOk     { background: #e8f5ed; color: #1a7a3c; }

/* ── Shared section layout ───────────────────────────────────────────────── */
.sectionLabel {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--l-green); text-align: center; margin-bottom: 14px;
}
.sectionTitle {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800; text-align: center;
  line-height: 1.1; letter-spacing: -0.025em;
  color: var(--l-black); max-width: 680px;
  margin: 0 auto 16px;
}
.sectionBody {
  font-size: 17px; color: var(--l-gray);
  text-align: center; max-width: 560px;
  margin: 0 auto 56px; line-height: 1.65;
}
.sectionBodyMb { margin-bottom: 48px; }

/* ── Why section ─────────────────────────────────────────────────────────── */
.whySection { padding: 80px 48px; background: var(--l-white); }
.whyGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px; max-width: 960px; margin: 0 auto 56px;
}
.whyCard {
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 14px; padding: 24px;
}
.whyIcon {
  width: 44px; height: 44px; background: var(--l-green-light);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; color: var(--l-green);
}
.whyCard h3 { font-size: 15px; font-weight: 700; color: var(--l-black); margin-bottom: 8px; }
.whyCard p  { font-size: 14px; color: var(--l-gray); line-height: 1.6; }
.statsBanner {
  background: var(--l-green); border-radius: 16px;
  padding: 40px 48px; display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px; max-width: 960px; margin: 0 auto; text-align: center;
}
.statNum { font-size: 38px; font-weight: 800; color: white; line-height: 1; }
.statLbl { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ── Features section ───────────────────────────────────────────────────── */
.featuresSection { padding: 80px 48px; background: var(--l-off-white); }
.featuresGrid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; max-width: 960px; margin: 0 auto;
}
.featureCard {
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 14px; padding: 24px;
}
.featureIcon {
  width: 44px; height: 44px; background: var(--l-green-light);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; color: var(--l-green);
}
.featureCard h3 { font-size: 15px; font-weight: 700; color: var(--l-black); margin-bottom: 6px; }
.featureCard p  { font-size: 13px; color: var(--l-gray); line-height: 1.6; }

/* ── Rule engine section ─────────────────────────────────────────────────── */
.ruleSection { padding: 80px 48px; background: var(--l-white); }
.ruleInner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.rulePreview {
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.rulePreviewBar {
  background: #f5f5f5; padding: 10px 14px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--l-gray-light);
}
.rulePreviewTitle {
  margin-left: 8px; font-size: 11px;
  color: var(--l-gray); font-weight: 500;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.rulePreviewBody { padding: 20px; }
.ruleStepLabel {
  font-size: 11px; font-weight: 700; color: var(--l-gray);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em;
}
.ruleTypeGrid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; margin-bottom: 16px;
}
.ruleTypeCard {
  border: 2px solid var(--l-gray-light);
  border-radius: 8px; padding: 10px 6px;
  text-align: center; background: #f9fafb;
}
.ruleTypeCardSelected { border-color: var(--l-green); background: var(--l-green-light); }
.rtIcon { font-size: 18px; margin-bottom: 4px; }
.rtLabel { font-size: 9px; font-weight: 700; color: var(--l-black); line-height: 1.3; }
.ruleGenerated {
  background: var(--l-green-light);
  border: 1px solid #a7d7b8;
  border-radius: 8px; padding: 12px;
}
.rgLabel {
  font-size: 10px; font-weight: 700; color: var(--l-green);
  margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}
.rgItem { font-size: 11px; color: #1a7a3c; padding: 3px 0; }
.ruleText h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--l-black); margin-bottom: 16px;
}
.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--l-green); margin-bottom: 12px;
}
.ruleText p { font-size: 16px; color: var(--l-gray); line-height: 1.65; margin-bottom: 28px; }
.ruleTypesList { display: flex; flex-direction: column; gap: 12px; }
.ruleTypeItem {
  background: var(--l-off-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.ruleTypeIcon {
  width: 36px; height: 36px; background: var(--l-green-light);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px; color: var(--l-green);
}
.ruleTypeItem h4 { font-size: 14px; font-weight: 700; color: var(--l-black); margin-bottom: 3px; }
.ruleTypeItem p  { font-size: 13px; color: var(--l-gray); line-height: 1.5; margin: 0; }
.ruleLink {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--l-green);
  text-decoration: none; margin-top: 20px;
}
.ruleLink svg { transition: transform 0.15s; }
.ruleLink:hover svg { transform: translateX(3px); }

/* ── Dashboards section ──────────────────────────────────────────────────── */
.dashboardsSection { padding: 80px 48px; background: var(--l-off-white); }
.dashboardTabs {
  display: flex; justify-content: center;
  gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.dashboardTab {
  padding: 10px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--l-gray-light);
  background: var(--l-white); color: var(--l-gray);
  cursor: pointer; display: flex; align-items: center;
  gap: 8px; transition: all 0.15s;
  font-family: inherit;
}
.dashboardTabActive {
  background: var(--l-green);
  border-color: var(--l-green);
  color: white;
}
.dashboardContent {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.dashboardText .eyebrow { font-size: 11px; }
.dashboardText h2 {
  font-size: 28px; font-weight: 800;
  color: var(--l-black); margin-bottom: 12px; line-height: 1.15;
}
.dashboardText p { font-size: 15px; color: var(--l-gray); line-height: 1.65; margin-bottom: 20px; }
.dashboardFeatures { display: flex; flex-direction: column; gap: 8px; }
.dashboardFeature {
  display: flex; align-items: center;
  gap: 10px; font-size: 14px; color: var(--l-black);
}
.dashboardFeature svg { flex-shrink: 0; color: var(--l-green); }
.dbMockup {
  background: var(--l-white);
  border: 1px solid var(--l-gray-light);
  border-radius: 14px; overflow: hidden;
}
.dbMockBar {
  background: #f5f5f5; padding: 10px 14px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--l-gray-light);
}
.dbMockBody { display: grid; grid-template-columns: 60px 1fr; }
.dbMockSide { padding: 12px 8px; display: flex; flex-direction: column; gap: 6px; }
.dbMockNav { height: 6px; background: rgba(255,255,255,0.3); border-radius: 3px; }
.dbMockNavActive { background: rgba(255,255,255,0.8); }
.dbMockMain { padding: 16px; background: #f9fafb; }
.dbMockRow { height: 10px; background: #e5e7eb; border-radius: 3px; margin-bottom: 8px; }
.dbMockRowGreen { background: #a7d7b8; width: 60%; }
.dbMockGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dbMockCard {
  background: white;
  border: 1px solid var(--l-gray-light);
  border-radius: 6px; padding: 10px;
}
.dcNum { height: 14px; border-radius: 3px; width: 50%; margin-bottom: 5px; }
.dcLbl { height: 7px; background: #e5e7eb; border-radius: 3px; width: 70%; }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.ctaSection { padding: 80px 48px; background: var(--l-white); }
.ctaInner {
  max-width: 800px; margin: 0 auto;
  background: var(--l-green); border-radius: 20px;
  padding: 64px 48px; text-align: center;
}
.ctaInner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: white;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px;
}
.ctaInner p {
  font-size: 16px; color: rgba(255,255,255,0.8);
  max-width: 440px; margin: 0 auto 32px; line-height: 1.65;
}
.ctaButtons {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.btnCtaWhite {
  font-size: 15px; font-weight: 600; color: var(--l-green);
  background: white; padding: 13px 28px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; transition: background 0.15s;
}
.btnCtaWhite:hover { background: #f0f0f0; }
.btnCtaOutline {
  font-size: 15px; font-weight: 500; color: white;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 12px 28px; border-radius: 10px;
  text-decoration: none; transition: background 0.15s;
  display: inline-block;
}
.btnCtaOutline:hover { background: rgba(255,255,255,0.25); }
.ctaTrust {
  display: flex; align-items: center;
  justify-content: center; gap: 20px; flex-wrap: wrap;
}
.ctaTrust span {
  font-size: 13px; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 5px;
}
.ctaTrust span::before { content: '✓'; color: rgba(255,255,255,0.9); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 48px 48px 32px;
  background: var(--l-white);
  border-top: 1px solid var(--l-gray-light);
}
.footerTop {
  display: grid;
  grid-template-columns: 1.5fr repeat(4,1fr);
  gap: 32px; margin-bottom: 40px;
}
.footerLogo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--l-black);
  margin-bottom: 12px; text-decoration: none;
}
.footerLogoIcon {
  width: 30px; height: 30px; background: var(--l-green);
  border-radius: 7px; display: flex;
  align-items: center; justify-content: center;
}
.footerBrand p { font-size: 13px; color: var(--l-gray); line-height: 1.6; }
.footerCol h4 {
  font-size: 13px; font-weight: 700;
  color: var(--l-black); margin-bottom: 14px;
}
.footerCol ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footerCol ul li a {
  font-size: 13px; color: var(--l-gray);
  text-decoration: none; transition: color 0.15s;
}
.footerCol ul li a:hover { color: var(--l-black); }
.footerLinkHighlight { color: var(--l-green) !important; }
.footerBottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--l-gray-light);
  flex-wrap: wrap; gap: 12px;
}
.footerBottom p { font-size: 12px; color: var(--l-gray); }
.footerBuiltIn { color: var(--l-green); font-weight: 600; }
.footerBottomLinks { display: flex; gap: 20px; }
.footerBottomLinks a {
  font-size: 12px; color: var(--l-gray);
  text-decoration: none; transition: color 0.15s;
}
.footerBottomLinks a:hover { color: var(--l-black); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .navLinks { display: none; }
  .hero, .previewSection, .whySection, .featuresSection,
  .ruleSection, .dashboardsSection, .ctaSection { padding-left: 20px; padding-right: 20px; }
  .ruleInner, .dashboardContent { grid-template-columns: 1fr; gap: 32px; }
  .statsBanner { grid-template-columns: repeat(2,1fr); }
  .featuresGrid { grid-template-columns: 1fr; }
  .previewStats { grid-template-columns: repeat(2,1fr); }
  .previewCards { grid-template-columns: 1fr; }
  .footer { padding: 32px 20px; }
  .footerTop { grid-template-columns: 1fr 1fr; }
  .ctaInner { padding: 40px 24px; }
}