/* dorseyreports.com — shared marketing styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #667eea;
  --brand-dark: #5568d3;
  --brand-deep: #764ba2;
  --bg: #f5f7fa;
  --ink: #1f2330;
  --ink-soft: #4b5060;
  --muted: #6b7280;
  --line: #e6e8ee;
  --card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 12px;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Typography scale */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 32px; letter-spacing: -0.01em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p  { font-size: 16px; color: var(--ink-soft); }
.lede { font-size: 19px; color: var(--ink-soft); }

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
}

/* ===================== Navbar ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-brand:hover { color: var(--ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle:hover { color: var(--brand); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 8px;
  min-width: 220px;
  display: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
}
.nav-dropdown-menu li a:hover { background: #f3f4f8; color: var(--brand); }

.nav-cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--brand);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); color: white; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a, .nav-dropdown-toggle { padding: 12px 8px; width: 100%; display: block; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    display: block;
    min-width: 0;
  }
  .nav-cta { margin-top: 8px; text-align: center; }
}

/* ===================== Hero ===================== */
.hero {
  background: var(--gradient);
  color: white;
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 40%);
  pointer-events: none;
}
.hero h1 { color: white; max-width: 880px; margin: 0 auto 18px; }
.hero .lede { color: rgba(255,255,255,0.92); max-width: 720px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-compact {
  background: var(--gradient);
  color: white;
  padding: 64px 24px 56px;
  text-align: center;
}
.hero-compact h1 { color: white; max-width: 820px; margin: 0 auto 14px; font-size: 40px; }
.hero-compact .lede { color: rgba(255,255,255,0.92); max-width: 760px; margin: 0 auto; }

@media (max-width: 768px) {
  .hero { padding: 64px 20px 56px; }
  .hero-compact { padding: 48px 20px 44px; }
  .hero-compact h1 { font-size: 30px; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: white; color: var(--brand); border: 1px solid white; }
.btn-secondary:hover { background: rgba(255,255,255,0.9); color: var(--brand); }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: white; }
.btn-outline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: white; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ===================== Sections ===================== */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: white; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ===================== Cards ===================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.grid {
  display: grid;
  gap: 22px;
}
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}

/* ===================== Pricing tier cards ===================== */
.tier {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tier:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tier-name { font-size: 14px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.tier-price { font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.tier-price .per { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier-fit { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.tier-features { list-style: none; margin: 0 0 24px; padding: 0; }
.tier-features li { padding: 6px 0; padding-left: 24px; position: relative; font-size: 14px; color: var(--ink-soft); }
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
.tier-features li.no::before { content: "—"; color: #cbd0d8; }
.tier .btn { margin-top: auto; text-align: center; }
.tier.featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.tier.featured::after {
  content: "Most popular";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ===================== Tables ===================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.compare th {
  background: #fafbff;
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table.compare td.center, table.compare th.center { text-align: center; }
table.compare tr:last-child td { border-bottom: none; }

/* ===================== FAQ blocks ===================== */
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq-item h4 { margin-bottom: 8px; color: var(--ink); }
.faq-item p { color: var(--ink-soft); font-size: 15px; }
.faq-item p + p { margin-top: 8px; }

/* ===================== Quotes ===================== */
.quote {
  background: white;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 16px; color: var(--ink); font-style: italic; margin-bottom: 10px; }
.quote cite { color: var(--muted); font-size: 14px; font-style: normal; }

/* ===================== Generic prose blocks ===================== */
.prose { color: var(--ink-soft); }
.prose h2 { margin-top: 36px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* ===================== Feature list (with checks) ===================== */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  color: #22c55e;
  font-weight: 700;
}

/* ===================== CTA strip ===================== */
.cta-strip {
  background: var(--gradient);
  color: white;
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.cta-strip h2 { color: white; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.92); margin-bottom: 24px; }
.cta-strip .btn-primary { background: white; color: var(--brand); }
.cta-strip .btn-primary:hover { background: rgba(255,255,255,0.9); color: var(--brand-dark); }
.cta-strip .btn-ghost { color: white; border-color: rgba(255,255,255,0.7); }

/* ===================== Footer ===================== */
.footer {
  background: #1a1d29;
  color: #c8ccd6;
  padding: 56px 24px 32px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h5 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: #c8ccd6; font-size: 14px; }
.footer a:hover { color: white; }
.footer-brand { font-weight: 700; color: white; font-size: 18px; margin-bottom: 10px; }
.footer-tag { color: #8b909d; font-size: 14px; }
.footer-bottom {
  max-width: 1120px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #2c2f3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b909d;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===================== Misc ===================== */
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.badge-light {
  background: #eef0fb;
  color: var(--brand);
}

.note {
  background: #f0f4ff;
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.kicker { color: var(--brand); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
