/* =========================================================
   Connect a Claim Partner Program — shared stylesheet
   Brand colors: Navy #262262 / Orange #F36621
   Hand off to developer for WordPress template implementation.
   ========================================================= */

:root {
  --navy: #262262;
  --navy-dark: #1b1849;
  --orange: #f36621;
  --orange-dark: #d95314;
  --bg-light: #f7f7fa;
  --bg-navy-tint: #eeeef6;
  --bg-orange-tint: #fdeee6;
  --text-main: #1a1a1a;
  --text-muted: #5c5c66;
  --border: #e1e1e8;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.logo span { color: var(--orange); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
}
nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 88px 0 96px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 780px;
}
.hero p.lead {
  font-size: 19px;
  color: #d9d8ea;
  max-width: 620px;
  margin: 0 0 36px;
}
.hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn-secondary:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ---------- Page header (non-hero pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.page-header h1 { margin: 0 0 12px; font-size: 34px; }
.page-header p { margin: 0; color: #d9d8ea; max-width: 680px; font-size: 17px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tint { background: var(--bg-light); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
h2 {
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 16px;
}
h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 28px 0 10px;
}
p { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.lede { font-size: 18px; color: var(--text-muted); max-width: 720px; }

/* ---------- Glance table ---------- */
.glance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.glance-table tr:nth-child(even) td:last-child { background: var(--white); }
.glance-table tr:nth-child(odd) td:last-child { background: var(--bg-light); }
.glance-table th, .glance-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.glance-table td:first-child {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  width: 220px;
  white-space: nowrap;
}

/* ---------- 3-step process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step-card h3 { margin-top: 0; }
.step-card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Fee cards ---------- */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.fee-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.fee-card.monitor { background: var(--bg-navy-tint); border-color: #d6d5ea; }
.fee-card.active { background: var(--bg-orange-tint); border-color: #f7d3bd; }
.fee-card .fee-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fee-card .fee-amount {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 6px;
}
.fee-card.monitor .fee-amount { color: var(--navy); }
.fee-card.active .fee-amount { color: var(--orange-dark); }
.fee-card p.fee-desc { color: var(--text-main); font-size: 15px; margin: 10px 0 0; }

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-list li {
  padding-left: 34px;
  position: relative;
  font-size: 15px;
  color: var(--text-main);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
}
.feature-list li::after {
  content: "\2713";
  position: absolute;
  left: 5px;
  top: 3px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
}
.feature-list li strong { display: block; color: var(--navy); margin-bottom: 2px; }

/* ---------- Quote / callout ---------- */
.callout {
  border-left: 4px solid var(--orange);
  background: var(--bg-light);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 17px;
  margin: 28px 0;
}

.note {
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 24px 0;
}

/* ---------- Script box ---------- */
.script-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 28px;
}
.script-line {
  border-left: 3px solid var(--orange);
  padding: 12px 18px;
  margin-bottom: 14px;
  font-style: italic;
  color: var(--navy);
  background: var(--bg-light);
  border-radius: 0 6px 6px 0;
}
.script-line:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item h3 { margin: 0 0 10px; font-size: 18px; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* ---------- Form ---------- */
form.partner-form {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 15px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-agreement {
  font-size: 13px;
  color: var(--text-muted);
  margin: 22px 0;
  line-height: 1.6;
}
.form-agreement strong { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d9d8ea; font-size: 17px; margin-bottom: 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #c8c7dc;
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #c8c7dc; }
.footer-grid a:hover { color: var(--orange); }
.footer-logo { color: var(--white); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.footer-logo span { color: var(--orange); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 12.5px;
  color: #9694b0;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 32px; }
  .steps, .feature-list, .fee-cards { grid-template-columns: 1fr; }
  .glance-table td:first-child { width: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Audience split cards (homepage) ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.audience-card .audience-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--bg-orange-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.audience-card h3 { margin-top: 0; font-size: 22px; }
.audience-card p { color: var(--text-muted); font-size: 15px; }
.audience-card .audience-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.audience-card .audience-link:hover { color: var(--orange); }

/* ---------- Footer: 4-column variant (general pages) ---------- */
.footer-grid-wide {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid-wide h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}
.footer-grid-wide h4.footer-subtle {
  color: #8a88a6;
}
.footer-grid-wide ul { list-style: none; margin: 0; padding: 0; }
.footer-grid-wide li { margin-bottom: 10px; }
.footer-grid-wide a { color: #c8c7dc; }
.footer-grid-wide a:hover { color: var(--orange); }

@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid-wide { grid-template-columns: 1fr; }
}

/* ---------- Logo + portal bridge ---------- */
.logo-link,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-link:hover,
.footer-logo-link:hover { text-decoration: none; }

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
}
.brand-logo-dark { height: 34px; }

.site-header .burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.site-header .burger span,
.site-header .burger span::before,
.site-header .burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
}
.site-header .burger span::before,
.site-header .burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.site-header .burger span::before { top: -6px; }
.site-header .burger span::after { top: 6px; }

.site-header .sheet {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.site-header .sheet a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
}
.site-header .sheet.open { display: flex; }

.site-footer .footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

/* Keep portal brand text readable when logo image is used */
.app .brand-tx,
.auth .brand-tx { display: none; }
.app .brand-mk,
.auth .brand-mk { width: auto; height: auto; background: transparent; }
.app .brand-logo { height: 28px; max-width: 160px; filter: brightness(0) invert(1); }
.auth .brand-logo { height: 40px; }

@media (max-width: 860px) {
  .site-header .main-nav,
  .site-header .header-cta { display: none; }
  .site-header .burger { display: inline-grid; place-items: center; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile sticky CTA from existing portal */
.mcta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  z-index: 40;
}
@media (max-width: 860px) {
  .mcta { display: flex; }
  body { padding-bottom: 76px; }
  .app body, body:has(.app) { padding-bottom: 0; }
  body:has(.app) .mcta { display: none; }
}
