@import url('/css/components/animate.css');
@import url('/css/components/mobile-layout.css');
@import url('/css/components/faq.css');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  position: relative;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 900px) {
  html,
  body {
    touch-action: pan-y;
  }
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

canvas,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
  box-sizing: border-box;
}

.section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: var(--section-padding-y) 0;
  overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
label {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

@media (max-width: 640px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  :root {
    --section-padding-y: 40px;
  }
}

/* Phone + tablet + in-app WebView (PISL) — keep layout fluid */
@media (max-width: 1100px) {
  .section,
  main,
  footer,
  .hero,
  .cta {
    overflow-x: hidden;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }

  body:not(.dash-page) .hero__ctas,
  body:not(.dash-page) .about-hero__ctas,
  body:not(.dash-page) .solution-hero__ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }

  body:not(.dash-page) .hero__ctas .btn,
  body:not(.dash-page) .about-hero__ctas .btn,
  body:not(.dash-page) .solution-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-thanks {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  font-size: 1rem;
  line-height: 1.5;
}
