/**
 * /public_html/assets/css/marketing-landing.css
 *
 * SoftLedger-style marketing layout for H-Town Rentals homepage.
 */

/* —— SoftLedger typography & section rhythm —— */
.htown-section-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .htown-section-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htown-section-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.htown-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 640px) {
  .htown-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.htown-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #1e293b;
  text-align: center;
}

@media (min-width: 640px) {
  .htown-section-title {
    font-size: 2.25rem;
  }
}

.htown-section-lead {
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  text-align: center;
}

@media (min-width: 640px) {
  .htown-section-lead {
    font-size: 1.1875rem;
  }
}

.htown-section-sublead {
  margin-top: 0.75rem;
  max-width: none;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  text-align: center;
}

/* SoftLedger “Why our Customers Choose” — mint panel, title left + copy right, white stat cards */
.htown-customer-band {
  background: #fff;
}

.htown-customer-panel {
  background: #e8f3f2;
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem;
}

@media (min-width: 768px) {
  .htown-customer-panel {
    padding: 3rem 2.5rem;
  }
}

.htown-customer-panel-header {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .htown-customer-panel-header {
    grid-template-columns: minmax(0, 22rem) 1fr;
    gap: 2.5rem;
  }
}

.htown-customer-panel-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #1e293b;
}

@media (min-width: 640px) {
  .htown-customer-panel-title {
    font-size: 2rem;
  }
}

.htown-customer-panel-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

@media (min-width: 640px) {
  .htown-customer-panel-lead {
    font-size: 1.0625rem;
  }
}

.htown-customer-card-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .htown-customer-card-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .htown-customer-card-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.125rem;
    margin-top: 2.5rem;
  }
}

.htown-customer-card {
  background: #fff;
  border-radius: 0.875rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.htown-customer-card-stat {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #F78E31;
}

@media (min-width: 640px) {
  .htown-customer-card-stat {
    font-size: 2.5rem;
  }
}

.htown-customer-card-label {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: #334155;
}

.htown-section-wave-bottom {
  position: relative;
}

.htown-hero-section {
  background: linear-gradient(135deg, #f4f7fa 0%, #eef3f8 45%, #f8fafc 100%);
}

.htown-section-wave-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: #ffffff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.htown-slant-dark-top {
  clip-path: polygon(0 4rem, 100% 0, 100% 100%, 0 100%);
  margin-top: -4rem;
  padding-top: 6rem;
}

/* —— Marketing footer —— */
.htown-footer-cta {
  background: linear-gradient(135deg, #2c3e50 0%, #243447 100%);
  color: #ffffff;
  text-align: center;
}

.htown-footer-cta-inner {
  padding-bottom: 4rem;
}

.htown-footer-cta-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

@media (min-width: 640px) {
  .htown-footer-cta-title {
    font-size: 2rem;
  }
}

.htown-footer-cta-lead {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.htown-footer-cta-btn {
  margin-top: 2rem;
}

.htown-footer-main {
  background: #f4f7fa;
  border-top: 4px solid #f78e31;
  padding: 3.5rem 0 3rem;
}

.htown-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .htown-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .htown-footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 2rem 2.5rem;
  }
}

.htown-footer-brand-link {
  display: inline-block;
  text-decoration: none;
}

.htown-footer-tagline {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

.htown-footer-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.htown-footer-rating-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: #f78e31;
  font-size: 0.75rem;
}

.htown-footer-heading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2c3e50;
}

.htown-footer-heading--spaced {
  margin-top: 1.75rem;
}

.htown-footer-links {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
}

.htown-footer-links li + li {
  margin-top: 0.5rem;
}

.htown-footer-link,
.htown-footer-link:visited {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.htown-footer-link:hover,
.htown-footer-link:focus {
  color: #f78e31;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.htown-footer-contact-list {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
}

.htown-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.htown-footer-contact-item > i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1rem;
  color: #f78e31;
}

.htown-footer-contact-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2c3e50;
  text-decoration: none;
}

a.htown-footer-contact-link:hover,
a.htown-footer-contact-link:focus {
  color: #f78e31;
  text-decoration: underline;
}

.htown-footer-contact-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.htown-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.htown-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #2c3e50;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.htown-footer-social-link:hover,
.htown-footer-social-link:focus {
  background: #f78e31;
  border-color: #f78e31;
  color: #ffffff;
  transform: translateY(-2px);
}

.htown-footer-email-offers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
}

.htown-footer-email-offers:hover,
.htown-footer-email-offers:focus {
  color: #f78e31;
  text-decoration: underline;
}

.htown-footer-bar {
  background: #1a2634;
  padding: 1.125rem 0;
}

.htown-footer-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .htown-footer-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.htown-footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.htown-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.htown-footer-legal-link,
.htown-footer-legal-link:visited {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
}

.htown-footer-legal-link:hover,
.htown-footer-legal-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.htown-footer-legal-sep {
  color: #64748b;
  font-size: 0.8125rem;
}

.htown-feature-tab.is-active {
  border-left-color: #F78E31;
  background-color: rgba(247, 142, 49, 0.08);
}

.htown-feature-tab.is-active .htown-feature-tab-title {
  color: #2C3E50;
  font-weight: 700;
}

.htown-feature-panel {
  display: none;
}

.htown-feature-panel.is-active {
  display: block;
  animation: htownFadeIn 0.35s ease-out;
}

@keyframes htownFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.htown-mock-sidebar {
  width: 52px;
  background: linear-gradient(180deg, #1a2634 0%, #2C3E50 100%);
}

.htown-faq details summary {
  list-style: none;
  cursor: pointer;
}

.htown-faq details summary::-webkit-details-marker {
  display: none;
}

.htown-faq details[open] summary .htown-faq-chevron {
  transform: rotate(180deg);
}

.htown-marketing-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.htown-marketing-header-inner > nav {
  justify-self: center;
}

.htown-marketing-header-inner > .htown-header-actions {
  justify-self: end;
}

@media (max-width: 1023px) {
  .htown-marketing-header-inner {
    grid-template-columns: 1fr auto;
  }
}

.htown-brand-logo {
  height: 2.25rem;
  width: auto;
  max-width: 180px;
}

@media (min-width: 640px) {
  .htown-brand-logo {
    height: 2.75rem;
    max-width: 220px;
  }
}

.htown-brand-logo--footer {
  height: 2rem;
  max-width: 160px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Nav dropdowns (original H-Town Features submenu) */
.htown-nav-dropdown {
  position: relative;
}

.htown-nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.htown-nav-dropdown-trigger .htown-nav-chevron {
  transition: transform 0.2s ease;
}

.htown-nav-dropdown.is-open .htown-nav-dropdown-trigger .htown-nav-chevron {
  transform: rotate(180deg);
}

.htown-nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 17rem;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid #E8E6E1;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
  z-index: 60;
}

.htown-nav-dropdown.is-open .htown-nav-dropdown-panel {
  display: block;
}

@media (min-width: 1024px) {
  .htown-nav-dropdown:hover .htown-nav-dropdown-panel,
  .htown-nav-dropdown:focus-within .htown-nav-dropdown-panel {
    display: block;
  }
}

.htown-nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: #3A506B;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.htown-nav-dropdown-panel--scroll {
  min-width: 15rem;
  max-height: 20rem;
  overflow-y: auto;
}

.htown-nav-dropdown-item--muted {
  color: #94a3b8;
}

.htown-nav-dropdown-panel a:hover,
.htown-nav-dropdown-panel .htown-nav-dropdown-item:hover {
  background: #FDFBF7;
  color: #2C3E50;
}

.htown-nav-dropdown-divider {
  height: 1px;
  margin: 0.35rem 0;
  background: #E8E6E1;
}

.htown-mobile-nav-group summary {
  list-style: none;
  cursor: pointer;
}

.htown-mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.htown-mobile-nav-group[open] summary .htown-nav-chevron {
  transform: rotate(180deg);
}

/* Marketing header — explicit CSS (survives Bootstrap on owner inquiry / form pages) */
.htown-marketing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.06);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.htown-marketing-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .htown-marketing-nav-desktop {
    display: flex;
  }

  .htown-marketing-nav-desktop--wide {
    gap: 1.75rem;
  }
}

.htown-marketing-header-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .htown-marketing-header-actions {
    display: flex;
  }
}

.htown-marketing-nav-link,
.htown-marketing-nav-link:hover,
.htown-marketing-nav-link:focus {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.htown-marketing-nav-link:hover,
.htown-marketing-nav-link:focus {
  color: #2c3e50;
}

.htown-marketing-nav-login,
.htown-marketing-nav-login:hover,
.htown-marketing-nav-login:focus {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

.htown-marketing-nav-login:hover,
.htown-marketing-nav-login:focus {
  color: #2c3e50;
}

.htown-marketing-nav-cta,
.htown-marketing-nav-cta:hover,
.htown-marketing-nav-cta:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #f78e31 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.08);
  transition: background-color 0.15s ease;
}

.htown-marketing-nav-cta:hover,
.htown-marketing-nav-cta:focus {
  background-color: #e67e22 !important;
  color: #ffffff !important;
}

.htown-marketing-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid #e8e6e1;
  border-radius: 0.375rem;
  background: #ffffff;
  color: #2c3e50;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .htown-marketing-nav-toggle {
    display: none;
  }
}

.htown-marketing-nav-panel {
  display: none;
  border-top: 1px solid #e8e6e1;
  background: #ffffff;
  padding: 1rem;
}

.htown-marketing-nav-panel.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .htown-marketing-nav-panel {
    display: none !important;
  }
}

.htown-marketing-nav-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.htown-marketing-nav-panel-link,
.htown-marketing-nav-panel-link:hover,
.htown-marketing-nav-panel-link:focus {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
}

.htown-marketing-nav-panel-link:hover,
.htown-marketing-nav-panel-link:focus {
  background: #fdfbf7;
}

.htown-marketing-nav-panel-cta {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

.htown-marketing-nav-dropdown-trigger {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
}

.htown-marketing-nav-dropdown-trigger:hover,
.htown-marketing-nav-dropdown-trigger:focus {
  color: #2c3e50;
}

/* Pastel feature cards (SoftLedger 2-column grid — soft tinted backgrounds) */
.htown-pastel-mint { background: #e5f2ef; }
.htown-pastel-sky { background: #e3eef5; }
.htown-pastel-violet { background: #ebe8f4; }
.htown-pastel-amber { background: #f0ebe3; }
.htown-pastel-cyan { background: #e5f0f4; }
.htown-pastel-orange { background: #f5ede5; }
.htown-pastel-teal { background: #e3f0ef; }
.htown-pastel-fuchsia { background: #f2e8f2; }

.htown-pastel-card {
  border: none;
  border-radius: 1rem;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htown-pastel-card:hover {
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.1);
  transform: translateY(-2px);
}

/* Icon bubbles (SoftLedger lively card accents) */
.htown-icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(44, 62, 80, 0.08);
}

.htown-icon-bubble--lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
  border-radius: 1rem;
}

.htown-icon-bubble--mint { background: #fff; color: #059669; }
.htown-icon-bubble--sky { background: #fff; color: #2563eb; }
.htown-icon-bubble--violet { background: #fff; color: #7c3aed; }
.htown-icon-bubble--amber { background: #fff; color: #d97706; }
.htown-icon-bubble--cyan { background: #fff; color: #0891b2; }
.htown-icon-bubble--orange { background: #fff; color: #ea580c; }
.htown-icon-bubble--teal { background: #fff; color: #0d9488; }
.htown-icon-bubble--fuchsia { background: #fff; color: #c026d3; }
.htown-icon-bubble--apricot { background: #fff; color: #F78E31; }
.htown-icon-bubble--blueberry { background: rgba(247, 142, 49, 0.12); color: #2C3E50; }

.htown-feature-card-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.htown-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(247, 142, 49, 0.12);
  color: #c2410c;
  font-size: 0.8125rem;
  font-weight: 600;
}

.htown-stat-tile {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 1.5rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htown-stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
}

.htown-pain-card {
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htown-pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.08);
}

/* SoftLedger pain-points band */
.htown-pain-section {
  background: #fff;
}

.htown-pain-intro {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.htown-pain-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #1e293b;
}

@media (min-width: 640px) {
  .htown-pain-title {
    font-size: 2.375rem;
  }
}

.htown-pain-subtitle {
  margin: 1.25rem auto 0;
  max-width: none;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
}

.htown-pain-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.8rem 1.75rem;
  border-radius: 0.375rem;
  background: #F78E31;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(247, 142, 49, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.htown-pain-cta:hover {
  background: #E67E22;
  color: #fff;
  transform: translateY(-1px);
}

.htown-pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .htown-pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.htown-pain-tile {
  padding: 1.75rem 1.5rem;
  border-radius: 0.75rem;
  background: #f3f5f7;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.htown-pain-tile:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

.htown-pain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #fff;
  color: #F78E31;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.htown-pain-tile-title {
  margin: 1.125rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}

.htown-pain-tile-text {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}

.htown-pain-footnote {
  margin: 2.5rem auto 0;
  max-width: none;
  width: 100%;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

.htown-pain-footnote strong {
  font-weight: 700;
  color: #334155;
}

/* SoftLedger video band — H-Town blueberry (#2C3E50), not green-teal */
.htown-video-band {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(58, 80, 107, 0.45) 0%, transparent 62%),
    linear-gradient(180deg, #1e2d3d 0%, #2C3E50 48%, #253545 100%);
  color: #fff;
}

@media (min-width: 640px) {
  .htown-video-band {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }
}

.htown-video-intro {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.htown-video-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
}

@media (min-width: 640px) {
  .htown-video-title {
    font-size: 2.375rem;
  }
}

.htown-video-lead {
  margin: 1.25rem auto 0;
  max-width: none;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 640px) {
  .htown-video-lead {
    font-size: 1.1875rem;
  }
}

.htown-video-player {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 2rem auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #1a2634;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

@media (min-width: 640px) {
  .htown-video-player {
    max-width: 44rem;
    border-radius: 0.75rem;
    margin-top: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .htown-video-player {
    max-width: 45rem;
  }
}

.htown-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.25s ease;
}

.htown-video-poster--hidden {
  opacity: 0;
  pointer-events: none;
}

.htown-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: #2C3E50;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.htown-video-play i {
  margin-left: 0.15rem;
}

.htown-video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.htown-video-play--hidden {
  display: none;
}

.htown-video-lower-third {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease;
}

@media (min-width: 640px) {
  .htown-video-lower-third {
    right: 1rem;
    bottom: 1rem;
  }
}

.htown-video-lower-third--hidden {
  opacity: 0;
  pointer-events: none;
}

.htown-video-logo {
  width: 2.25rem;
  height: auto;
  align-self: center;
  padding: 0.35rem;
  background: #1e2d3d;
  object-fit: contain;
}

.htown-video-speaker {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.65rem;
  background: rgba(44, 62, 80, 0.96);
}

.htown-video-speaker-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: #F78E31;
}

.htown-video-speaker-name {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.htown-video-speaker-role {
  margin: 0.1rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

.htown-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.htown-video-iframe--hidden {
  display: none;
}

/* SoftLedger platform feature grid — mint band + pastel tinted cards */
.htown-features-band {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  background: #FAFAFA;
}

@media (min-width: 640px) {
  .htown-features-band {
    padding-top: 4rem;
    padding-bottom: 5.5rem;
  }
}

.htown-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .htown-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .htown-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.htown-platform-card {
  padding: 1.75rem 1.625rem;
}

.htown-platform-card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.htown-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.625rem;
  line-height: 1;
  color: #2C3E50;
}

.htown-platform-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}

.htown-platform-card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

.htown-platform-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.125rem;
  font-size: 0.9375rem;
}

.htown-features-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.75rem;
}

.htown-features-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.375rem;
  background: #F78E31;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(247, 142, 49, 0.32);
  transition: background 0.15s ease, transform 0.15s ease;
}

.htown-features-cta-primary:hover {
  background: #E67E22;
  color: #fff;
  transform: translateY(-1px);
}

.htown-features-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.75rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
  color: #2C3E50;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.htown-features-cta-secondary:hover {
  border-color: #94a3b8;
  color: #1e293b;
}

.htown-metric-card {
  border-radius: 1.25rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.04);
}

/* SoftLedger “What Sets Apart” — centered icon / title / copy tiles */
.htown-apart-section {
  background: #f4f6f8;
}

.htown-apart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .htown-apart-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .htown-apart-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.htown-apart-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.htown-apart-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.htown-apart-icon {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  color: #0d5c63;
}

.htown-apart-title {
  margin: 1.125rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0d5c63;
  letter-spacing: -0.01em;
}

.htown-apart-desc {
  margin: 0.625rem 0 0;
  max-width: 17rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
}

.htown-case-card {
  overflow: hidden;
  border: 1px solid #e8ecf0;
  border-radius: 0.75rem;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htown-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(44, 62, 80, 0.1);
}

/* SoftLedger case studies — white section, gray tab bar, image cards */
.htown-case-band {
  background: #FFFFFF;
}

.htown-case-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  max-width: 52rem;
  margin: 2rem auto 0;
  padding: 0.35rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
}

.htown-case-tab {
  border: none;
  background: transparent;
  color: #2C3E50;
  border-radius: 0.375rem;
  padding: 0.55rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.htown-case-tab:hover {
  color: #F78E31;
}

.htown-case-tab.is-active {
  background: #fff;
  color: #F78E31;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.htown-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .htown-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.htown-case-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.htown-case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.htown-case-card-body {
  padding: 1.25rem 1.375rem 1.5rem;
}

.htown-case-card-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
}

.htown-case-card-text {
  margin: 0.625rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}

.htown-case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* SoftLedger trust / testimonials band */
.htown-trust-band {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background: #FFFFFF;
  border-bottom: none;
  box-shadow: none;
}

@media (min-width: 640px) {
  .htown-trust-band {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

.htown-trust-headline {
  margin: 0;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
}

@media (min-width: 640px) {
  .htown-trust-headline {
    font-size: 1.625rem;
  }
}

.htown-trust-stat {
  font-weight: 700;
  color: #2563eb;
}

.htown-trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .htown-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .htown-trust-row {
    grid-template-columns: 11rem repeat(3, 1fr);
    gap: 1rem;
  }
}

.htown-trust-rating-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  text-align: center;
}

.htown-trust-rating-brand {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #F78E31;
}

.htown-trust-stars {
  display: flex;
  gap: 0.15rem;
  margin-top: 0.625rem;
  font-size: 1.125rem;
  color: #2C3E50;
}

.htown-trust-rating-text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.htown-testimonial-card {
  margin: 0;
  padding: 1.375rem 1.25rem 1.25rem;
  border: 1px solid #e8ecf0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.05);
}

.htown-testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.125rem;
  font-size: 0.875rem;
  color: #2C3E50;
}

.htown-testimonial-quote {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
  text-align: center;
}

.htown-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.125rem;
  padding-top: 0;
}

.htown-testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.htown-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.htown-testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
}

.htown-testimonial-role,
.htown-testimonial-company {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
}

/* SoftLedger implementation support — #F6F7FC + navy cards */
.htown-support-band {
  background: #F6F7FC;
  border-top: none;
  box-shadow: none;
}

.htown-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .htown-support-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.htown-support-card {
  padding: 1.75rem 1.5rem;
  border-radius: 0.75rem;
  text-align: left;
}

.htown-support-card--side {
  background: #173355;
}

.htown-support-card--center {
  background: #1E3A8A;
}

.htown-support-icon-img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.htown-support-icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: #F78E31;
}

.htown-support-card-title {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.htown-support-card-text {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* SoftLedger setup timeline — #FAFAFA + 3 milestone columns */
.htown-setup-band {
  background: #FAFAFA;
}

.htown-setup-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .htown-setup-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.htown-setup-milestone {
  padding: 1.25rem 1.375rem;
  border-radius: 0.625rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
}

.htown-setup-milestone-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
}

.htown-setup-milestone-sub {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
}

.htown-setup-phase-title {
  margin: 1.375rem 0 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}

.htown-setup-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.htown-setup-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.htown-setup-checklist li + li {
  margin-top: 0.75rem;
}

.htown-setup-checklist li i {
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: #2563eb;
  font-size: 0.9375rem;
}

/* SoftLedger pricing band */
.htown-pricing-band {
  background: #FFFFFF;
}

/* SoftLedger subpage hero + benefits */
.htown-subpage-hero {
  background: linear-gradient(135deg, #f4f7fa 0%, #eef3f8 45%, #f8fafc 100%);
}

.htown-subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .htown-subpage-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.htown-subpage-hero-copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .htown-subpage-hero-copy {
    text-align: left;
  }

  .htown-subpage-hero-icon {
    margin-left: 0;
  }

  .htown-subpage-hero-actions {
    justify-content: flex-start;
  }
}

.htown-subpage-hero-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15);
  background: #e2e8f0;
}

.htown-subpage-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.htown-subpage-hero-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.htown-subpage-hero-icon {
  margin: 1.25rem auto 0;
}

.htown-subpage-beta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(247, 142, 49, 0.15);
  color: #c2410c;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.htown-subpage-title {
  margin: 1.25rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #1e293b;
}

@media (min-width: 640px) {
  .htown-subpage-title {
    font-size: 2.5rem;
  }
}

.htown-subpage-lead {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
}

.htown-subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .htown-subpage-hero-actions {
    justify-content: flex-start;
  }
}

.htown-subpage-hero-actions--center {
  margin-top: 1.75rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .htown-subpage-hero-actions--center {
    justify-content: center;
  }
}

.htown-subpage-benefits {
  background: #fff;
}

.htown-subpage-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .htown-subpage-benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.htown-subpage-benefits-title,
.htown-subpage-benefits-lead {
  text-align: left;
}

.htown-subpage-benefits-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.htown-subpage-checklist {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid #e8ecf0;
  border-radius: 0.75rem;
  background: #fafafa;
  list-style: none;
}

.htown-subpage-checklist li + li {
  margin-top: 0.875rem;
}

.htown-quote-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(160deg, #fff 0%, #fdfbf7 100%);
  padding: 1.75rem;
  text-align: left;
}

.htown-quote-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(247, 142, 49, 0.25);
  font-family: Georgia, serif;
}

.htown-resource-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htown-resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.1);
}

.htown-resource-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.06) 0%, rgba(247, 142, 49, 0.12) 100%);
  font-size: 2.25rem;
  color: #F78E31;
}

.htown-setup-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.htown-setup-list li i {
  margin-top: 0.15rem;
  color: #059669;
  flex-shrink: 0;
}

.htown-learn-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.htown-learn-link:hover {
  color: #1d4ed8;
}

.htown-trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.htown-hero-badge-g2 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.06);
}

/* SoftLedger-style hero dashboard mock */
.htown-hero-dashboard-wrap {
  position: relative;
  padding: 0.5rem;
}

.htown-hero-dashboard-glow {
  position: absolute;
  inset: 10% 5% 5%;
  background: radial-gradient(ellipse at center, rgba(247, 142, 49, 0.18) 0%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: htownHeroGlow 4s ease-in-out infinite alternate;
}

@keyframes htownHeroGlow {
  from { opacity: 0.6; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.02); }
}

.htown-hero-dashboard {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8ec;
  background: #fff;
  box-shadow: 0 28px 60px -12px rgba(44, 62, 80, 0.28);
  animation: htownHeroFloat 5s ease-in-out infinite;
}

@keyframes htownHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.htown-hero-dashboard-toolbar {
  display: flex;
  gap: 0.375rem;
  padding: 0.65rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
}

.htown-hero-dashboard-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.htown-hero-dashboard-dot--red { background: #f87171; }
.htown-hero-dashboard-dot--amber { background: #fbbf24; }
.htown-hero-dashboard-dot--green { background: #34d399; }

.htown-hero-dashboard-body {
  padding: 1rem 1rem 1.25rem;
}

.htown-hero-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.htown-hero-kpi {
  padding: 0.65rem 0.5rem;
  border-radius: 0.625rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
}

.htown-hero-kpi-label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.htown-hero-kpi-value {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .htown-hero-kpi-value {
    font-size: 1.125rem;
  }
}

.htown-hero-kpi-delta {
  margin: 0.15rem 0 0;
  font-size: 0.625rem;
  font-weight: 600;
}

.htown-hero-kpi-delta--up { color: #059669; }
.htown-hero-kpi-delta--down { color: #dc2626; }

.htown-hero-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .htown-hero-dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.htown-hero-dashboard-grid--bottom {
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .htown-hero-dashboard-grid--bottom {
    grid-template-columns: 1fr 1fr;
  }
}

.htown-hero-chart-panel {
  padding: 0.75rem;
  border-radius: 0.625rem;
  border: 1px solid #eef2f6;
  background: #fff;
}

.htown-hero-chart-panel--wide {
  min-height: 7.5rem;
}

.htown-hero-chart-title {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.htown-hero-line-chart {
  width: 100%;
  height: 5.5rem;
}

.htown-hero-line-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: htownDrawLine 2.5s ease forwards;
}

@keyframes htownDrawLine {
  to { stroke-dashoffset: 0; }
}

.htown-hero-donut {
  display: flex;
  justify-content: center;
}

.htown-hero-donut-svg {
  width: 4.5rem;
  height: 4.5rem;
  transform: rotate(-90deg);
}

.htown-hero-donut-segment {
  animation: htownDonutSpin 8s linear infinite;
  transform-origin: center;
}

.htown-hero-donut-segment--2 {
  animation-delay: -2s;
}

.htown-hero-donut-segment--3 {
  animation-delay: -4s;
}

@keyframes htownDonutSpin {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.htown-hero-donut-legend {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.625rem;
  color: #64748b;
  text-align: center;
}

.htown-hero-donut-legend li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.htown-hero-legend-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.htown-hero-legend-dot--navy { background: #2C3E50; }
.htown-hero-legend-dot--orange { background: #F78E31; }
.htown-hero-legend-dot--teal { background: #14b8a6; }

.htown-hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 4.5rem;
  padding-top: 0.25rem;
}

.htown-hero-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.25rem 0.25rem 0 0;
  background: linear-gradient(180deg, #F78E31 0%, rgba(247, 142, 49, 0.45) 100%);
  animation: htownBarPulse 2.4s ease-in-out infinite;
  transform-origin: bottom;
}

.htown-hero-bar:nth-child(2) { animation-delay: 0.2s; background: linear-gradient(180deg, #2C3E50 0%, rgba(44, 62, 80, 0.4) 100%); }
.htown-hero-bar:nth-child(3) { animation-delay: 0.4s; }
.htown-hero-bar:nth-child(4) { animation-delay: 0.6s; background: linear-gradient(180deg, #14b8a6 0%, rgba(20, 184, 166, 0.4) 100%); }
.htown-hero-bar:nth-child(5) { animation-delay: 0.8s; }
.htown-hero-bar:nth-child(6) { animation-delay: 1s; background: linear-gradient(180deg, #2C3E50 0%, rgba(44, 62, 80, 0.4) 100%); }

@keyframes htownBarPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.88); }
}

.htown-hero-spark-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.htown-hero-spark {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 9999px;
}

.htown-hero-spark--ok {
  background: #ecfdf5;
  color: #059669;
}

.htown-hero-spark--warn {
  background: #fff7ed;
  color: #ea580c;
}

.htown-hero-progress {
  height: 0.375rem;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}

.htown-hero-progress-fill {
  display: block;
  height: 100%;
  width: 82%;
  border-radius: inherit;
  background: linear-gradient(90deg, #F78E31, #14b8a6);
  animation: htownProgressSlide 3s ease-in-out infinite alternate;
}

@keyframes htownProgressSlide {
  from { width: 78%; }
  to { width: 88%; }
}

.htown-hero-dashboard-live {
  position: absolute;
  top: 2.75rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.htown-hero-live-pulse {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #10b981;
  animation: htownLivePulse 1.5s ease infinite;
}

@keyframes htownLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.htown-hero-g2-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

.htown-hero-g2-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: #F78E31;
  font-size: 0.875rem;
}

/* SoftLedger comparison table — dark header, zebra rows, icon cells */
.htown-comparison-section {
  background: #f7f9fa;
}

.htown-comparison-wrap {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #dce4e8;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.htown-comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}

.htown-comparison-table thead tr {
  background: #0d4a4a;
}

.htown-comparison-table thead th {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: middle;
}

.htown-comparison-table tbody td {
  padding: 1rem 1.25rem;
  color: #475569;
  border: 1px solid #e2e8ec;
  vertical-align: middle;
}

.htown-comparison-table tbody tr:nth-child(even) td {
  background: #eef7f6;
}

.htown-comparison-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.htown-comparison-table tbody td:first-child {
  font-weight: 600;
  color: #1e293b;
}

.htown-cmp-yes {
  display: inline-flex;
  font-size: 1.35rem;
  line-height: 1;
  color: #F78E31;
}

.htown-cmp-no {
  display: inline-flex;
  font-size: 1.35rem;
  line-height: 1;
  color: #e05252;
}

.htown-comparison-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.htown-btn-compare-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #F78E31;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(247, 142, 49, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.htown-btn-compare-primary:hover {
  background: #E67E22;
  color: #fff;
}

.htown-btn-compare-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #0d4a4a;
  background: #fff;
  color: #0d4a4a;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.htown-btn-compare-outline:hover {
  background: #0d4a4a;
  color: #fff;
}

/* Pill tabs (case studies) */
.htown-pill-tab,
.htown-setup-tab {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.htown-pill-tab.is-active,
.htown-setup-tab.is-active {
  background: #2C3E50;
  border-color: #2C3E50;
  color: #fff;
}

.htown-case-card.is-hidden {
  display: none;
}

.htown-setup-panel {
  display: none;
}

.htown-setup-panel.is-active {
  display: block;
}

/* Pre-footer split (SoftLedger See in Action) */
.htown-prefooter-photo {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(247, 142, 49, 0.45)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1200&q=80') center / cover no-repeat;
}
