/* Inspired by enterprise SaaS marketing patterns (e.g. salesforce.com layout rhythm) */
:root {
  --sf-blue: #0176d3;
  --sf-blue-hover: #014486;
  --sf-blue-dark: #032d60;
  --sf-blue-tint: #e8f4fb;
  --sf-gray-bg: #f3f3f3;
  --sf-gray-border: #dddbda;
  --hero-bg: #ffffff;
  --hero-accent: var(--sf-blue);
  --hero-text: var(--sf-blue-dark);
  --hero-muted: #3e3e3c;
  --dashboard-placeholder: linear-gradient(145deg, #e8f4fb 0%, #dbeafe 45%, #cfe8fc 100%);
  --page-section-bg: var(--sf-gray-bg);
}

.sf-site {
  --bs-primary: #0176d3;
  --bs-primary-rgb: 1, 118, 211;
  --bs-link-color: #0176d3;
  --bs-link-hover-color: #014486;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #181818;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sf-site #main-content {
  flex: 1 0 auto;
}

.sf-site .btn-primary {
  --bs-btn-bg: var(--sf-blue);
  --bs-btn-border-color: var(--sf-blue);
  --bs-btn-hover-bg: var(--sf-blue-hover);
  --bs-btn-hover-border-color: var(--sf-blue-hover);
  font-weight: 600;
}

/* Header — clean sticky bar */
.sf-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sf-gray-border);
  z-index: 1030;
}

.sf-brand {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--sf-blue-dark) !important;
}

.sf-brand-logo {
  height: 2.125rem;
  width: auto;
  max-width: min(100%, 14rem);
  display: block;
}

@media (min-width: 992px) {
  .sf-brand-logo {
    height: 2.375rem;
    max-width: 16rem;
  }
}

.sf-navbar .nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sf-blue-dark) !important;
  padding: 0.5rem 0.75rem !important;
}

.sf-navbar .nav-link:hover {
  color: var(--sf-blue) !important;
}

.sf-btn-nav {
  font-size: 0.875rem;
}

/* Hero — large type, Salesforce-style headline stack */
.sf-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--sf-blue-tint) 100%);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  border-bottom: 1px solid rgba(3, 45, 96, 0.06);
}

.sf-hero-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-blue);
  margin-bottom: 1rem;
}

.sf-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--sf-blue-dark);
  margin-bottom: 0.75rem;
}

.sf-hero-title .sf-dot {
  color: var(--sf-blue);
}

.sf-hero-subline {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--sf-blue-dark);
  margin-bottom: 1.25rem;
}

.sf-hero-subline strong {
  font-weight: 700;
}

.sf-hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--hero-muted);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.sf-hero .btn-outline-primary {
  --bs-btn-color: var(--sf-blue);
  --bs-btn-border-color: var(--sf-blue);
  --bs-btn-hover-bg: var(--sf-blue-tint);
  --bs-btn-hover-border-color: var(--sf-blue);
  --bs-btn-hover-color: var(--sf-blue-dark);
  font-weight: 600;
}

.btn-hero-primary {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
}

.dashboard-frame {
  border-radius: 0.5rem;
  box-shadow:
    0 0 0 1px rgba(3, 45, 96, 0.08),
    0 16px 48px rgba(3, 45, 96, 0.12);
  background: var(--dashboard-placeholder);
  border: none;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

/* Product hero screenshots (korx.php, dinvoice.php) */
.dashboard-frame--hero-img {
  aspect-ratio: auto;
  background: #fff;
  padding: 0.35rem;
  line-height: 0;
}

.dashboard-frame--hero-img picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  max-height: min(440px, 75vh);
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 0.35rem;
  vertical-align: top;
}

.dashboard-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 260px;
  padding: 2rem;
  text-align: center;
}

.dashboard-placeholder-inner svg {
  color: var(--sf-blue);
  opacity: 0.35;
  margin-bottom: 1rem;
}

.dashboard-caption {
  font-size: 0.875rem;
  color: var(--hero-muted);
  max-width: 16rem;
  margin: 0;
}

/* Trust band */
.sf-trust-band {
  background: #fff;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--sf-gray-border);
}

.sf-trust-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-blue-dark);
  text-align: center;
  margin-bottom: 1.75rem;
}

.sf-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2e2e2e;
  background: #ebebeb;
  border-radius: 0.25rem;
  border: 1px solid #e0e0e0;
  filter: grayscale(1);
  transition: color 0.2s ease, background-color 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.sf-logo-cell:hover {
  color: var(--sf-blue-dark);
  background: #e3e3e3;
  border-color: #d5d5d5;
  filter: grayscale(0.25);
}

.sf-status-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #cfe1f6;
  border-radius: 999px;
  background: #f4f9ff;
  color: #0b3a6f;
  font-size: 0.8125rem;
  font-weight: 600;
}

.sf-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.sf-status-label {
  font-weight: 700;
}

.sf-gap-section {
  background: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.sf-gap-section .sf-section-head {
  margin-bottom: 1.5rem;
}

.sf-gap-section .sf-promo-card {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.sf-suite-section {
  background: var(--sf-gray-bg);
  border-top: 1px solid var(--sf-gray-border);
  padding: clamp(2.1rem, 5vw, 3.25rem) 0 clamp(2.75rem, 6vw, 4rem);
}

.sf-suite-section .sf-section-head {
  margin-bottom: 1.5rem;
}

/* Promo split — two-column band */
.sf-promo {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #fff;
}

.sf-promo-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sf-blue-dark);
  margin-bottom: 1rem;
}

.sf-promo-title strong {
  color: var(--sf-blue);
}

.sf-promo-lead {
  font-size: 1.0625rem;
  color: var(--hero-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sf-promo-card {
  background: var(--sf-gray-bg);
  border-radius: 0.5rem;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--sf-gray-border);
}

/* Metric story */
.sf-metric-story {
  background: var(--sf-gray-bg);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--sf-gray-border);
  border-bottom: 1px solid var(--sf-gray-border);
}

.sf-metric-hero {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sf-blue-dark);
  text-align: center;
  margin-bottom: 0.75rem;
}

.sf-metric-sub {
  text-align: center;
  color: var(--hero-muted);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.sf-mini-stat {
  text-align: center;
  padding: 1rem;
}

.sf-mini-stat .val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sf-blue);
  line-height: 1.2;
}

.sf-mini-stat .lbl {
  font-size: 0.8125rem;
  color: var(--hero-muted);
  margin-top: 0.25rem;
}

/* Testimonials */
.sf-quote-card {
  background: #fff;
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(3, 45, 96, 0.06);
}

.sf-quote-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--sf-blue-dark);
  margin: 0 0 1.25rem;
}

.sf-quote-meta {
  font-size: 0.875rem;
}

.sf-quote-role {
  color: var(--hero-muted);
  font-size: 0.8125rem;
}

.sf-quote-logo {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3e3e3c;
  margin-bottom: 0.5rem;
}

/* Dark platform band */
.sf-platform-dark {
  background: linear-gradient(165deg, #032d60 0%, #014486 55%, #032d60 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.sf-platform-dark h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.sf-platform-dark .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 38rem;
}

.sf-platform-visual {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sf-platform-layers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
}

.sf-layer {
  padding: 0.65rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.sf-layer-1 {
  background: rgba(255, 255, 255, 0.2);
}

.sf-layer-2 {
  background: rgba(255, 255, 255, 0.12);
}

.sf-layer-3 {
  background: rgba(255, 255, 255, 0.06);
}

/* Industry / solution grid */
.sf-section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.sf-section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sf-blue-dark);
  margin-bottom: 0.75rem;
}

.sf-section-head p {
  color: var(--hero-muted);
  font-size: 1.0625rem;
  margin: 0;
}

.sf-section-head.text-start {
  text-align: left !important;
  margin-left: 0;
  margin-right: auto;
  max-width: 48rem;
}

.sf-industry-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sf-industry-card:hover {
  box-shadow: 0 8px 28px rgba(3, 45, 96, 0.1);
  border-color: rgba(1, 118, 211, 0.35);
}

.sf-industry-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sf-blue-tint);
  color: var(--sf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.sf-industry-icon--pill {
  width: auto;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  letter-spacing: 0.02em;
}

.sf-industry-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.5rem;
}

.sf-industry-card p {
  font-size: 0.875rem;
  color: var(--hero-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sf-link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sf-blue);
  text-decoration: none;
}

.sf-link-arrow:hover {
  text-decoration: underline;
}

/* Proof cards */
.sf-proof-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.75rem;
  height: 100%;
  background: #fff;
}

.sf-proof-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-blue);
  margin-bottom: 0.75rem;
}

.sf-proof-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

/* Values */
.sf-values {
  background: var(--sf-gray-bg);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--sf-gray-border);
}

.sf-values h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.sf-values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--hero-muted);
}

.sf-values-grid span {
  font-weight: 600;
  color: var(--sf-blue-dark);
}

/* Resources row */
.sf-resource-tile {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.sf-resource-tile:hover {
  box-shadow: 0 8px 24px rgba(3, 45, 96, 0.08);
}

.sf-resource-img {
  height: 140px;
  background: linear-gradient(135deg, var(--sf-blue-tint), #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-blue);
  font-size: 2rem;
}

.sf-resource-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.sf-resource-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.5rem;
}

.sf-resource-body p {
  font-size: 0.875rem;
  color: var(--hero-muted);
  margin-bottom: 0;
}

/* Final CTA */
.sf-cta-final {
  background: linear-gradient(135deg, #0176d3 0%, #014486 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.sf-cta-final h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sf-cta-final .sub {
  font-size: 1.0625rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.sf-cta-final .fineprint {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 1rem;
  margin-bottom: 0;
}

.sf-cta-final .btn-light {
  font-weight: 600;
  padding: 0.65rem 1.75rem;
}

.sf-cta-final .btn-outline-light {
  font-weight: 600;
}

/* Legacy / inner pages */
.page-hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: var(--hero-bg);
}

.page-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-section.alt {
  background: var(--page-section-bg);
}

.stat-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sf-blue);
  line-height: 1.2;
}

.feature-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--sf-blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-blue);
  font-weight: 700;
  font-size: 1.25rem;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sf-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.testimonial-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  background: #fff;
}

.avatar-placeholder {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sf-blue), #5eb0f4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Home legacy helpers (still used in some blocks) */
.home-section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hero-text);
}

.home-section-lead {
  color: var(--hero-muted);
  max-width: 38rem;
}

.home-product-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-product-card:hover {
  box-shadow: 0 12px 32px rgba(3, 45, 96, 0.1);
  border-color: rgba(1, 118, 211, 0.35);
}

.home-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-product-card h3 a:hover {
  color: var(--sf-blue);
}

.home-stat-strip {
  border-top: 1px solid var(--sf-gray-border);
  border-bottom: 1px solid var(--sf-gray-border);
  background: linear-gradient(180deg, #fff 0%, var(--sf-gray-bg) 100%);
}

.home-stat-strip .stat-value {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.home-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sf-blue);
  margin-bottom: 0.5rem;
}

.home-cta-panel {
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--sf-blue) 0%, #014486 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
}

.home-cta-panel .btn-light {
  font-weight: 600;
}

.home-trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.home-logo-placeholder {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6c757d;
  padding: 0.5rem 1rem;
  border: 1px dashed var(--sf-gray-border);
  border-radius: 0.375rem;
  text-align: center;
}

.hero-title {
  color: var(--hero-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-lead {
  color: var(--hero-muted);
  font-size: 1.125rem;
  max-width: 34rem;
}

.hero-section {
  background: var(--hero-bg);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-blue);
}

.site-header:not(.sf-header) {
  border-bottom: 1px solid var(--sf-gray-border);
  background: var(--hero-bg);
}

/* Inner pages — match Salesforce-style marketing rhythm */
.sf-page-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--sf-blue-tint) 100%);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--sf-gray-border);
}

.sf-page-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-blue);
  margin-bottom: 0.75rem;
}

.sf-page-title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--sf-blue-dark);
  max-width: 52rem;
}

.sf-page-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hero-muted);
  max-width: 42rem;
}

.sf-page-hero .btn {
  font-weight: 600;
}

.sf-section-tint {
  background: var(--sf-gray-bg);
}

.sf-inner-cta {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--sf-gray-border);
}

.sf-inner-cta h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.75rem;
}

.sf-stat-row {
  border-top: 1px solid var(--sf-gray-border);
  border-bottom: 1px solid var(--sf-gray-border);
  background: #fff;
}

.sf-stat-row .sf-mini-stat .val {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.sf-content-prose h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 1rem;
}

.sf-content-prose h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
}

.sf-content-prose a {
  font-weight: 600;
}

.sf-contact-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 2rem;
  background: #fff;
  height: 100%;
  box-shadow: 0 4px 20px rgba(3, 45, 96, 0.06);
}

.sf-contact-email {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.sf-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sf-contact-form .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sf-blue-dark);
}

.sf-contact-form .form-control:focus,
.sf-contact-form .form-select:focus {
  border-color: var(--sf-blue);
  box-shadow: 0 0 0 0.2rem rgba(1, 118, 211, 0.15);
}

.sf-contact-sending-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(2px);
}

.sf-contact-sending-panel {
  max-width: 22rem;
}

.sf-contact-sending-spinner {
  width: 3rem;
  height: 3rem;
  border-width: 0.2rem;
  color: #fff;
}

/* Contact — enterprise-style layout (hero + quick actions + form / sidebar) */
.sf-contact-hero {
  text-align: center;
}

.sf-contact-hero .sf-hero-kicker,
.sf-contact-hero .sf-hero-title,
.sf-contact-hero .sf-hero-subline,
.sf-contact-hero .sf-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.sf-contact-hero .sf-hero-title {
  max-width: 44rem;
}

.sf-contact-hero .sf-hero-lead {
  max-width: 38rem;
}

.sf-contact-hero .hero-actions {
  justify-content: center;
}

.sf-contact-quick-card {
  display: block;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.sf-contact-quick-card:hover {
  border-color: rgba(1, 118, 211, 0.4);
  box-shadow: 0 10px 32px rgba(3, 45, 96, 0.1);
  color: inherit;
}

.sf-contact-quick-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--sf-blue-tint);
  color: var(--sf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sf-contact-quick-card h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.35rem;
}

.sf-contact-quick-card p {
  font-size: 0.875rem;
  color: var(--hero-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.sf-contact-quick-card .sf-link-arrow {
  font-size: 0.8125rem;
}

.sf-contact-layout {
  position: relative;
}

.sf-contact-sidebar .sf-contact-card {
  position: sticky;
  top: 5.5rem;
}

.sf-contact-form-panel {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 8px 40px rgba(3, 45, 96, 0.07);
  border-top: 4px solid var(--sf-blue);
}

.sf-contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  letter-spacing: -0.02em;
}

.sf-contact-success-panel {
  border: 1px solid rgba(25, 135, 84, 0.35);
  border-radius: 0.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, #f6fff9 0%, #fff 100%);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.sf-contact-success-panel .display-4 {
  line-height: 1;
}

/* Footer — multi-column marketing layout (cf. salesforce.com footer rhythm) */
.sf-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--sf-blue-dark);
  color: rgba(255, 255, 255, 0.92);
}

.sf-footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sf-footer-inner {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sf-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.sf-footer-list li {
  margin-bottom: 0.65rem;
}

.sf-footer-list li:last-child {
  margin-bottom: 0;
}

.sf-footer-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.sf-footer-link:hover,
.sf-footer-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.sf-footer-brand-block {
  padding-left: 0;
}

@media (min-width: 992px) {
  .sf-footer-brand-block {
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.sf-footer-logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff !important;
  margin-bottom: 0.75rem;
}

.sf-footer-logo:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Image mark: dark logo on light pad so it reads on dark footer */
.sf-footer-logo--mark {
  font-size: 0;
  line-height: 0;
  color: transparent !important;
}

.sf-footer-logo--mark:hover {
  color: transparent !important;
}

.sf-footer-logo-img {
  height: 3rem;
  width: auto;
  max-width: min(100%, 13rem);
  display: block;
  background: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: 0.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sf-footer-logo--mark:hover .sf-footer-logo-img {
  opacity: 0.94;
}

.sf-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 22rem;
}

.sf-footer-social {
  display: flex;
  gap: 0.75rem;
}

.sf-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, color 0.15s ease;
}

.sf-footer-social-link:hover,
.sf-footer-social-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.sf-footer-bottom {
  background: #021a3d;
}

.sf-footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Korx — long-form ERP layout (value band + pillar cards) */
.sf-korx-dark-band {
  background: linear-gradient(135deg, var(--sf-blue-dark) 0%, #014486 100%);
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sf-korx-dark-band-text {
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 48rem;
  margin: 0 auto;
}

.sf-korx-dark-band-text .text-white {
  font-weight: 700;
}

.sf-korx-pillar-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-top: 4px solid var(--sf-blue);
  box-shadow: 0 4px 20px rgba(3, 45, 96, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sf-korx-pillar-card:hover {
  box-shadow: 0 10px 32px rgba(3, 45, 96, 0.12);
  border-color: rgba(1, 118, 211, 0.25);
}

.sf-korx-pillar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.sf-korx-pillar-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hero-muted);
  margin: 0;
}

/* About — story page (long-form hero, timeline, values) */
.sf-about-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--sf-blue-tint) 55%, #e8f4fb 100%);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--sf-gray-border);
}

.sf-about-hero-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-blue);
}

.sf-about-hero-title {
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--sf-blue-dark);
  max-width: 54rem;
}

.sf-about-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hero-muted);
}

.sf-about-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sf-blue-dark);
}

.sf-about-timeline-wrap {
  max-width: 44rem;
}

.sf-about-timeline {
  position: relative;
  padding-left: 0;
}

.sf-about-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--sf-blue) 0%, rgba(1, 118, 211, 0.25) 100%);
  border-radius: 2px;
}

.sf-about-timeline-item {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: 2rem;
}

.sf-about-timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sf-blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--sf-blue-tint);
}

.sf-about-timeline-item--last {
  padding-bottom: 0;
}

.sf-about-quote-featured {
  background: var(--sf-gray-bg);
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.sf-about-quote-featured blockquote p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--sf-blue-dark);
  font-weight: 500;
}

.sf-about-value-card {
  border: 1px solid var(--sf-gray-border);
  border-radius: 0.5rem;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-left: 4px solid var(--sf-blue);
  box-shadow: 0 4px 18px rgba(3, 45, 96, 0.05);
  transition: box-shadow 0.2s ease;
}

.sf-about-value-card:hover {
  box-shadow: 0 8px 28px rgba(3, 45, 96, 0.1);
}

.sf-about-value-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sf-blue-dark);
  margin-bottom: 0.5rem;
}

.sf-about-value-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hero-muted);
  margin: 0;
}

.sf-about-more-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ATL / FBR — API-first hero (no product screenshot) */
.sf-hero--atl-api {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.sf-api-hero-visual {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .sf-api-hero-visual {
    margin-left: auto;
    margin-right: 0;
    max-width: none;
  }
}

.sf-api-hero-card {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--sf-gray-border);
  box-shadow:
    0 0 0 1px rgba(3, 45, 96, 0.06),
    0 18px 48px rgba(3, 45, 96, 0.12);
  background: #fff;
}

.sf-api-hero-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, var(--sf-blue-dark) 0%, #014486 100%);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.sf-api-hero-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sf-api-hero-method {
  font-weight: 700;
  color: #7dd3fc;
}

.sf-api-hero-path {
  opacity: 0.95;
  word-break: break-all;
}

.sf-api-hero-pre {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.75rem;
  line-height: 1.55;
  overflow-x: auto;
}

.sf-api-hero-pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: inherit;
}

.sf-api-hero-brace {
  color: #94a3b8;
}

.sf-api-hero-k {
  color: #7dd3fc;
}

.sf-api-hero-v {
  color: #86efac;
}

.sf-api-hero-foot {
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  color: var(--hero-muted);
  background: var(--sf-gray-bg);
  border-top: 1px solid var(--sf-gray-border);
}

.sf-api-hero-foot li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.sf-api-hero-foot li:last-child {
  margin-bottom: 0;
}

.sf-api-hero-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--sf-blue);
}

.sf-api-hero-disclaimer a {
  font-weight: 600;
}
