/* Shared public-site design. Keep this after page-specific legacy styles. */
:root {
  --fs-primary: #00865e;
  --fs-secondary: #1675ee;
  --fs-info: #1675ee;
  --fs-text-main: #10214f;
  --fs-bg-soft: #f3f9ff;
  --fs-border-soft: #e0ecf8;
  --fs-muted: #526789;
}
body { background: #f5faff; color: var(--fs-text-main); line-height: 1.6; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #1675ee; outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; background: white; padding: 12px 20px; border-radius: 12px; }
.skip-link:focus { top: 12px; }
header.header { max-width: 1240px; width: calc(100% - 48px); margin: 16px auto 0; padding: 15px 24px; gap: 24px; border: 1px solid #e8f0f8; border-radius: 18px; background: #fffffff5; box-shadow: 0 6px 30px #17385b06; top: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 19px; font-weight: 700; letter-spacing: -.6px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--fs-text-main); }
.brand img { width: 81px; height: auto; }
header.header .main-nav { gap: 12px; flex: 1; }
header.header .main-nav a, .nav-dropdown-toggle { color: #33496e; font-size: 12px; font-weight: 700; padding: 10px 9px; }
header.header .main-nav a:hover, .nav-dropdown-toggle:hover { background: #f0f7ff; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { border: 0; background: none; cursor: pointer; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; width: 340px; padding: 10px; border: 1px solid var(--fs-border-soft); border-radius: 15px; background: white; box-shadow: 0 18px 50px #15335d18; display: none; }
.nav-dropdown:hover .nav-dropdown-menu { display: none; }
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { display: grid; gap: 3px; border-radius: 8px; }
.nav-dropdown-menu strong { font-size: 13px; }
.nav-dropdown-menu span { font-size: 11px; font-weight: 400; color: var(--fs-muted); }
header.header .main-nav .nav-login { margin-left: auto; }
.btn-primary, header.header .main-nav .btn-primary { color: white; background: linear-gradient(120deg, #00996c, #008258); border-radius: 9px; box-shadow: 0 6px 16px #00a57820; font-size: 13px; font-weight: 700; padding: 13px 21px; min-height: 46px; justify-content: center; }
.btn-primary:hover, header.header .main-nav .btn-primary:hover { background: #007b55; box-shadow: 0 8px 22px #00865e26; }
.btn-secondary { color: #1463c4; background: white; border: 1px solid #cbdff7; padding: 12px 20px; min-height: 46px; border-radius: 9px; font-size: 13px; font-weight: 700; justify-content: center; }
.btn-secondary:hover { background: #f2f8ff; border-color: #91b7e5; }
.btn-primary svg, .btn-secondary svg { width: 17px; height: 17px; flex-shrink: 0; }
.fs-site { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.fs-site section { padding: 0; }
.fs-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--fs-muted); padding: 20px 28px 0; }
.fs-breadcrumb span[aria-hidden] { color: #94abc6; }
.fs-hero { position: relative; isolation: isolate; border-radius: 0 0 24px 24px; background: linear-gradient(112deg, #f6fbff 0%, #edf7ff 55%, #d6edff 100%); overflow: hidden; margin-bottom: 28px; }
.fs-hero::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: #c1e5ff50; right: -180px; top: -250px; z-index: -1; }
.fs-hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 24px; align-items: center; min-height: 470px; padding: 36px 28px 40px; }
.fs-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #087957; margin: 0 0 12px; }
.fs-hero h1 { font-size: clamp(30px, 3.35vw, 44px); letter-spacing: -.045em; line-height: 1.14; margin: 0 0 18px; max-width: 580px; text-wrap: balance; }
.fs-hero h1 span { color: #1166ce; }
.fs-lead { color: var(--fs-muted); font-size: 14px; line-height: 1.75; margin: 0 0 22px; max-width: 540px; }
.fs-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fs-actions svg { width: 17px; height: 17px; }
.fs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 450px; }
.fs-stats div + div { border-left: 1px solid #cbdff1; padding-left: 16px; }
.fs-stats strong { display: block; color: #1268d3; font-size: 20px; line-height: 1.3; white-space: nowrap; }
.fs-stats span { font-size: 10px; color: var(--fs-muted); }
.fs-hero-media { position: relative; min-width: 0; padding: 65px 0 0 8px; }
.fs-hero-photo { position: absolute; top: 0; right: -28px; width: 90%; height: 255px; object-fit: cover; object-position: 60% 35%; border-radius: 110px 0 0 35px; }
.fs-screen { position: relative; margin: 0; border-radius: 15px; border: 1px solid #d9e7f7; background: white; padding: 8px; box-shadow: 0 18px 45px #254a7914; }
.fs-screen a { display: block; border-radius: 9px; overflow: hidden; background: #f8fbfe; cursor: zoom-in; }
.fs-screen img { display: block; width: 100%; height: auto; }
.fs-screen figcaption { font-size: 10px; padding: 10px 7px 3px; color: var(--fs-muted); display: flex; justify-content: space-between; gap: 10px; }
.fs-screen figcaption span:last-child { color: #1463c4; white-space: nowrap; }
.fs-panel { border-radius: 20px; background: #ffffffd9; border: 1px solid #e9f1fa; margin-bottom: 22px; padding: 28px !important; }
.fs-section-heading { text-align: center; margin-bottom: 22px; }
.fs-section-heading h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; margin: 0 0 7px; text-wrap: balance; }
.fs-section-heading p { color: var(--fs-muted); font-size: 12px; margin: 0; }
.fs-feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.fs-card { border: 1px solid var(--fs-border-soft); border-radius: 12px; background: linear-gradient(150deg, white, #fbfdff); padding: 18px 15px; min-width: 0; }
.fs-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #087857; background: #d9faee; margin-bottom: 13px; flex-shrink: 0; }
.fs-icon svg { width: 24px; height: 24px; }
.fs-card:nth-child(3n + 2) .fs-icon { color: #166be0; background: #e5f1ff; }
.fs-card:nth-child(3n) .fs-icon { color: #a85413; background: #fff0e3; }
.fs-card h3 { font-size: 12px; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 8px; }
.fs-card p { color: var(--fs-muted); font-size: 11px; line-height: 1.65; margin: 0; }
.fs-card-link { color: #087857; display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: 11px; margin-top: 13px; }
.fs-card-link svg { width: 14px; height: 14px; }
.fs-feature-grid.fs-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fs-modules .fs-card { padding: 22px; }
.fs-modules h3 { font-size: 15px; }
.fs-modules p { font-size: 12px; }
.fs-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.fs-split h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.04em; margin: 0 0 12px; text-wrap: balance; }
.fs-split > div > p { font-size: 12px; color: var(--fs-muted); margin: 0 0 20px; }
.fs-benefits { list-style: none; display: grid; gap: 16px; padding: 0; margin: 20px 0 0; }
.fs-benefits li { display: flex; gap: 13px; align-items: center; }
.fs-benefits .fs-icon { margin: 0; border-radius: 50%; width: 42px; height: 42px; }
.fs-benefits strong { font-size: 12px; display: block; margin-bottom: 3px; }
.fs-benefits p { font-size: 11px; color: var(--fs-muted); margin: 0; }
.fs-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: steps; }
.fs-flow article { position: relative; display: flex; gap: 12px; align-items: flex-start; counter-increment: steps; }
.fs-flow article::before { content: counter(steps); flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e6f2ff; color: #125ec1; font-size: 16px; font-weight: 700; }
.fs-flow article:nth-child(even)::before { color: #087857; background: #d9faee; }
.fs-flow h3 { font-size: 12px; margin: 0 0 5px; }
.fs-flow p { font-size: 11px; color: var(--fs-muted); margin: 0; }
.fs-audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fs-audience .fs-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-content: start; gap: 4px 12px; }
.fs-audience .fs-card h3 { margin-bottom: 2px; }
.fs-audience .fs-card p { grid-column: 2; }
.fs-audience .fs-card .fs-icon { grid-row: span 2; }
.fs-audience .fs-icon { width: 36px; height: 36px; border-radius: 9px; margin: 0; }
.fs-audience .fs-icon svg { width: 21px; height: 21px; }
.fs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fs-gallery .fs-screen figcaption { font-size: 11px; }
.fs-detail { border: 1px solid var(--fs-border-soft); border-radius: 12px; background: white; margin-bottom: 10px; }
.fs-detail summary { cursor: pointer; padding: 17px 20px; font-size: 13px; font-weight: 700; }
.fs-detail > div { padding: 0 20px 20px; font-size: 12px; color: var(--fs-muted); }
.fs-detail li { margin: 8px 0; }
.fs-cta { position: relative; overflow: hidden; display: flex; gap: 28px; align-items: center; justify-content: space-between; background: linear-gradient(110deg, #e4f6ff, #d9f5ef); border: 1px solid #d8edf1; border-radius: 20px; padding: 28px !important; margin: 24px 0; }
.fs-cta h2 { font-size: 23px; letter-spacing: -.035em; line-height: 1.3; margin: 0 0 7px; }
.fs-cta p { font-size: 12px; color: var(--fs-muted); margin: 0; }
.fs-cta .btn-primary { flex-shrink: 0; }
.fs-pilot { padding: 8px 12px; border-radius: 8px; border: 1px solid #bce3d5; background: #f3fffa; color: #08694d; font-size: 11px; display: inline-block; margin-bottom: 16px; }
.fs-pilot-visual { position: relative; border-radius: 24px; padding: 28px; background: white; border: 1px solid #cfe5f5; box-shadow: 0 18px 45px #254a7914; }
.fs-pilot-visual > .fs-icon { width: 64px; height: 64px; }
.fs-pilot-visual > .fs-icon svg { width: 34px; height: 34px; }
.fs-pilot-visual h2 { font-size: 22px; margin: 0 0 8px; }
.fs-pilot-visual > p { color: var(--fs-muted); font-size: 12px; }
.fs-pilot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fs-pilot-tags span { padding: 7px 11px; border: 1px solid #dceaf6; border-radius: 8px; background: #f5faff; font-size: 11px; }
.fs-integrations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fs-integrations h3 { font-size: 15px; }
.fs-integrations p { font-size: 12px; }
.fs-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fs-partners a { display: block; text-decoration: none; }
.fs-partners a:hover { border-color: #99c6ea; }
.fs-partners h3 { font-size: 14px; }
.fs-site-footer { max-width: 1240px; width: calc(100% - 48px); margin: 0 auto 18px; border: 1px solid #e7eff7; border-radius: 18px; background: white; text-align: left; padding: 25px 28px; }
.fs-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fs-footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; color: var(--fs-muted); }
.fs-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #edf3f9; font-size: 10px; color: var(--fs-muted); }
.fs-language { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; color: #1463c4; }
.fs-image-dialog { padding: 18px; border: 0; border-radius: 16px; width: min(1400px, 96vw); max-width: 96vw; max-height: 94dvh; background: white; }
.fs-image-dialog::backdrop { background: #081931cf; }
.fs-image-dialog img { display: block; width: auto; max-width: 100%; max-height: 78dvh; margin: auto; object-fit: contain; }
.fs-image-dialog button { display: block; margin: 0 0 12px auto; border: 1px solid var(--fs-border-soft); border-radius: 8px; background: #f4f9ff; color: #10214f; padding: 8px 15px; cursor: pointer; min-height: 44px; }
/* Existing provider and 3IN information pages share the new palette. */
main:not(.fs-site) .section-bg-soft { background: #edf6ff; }
main:not(.fs-site) .section-bg-accent { background: linear-gradient(110deg, #eaf7ff, #eafbf5); }
main:not(.fs-site) .section-bg-dark { background: linear-gradient(110deg, #162e57, #075c5b); }
.provider-hero { background: linear-gradient(110deg, #edf7ff, #e9faf4); }
.provider-grid, .provider-media-row, .kv { overflow-wrap: anywhere; }
.provider-grid > *, .info-card { min-width: 0; }
.info-card, .about-box, .content-card { border-color: var(--fs-border-soft); box-shadow: 0 8px 25px #15385a06; }
@media (max-width: 1100px) {
  header.header .main-nav { gap: 3px; }
  header.header { gap: 12px; padding: 14px 18px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand img { width: 64px; }
  .fs-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fs-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-hero-grid { gap: 20px; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 960px) {
  header.header { flex-wrap: wrap; }
  .hamburger { display: flex; width: 44px; height: 44px; padding: 11px 8px; margin-left: auto; }
  header.header .main-nav { display: none; width: 100%; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 8px; max-height: calc(100dvh - 100px); overflow: auto; }
  header.header .main-nav.open { display: flex; }
  header.header .main-nav a, .nav-dropdown-toggle { padding: 12px; min-height: 44px; font-size: 13px; }
  header.header .main-nav .nav-login, header.header .main-nav .btn-primary { margin-left: 0; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu { position: static; width: 100%; box-shadow: none; border-radius: 10px; margin-bottom: 6px; background: #f7fbff; }
  .nav-dropdown.open .nav-dropdown-menu, .nav-dropdown.open:hover .nav-dropdown-menu { display: grid; }
  .fs-hero-grid { grid-template-columns: 1fr 1fr; }
  .fs-hero h1 { font-size: 34px; }
  .fs-lead { font-size: 12px; }
  .fs-actions { gap: 8px; }
  .fs-actions .btn-primary, .fs-actions .btn-secondary { padding: 12px 14px; font-size: 12px; }
  .fs-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-feature-grid.fs-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  header.header, .fs-site, .fs-site-footer { width: calc(100% - 24px); }
  header.header { top: 6px; margin-top: 8px; padding: 8px 14px; border-radius: 13px; }
  .brand { font-size: 18px; }
  .brand img { width: 72px; }
  .fs-breadcrumb { padding: 20px 18px 0; font-size: 10px; }
  .fs-hero-grid { grid-template-columns: 1fr; padding: 28px 18px 24px; gap: 24px; min-height: 0; }
  .fs-hero h1 { font-size: clamp(30px, 7.6vw, 42px); max-width: 540px; }
  .fs-lead { font-size: 13px; }
  .fs-stats { margin-top: 24px; }
  .fs-stats strong { font-size: 21px; }
  .fs-stats span { font-size: 10px; }
  .fs-hero-media { padding: 48px 0 0; }
  .fs-hero-photo { height: 190px; right: -18px; width: 95%; border-radius: 70px 0 0 20px; }
  .fs-hero { margin-bottom: 16px; }
  .fs-panel { padding: 22px 18px !important; margin-bottom: 16px; border-radius: 16px; }
  .fs-section-heading h2 { font-size: 22px; }
  .fs-section-heading p { font-size: 12px; }
  .fs-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fs-card { padding: 16px 13px; }
  .fs-card h3 { font-size: 13px; }
  .fs-card p { font-size: 11px; }
  .fs-audience .fs-card { gap: 4px 9px; }
  .fs-audience h3 { overflow-wrap: anywhere; }
  .fs-actions .btn-primary, .fs-actions .btn-secondary, .fs-cta .btn-primary { white-space: normal; max-width: 100%; text-align: center; }
  main:not(.fs-site) .btn-primary, main:not(.fs-site) .btn-secondary { white-space: normal; max-width: 100%; text-align: center; }
  .fs-flow article > div, .fs-split > div { min-width: 0; }
  .fs-card p, .fs-flow p, .fs-benefits p, .fs-screen figcaption { font-size: 12px; }
  .fs-split { grid-template-columns: 1fr; gap: 24px; }
  .fs-split h2 { font-size: 26px; }
  .fs-benefits strong { font-size: 13px; }
  .fs-benefits p { font-size: 12px; }
  .fs-gallery { grid-template-columns: 1fr; gap: 16px; }
  .fs-flow { gap: 22px 14px; }
  .fs-flow article { gap: 9px; }
  .fs-flow article::before { width: 30px; height: 30px; font-size: 14px; }
  .fs-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px !important; }
  .fs-cta h2 { font-size: 22px; }
  .fs-integrations, .fs-partners { grid-template-columns: 1fr; }
  .fs-footer-top, .fs-footer-bottom { align-items: flex-start; flex-direction: column; }
  .fs-site-footer { padding: 24px 20px; }
  .fs-footer-links { gap: 6px 18px; }
  .fs-footer-links a, .fs-language { display: inline-flex; align-items: center; min-height: 44px; }
  .fs-footer-bottom { margin-top: 14px; gap: 8px; }
  .fs-pilot-visual { padding: 22px; }
}
@media (max-width: 380px) {
  .fs-actions { flex-direction: column; align-items: stretch; }
  .fs-stats { gap: 8px; }
  .fs-stats div + div { padding-left: 8px; }
  .fs-stats strong { font-size: 18px; }
  .fs-audience, .fs-flow, .fs-feature-grid.fs-modules { grid-template-columns: 1fr; }
  .fs-audience .fs-card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
