/* StatesLLCGuide.com — Editorial Design */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.075rem;
  line-height: 1.75;
  color: #333;
  background: #fdfdfd;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a6847; }
a:hover { color: #134e34; }

/* -------- Top Nav -------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-nav .logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}
.site-nav .nav-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav .nav-links a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}
.site-nav .nav-links a:hover { color: #1a6847; }

/* -------- Breadcrumbs -------- */
.breadcrumbs {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  color: #888;
}
.breadcrumbs a { color: #888; text-decoration: none; }
.breadcrumbs a:hover { color: #333; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 0.35rem; }

/* -------- Featured Image -------- */
.featured-img {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
}
.featured-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 4px;
}
.featured-img .caption {
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.4rem;
}

/* -------- Article Header -------- */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}
.article-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.article-header .byline {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.3rem;
}
.article-header .byline strong { color: #555; font-weight: 600; }

/* -------- Quick Facts -------- */
.quick-facts {
  max-width: 760px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
}
.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.fact {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.fact:last-child { border-right: 0; }
.fact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.fact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}

/* -------- Article Body -------- */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.article-body p {
  margin: 0 0 1.25rem;
}
.article-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  color: #1a1a1a;
  margin: 2.5rem 0 0.8rem;
  line-height: 1.3;
  border-bottom: none;
  padding-bottom: 0;
}
.article-body h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 2rem 0 0.6rem;
  font-weight: 600;
}
.article-body h4 {
  font-size: 1.1rem;
  color: #333;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { color: #222; }

/* -------- Steps -------- */
.steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 1.5rem 0;
}
.steps > li {
  counter-increment: step-counter;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  margin-bottom: 1.5rem;
  background: #f7f6f3;
  border: 1px solid #e8e5df;
  border-radius: 3px;
}
.steps > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a6847;
}
.steps > li h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* -------- Images in content -------- */
.article-body .content-image {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 3px;
}
.article-body .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.article-body .image-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

/* -------- Info / Warning Boxes -------- */
.info-box, .warning-box, .success-box {
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 3px;
  font-size: 0.97rem;
}
.info-box {
  background: #f0f6f3;
  border-left: 3px solid #1a6847;
}
.warning-box {
  background: #fdf6ec;
  border-left: 3px solid #c2850c;
}
.success-box {
  background: #f0f6f3;
  border-left: 3px solid #1a6847;
}

/* -------- Tables -------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
th, td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
th {
  background: #f7f6f3;
  font-weight: 600;
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
tr:hover td { background: #fafaf8; }

/* -------- FAQ -------- */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.faq-answer { color: #555; }

/* -------- CTA Button -------- */
.cta-button {
  display: inline-block;
  background: #1a6847;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.cta-button:hover { background: #134e34; color: #fff; }

/* -------- Checklist -------- */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: #1a6847;
  border-radius: 50%;
}

/* -------- Related Resources -------- */
.related {
  background: #f7f6f3;
  border: 1px solid #e8e5df;
  border-radius: 3px;
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.related h3 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.related ul {
  margin: 0;
  padding-left: 1.25rem;
}
.related li { margin-bottom: 0.4rem; }

/* -------- Footer -------- */
footer {
  background: #2b2b2b;
  color: #aaa;
  padding: 2rem 1.25rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.88rem;
}
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .footer-links { margin-bottom: 0.8rem; }
footer .footer-links a { margin: 0 0.5rem; }

/* -------- Mobile -------- */
@media (max-width: 640px) {
  .article-header h1 { font-size: 1.65rem; }
  .featured-img img { height: 200px; }
  .quick-facts-inner { grid-template-columns: 1fr 1fr; }
  .article-body .image-grid { grid-template-columns: 1fr; }
  .article-body .image-grid img { height: 180px; }
  .steps > li { padding-left: 3rem; }
  .site-nav { padding: 0.7rem 1rem; }
}

/* -------- Homepage -------- */
.hero {
  background: #f7f6f3;
  padding: 3rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e8e5df;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}
.hero .tagline {
  font-size: 1.1rem;
  color: #555;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a6847;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.state-selector {
  max-width: 520px;
  margin: -1.5rem auto 2rem;
  position: relative;
  z-index: 10;
  padding: 0 1.25rem;
}
.state-selector select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
}

.home-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  color: #1a1a1a;
  margin: 2.5rem 0 0.5rem;
}
.section-subtitle {
  color: #777;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* State cards (homepage) */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.state-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.state-card:hover {
  border-color: #1a6847;
  text-decoration: none;
}
.state-card h3 {
  font-size: 1.15rem;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}
.state-card .meta {
  font-size: 0.88rem;
  color: #666;
  display: flex;
  gap: 1rem;
}
.state-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  background: #e8f5e9;
  color: #1a6847;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.state-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0.4rem 0 0;
}

/* Comparison table (homepage) */
.comparison-table { margin-bottom: 2.5rem; }
.comparison-table .fee-low { color: #1a6847; font-weight: 600; }
.comparison-table .fee-mid { color: #555; font-weight: 600; }
.comparison-table .fee-high { color: #a04000; font-weight: 600; }

/* All states grid */
.all-states {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.all-states a {
  display: block;
  padding: 0.6rem 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2px;
  text-decoration: none;
  color: #333;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.all-states a:hover { background: #f7f6f3; color: #1a6847; }
.all-states .fee {
  float: right;
  font-weight: 600;
  color: #1a6847;
  font-size: 0.85rem;
}

/* Value props */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
.value-prop {
  padding: 1.25rem;
  background: #f7f6f3;
  border: 1px solid #e8e5df;
  border-radius: 3px;
}
.value-prop .icon { display: none; }
.value-prop h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}
.value-prop p {
  font-size: 0.92rem;
  color: #555;
  margin: 0;
}

/* Homepage image grid */
.home-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
  margin: 2.5rem 0;
}
.home-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
}

/* -------- About Page -------- */
.about-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.about-body h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: #1a1a1a;
  margin: 1.5rem 0 0.5rem;
}
.about-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  color: #1a1a1a;
  margin: 2rem 0 0.6rem;
}
.about-body p { margin-bottom: 1.1rem; }
.about-body img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 3px;
  margin: 1.5rem 0;
}

/* -------- Blog Pages -------- */
.blog-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.blog-body h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: #1a1a1a;
  margin: 1.5rem 0 0.3rem;
}
.blog-body .byline {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1.5rem;
}
.blog-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  color: #1a1a1a;
  margin: 2.5rem 0 0.7rem;
}
.blog-body h3 {
  font-size: 1.15rem;
  color: #333;
  margin: 1.5rem 0 0.5rem;
}
.blog-body p { margin-bottom: 1.15rem; }
.blog-body ul, .blog-body ol { margin: 0 0 1.15rem 1.5rem; }
.blog-body li { margin-bottom: 0.3rem; }
.blog-body img {
  width: 100%;
  border-radius: 3px;
  margin: 1.5rem 0;
}

/* -------- Utility -------- */
.step-list { margin-left: 1.5rem; margin-top: 0.5rem; }
.step-list-tight { margin-left: 1.5rem; }
.inline-list { margin-left: 1.5rem; }
