/* ============================================================
   Engagement Bods - Insurance Brokers: More Offer Clicks
   Brand: #00d1b2 (teal), white, black
   ============================================================ */

/* --- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.7;
  font-size: 20px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- Colour tokens ---------------------------------------- */
:root {
  --brand:       #00d1b2;
  --brand-dark:  #00b89b;
  --brand-light: #e8faf8;
  --ink:         #111111;
  --ink-mid:     #444444;
  --ink-light:   #777777;
  --rule:        #e8e8e8;
  --bg-soft:     #f8f8f8;
  --white:       #ffffff;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: 55px; }
h2 { font-size: 45px; }
h3 { font-size: 22px; font-weight: 700; }

p { font-size: 20px; margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

code {
  font-family: 'Courier New', monospace;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.9em;
}

/* --- Layout ------------------------------------------------ */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 72px 0; }

/* --- Scroll prompt ---------------------------------------- */
.scroll-prompt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 2px;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.scroll-prompt svg {
  width: 32px;
  height: 32px;
  color: var(--brand);
  animation: throb 1.6s ease-in-out infinite;
}

@keyframes throb {
  0%, 100% { transform: translateY(0px); opacity: 0.35; }
  50%       { transform: translateY(7px); opacity: 1; }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: -0.01em;
}

.btn--primary  { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--primary:hover { opacity: 0.82; }

.btn--brand    { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.btn--outline  { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn:active { transform: scale(0.98); }

/* --- Nav -------------------------------------------------- */
.site-nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav__logo img { height: 36px; width: auto; }
.site-nav__cta { font-size: 15px; padding: 10px 20px; }

/* --- Eyebrow ---------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand-dark);
  background: var(--brand-light);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 11px;
}

/* --- Section headers -------------------------------------- */
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 20px; color: var(--ink-mid); max-width: 600px; margin-top: 8px; }

/* --- Hero ------------------------------------------------- */
.hero {
  padding: 80px 0 64px;
  background: var(--white);
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: center;
}

.hero__content { max-width: 620px; }

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand-dark);
  background: var(--brand-light);
  border-radius: 4px;
  padding: 5px 11px;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 em {
  font-style: normal;
  color: var(--brand-dark);
}

.hero__sub {
  font-size: 20px;
  color: var(--ink-mid);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__note { font-size: 14px; color: var(--ink-light); }

.hero__bod {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__bod img { width: 180px; height: auto; flex-shrink: 0; }

/* --- Problem section -------------------------------------- */
.problem { background: var(--bg-soft); }

.problem__body { font-size: 20px; color: var(--ink-mid); }
.problem__body p { margin-bottom: 16px; }

.problem__callout {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.65;
}

/* --- How it works ----------------------------------------- */
.how-it-works { background: var(--bg-soft); }

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
  border-radius: 8px;
  padding: 24px;
}

.feature-card__icon { font-size: 24px; margin-bottom: 12px; line-height: 1; }
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card p  { font-size: 16px; color: var(--ink-mid); margin: 0; }

/* --- Use cases -------------------------------------------- */
.use-cases__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.use-case {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
}

.use-case__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.use-case h3 { margin-bottom: 8px; }
.use-case p  { font-size: 20px; color: var(--ink-mid); }

.use-case__example {
  margin-top: 16px;
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 18px;
  color: var(--ink);
  font-style: italic;
}

.use-case__example strong {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-dark);
  margin-bottom: 5px;
}

/* --- Writing messages ------------------------------------- */
.writing-messages { background: var(--bg-soft); }
.writing-messages .use-case { background: var(--white); }

/* --- Mid CTA ---------------------------------------------- */
.mid-cta { background: var(--brand-light); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.mid-cta__box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.mid-cta__box h2 { margin-bottom: 16px; }
.mid-cta__box p  { color: var(--ink-mid); margin-bottom: 28px; }

.mid-cta__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-light);
}

/* --- Comparison table ------------------------------------- */
.static-fails { background: var(--bg-soft); }

.static-fails__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 16px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.static-fails__table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--ink-light);
  border-bottom: 1px solid var(--rule);
}

.static-fails__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-mid);
  vertical-align: middle;
}

.static-fails__table tr:last-child td { border-bottom: none; }

.static-fails__table tr.highlight td {
  color: var(--ink);
  font-weight: 700;
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
}

.tag-no {
  display: inline-block;
  background: #fde8e8;
  color: #c0392b;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 700;
}

.tag-yes {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 700;
}

.table-note {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* --- Why brokers ------------------------------------------ */
.why-brokers { background: var(--white); }

.broker-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.broker-point {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.broker-point__number {
  flex-shrink: 0;
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 60px;
  text-align: right;
}

.broker-point__body h3 { margin-bottom: 8px; }
.broker-point__body p  { font-size: 20px; color: var(--ink-mid); }

/* --- Features --------------------------------------------- */
.features { background: var(--bg-soft); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feat-item { display: flex; gap: 14px; align-items: flex-start; }

.feat-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--brand-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.feat-item__body h3 { font-size: 18px; margin-bottom: 4px; }
.feat-item__body p  { font-size: 16px; color: var(--ink-mid); margin: 0; }

/* --- Install ---------------------------------------------- */
.install { background: var(--bg-soft); }

.code-block {
  background: #111111;
  color: #00d1b2;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  padding: 20px 24px;
  border-radius: 6px;
  margin: 24px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.install__steps {
  counter-reset: steps;
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install__steps li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 20px;
  color: var(--ink-mid);
}

.install__steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.install__note {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-mid);
}

/* --- Pricing ---------------------------------------------- */
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 560px;
}

.price-card {
  border: 2px solid var(--rule);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  background: var(--white);
}

.price-card--featured { border-color: var(--brand); background: var(--brand-light); }

.price-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  margin-bottom: 12px;
}

.price-card--featured .price-card__label { color: var(--brand-dark); }

.price-card__amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-card__per { font-size: 14px; color: var(--ink-light); margin-top: 4px; margin-bottom: 16px; }
.price-card__note { font-size: 15px; color: var(--ink-mid); }

.price-card__badge {
  display: inline-block;
  background: var(--brand);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.pricing__terms { margin-top: 24px; font-size: 15px; color: var(--ink-light); }

.pricing__context {
  margin-top: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  padding: 20px 24px;
  max-width: 580px;
  font-size: 20px;
  color: var(--ink-mid);
}

/* --- FAQ -------------------------------------------------- */
.faq { background: var(--bg-soft); }

.faq__list {
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:last-child { border-bottom: none; }

.faq__question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
  font-family: inherit;
}

.faq__question:hover { background: var(--bg-soft); }
.faq__question[aria-expanded="true"] { background: var(--brand-light); color: var(--brand-dark); }

.faq__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 20px;
  color: var(--ink-mid);
  background: var(--white);
  line-height: 1.7;
}

.faq__answer.is-open { display: block; }

/* --- Final CTA -------------------------------------------- */
.final-cta {
  background: var(--brand);
  overflow: hidden;
}

.final-cta__layout {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 32px;
  align-items: center;
}

.final-cta__content { text-align: left; }
.final-cta h2 { color: var(--ink); margin-bottom: 16px; }

.final-cta p {
  color: rgba(0,0,0,0.65);
  max-width: 540px;
  margin-bottom: 32px;
  font-size: 20px;
}

.final-cta .btn--primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.final-cta .btn--primary:hover { opacity: 0.82; }

.final-cta__note { margin-top: 14px; font-size: 14px; color: rgba(0,0,0,0.5); }

.final-cta__bod { display: flex; align-items: flex-end; justify-content: center; }
.final-cta__bod img { width: 150px; height: auto; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-light);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; color: var(--ink-mid); }
.site-footer__links a:hover { color: var(--brand-dark); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 720px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__bod { display: none; }
  .broker-point__number { font-size: 36px; min-width: 44px; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }
  h3 { font-size: 20px; }
  p  { font-size: 18px; }

  .hero { padding: 48px 0 44px; }
  .hero__sub { font-size: 18px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .final-cta__layout { grid-template-columns: 1fr; }
  .final-cta__bod { display: none; }
  .final-cta__content { text-align: center; }
  .final-cta p { margin-left: auto; margin-right: auto; font-size: 18px; }

  .broker-point { flex-direction: column; gap: 8px; }
  .broker-point__number { text-align: left; font-size: 28px; }

  .static-fails__table thead { display: none; }
  .static-fails__table,
  .static-fails__table tbody,
  .static-fails__table tr,
  .static-fails__table td { display: block; width: 100%; }
  .static-fails__table tr {
    margin-bottom: 12px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
  }
  .static-fails__table tr.highlight { border-color: var(--brand); }
  .static-fails__table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }
  .static-fails__table td:first-child {
    font-weight: 700;
    color: var(--ink);
    background: var(--bg-soft);
  }
  .static-fails__table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--ink-light);
    display: block;
    margin-bottom: 2px;
  }
  .static-fails__table td:first-child::before { display: none; }

  .pricing__cards { grid-template-columns: 1fr; max-width: 100%; }
  .faq__question { padding: 16px 18px; font-size: 16px; }
  .faq__answer   { padding: 0 18px 16px; font-size: 18px; }
  .use-case p { font-size: 18px; }
  .problem__body { font-size: 18px; }
  .problem__callout { font-size: 18px; }
  .install__steps li { font-size: 18px; }
  .pricing__context { font-size: 18px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
