/* =========================
   Base styles (business)
   ========================= */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #111;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:not(.home) {
  padding-top: 90px;
}


img, svg, video {
  max-width: 100%;
  height: auto;
}

/* Content width + spacing */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 28px; }
h3 { font-size: 1.125rem; margin-top: 18px; }

p { margin: 0 0 14px; }

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover { opacity: 0.85; }

p a:not(.btn),
.tc__content p a:not(.btn),
.about-step__content p a:not(.btn),
.about-note p a:not(.btn),
.about-feature-list p a:not(.btn),
.pts-contact__intro a:not(.btn),
.faq2__a a:not(.btn) {
  color: #2a679f;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 103, 159, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

p a:not(.btn):hover,
.tc__content p a:not(.btn):hover,
.about-step__content p a:not(.btn):hover,
.about-note p a:not(.btn):hover,
.about-feature-list p a:not(.btn):hover,
.pts-contact__intro a:not(.btn):hover,
.faq2__a a:not(.btn):hover {
  color: #174f8a;
  border-bottom-color: rgba(23, 79, 138, 0.45);
  opacity: 1;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Simple “card” utility */
.card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

/* =========================
   Reusable CTA Buttons
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;

  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: #104577;
  color: #ffffff;
  border-color: #104577;
}

.btn--primary:hover {
  background-color: #0c355c;
  border-color: #0c355c;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

.btn--secondary:hover {
  background-color: #f5f5f5;
  color: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid #104577;
  outline-offset: 3px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 34px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 13.5px;
    line-height: 1.55;
  }

  body:not(.home) {
    padding-top: 78px;
  }

  main {
    padding: 28px 18px;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.12;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 1.32rem;
    line-height: 1.18;
    margin-top: 22px;
    margin-bottom: 10px;
  }

  h3 {
    font-size: 1.05rem;
    margin-top: 16px;
  }

  p {
    margin-bottom: 12px;
  }

  .tc-section {
    padding: 28px 0;
  }

  .tc-wrap,
  .cards-wrap,
  .faq2__wrap {
    width: min(100%, calc(100% - 28px));
    padding-left: 0;
    padding-right: 0;
  }

  .tc {
    gap: 24px;
  }

  .tc__content p,
  .about-step__content p,
  .about-note p,
  .about-cta__box p,
  .guide2__intro,
  .upstands__text p,
  .edge-profiles__intro p,
  .drainers__text p,
  .brand-hero__intro,
  .brand-section p {
    line-height: 1.62;
    margin-bottom: 12px;
  }

  .faq2 {
    padding: 2rem 0;
  }

  .faq2__header {
    margin-bottom: 1.75rem;
  }
}

/* Footer baseline */
footer {
  border-top: 1px solid #eee;
  padding: 24px 16px;
}

footer .footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   Section Divider (Full Width)
   ========================= */

.section-divider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  line-height: 0;
  overflow: hidden;
}

.section-divider img {
  display: block;
  width: 100%;
  height: auto;
}

/* Slightly bigger text on desktop */
@media (min-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 2.4rem; }
}

 .faq2{
    padding: clamp(2.25rem, 3.5vw, 4rem) 0;
  }

  /* Full-width feel but still aligned with most layouts */
  .faq2__wrap{
    width: min(1100px, calc(100% - 2.25rem));
    margin: 0 auto;
  }

  .faq2__header{
    text-align: center;
    margin-bottom: 3rem;
  }


  /* Smaller heading */
  .faq2__title{
    margin: 0 0 .35rem;
    font-size: clamp(1.25rem, 1.4vw + 1rem, 1.75rem);
    line-height: 1.2;
  }

  .faq2__sub{
    margin: 0 auto;
    max-width: 75ch;
    color: #104577;
    font-weight: 600;
    font-size: 1rem;
  }

  .faq2__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .faq2__col{
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .faq2__item + .faq2__item{
    border-top: 1px solid rgba(0,0,0,.08);
  }

  /* Smaller question "heading" */
  .faq2__q{
    margin: 0;
    font-size: 0.9rem;
  }

  .faq2__btn{
    width: 100%;
    text-align: left;
    padding: .95rem 1rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    line-height: 1.25;
  }

  .faq2__btn:focus{
    outline: 3px solid rgba(16,69,119,.22);
    outline-offset: -3px;
  }

  .faq2__icon{
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 18px;
    opacity: .9;
  }

  .faq2__icon::before,
  .faq2__icon::after{
    content:"";
    position:absolute;
    background: currentColor;
    border-radius: 1px;
  }

  .faq2__icon::before{
    left: 0; right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
  }

  .faq2__icon::after{
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
  }

  .faq2__btn[aria-expanded="true"] .faq2__icon::after{
    display:none;
  }

  .faq2__a{
    padding: 0 1rem 1rem;
  }

  .faq2__a p{
    margin: .6rem 0 0;
    max-width: 80ch;
    font-size: .98rem;
  }

  .faq2__cta{
    display:flex;
    gap:.75rem;
    justify-content:center;
    margin-top: 2.8rem;
    flex-wrap: wrap;
  }

  /* Responsive */
  @media (max-width: 900px){
    .faq2__grid{
      grid-template-columns: 1fr;
    }
  }


 /* =========================
   LOGO MARQUEE (INFINITE LOOP)
   White background + soft top/bottom blend (NO logo blur)
========================= */

.logo-marquee {
  margin: 0 auto;
  position: relative;
  width: 1100px;
  overflow: hidden;
  padding: 30px 0;
  background: #fff;

  /* Left/right fade for carousel edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

/* Top & bottom blend overlays (these DO NOT blur the logos) */
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;            /* adjust blend depth */
  pointer-events: none;
  z-index: 3;

  /* Feather the overlay itself (safe) */
  filter: blur(20px);
  opacity: 1;
}

/* Top blend: white -> transparent */
.logo-marquee::before {
  top: -35px;              /* half of height to soften transition */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1),
    rgba(255,255,255,0)
  );
}

/* Bottom blend: white -> transparent */
.logo-marquee::after {
  bottom: -35px;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1),
    rgba(255,255,255,0)
  );
}

/* Track */
.logo-marquee__track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  align-items: center;
  animation: logoMarqueeScroll 40s linear infinite;
  will-change: transform;
}

/* Logos */
.logo-marquee__img {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 40px;
  display: block;
}

/* Infinite loop (requires duplicated set in HTML) */
@keyframes logoMarqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-marquee__img {
    height: 52px;
    margin-right: 25px;
  }
  .logo-marquee__track {
    animation-duration: 28s;
  }
  .logo-marquee::before,
  .logo-marquee::after {
    height: 56px;
    top: -28px;
    bottom: -28px;
  }
}

@media (max-width: 480px) {
  .logo-marquee__img {
    height: 44px;
    margin-right: 18px;
  }
  .logo-marquee__track {
    animation-duration: 24s;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    transform: translateX(0);
  }
}
