/* Tax Deed Lien Search — site styles (navy and brass)
   Brand colors live in :root. Change them here and every page updates. */

:root {
  --primary: #1e3a5f;        /* navy: logo, labels, links, dark section */
  --primary-dark: #152c48;   /* navy hover */
  --deep: #1e3a5f;           /* dark "What's covered" section */
  --deep-line: #36527a;      /* rules inside the dark section */
  --accent: #d4a23c;         /* brass: buttons, highlights, rules */
  --accent-hover: #dfb45a;
  --accent-line: #c9972e;    /* brass for thin lines on light backgrounds */
  --accent-on-dark: #e9c46a; /* brass for small text on navy */
  --ink: #0a0a0a;
  --body: #374151;
  --muted: #4b5563;
  --line: #d1d5db;
  --line-soft: #e5e7eb;
  --mist: #f4f5f7;
  --white: #ffffff;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: 80px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border: 2px solid var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.logo img { display: block; height: 48px; width: auto; }
.footer-brand .logo img { height: 44px; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); padding-bottom: 4px; }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .close { display: none; }
.site-header.open .nav-toggle .open-icon { display: none; }
.site-header.open .nav-toggle .close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #262626; color: var(--white); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--ink); }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Shared type ---------- */
.display {
  margin: 0;
  font-weight: 650;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kicker {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.mark {
  text-decoration-line: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}

.section { padding-block: 104px; }
.section-mist { background: var(--mist); }
.section-tight-top { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: start; }
.split-end { align-items: end; }
.intro { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { background: var(--mist); padding-block: 104px 112px; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--white);
  border-color: var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}
.hero h1 {
  margin: 0;
  font-weight: 650;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lede { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--body); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .strong { font-weight: 600; color: var(--ink); }
.icon { flex: none; }
.checks .icon { color: var(--primary); }

/* ---------- What is a title search ---------- */
.prose { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.prose p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); max-width: 62ch; }
.prose .lead { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose .pitch { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line-soft); padding-top: 20px; }
.chip-group { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.chip-group-title { margin: 0; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.chips-soft li { background: var(--white); border-color: var(--line); padding: 10px 18px; font-size: 16px; font-weight: 600; }

/* ---------- Used for ---------- */
.who { display: flex; flex-direction: column; gap: 14px; }
.dd-card { background: var(--white); border-top: 6px solid var(--primary); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.dd-card h3 { margin: 0; font-size: 26px; font-weight: 600; }
.dd-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; margin: 0; }
.dd-grid div { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 18px; }
.dd-grid dt { font-size: 19px; font-weight: 600; }
.dd-grid dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- Six questions (dark) ---------- */
.section-deep { background: var(--deep); color: var(--white); }
.section-deep .kicker { color: var(--accent-on-dark); }
.section-deep .display { color: var(--white); }
.deep-copy { display: flex; flex-direction: column; gap: 20px; }
.deep-copy p { margin: 0; max-width: 480px; font-size: 18px; line-height: 1.6; color: #e5e7eb; }
.qlist { margin: 0; padding: 0; list-style: none; }
.qlist li { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-top: 1px solid var(--deep-line); font-size: 22px; font-weight: 600; }
.qlist li:last-child { border-bottom: 1px solid var(--deep-line); }
.qlist .n { font-size: 16px; font-weight: 600; color: var(--accent-on-dark); }

/* ---------- Why choose us ---------- */
.why { border-bottom: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--accent-line); padding-top: 24px; }
.why-item h3 { margin: 0; font-size: 22px; font-weight: 600; }
.why-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- Searches & pricing ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; font-size: 16px; color: var(--body); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan-name { margin: 0; font-size: 22px; font-weight: 600; }
.plan-sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.plan-price { margin: 0; font-size: 44px; font-weight: 650; line-height: 1; letter-spacing: -0.02em; }
.plan-desc { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.plan-list { flex-grow: 1; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan-list li { display: flex; align-items: flex-start; gap: 12px; }
.plan-list li::before { content: ""; flex: none; width: 6px; height: 11px; margin: 2px 2px 0 4px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-note { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--mist); font-size: 14px; line-height: 1.5; color: var(--body); }
.plan .btn { width: 100%; margin-top: 6px; }
.rush { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 32px; background: var(--mist); border-radius: 16px; }
.rush-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.rush-text { flex: 1 1 280px; }
.rush-text h3 { margin: 0; font-size: 20px; font-weight: 600; }
.rush-text p { margin: 4px 0 0; font-size: 16px; color: var(--body); }
.rush-price { margin: 0; font-size: 28px; font-weight: 650; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { background: var(--mist); border-top: 6px solid var(--primary); border-radius: 0 0 16px 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-last { border-top-color: var(--accent-line); }
.step-n { font-weight: 650; font-size: 36px; line-height: 1; color: var(--primary); }
.step-last .step-n { color: var(--ink); }
.step h3 { margin: 0; font-size: 22px; font-weight: 600; }
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item h3 { margin: 0; font-size: 20px; font-weight: 600; }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: var(--accent); color: var(--ink); padding-block: 80px; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { margin: 0; font-weight: 650; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-side a.tel { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); padding-block: 64px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { margin: 0; font-size: 15px; color: var(--body); }
.footer-cols { display: flex; gap: 64px; font-size: 15px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-col a.strong { font-weight: 600; color: var(--primary); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer-legal p { margin: 0; }

/* ---------- Contact page ---------- */
.page-hero { background: var(--mist); padding-block: 96px 88px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { margin: 0; font-weight: 650; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.03em; }
.page-hero p { margin: 0; max-width: 680px; font-size: 20px; line-height: 1.55; color: var(--body); }

.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.form-card { border: 1px solid var(--line); border-top: 6px solid var(--primary); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.form-card h2 { margin: 0; font-size: 26px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #9ca3af;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { padding: 14px; min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form-foot span { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.form-status.ok { background: #eff4fa; border: 1px solid var(--primary); color: var(--primary-dark); }
.form-status.err { background: #fff7ed; border: 1px solid var(--accent); color: #9a3412; }

.contact-side { display: flex; flex-direction: column; gap: 40px; }
.side-title { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.details { margin: 0; }
.details div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.details div:first-child { border-top-color: var(--ink); }
.details div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-size: 15px; color: var(--muted); }
.details dd { margin: 0; font-size: 18px; font-weight: 600; text-align: right; }
.details dd a { color: var(--ink); text-decoration: none; }
.details dd a:hover { color: var(--primary); }
.quick { background: var(--mist); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.quick h2 { margin: 0; font-size: 20px; font-weight: 600; }
.quick dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quick dt { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.quick dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.quick a { font-size: 15px; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; background: var(--mist); }
.notfound .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
}

@media (max-width: 1200px) {
  :root { --pad: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 12px 24px rgba(10, 10, 10, 0.08);
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--primary); }
  .nav .btn { margin-top: 12px; border-bottom: 0; min-height: 52px; }
  .split { gap: 56px; }
  .dd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .plan { padding: 28px 24px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; --header-h: 68px; }
  .logo img { height: 38px; }
  .section { padding-block: 72px; }
  .section-tight-top { padding-top: 0; }
  .hero { padding-block: 64px 72px; }
  .lede, .page-hero p { font-size: 18px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .dd-card { padding: 28px 24px; }
  .dd-grid { grid-template-columns: 1fr; }
  .why-grid, .steps, .faq-grid { grid-template-columns: 1fr; }
  .qlist li { font-size: 19px; gap: 18px; }
  .plans { grid-template-columns: 1fr; }
  .rush { padding: 24px; }
  .rush .btn { width: 100%; }
  .cta { padding-block: 64px; }
  .cta-side { align-items: flex-start; }
  .page-hero { padding-block: 64px 56px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-actions .btn { width: 100%; }
  .checks { flex-direction: column; align-items: flex-start; align-self: stretch; text-align: left; }
}
