/* Boise Business Portal — light, professional */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
:root {
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef1f5;
  --ink: #0d1b2a;
  --ink-2: #2b3a4a;
  --muted: #5f6b78;
  --line: #e3e7ee;
  --line-2: #d0d7e0;
  --brand: #0b4f8b;
  --brand-dark: #073765;
  --brand-soft: #e2ecf6;
  --accent: #c98a4a;
  --accent-soft: #f7ead7;
  --green: #2f7d5b;
  --amber: #c08a2f;
  --red: #b03a3a;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.05), 0 4px 14px -8px rgba(13, 27, 42, 0.10);
  --shadow-md: 0 4px 8px rgba(13, 27, 42, 0.05), 0 14px 28px -14px rgba(13, 27, 42, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
.display { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.015em; font-weight: 400; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

/* === Header === */
header.site {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .row {
  max-width: 1200px; margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--brand); text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--brand); color: #fff;
  border-radius: 7px; font-size: 0.8rem;
  font-family: "Inter", sans-serif; font-weight: 700;
  letter-spacing: 0.03em;
}
.brand small {
  display: block; font-size: 0.65rem;
  letter-spacing: 0.18em; color: var(--muted);
  font-family: "Inter", sans-serif; font-weight: 600;
  text-transform: uppercase;
}
nav.top { display: flex; gap: 1.5rem; align-items: center; }
nav.top a {
  font-size: 0.92rem; color: var(--ink-2);
  font-weight: 500; text-decoration: none;
}
nav.top a:hover { color: var(--brand); text-decoration: none; }
nav.top a.cta {
  background: var(--brand); color: #fff;
  padding: 0.55rem 1.1rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
}
nav.top a.cta:hover { background: var(--brand-dark); color: #fff; }
@media (max-width: 640px) {
  nav.top a:not(.cta) { display: none; }
}

/* === Hero === */
section.hero {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
section.hero .stage {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 4.5rem 1.5rem 4.5rem;
}
@media (max-width: 880px) {
  section.hero .stage { grid-template-columns: 1fr; padding: 3rem 1.5rem 3rem; gap: 2rem; }
}
section.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem; letter-spacing: 0.16em;
  color: var(--brand); font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--brand-soft); border-radius: 999px;
}
section.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05; color: var(--ink);
  margin-bottom: 1rem; letter-spacing: -0.018em;
  font-weight: 400;
}
section.hero h1 strong { font-weight: 600; color: var(--brand-dark); }
section.hero p.lede {
  font-size: 1.1rem; color: var(--ink-2);
  max-width: 520px; margin-bottom: 1.5rem;
}
section.hero .ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; }
section.hero .photo {
  aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
section.hero .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  background: var(--brand); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.btn.ghost {
  background: #fff; color: var(--brand);
  border: 1px solid var(--line-2);
}
.btn.ghost:hover { background: var(--bg-2); color: var(--brand-dark); border-color: var(--brand); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* === Sections === */
section.block { padding: 4.5rem 0; }
section.block.tight { padding: 2.5rem 0 4rem; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block .eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em;
  color: var(--brand); font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem; display: block;
}
section.block h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15; color: var(--ink);
  margin-bottom: 0.7rem;
  font-weight: 400; letter-spacing: -0.015em;
}
section.block p.intro {
  font-size: 1.05rem; color: var(--ink-2); max-width: 640px;
  margin-bottom: 1.25rem;
}

/* === Search bar === */
.search-bar {
  display: flex; gap: 0.6rem; align-items: stretch;
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 0.4rem;
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0 1rem;
}
.search-bar input[type="search"] {
  flex: 1; border: none; background: transparent;
  padding: 0.65rem 0.85rem; font: inherit;
  color: var(--ink); outline: none;
  font-size: 1rem;
}
.search-bar select {
  border: 1px solid var(--line); background: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm); font: inherit; color: var(--ink-2);
  font-size: 0.92rem;
}
.search-bar .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }

.result-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* === Demo grid === */
.demo-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-top: 0.5rem;
}
.demo-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.demo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.demo-card a.cover { display: block; color: inherit; text-decoration: none; }
.demo-card a.cover:hover { text-decoration: none; }
.demo-card .photo { aspect-ratio: 16/9; background: var(--bg-3); overflow: hidden; }
.demo-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-card .body { padding: 1.1rem 1.2rem 0.5rem; flex: 1; }
.demo-card .meta {
  display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 0.55rem;
}
.demo-card .industry {
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase; font-weight: 600;
}
.demo-card .status {
  font-size: 0.7rem; letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem; border-radius: 999px;
  font-weight: 600; text-transform: uppercase;
}
.demo-card .status.active { background: #e3f1ea; color: var(--green); }
.demo-card .status.demo { background: #f7ead7; color: var(--amber); }
.demo-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: 1.25rem;
  color: var(--ink); margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.demo-card p {
  font-size: 0.94rem; color: var(--ink-2); margin-bottom: 0.85rem;
  line-height: 1.5;
}
.demo-card .tags {
  display: flex; flex-wrap: wrap; gap: 0.3rem;
  padding: 0 1.2rem 1.1rem;
}
.demo-card .tag {
  font-size: 0.74rem; padding: 0.18rem 0.55rem;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted);
}
.demo-card .footer {
  padding: 0.85rem 1.2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-2);
}
.demo-card .footer .view {
  color: var(--brand); font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
}
.demo-card .footer .view:hover { color: var(--brand-dark); }
.demo-card .footer .live {
  font-size: 0.78rem; color: var(--muted);
}

.no-results {
  background: var(--bg-2); border: 1px dashed var(--line-2);
  padding: 2.5rem; text-align: center; border-radius: var(--radius);
  color: var(--muted);
}

/* === Feature grid (services + features) === */
.feature-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}
.feature {
  padding: 1.4rem 1.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.feature h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: 1.2rem; color: var(--ink);
  margin-bottom: 0.4rem;
}
.feature p { font-size: 0.94rem; color: var(--ink-2); line-height: 1.5; }
.feature ul { list-style: none; margin-top: 0.5rem; padding: 0; }
.feature ul li { padding: 0.25rem 0 0.25rem 1.2rem; position: relative; font-size: 0.94rem; }
.feature ul li::before { content: "✓"; color: var(--brand); position: absolute; left: 0; font-weight: 600; }

/* === Step list === */
.steps {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step-counter;
  margin-top: 2rem;
}
.step {
  padding: 1.4rem 1.5rem;
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  counter-increment: step-counter;
}
.step::before {
  content: counter(step-counter, decimal-leading-zero);
  display: block; font-family: "Fraunces", Georgia, serif;
  color: var(--brand); font-size: 1.1rem; font-weight: 500;
  margin-bottom: 0.4rem; letter-spacing: 0.06em;
}
.step h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: 1.2rem; color: var(--ink);
  margin-bottom: 0.35rem;
}
.step p { font-size: 0.94rem; color: var(--ink-2); }

/* === Demo showcase page === */
.showcase {
  background: #fff;
  /* anti-copy hints */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.showcase .header-area {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 3rem 1.5rem 2rem;
}
.showcase .header-area .wrap-narrow > .meta {
  display: flex; gap: 0.5rem; align-items: center;
  margin-bottom: 0.5rem;
}
.showcase .header-area .industry {
  font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--brand); font-weight: 600; text-transform: uppercase;
}
.showcase .header-area .status {
  font-size: 0.72rem; padding: 0.2rem 0.55rem; border-radius: 999px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.showcase .header-area .status.active { background: #e3f1ea; color: var(--green); }
.showcase .header-area .status.demo   { background: #f7ead7; color: var(--amber); }
.showcase .header-area h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink);
  font-weight: 400; line-height: 1.05; margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.showcase .header-area .tagline {
  font-size: 1.1rem; color: var(--muted); margin-bottom: 1.25rem;
}
.showcase .preview-image {
  margin-top: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-3);
  pointer-events: none; /* part of anti-copy: image is non-interactive */
}
.showcase .preview-image img {
  width: 100%; display: block;
  pointer-events: none; user-select: none;
  -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none;
}
.showcase .preview-image.tilt { transform: rotate(-0.4deg); }
.showcase .feature-list-section {
  padding: 3rem 1.5rem;
}
.showcase .cta-row {
  background: var(--brand-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 1.5rem; text-align: center;
}
.showcase .cta-row h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400; font-size: 1.6rem; color: var(--ink);
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.showcase .cta-row p { color: var(--ink-2); margin-bottom: 1.25rem; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 0.55rem;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem; color: var(--ink); cursor: pointer;
  font-weight: 500; letter-spacing: -0.01em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " ＋"; color: var(--brand); float: right; }
.faq details[open] summary::after { content: " −"; }
.faq details > p, .faq details > div { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.96rem; line-height: 1.6; }

/* === Long-form content === */
.prose h1, .prose h2, .prose h3 {
  font-family: "Fraunces", Georgia, serif; color: var(--ink);
  margin: 2.2rem 0 0.8rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em;
}
.prose h1 { font-size: 2.2rem; margin-top: 0; font-weight: 400; }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.2rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.35rem; }
.prose code { background: var(--bg-2); padding: 0.1rem 0.4rem; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; border: 1px solid var(--line); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose .meta-line { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }

/* === Footer === */
footer.site {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 2.5rem;
  margin-top: 4rem;
  color: var(--muted); font-size: 0.88rem;
}
footer.site .row {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 720px) { footer.site .row { grid-template-columns: 1fr 1fr; } }
footer.site h4 {
  color: var(--ink); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 0.7rem;
}
footer.site ul { list-style: none; padding: 0; }
footer.site li { margin-bottom: 0.35rem; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--brand); text-decoration: underline; }
footer.site .meta-row {
  border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
