/* LegalData marketing site. Plain CSS, no build step. */
:root {
  --navy: #14213d;
  --navy-2: #1f3160;
  --gold: #e0b25b;
  --gold-dark: #b8862d;
  --ink: #1b1f2a;
  --muted: #5a6273;
  --line: #e2e5ec;
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --radius: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand-mark { width: 30px; height: 30px; color: var(--navy); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--navy); transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--navy); }
.btn-light { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-light:hover { background: #ebc477; border-color: #ebc477; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #f7f4ec 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-grid > *, .two-col > * { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold-dark); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--gold-dark); font-weight: 700; margin-right: 6px; }

/* Sample email illustration */
.sample { margin: 0; }
.mail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(20, 33, 61, .35); overflow: hidden; }
.mail-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.mail-from { margin-left: auto; color: rgba(255, 255, 255, .8); font-size: .8rem; }
.mail-subject { padding: 14px 16px 4px; margin: 0; font-weight: 700; color: var(--navy); }
.files { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 12px; }
.file { font-size: .75rem; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-alt); }
.file::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.file.xlsx::before { background: #217346; }
.file.csv::before { background: var(--gold-dark); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.mini { width: 100%; border-collapse: collapse; font-size: .82rem; }
.mini th, .mini td { text-align: left; padding: 8px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mini th { color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.mini tr:last-child td { border-bottom: 0; }
.sample figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 40px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 800; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards .card { border-top: 4px solid var(--gold); }

.field-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .95rem; }
.field-list li { padding: 6px 10px; background: var(--bg-alt); border-radius: 6px; }

.counties { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.counties li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: .95rem; }
.types { color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--gold-dark); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-right: 32px; }

/* Call to action */
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.cta-band .btn { margin-top: 12px; }
.contact-alt { margin-top: 18px; font-size: .95rem !important; }
.contact-alt a { color: var(--gold); }

/* Footer */
.site-footer { padding: 40px 0; background: #0e1830; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.site-footer strong { color: #fff; }
.fine { font-size: .8rem; color: rgba(255, 255, 255, .55); max-width: 60em; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-row .btn-small { margin-left: auto; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .counties { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .cards, .counties { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .field-list { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-small { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
