/**
 * Progressive HTML site (no-JS friendly). Hidden when SPA mounts.
 */
.sfa-static {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  color: #0f172a;
  background: linear-gradient(180deg, #ecfeff 0%, #f1f5f9 140px);
  min-height: 100vh;
}

/* —— Header —— */
.sfa-static__header {
  background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 65%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
}
.sfa-static__header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  justify-content: space-between;
}
.sfa-static__brand img {
  height: 40px;
  width: auto;
  display: block;
}
.sfa-static__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.sfa-static__nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 11px;
  border-radius: 8px;
}
.sfa-static__nav-link:hover,
.sfa-static__nav-link.is-active {
  background: rgba(14, 165, 233, 0.28);
  color: #fff;
}

/* —— Simplified / no-JS mode notice —— */
.sfa-static__mode {
  background: linear-gradient(90deg, #fff7ed, #fef3c7);
  border-bottom: 1px solid #fbbf24;
  color: #78350f;
}
.sfa-static__mode-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.sfa-static__mode-badge {
  display: inline-block;
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1c1917;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sfa-static__mode-text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #78350f;
}
.sfa-static__mode-text strong {
  color: #451a03;
}
.sfa-static__mode-actions {
  margin: 0;
  flex: 0 0 auto;
}
.sfa-static__mode-link {
  display: inline-block;
  font-weight: 800;
  font-size: 0.88rem;
  color: #9a3412;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sfa-static__mode-link:hover {
  color: #7c2d12;
}

/* —— Main —— */
.sfa-static__main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 64px;
  box-sizing: border-box;
}
.sfa-static__main h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #0c4a6e;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sfa-static__main h2 {
  font-size: 1.2rem;
  color: #0e7490;
  margin: 32px 0 12px;
  font-weight: 800;
}
.sfa-static__main h3 {
  font-size: 1.05rem;
  color: #0c4a6e;
  margin: 18px 0 6px;
}
.sfa-static__eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0284c7;
}
.sfa-static__lead,
.sf-seo-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155;
  max-width: 52rem;
}
.sfa-static__section-lead {
  margin: -4px 0 14px;
  color: #64748b;
  font-size: 0.95rem;
}
.sfa-static__hero {
  margin-bottom: 8px;
}
.sfa-static__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

/* —— Buttons —— */
.sfa-static__btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #94a3b8;
  background: #fff;
  color: #0c4a6e;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.sfa-static__btn--primary {
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  border-color: #0284c7;
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
}
.sfa-static__btn:hover {
  filter: brightness(1.05);
}

/* —— Benefits —— */
.sfa-static__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 22px 0 8px;
}
.sfa-static__benefit {
  background: #fff;
  border: 1px solid #dbe7f0;
  border-radius: 14px;
  padding: 14px 15px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sfa-static__benefit strong {
  color: #0c4a6e;
  font-size: 0.95rem;
}
.sfa-static__benefit span {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

/* —— Cards / grids —— */
.sfa-static__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 12px 0 24px;
}
.sfa-static__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d5e0eb;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sfa-static__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
.sfa-static__card-img {
  display: block;
  aspect-ratio: 16/10;
  background: #e2e8f0;
  overflow: hidden;
}
.sfa-static__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sfa-static__card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}
.sfa-static__card-body strong {
  color: #0c4a6e;
  font-size: 1rem;
}
.sfa-static__card-meta {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.35;
}
.sfa-static__card-cta {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0284c7;
  margin-top: 4px;
}

/* —— Media accents —— */
.sfa-static__media-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 18px 0 10px;
}
.sfa-static__media-card {
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.sfa-static__media-card img,
.sfa-static__media-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f172a;
}
.sfa-static__media-card figcaption {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

/* —— Forms / CTAs —— */
.sfa-static__form {
  max-width: 560px;
  background: #fff;
  border: 1px solid #d5e0eb;
  border-radius: 16px;
  padding: 16px 18px;
  margin: 12px 0 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.sfa-static__form label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
}
.sfa-static__form input,
.sfa-static__form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #94a3b8;
  font: inherit;
  box-sizing: border-box;
}
.sfa-static__form--inline {
  margin: 12px 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
}
.sfa-static__hint {
  font-size: 0.85rem;
  color: #64748b;
}
.sfa-static__cta-box {
  background: linear-gradient(180deg, #f0f9ff, #fff);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 28px 0 12px;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.08);
}
.sfa-static__cta-box h2 {
  margin-top: 0;
}
.sfa-static__cta-box--checkout {
  border-color: #7dd3fc;
}

/* —— Misc —— */
.sfa-static__flash {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 700;
}
.sfa-static__banner {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.sfa-static__woo {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
}
.sfa-static__examples ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.sfa-static__examples img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
}
.sfa-static__terms-details {
  margin: 28px 0 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 14px;
}
.sfa-static__terms-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #0c4a6e;
  font-size: 0.92rem;
}
.sf-seo-terms {
  columns: 2;
  gap: 24px;
  font-size: 0.88rem;
  color: #64748b;
  margin: 12px 0 4px;
  padding-left: 1.1rem;
}
.sfa-static__main ol,
.sfa-static__main ul:not(.sf-seo-terms) {
  color: #334155;
  line-height: 1.5;
}

/* —— Footer —— */
.sfa-static__footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 28px 16px 40px;
  margin-top: 24px;
}
.sfa-static__footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sfa-static__footer a {
  color: #7dd3fc;
}
.sfa-static__footer-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* —— SPA hide rules —— */
html.sfa-js-ready .sfa-static {
  display: none !important;
}
html.sfa-js-ready body.sfa-app-body {
  background: #f1f5f9;
}
#sf-app:empty {
  display: none;
}
html.sfa-js-ready #sf-app {
  display: block;
}
.sf-noscript {
  display: none;
}
html:not(.sfa-js-ready) .sf-noscript.sf-noscript--optional {
  display: block;
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 10px 14px;
  font-size: 0.88rem;
  border-radius: 10px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0c4a6e;
}

@media (max-width: 640px) {
  .sf-seo-terms { columns: 1; }
  .sfa-static__nav { width: 100%; }
  .sfa-static__header-inner { align-items: flex-start; }
}
