@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --paper: #f7f5f0;
  --paper-2: #fffdf7;
  --ink: #15120e;
  --ink-2: #34302a;
  --ink-3: #716a60;
  --rule: #d8d3c8;
  --accent: #df321b;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter Tight", Inter, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  margin: 0;
}
a { color: inherit; }
.seo-wrap {
  margin: 0 auto;
  max-width: 1040px;
  padding: 28px 24px 72px;
}
.seo-wrap-compact {
  max-width: none;
  padding: 0 0 72px;
}
.seo-wrap-compact .seo-nav {
  background: rgba(247, 245, 240, 0.94);
  padding: 18px 5.6vw 17px;
}
.seo-nav {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 0 0 18px;
}
.seo-brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.seo-brand::before {
  background:
    url("/assets/brand/bill-of-sale-check-icon-192.webp") center / 130% 130% no-repeat,
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.36), transparent 32%),
    linear-gradient(135deg, #8b5cf6 0%, #5b3fd1 52%, #2f216f 100%);
  border-radius: 11px;
  box-shadow: 0 10px 20px rgba(42, 30, 20, 0.14);
  content: "";
  display: inline-block;
  height: 42px;
  width: 42px;
}
.seo-brand span { color: var(--accent); }
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
.seo-hero {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  padding: 68px 0 46px;
}
.kicker,
.eyebrow {
  color: #6f675c;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(42px, 7vw, 76px);
  margin: 12px 0 18px;
}
h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 16px;
}
h3 {
  font-size: 23px;
  margin: 0 0 10px;
}
p {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}
.answer {
  border-left: 4px solid #df321b;
  font-size: 20px;
  margin: 22px 0;
  padding-left: 16px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  background: #111;
  color: #fffdf7;
  display: inline-block;
  font-weight: 700;
  padding: 14px 18px;
  text-decoration: none;
}
.btn.secondary {
  background: transparent;
  border: 1px solid #17130f;
  color: #17130f;
}
.beta-note {
  background: #fff3ca;
  border: 1px solid #dfc878;
  color: #5f4705;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 16px;
  padding: 12px 14px;
}
.panel,
.card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 24px;
}
.panel ul,
.card ul {
  color: #38332d;
  line-height: 1.65;
  margin: 12px 0 0;
  padding-left: 20px;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
section {
  border-top: 1px solid var(--rule);
  padding: 42px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
td, th {
  border: 1px solid var(--rule);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #f0ece3;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer {
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
  padding-top: 24px;
}
.directory-head {
  align-items: center;
  background:
    radial-gradient(circle at 83% 52%, rgba(238, 191, 88, 0.28), transparent 28%),
    radial-gradient(circle at 62% 34%, rgba(227, 50, 27, 0.08), transparent 24%);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  min-height: 560px;
  overflow: hidden;
  padding: 64px 5.6vw 56px;
  position: relative;
}
.directory-head h1 {
  font-size: clamp(58px, 7.3vw, 118px);
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin-bottom: 26px;
}
.directory-head p {
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.5;
  max-width: 54ch;
}
.directory-note {
  background: #fff3ca;
  border: 1px solid #dfc878;
  color: #5f4705;
  display: flex;
  gap: 12px;
  margin-top: 22px;
  max-width: 640px;
  padding: 13px 16px;
}
.directory-note span {
  background: #ffeab0;
  border-radius: 999px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 6px 9px;
  text-transform: uppercase;
}
.directory-note strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.seo-product-visual {
  min-height: 520px;
  position: relative;
}
.seo-product-visual::before {
  background:
    radial-gradient(ellipse at center, rgba(238, 159, 29, 0.42), transparent 58%),
    radial-gradient(ellipse at center, rgba(255,255,255,0.72), transparent 38%);
  border-radius: 50%;
  bottom: -70px;
  content: "";
  height: 170px;
  left: 22%;
  position: absolute;
  width: 76%;
}
.seo-product-visual img {
  filter:
    drop-shadow(0 34px 44px rgba(34, 25, 17, 0.18))
    saturate(1.03)
    contrast(1.02);
  position: absolute;
  right: -14%;
  top: -4px;
  transform: rotate(4deg);
  width: min(720px, 106%);
}
.seo-visual-chip {
  align-items: center;
  background: rgba(255,253,247,0.92);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 30px rgba(24, 18, 12, 0.10);
  display: flex;
  gap: 12px;
  min-width: 220px;
  padding: 14px 16px;
  position: absolute;
  transform: rotate(-1.5deg);
}
.seo-visual-chip b {
  align-items: center;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-family: var(--font-mono);
  height: 34px;
  justify-content: center;
  width: 34px;
}
.seo-visual-chip span {
  font-size: 17px;
  font-weight: 700;
}
.seo-visual-chip.good {
  border-color: rgba(46, 125, 72, .45);
  color: #267341;
  left: 0;
  top: 135px;
}
.seo-visual-chip.good b { background: #2f7a42; }
.seo-visual-chip.caution {
  border-color: rgba(191, 138, 22, .5);
  color: #a06b00;
  left: 12%;
  top: 260px;
}
.seo-visual-chip.caution b { background: #c58a10; }
.seo-visual-chip.critical {
  border-color: rgba(223, 50, 27, .5);
  color: var(--accent);
  bottom: 78px;
  left: 3%;
}
.seo-visual-chip.critical b { background: var(--accent); }
.directory-section {
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
  padding: 34px 0;
}
.section-row-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-row-head h2 {
  margin-bottom: 0;
}
.text-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.state-directory {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.state-tile {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: grid;
  gap: 9px;
  min-height: 150px;
  padding: 20px;
  text-decoration: none;
}
.state-tile span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
}
.state-tile strong {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.08;
}
.state-tile em {
  color: var(--ink-2);
  font-style: normal;
  line-height: 1.45;
}
.state-grid-mini {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.state-grid-mini span {
  border: 1px solid var(--rule);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 12px 0;
  text-align: center;
}
.state-grid-mini .ready {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.check-strip {
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.check-strip div {
  border-right: 1px solid var(--rule);
  padding: 18px;
}
.check-strip div:last-child {
  border-right: 0;
}
.check-strip span {
  color: var(--accent);
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.check-strip strong {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.template-hub .seo-hero {
  padding-bottom: 34px;
}
.template-hero-panel p {
  font-size: 17px;
}
.template-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.template-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 310px;
  padding: 22px;
}
.template-card.muted {
  background: #f2eee5;
}
.template-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.template-card-head span {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 13px;
  height: 40px;
  justify-content: center;
  letter-spacing: .1em;
  width: 48px;
}
.template-card-head b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.template-card h3 {
  font-size: 28px;
  margin: 4px 0 0;
}
.template-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.template-actions .btn {
  font-size: 14px;
  padding: 12px 14px;
}
@media (max-width: 780px) {
  .seo-hero,
  .directory-head,
  .grid,
  .two,
  .state-directory,
  .template-grid,
  .check-strip {
    grid-template-columns: 1fr;
  }
  .state-grid-mini {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .seo-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .directory-head {
    min-height: 0;
    padding: 44px 24px 36px;
  }
  .directory-head h1 {
    font-size: clamp(44px, 16vw, 72px);
  }
  .seo-product-visual {
    min-height: 320px;
  }
  .seo-product-visual img {
    right: -18%;
    width: 105%;
  }
  .seo-visual-chip {
    min-width: 190px;
    padding: 10px 12px;
  }
  .directory-section,
  .footer {
    margin-left: 24px;
    margin-right: 24px;
  }
}
