* { box-sizing: border-box; }

:root{
  --bg: #f4f6f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);

  --blue: #0b4aa2;
  --blue2: #0a3f8c;
  --blueSoft: rgba(11, 74, 162, 0.12);

  --cta: #1f7a3a;

  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --max: 1140px;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a{ color: var(--blue); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Top bar */
.topbar{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbarRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandMark{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brandName{ font-weight: 900; }
.brandTag{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.topbarRight{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.topLink{ color: var(--muted); }
.topLink:hover{ color: var(--ink); }

.topPhone{ padding-left: 8px; border-left: 1px solid var(--line); }

/* Hero layout like the reference page */
.hero{
  padding: 26px 0 18px;
}

.heroGrid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.heroKicker{
  display: inline-block;
  font-size: 12px;
  color: var(--blue2);
  background: var(--blueSoft);
  border: 1px solid rgba(11, 74, 162, 0.18);
  padding: 8px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

h1{
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.12;
}

.heroSub{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

.heroBadges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 14px;
}

.badge{
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.heroCtaRow{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 12px;
}

.btnPrimary{
  border: none;
  background: var(--blue);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.btnPrimary:hover{ background: var(--blue2); }

.btnGhost{
  display: inline-block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.btnGhost:hover{ text-decoration: none; }

.heroFine{
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

.featureStrip{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.featureItem{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.featureTitle{ font-weight: 900; font-size: 14px; }
.featureText{ color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }

/* Form card on the right */
.formCard{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.formHeader{
  padding: 16px;
  background: rgba(11, 74, 162, 0.06);
  border-bottom: 1px solid var(--line);
}

.formEyebrow{
  font-size: 12px;
  color: var(--blue2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formTitle{ font-size: 20px; font-weight: 900; margin-top: 6px; }
.formSub{ color: var(--muted); font-size: 13px; margin-top: 6px; }

.formBody{ padding: 14px 16px 16px; }

.field{ display: block; margin-bottom: 12px; }
.field span{ display: block; font-size: 12px; font-weight: 900; color: #334155; margin-bottom: 6px; }

input, select{
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(15, 23, 42, 0.20);
  border-radius: 12px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
}

input:focus, select:focus{
  border-color: rgba(11, 74, 162, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 74, 162, 0.12);
}

.twoCol{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkRow{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 12px;
}

.checkRow input{ width: auto; margin-top: 2px; }

.btnSubmit{
  width: 100%;
  border: none;
  background: var(--cta);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.btnSubmit:hover{ opacity: 0.95; }

.formFine{
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

.socialProof{
  padding: 10px 0 6px;
}

.proofGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.proofCard{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.proofTitle{ font-weight: 900; }
.proofText{ color: var(--muted); margin-top: 8px; line-height: 1.55; }

.proofList{
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.section{ padding: 22px 0; }

.section h2{
  margin: 0 0 12px;
  font-size: 22px;
}

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stepNum{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(31, 122, 58, 0.14);
  border: 1px solid rgba(31, 122, 58, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #14532d;
}

.stepTitle{ font-weight: 900; }
.stepText{ color: var(--muted); margin-top: 6px; line-height: 1.5; font-size: 13px; }

.faq{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 10px 0;
}

.faq summary{ cursor: pointer; font-weight: 900; }
.faq p{ color: var(--muted); line-height: 1.6; margin: 10px 0 0; }

.footer{
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 8px;
}

.footerRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footerBrand{ font-weight: 900; }
.footerSmall{ font-size: 12px; color: var(--muted); margin-top: 4px; }
.footerLinks{ display: flex; gap: 14px; }

/* Chat */
.chatLauncher{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.chatLauncher:hover{ background: var(--blue2); }

.chatWidget{
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 520px;
  max-height: calc(100vh - 120px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.hidden{ display: none; }

.chatHeader{
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 74, 162, 0.06);
}

.chatTitle{ font-weight: 900; }
.chatClose{
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

.chatLog{
  padding: 12px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg{
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 13px;
  line-height: 1.45;
}

.msgBot{ background: #f8fafc; }
.msgUser{ margin-left: auto; background: rgba(11, 74, 162, 0.10); }

.chatComposer{
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

#chatInput{
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.20);
}

.chatSend{
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.chatFooter{
  padding: 10px 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
}

/* Responsive */
@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .featureStrip{ grid-template-columns: 1fr; }
  .proofGrid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  h1{ font-size: 36px; }
  .topPhone{ display: none; }
}
