/* Permit Leads site. Brand: projects/permit-leads/brand/BRAND.md (v0, provisional).
   System fonts only: no font files, no scripts. One stylesheet for every page. */
:root {
  --ink: #111827;
  --slate: #4B5563;
  --blue: #1D4ED8;
  --blue-hover: #1E40AF;
  --sky: #93C5FD;
  --soft: #F4F5F7;
  --line: #E5E7EB;
  --white: #FFFFFF;
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(17,24,39,.06), 0 12px 32px -16px rgba(17,24,39,.22);
  --gutter: 16px;
  --section: 48px;
}
@media (min-width: 720px) {
  :root { --gutter: 32px; --section: 72px; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 17px; } }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
h1, h2, h3 { color: var(--ink); font-weight: 700; text-wrap: balance; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 10;
  background: var(--white); color: var(--blue); padding: var(--s3) var(--s4);
  border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600;
}
.skip:focus { top: var(--s3); }

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

/* Header: mark and name, then text links. On phones the links take their own row. */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s5); min-height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { display: block; width: 28px; height: 28px; }
.top-nav { margin-left: auto; }
.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.top-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.top-nav a:hover { color: var(--blue); text-decoration: underline; }
.top-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 599px) {
  header.top .wrap { padding-top: var(--s2); }
  .top-nav { margin-left: 0; flex-basis: 100%; }
}

/* Buttons: one primary style, ink on white, as on automeit.ai */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  background: var(--ink); color: var(--white);
  font: 600 17px/1.2 var(--f-sans); text-decoration: none;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { background: #1F2937; color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }
.cta { display: flex; flex-direction: column; align-items: stretch; }
@media (min-width: 560px) { .cta { align-items: center; } .cta .btn { min-width: 240px; } }
.cta.left { align-items: stretch; }
@media (min-width: 560px) { .cta.left { align-items: flex-start; } }
.more { margin: var(--s4) 0 0; }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.more.center { max-width: 820px; margin: var(--s2) auto 0; }
.cards.facts p a { display: inline-flex; align-items: center; min-height: 44px; }

/* Small uppercase label, blue above a page title, slate inside cards */
.eyebrow, .label {
  display: block; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow { color: var(--blue); margin: 0 0 var(--s3); }
.label { color: var(--slate); }

/* Hero (home) */
.hero { padding: var(--s7) 0 var(--s6); text-align: center; }
@media (min-width: 720px) { .hero { padding: var(--s8) 0 var(--s7); } }
.by {
  display: inline-block; margin: 0 0 var(--s5); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; line-height: 1.4; color: var(--slate); background: var(--white);
}
.hero h1, .page-head h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.hero h1 { margin: 0 auto var(--s5); max-width: 760px; }
.lead { font-size: 17px; color: var(--slate); max-width: 54ch; }
@media (min-width: 720px) { .lead { font-size: 18px; } }
.hero .lead { margin: 0 auto var(--s6); }
.under { font-size: 14px; color: var(--slate); margin: var(--s3) 0 0; }

/* Page title block (sample, about, contact, documents) */
.page-head { padding: var(--s7) 0 var(--s6); }
@media (min-width: 720px) { .page-head { padding: var(--s8) 0 var(--s7); } }
.page-head h1 { margin: 0 0 var(--s4); max-width: 20ch; }
.page-head .lead { margin: 0; }

/* The list card: the product itself, shown as the email shows it */
.sample { padding: 0 0 var(--section); }
.list-card {
  max-width: 820px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.list-card.wide { max-width: none; }
.list-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s4);
  padding: var(--s4); border-bottom: 1px solid var(--line); background: var(--soft);
}
.list-head h2 { font-size: 16px; line-height: 1.4; letter-spacing: 0; margin: 0; }
.list-head span { font-size: 14px; color: var(--slate); }
ol.jobs { list-style: none; margin: 0; padding: 0; }
ol.jobs li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s4); row-gap: 2px;
  padding: var(--s4);
}
ol.jobs li + li { border-top: 1px solid var(--line); }
.jobs .filed { grid-column: 1 / -1; }
.jobs h3 { grid-column: 1; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; margin: 0; }
.jobs .cost {
  grid-column: 2; grid-row: 2 / span 2; text-align: right;
  font-size: 17px; line-height: 1.35; font-weight: 700; font-variant-numeric: tabular-nums;
}
.jobs .cost small { display: block; font-size: 12px; line-height: 1.4; font-weight: 400; color: var(--slate); }
.jobs .place { grid-column: 1; font-size: 15px; color: var(--slate); }
.jobs .work { grid-column: 1 / -1; font-size: 15px; margin-top: var(--s1); }
.jobs .work small { display: block; font-size: 14px; color: var(--slate); }
/* Wide screens: address, the work, the cost, read across like a table row */
@media (min-width: 720px) {
  .list-head, ol.jobs li { padding-left: var(--s5); padding-right: var(--s5); }
  ol.jobs li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; column-gap: var(--s5); }
  .jobs .cost { grid-column: 3; }
  .jobs .work { grid-column: 2; grid-row: 2 / span 2; align-self: center; margin-top: 0; }
}
.caption { max-width: 820px; margin: var(--s4) auto 0; font-size: 14px; color: var(--slate); }
.caption.wide { max-width: none; }

/* Sections */
section.band { padding: var(--section) 0; }
section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 var(--s5); }
@media (min-width: 720px) { h2 { font-size: 28px; } }
.narrow { max-width: 62ch; }

/* Cards in a grid: the three lists, and the facts on the about page */
.cards { display: grid; gap: var(--s4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 880px) { .cards { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.cards > li, .card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5);
}
.cards > li { display: flex; flex-direction: column; }
.cards .label { margin: 0 0 var(--s2); }
.cards h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 var(--s3); }
.cards p { font-size: 15px; color: var(--slate); margin: 0 0 var(--s4); }
.cards .start { margin: auto 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink); }
.cards .start strong { font-weight: 600; }
.cards.facts { gap: var(--s3); }
@media (min-width: 560px) { .cards.facts { grid-template-columns: repeat(2, 1fr); gap: var(--s4); } }
@media (min-width: 880px) { .cards.facts { grid-template-columns: repeat(3, 1fr); } }
.cards.facts > li { padding: var(--s4) var(--s5); }
.cards.facts p { font-size: 16px; color: var(--ink); font-weight: 600; margin: 0; }
.cards.facts p a { font-weight: 600; }

/* Price and start */
.price-card {
  max-width: 560px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: var(--s6) var(--s5);
}
@media (min-width: 560px) { .price-card { padding: var(--s7); } }
.price-card h2 { margin: 0 0 var(--s5); }
.price-card h2 .plan { display: block; font-size: 17px; letter-spacing: 0; color: var(--slate); font-weight: 500; margin-bottom: var(--s2); }
.price-card h2 .amount { font-size: 36px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .price-card h2 .amount { font-size: 44px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s6); }
.ticks li { position: relative; padding: 0 0 0 30px; margin-bottom: var(--s3); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.5' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}
.price-card .cta { align-items: stretch; }
.price-card .under { text-align: center; }
.pay { margin: var(--s6) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); }
.pay h3 { font-size: 17px; line-height: 1.35; margin: 0 0 var(--s2); }
.pay p { font-size: 15px; color: var(--slate); margin: 0 0 var(--s3); }
.pay p:last-child { margin-bottom: 0; }
.pay .charge { color: var(--ink); }
.pay a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Two columns: text beside a card (who runs it, contact) */
.split { display: grid; gap: var(--s5); }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; } }
.split h2 { margin-bottom: var(--s4); }
.split p { max-width: 52ch; }
.split > div > p:last-child { margin-bottom: 0; }
.card address { font-style: normal; margin: 0 0 var(--s4); }
.card address strong { display: block; }
.card p { margin: 0; }
.card p + p { margin-top: var(--s4); }
.card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.mail { font-size: 20px; letter-spacing: -0.01em; }
@media (min-width: 720px) { .mail { font-size: 24px; } }

/* Plain lists in body text */
.plain { margin: 0 0 var(--s4); padding-left: 1.2em; }
.plain li { margin-bottom: var(--s2); }
.plain li:last-child { margin-bottom: 0; }

/* Long documents (terms, privacy drafts) */
.doc { max-width: 720px; padding-bottom: var(--section); }
.doc h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; margin: var(--s7) 0 var(--s4); }
@media (min-width: 720px) { .doc h2 { font-size: 24px; } }
.doc ul, .doc ol { margin: 0 0 var(--s4); padding-left: 1.2em; }
.doc li { margin-bottom: var(--s2); }
.doc address { font-style: normal; }
.doc .date { color: var(--slate); }

/* Footer: ink band with three columns, as on automeit.ai */
footer.site { background: var(--ink); color: #D1D5DB; padding: var(--s7) 0 var(--s6); font-size: 15px; }
footer.site .wrap { display: grid; gap: var(--s6); }
@media (min-width: 720px) { footer.site .wrap { grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--s7); } }
footer.site .name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin: 0 0 var(--s2); }
footer.site p { margin: 0; max-width: 34ch; }
footer.site h2 { font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin: 0 0 var(--s2); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
footer.site a:hover { color: var(--white); }
footer.site a:focus-visible { outline-color: var(--sky); }
footer.site address { font-style: normal; margin-top: var(--s2); }
footer.site .legal {
  grid-column: 1 / -1; padding-top: var(--s5); border-top: 1px solid #374151; font-size: 14px; max-width: none;
}
