/* Shared visual refinements for the existing public pages. */
:root {
  --ink: #182d43;
  --text: #4b5968;
  --muted: #5e6d7b;
  --green: #007e60;
  --line: #dce4e9;
  --soft: #f5f7f9;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.static-site {
  margin: 0;
  padding: 0 !important;
  color: var(--text);
  background: var(--white);
  font: 400 16px/1.75 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.static-site button, .static-site input { font: inherit; }
.static-site a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.static-site a:hover { color: #005c46; text-decoration: underline; }
.static-site :focus-visible { outline: 3px solid #008c6b; outline-offset: 5px; border-radius: 3px; }
.static-site img { max-width: 100%; height: auto; }
.static-site .wrapper { max-width: 1080px; width: 100%; margin: 0 auto; }
.static-container { width: min(100% - 48px, 1080px); margin: 0 auto; }
.static-site .site-row { padding: 56px 24px; }
.static-site .gray { background: var(--soft); }
.static-site .darkgray { background: #eef2f4; }
.static-site .dark { background: #222d38; color: #f6f8fa; }
.static-site .darkblue { background: var(--ink); color: #f6f8fa; }
.static-site .bluegrad { background: linear-gradient(140deg, #252f38, #192f45); }
.static-site h1, .static-site h2, .static-site h3, .static-site h4 { color: var(--ink); font-family: inherit; }
.static-site h1 { font-size: clamp(27px, 3.1vw, 36px); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; margin: 0 0 24px; }
.static-site h2 { font-size: clamp(23px, 2.7vw, 29px); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; margin: 36px 0 18px; }
.static-site h3 { font-size: 19px; line-height: 1.6; font-weight: 400; margin: 24px 0 20px; }
.static-site h4 { font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: .06em; margin: 0 0 14px; }
.static-site h1 u, .static-site h2 u { text-decoration: none; border: 0; }
.static-site p { margin: 0 0 24px; }
.static-site p:last-child { margin-bottom: 0; }
.static-site .f16 { font-size: 17px; line-height: 1.75; }
.static-site .black { color: var(--ink); }
.static-site .invert, .static-site .invertbold { color: #f5f8fb; }
.static-site .site-row ul, .static-site .site-row ol { line-height: 1.75; }
.static-site .site-row li { margin-bottom: 6px; }
.static-site [id] { scroll-margin-top: 24px; }
.static-site table { max-width: 100%; border-collapse: collapse; font-size: 14px; }
.static-site th, .static-site td { padding: 10px; border-color: var(--line); }

/* Header remains usable without JavaScript; JS enhances the mobile disclosure. */
.static-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid #e9edf1; }
.static-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; }
.static-logo { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none !important; padding: 12px 0; }
.static-logo img { display: block; width: 102px; height: auto; }
.primary-links { display: flex; align-items: center; gap: 28px; }
.primary-links a { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; padding: 10px 0; }
.primary-links a:hover, .primary-links a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 7px; }
.menu-toggle { display: none; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; cursor: pointer; font-size: 14px !important; }
.mobile-section-menu { display: none; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: white; border: 2px solid var(--green); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Existing product sections, with regular spacing and legible text. */
.home-page #main-content > .main-row:first-child { padding-top: 76px; padding-bottom: 72px; }
.home-page #main-content > .main-row:first-child .wrapper { max-width: 920px; }
.home-page #main-content > .main-row:first-child .wrapper > p:first-child { font-size: clamp(29px, 4vw, 42px) !important; font-weight: 600; line-height: 1.3 !important; letter-spacing: -.025em; color: var(--ink) !important; margin-bottom: 30px; }
.home-page #main-content > .main-row:first-child h1 { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.5; font-weight: 400; text-align: left !important; }
.home-page #main-content > .main-row:first-child p.f16 { text-align: left !important; color: var(--muted); }
.home-page #main-content > .main-row:first-child .btn { margin-top: 8px; }
.home-page #features { display: block !important; padding-top: 22px; padding-bottom: 22px; }
.home-page .logos-block { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 30px; opacity: .85; }
.home-page .logos-block .item { flex: 0 1 auto; width: auto; margin: 0; }
.home-page .logos-block img { max-height: 27px; width: auto; }
.home-page .logos-block a { color: #e1e9ee !important; font-size: 13px; }
.home-page .bluegrad h2 { margin-top: 0; }
.home-page .bluegrad p { text-align: left !important; color: #e0e8ef; max-width: 900px; margin-left: auto; margin-right: auto; }
.home-page #top-img-container { max-width: 850px; margin: 36px auto 0; }
.home-page .two-elements-block { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.home-page .two-elements-block .img-column, .home-page .two-elements-block .text-column { float: none; width: calc(50% - 32px); margin: 0; }
.home-page .two-elements-block h2 { margin-top: 0; }
.home-page .two-elements-block img { display: block; }
.home-page #reasons-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 34px; }
.home-page #reasons-block::before, .home-page #reasons-block::after { display: none; }
.home-page .reason { display: flex; align-items: flex-start; gap: 22px; width: auto; margin: 0 !important; text-align: left; }
.home-page .reason-img { display: flex; align-items: center; justify-content: center; flex: 0 0 65px; width: 65px; height: 65px; float: none; margin: 0; }
.home-page .reason-img img { display: block; width: auto; max-height: 100%; object-fit: contain; }
.home-page .reason-txt { width: auto; flex: 1; float: none; min-width: 0; padding: 0; margin: 0; }
.home-page .reason-txt h2 { margin: 0 0 8px; font-size: 22px; }
.home-page .reason-txt .f16 { font-size: 16px; line-height: 1.6; }
.home-page .reason-txt p { font-size: 15px; }
.static-site .styled { border: 1px solid rgba(24,45,67,.14); border-radius: 8px; box-shadow: 0 2px 5px rgba(24,45,67,.035), 0 10px 24px rgba(24,45,67,.075); }
.home-page #leaders { display: block !important; }
.static-site .payment-systems { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }

/* Shared public articles and the section navigation. */
.inner-page .site-row.higher { padding-top: 48px; padding-bottom: 64px; }
.inner-page .higher > .wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 236px; column-gap: 54px; align-items: start; }
.inner-page .higher > .wrapper::before, .inner-page .higher > .wrapper::after { display: none; }
.inner-page #content { margin: 0; float: none; width: auto; min-width: 0; grid-column: 1; grid-row: 1; }
.inner-page #content-fix { float: none; width: 100%; }
.inner-page #content-fix > h1:first-child, .inner-page #content-fix > h2:first-child { margin-top: 0; }
.inner-page #content-fix p, .inner-page #content-fix li { overflow-wrap: break-word; }
.inner-page #content-fix ul, .inner-page #content-fix ol { padding-left: 24px; margin-bottom: 28px; }
.inner-page #content-fix > ul > strong { display: block; margin-bottom: 12px; margin-left: -24px; font-size: 14px; line-height: 1.6; font-weight: 600; color: var(--ink); letter-spacing: .015em; }
.inner-page #inner-sidebar { display: block; float: none; width: auto; padding: 24px; grid-column: 2; grid-row: 1; background: var(--soft); border: 1px solid #e7edf1; border-radius: 10px; margin: 0; }
.inner-page #inner-sidebar .sidebar-heading { font-size: 12px; line-height: 1.55; font-weight: 600; letter-spacing: .055em; color: #647180; margin-top: 24px; margin-bottom: 12px; }
.inner-page #inner-sidebar .sidebar-heading:first-child { margin-top: 0; }
.inner-page #inner-sidebar ul { list-style: none; padding: 0; margin: 0; }
.inner-page #inner-sidebar li { list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; line-height: 1.6; }
.inner-page #inner-sidebar a { display: block; padding: 2px 0; color: var(--text); text-decoration: none; }
.inner-page #inner-sidebar a:hover { color: var(--green); text-decoration: underline; }
.inner-page #inner-sidebar a[aria-current] { color: var(--green); font-weight: 600; }
.inner-page .text-with-img { display: flex; align-items: center; gap: 28px; padding-bottom: 36px; }
.inner-page .text-with-img .twi-img { width: 42%; flex: 0 0 42%; }
.inner-page .text-with-img .twi-text { width: auto; flex: 1; min-width: 0; }
.inner-page .twi-text > p > strong { color: var(--ink); font-size: 1.025em; font-weight: 600; }
.inner-page .text-with-img .twi-img img { border-radius: 7px; }
.inner-page #content-fix > p > img { margin: 16px auto; display: block; border-radius: 8px; }

/* Consistent buttons while preserving their original destinations. */
.static-site a.btn, .static-site a.btn:visited { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; min-height: 46px; border: 1px solid #9baab7; border-radius: 6px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; vertical-align: middle; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(24,45,67,.045); }
.static-site a.btn:hover { background: #edf3f5; border-color: var(--ink); color: var(--ink); }
.static-site a.btn.green { background: var(--green); border-color: var(--green); color: #fff; }
.static-site a.btn.green:hover { background: #00624b; border-color: #00624b; color: #fff; }

/* With JS disabled all slides remain readable in a vertical list. */
.static-site .carousel-wrapper { position: relative; margin: 28px auto; padding: 0 44px 30px; }
.static-site .carousel { position: relative; overflow: visible; }
.static-site .carousel ul { position: static; left: auto; top: auto; width: auto; padding: 0 !important; margin: 0 !important; list-style: none; }
.static-site .carousel ul li { width: 100%; float: none; list-style: none; margin: 0 0 28px; padding: 0; white-space: normal; }
.static-site .carousel-ready .carousel { overflow: hidden; }
.static-site .carousel-ready .carousel ul { display: flex; width: 100%; transform: translateX(0); }
.static-site .carousel-ready .carousel li { flex: 0 0 100%; min-width: 0; width: 100%; margin: 0; }
.static-site .carousel li img { max-width: 100%; }
.static-site .carousel-prev, .static-site .carousel-next { display: none; }
.static-site .carousel-ready .carousel-prev, .static-site .carousel-ready .carousel-next { display: flex !important; align-items: center; justify-content: center; position: absolute; top: calc(50% - 24px); width: 36px; height: 36px; padding: 0; border: 1px solid #c5d0d9; border-radius: 50%; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; margin: 0; text-indent: 0; box-shadow: 0 1px 3px rgba(24,45,67,.04); }
.static-site .carousel-ready .carousel-prev:hover, .static-site .carousel-ready .carousel-next:hover { border-color: var(--green); background: #f5f8f9; }
.static-site .carousel-prev { left: 0 !important; }
.static-site .carousel-next { right: 0 !important; }
.static-site .carousel-ready button[hidden] { display: none !important; }
.static-site .carousel-pagination { display: none; }
.static-carousel-pagination { display: flex; justify-content: center; gap: 9px; padding-top: 22px; }
.static-carousel-pagination .carousel-dot { width: 10px; height: 10px; min-height: 0; padding: 0; border: 1px solid #758694; border-radius: 50%; background: transparent; cursor: pointer; }
.static-carousel-pagination .carousel-dot[aria-pressed=true] { background: var(--green); border-color: var(--green); }
.carousel-status { display: block; font-size: 12px; line-height: 1.5; text-align: center; color: #647180; margin-top: 16px; }
.static-site .slide-description { font-size: 14px; font-weight: 600; margin-top: 12px; color: var(--ink); }
.static-site #leaders .carousel-wrapper { max-width: 900px; }
.static-site #leaders .carousel li { font-size: 15px; text-align: left; }
.static-site .testimonial-heading { display: flex; gap: 18px; align-items: center; }
.static-site .testimonial-heading-avatar { float: none; flex: 0 0 60px; margin: 0; padding: 0; }
.static-site .testimonial-heading-avatar img { width: 60px; border-radius: 50%; }
.static-site .testimonial-heading-text { float: none; width: auto; flex: 1; margin: 0; padding: 0; font-size: 15px; }

/* Footer and the required state-registration references. */
.static-site footer.site-row { padding: 48px 24px 28px; }
.static-site #footer-menu-block { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px; padding: 0 0 34px; }
.static-site #footer-menu-block .footer-menu-column { width: auto; float: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.7; min-width: 0; }
.static-site #footer-menu-block h4 { color: #fff; margin-top: 24px; margin-bottom: 12px; }
.static-site #footer-menu-block h4:first-child { margin-top: 0; }
.static-site #footer-menu-block ul { list-style: none; padding: 0; margin: 0; }
.static-site #footer-menu-block li { margin-bottom: 7px; padding: 0; }
.static-site #footer-menu-block p { margin: 18px 0 12px; }
.static-site #footer-menu-block a { color: #dce6ee; text-decoration: none; overflow-wrap: anywhere; }
.static-site #footer-menu-block a:hover { color: #fff; text-decoration: underline; }
.static-site #software-reg-block { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; border-top: 1px solid #4a5c6e; padding: 28px 0 0; margin: 0; }
.static-site #software-reg-block > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 5px; width: auto; min-height: 40px; padding: 8px 12px 8px 38px; margin: 0; background-position: 8px center; font-size: 12px; line-height: 1.7; border: 1px solid #405367; border-radius: 6px; color: #e3ebf1; }
.static-site #software-reg-block a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.static-site #footer-block { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 12px; }
.static-site #footer-block .footer-column { width: auto; float: none; }
.static-site #footer-block a { color: #eef3f7; }
.static-site .dark > .wrapper > #footer-block { padding: 0; }
.static-site .dark:has(#footer-block) { padding-top: 20px; padding-bottom: 20px; }

/* Standalone static error page. */
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-page main { padding: 100px 0; flex: 1; }
.error-page .error-code { color: var(--green); font-weight: 600; letter-spacing: .12em; font-size: 13px; }
.error-page main p { max-width: 580px; }
.error-page .error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.error-page footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; }

@media (max-width: 1000px) {
  .inner-page .higher > .wrapper { grid-template-columns: minmax(0,1fr) 210px; column-gap: 32px; }
  .inner-page #inner-sidebar { padding: 20px; }
  .home-page .two-elements-block { gap: 36px; }
  .home-page .two-elements-block .img-column, .home-page .two-elements-block .text-column { width: calc(50% - 18px); }
}
@media (max-width: 800px) {
  .static-header-inner { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .has-js .menu-toggle { display: inline-flex; }
  #public-nav { width: 100%; padding: 18px 0 24px; }
  .has-js #public-nav { display: none; }
  .has-js #public-nav.is-open { display: block; }
  .primary-links { flex-wrap: wrap; gap: 6px 24px; }
  .primary-links a { padding: 8px 0; }
  .mobile-section-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
  .mobile-section-menu > .sidebar-heading { grid-column: 1/-1; font-size: 12px; font-weight: 600; letter-spacing: .06em; margin: 20px 0 8px; color: var(--muted); }
  .mobile-section-menu ul { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 24px; margin: 0; padding: 0; list-style: none; }
  .mobile-section-menu li { margin: 0; font-size: 13px; }
  .mobile-section-menu a { padding: 5px 0; display: inline-block; }
  .mobile-section-menu a[aria-current] { font-weight: 600; }
  .inner-page .higher > .wrapper { display: block; }
  .inner-page #inner-sidebar { display: none; }
  .inner-page #content { max-width: 760px; margin: 0 auto; }
  .home-page #reasons-block { gap: 32px; }
  .home-page .reason { gap: 16px; }
  .home-page .reason-img { flex-basis: 50px; width: 50px; height: 50px; }
  .static-site #footer-menu-block { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 32px; }
}
@media (max-width: 600px) {
  .static-container { width: calc(100% - 36px); }
  .static-site .site-row { padding: 38px 18px; }
  .static-site p { margin-bottom: 20px; }
  .home-page #main-content > .main-row:first-child { padding-top: 46px; padding-bottom: 40px; }
  .home-page .two-elements-block { display: flex; flex-direction: column; gap: 28px; }
  .home-page .two-elements-block .img-column, .home-page .two-elements-block .text-column { width: 100%; }
  .home-page .two-elements-block .text-column { order: 1; }
  .home-page .two-elements-block .img-column { order: 2; }
  .home-page .two-elements-block img { max-width: 430px; width: 100%; margin: 0 auto; }
  .home-page #reasons-block { grid-template-columns: 1fr; gap: 30px; }
  .home-page .reason-img { flex-basis: 52px; width: 52px; height: 52px; }
  .home-page #top-img-container { margin-top: 28px; }
  .home-page #img-phone { right: 0; }
  .inner-page .site-row.higher { padding-top: 34px; padding-bottom: 40px; }
  .inner-page .text-with-img { flex-direction: column; align-items: stretch; gap: 24px; }
  .inner-page .text-with-img .twi-img, .inner-page .text-with-img .twi-text { width: 100%; flex-basis: auto; order: initial; }
  .inner-page .text-with-img .twi-img img { max-width: min(100%,420px); }
  .static-site .carousel-wrapper { padding-left: 0; padding-right: 0; padding-bottom: 56px; }
  .static-site .carousel-ready .carousel-prev, .static-site .carousel-ready .carousel-next { top: auto; bottom: 0; }
  .static-site .carousel-ready .carousel-prev { left: calc(50% - 47px) !important; }
  .static-site .carousel-ready .carousel-next { right: calc(50% - 47px) !important; }
  .static-site #leaders .carousel li > img { width: 54px; }
  .static-site footer.site-row { padding: 34px 18px 26px; }
  .static-site #software-reg-block { grid-template-columns: 1fr; }
  .static-site #software-reg-block > div { min-height: 44px; }
  .static-site #footer-menu-block { gap: 28px 22px; }
}
@media (max-width: 370px) {
  .static-site #footer-menu-block { grid-template-columns: 1fr; }
  .mobile-section-menu ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .static-header, #inner-sidebar, footer, #footer-block, .carousel-prev, .carousel-next, .static-carousel-pagination, .carousel-status { display: none !important; }
  .inner-page .higher > .wrapper { display: block; }
  .static-site .carousel-ready .carousel { overflow: visible; }
  .static-site .carousel-ready .carousel ul { display: block; transform: none !important; }
  .static-site .carousel-ready .carousel li { margin-bottom: 20px; }
  .static-site .site-row { padding: 20px 0; }
}
