/* Website Build Co — inner pages (states, industries, services, guide, about) and the shared footer */

/* Hero */
.sub-hero .wrap { min-height: 0; align-content: start; padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); gap: 20px; }
.display.sm { font-size: clamp(2.35rem, 1.1rem + 4.4vw, 4.4rem); max-width: 16ch; }
.sub-hero .lede { max-width: 58ch; }
.sub-hero .proof { justify-content: flex-start; }
.sub-hero .hero-grid { justify-items: stretch; }
.hero-main { display: grid; gap: 20px; justify-items: start; align-content: start; }
.hero-aside { display: none; }
@media (min-width: 1080px) {
  .sub-hero .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
  .hero-aside { display: block; }
}
.matt-card { margin: 0; padding: 10px; display: grid; gap: 14px; }
.matt-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 15px; }
.matt-card figcaption { padding: 0 8px 8px; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.matt-card figcaption b { color: #fff; font-weight: 600; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .25); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #d9dbe7; }

/* Sections */
.sec.tight { padding-block: clamp(44px, 6vw, 76px); }
.sec-head.left { margin-bottom: clamp(28px, 4vw, 40px); }
.split { display: grid; gap: 32px; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.body-copy { display: grid; gap: 16px; color: var(--muted); max-width: 64ch; }
.body-copy strong { color: #fff; font-weight: 600; }
.body-copy a { color: #fff; text-underline-offset: 3px; }
.body-copy h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: #fff; margin-top: 10px; }
.body-copy ul { padding-left: 1.2em; display: grid; gap: 8px; }

/* Stat cards */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat-card { padding: 24px; display: grid; gap: 8px; align-content: start; }
.stat-card b {
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 88;
  font-size: clamp(2rem, 1.45rem + 1.8vw, 2.7rem); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 2px;
}
.stat-card span { color: #fff; font-weight: 600; line-height: 1.35; }
.stat-card small { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.src { margin-top: 18px; font-size: .86rem; color: var(--dim); max-width: 80ch; }
.src a { color: var(--muted); }

/* Cards and lists */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { padding: 24px; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; padding-top: 6px; color: #cfcaff; font-weight: 600; font-size: .93rem; }
a.card:hover .more { color: #fff; }
.card .num-tag { color: #cfcaff; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.need-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.need { padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.need p { color: var(--muted); font-size: .97rem; }
.need .h3 { display: flex; gap: 10px; align-items: flex-start; }
.need .h3 svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
a.chip { text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
a.chip:hover { border-color: var(--stroke-2); color: #fff; background: rgba(255, 255, 255, .06); }
.searches { display: flex; flex-wrap: wrap; gap: 10px; }
.searches span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #1d2030; font-size: .92rem; font-weight: 500; }
.searches svg { width: 15px; height: 15px; color: #7a8091; }

/* Industry rows on state pages */
.ind-rows { list-style: none; display: grid; gap: 12px; }
.ind-row { padding: 20px 22px; display: grid; gap: 6px; }
@media (min-width: 760px) { .ind-row { grid-template-columns: 210px 1fr; gap: 24px; align-items: start; } }
.ind-row .rank { display: grid; gap: 2px; }
.ind-row .rank b { color: #fff; font-weight: 600; }
.ind-row .rank small { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.ind-row p { color: var(--muted); font-size: .97rem; }
.ind-row p a { color: #fff; }

/* State directory */
.region + .region { margin-top: 40px; }
.region .h3 { margin-bottom: 14px; color: #cfcaff; }
.state-grid { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.state-grid a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, .03); color: #e6e7f0; text-decoration: none; font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.state-grid a small { color: var(--dim); font-weight: 500; font-size: .82rem; font-variant-numeric: tabular-nums; }
.state-grid a:hover { border-color: var(--stroke-2); background: rgba(255, 255, 255, .06); }

/* Mini plans */
.mini-plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mini-plan { padding: 24px; display: grid; gap: 8px; align-content: start; }
.mini-plan .p { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.03em; color: #fff; }
.mini-plan .p small { font-family: var(--f); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.mini-plan p { color: var(--muted); font-size: .96rem; }
.mini-plan.feature { border-color: rgba(124, 108, 255, .55); }
.plans-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.plans-note a { color: #fff; }

/* Example site preview (live, scrolled by site.js) */
.ex-shot {
  display: block; max-width: 980px; overflow: hidden; border-radius: 14px; container-type: inline-size; text-decoration: none; color: inherit;
  border: 1px solid var(--stroke-2); background: #fff;
  box-shadow: 0 40px 80px -40px rgba(124, 108, 255, .55), 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.ex-shot .screen { aspect-ratio: 16 / 10; }
.ex-cap { max-width: 980px; margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: var(--muted); font-size: .93rem; }
.ex-cap a { color: #fff; font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .02); }
.cost-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .97rem; }
.cost-table th, .cost-table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--stroke); }
.cost-table thead th { color: var(--dim); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cost-table tbody th { color: #fff; font-weight: 600; }
.cost-table td { color: var(--muted); }
.cost-table tr:last-child th, .cost-table tr:last-child td { border-bottom: 0; }
.cost-table tr.us th, .cost-table tr.us td { background: rgba(124, 108, 255, .1); color: #fff; }
.sources { margin-top: 12px; padding-left: 1.2em; display: grid; gap: 6px; color: var(--dim); font-size: .88rem; }
.sources a { color: var(--muted); word-break: break-word; }

/* About */
.about-photo { border-radius: 26px; padding: 1.5px; background: conic-gradient(from var(--spin), #7c6cff, #b06cff, #3fd3ff, #46e3a5, #7c6cff); box-shadow: 0 50px 100px -40px rgba(124, 108, 255, .6); }
.js-anim .about-photo { animation: spin 10s linear infinite; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24.5px; }

/* Footer */
@media (min-width: 860px) { .foot-grid.v2 { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-h { margin-bottom: 4px; color: #fff; font-weight: 600; font-size: .95rem; }
.foot-states { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--stroke); }
.foot-states .foot-h { margin-bottom: 12px; }
.foot-states ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; }
.site-foot .foot-states a { color: var(--muted); }
.site-foot .foot-states a:hover { color: #fff; }
