* {
  font-family: "Poppins", sans-serif;
  margin: 0px;
}

img {
  box-sizing: border-box;
  max-width: 100%;
}

.content-body>*:not(section):not(div) {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-right: 20px;
  padding-left: 20px;
}


/* h1,
h2,
h3 {
  font-family: "IBM Plex Sans", sans-serif;
} */

p {
  margin-top: 10px;
  margin-bottom: 10px;
}

p+p {
  margin-bottom: 5px;
}

p.emphasis {
  margin: 60px auto;
  max-width: min(700px, max(60%, calc(100% - max(0px, 100vw - 600px) / 2)));
}

p.emphasis.light {
  color: #555;
  font-style: italic;
}

h1 {
  /* color: #081F12; */
  font-weight: 300;
  font-size: calc(max(42px, .05 * 100vw));
  margin-bottom: 0.3em;
  margin-top: 0.5em;
}

h2 {

  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: calc(max(38px, 30px + .01 * 100vw));
}


h3 {
  font-size: calc(max(28px, 20px + .008 * 100vw));
  font-weight: 300;
  margin-bottom: 0.3em;
  margin-top: 0.5em;
}

a {
  text-decoration: none;
  color: inherit;
}

a.fancy {
  background: linear-gradient(45deg, #67E3AB, #1D804F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}


/* underline */
/* underline */
/* underline */
a.fancy::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -2px;
  left: 0;
  background-image: linear-gradient(to right, #21A366, #67E3AB);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a.fancy:hover::after,
a.fancy:focus::after {
  visibility: visible;
  transform: scaleX(1);
}

/* telephone icon */
/* telephone icon */
/* telephone icon */
/* telephone icon */
a.fancy.telephone::before {
  content: '🕻';
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

a.fancy.telephone:hover::before,
a.fancy.telephone:focus::before {
  opacity: 1;
}

.gradient-text {
  color: #fff;
  background: linear-gradient(45deg, #8133C4, #33C481);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 20px 0;
  white-space: nowrap;
}

.hero-subtext {
  max-width: min(65%, 900px);
  padding: 60px 0px;

}

/* product-logo styles consolidated into base.css */



div.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 15px;
  column-gap: 30px;
}

.btn {
  border-radius: 100px;
  width: 240px;
  height: 60px;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  border: none;
  color: white;
  cursor: pointer;
  background-color: #3498db;
  transition: transform 0.3s ease;
  /* dynamic hover fill source: border color (or fallback to current text color) */
  --btn-border-color: currentColor;
  /* semi-transparent fill so it remains visible on white backgrounds */
  --btn-hover-fill: color-mix(in srgb, var(--btn-border-color) 32%, transparent);
  --btn-hover-opacity: 1; /* tweakable per-button if needed */

  position: relative;
  isolation: isolate;  /* ensure ::before sits above background but below content */
  overflow: hidden;    /* keep the animated fill clipped to rounded corners */
}

/* Only apply the button-containing vertical spacing inside the main content area
   so footer/other layout regions aren't affected. */
.content-body div:has(button) {
  margin: 30px 0;
}

/* Pseudo-element for the color fill effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* derive from border color via custom property; fallback handled below */
  background: var(--btn-hover-fill, var(--btn-border-color));
  opacity: var(--btn-hover-opacity, 0.28);
  filter: brightness(1.18) blur(1px);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: inherit;
  /* layer under content but above the button background */
  z-index: 0;
}

.btn:hover {
  transform: scale(1.03);
}

.btn:hover::before {
  transform: scale(1);
}

/* Ensure button contents (text/icons/images) are above the animated fill */
.btn > * { position: relative; z-index: 1; }


.colortheme1 {
  background-color: #5860F8;
}

.colortheme2 {
  background-color: #33C481;
}

.colortheme3 {
  background-color: #5860F8;
}

.colortheme4 {
  background-color: #DDF5EB;
  color: #333;
}

.colortheme5 {
  background-color: #042416;
  color: white;
}

.colortheme6 {
  background-color: #eee;
}

.colortheme7 {
  background-color: white;
  /* expose border color as a CSS variable so the hover uses it automatically */
  --btn-border-color: #1D804F;
  border: 1px solid var(--btn-border-color);
}

/* Fallback if color-mix is not supported */
@supports not (background: color-mix(in srgb, red, transparent 50%)) {
  .btn { --btn-hover-fill: var(--btn-border-color); }
  .btn::before { opacity: 0.25; }
}


section {
  padding: 60px min(60px, max(20px, calc(100vw - 400px)* 0.1));
  margin: 80px auto;
  justify-items: center;
}

section.toptight {
  margin-top: 0px;
  padding-top: 0px;
}

section:has(.watermark) {
  position: relative;
}

section .watermark {
  fill: #21A366;
}

section .watermark {
  position: absolute;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  pointer-events: none;
}

/* section img.watermark:first-child {
  position: absolute;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  pointer-events: none;
} */


section.rounded {
  border-radius: 50px;
  /* Ensure children can't spill beyond rounded corners */
  overflow: hidden;
  margin: 40px min(40px, max(10px, calc(100vw - 400px)* 0.08));
  /* margin: 40px min(40px, max(10px, calc(100vw - 400px)* 0.08)); */
}



.content-body ol {
  text-align: left !important;
}


/* SECTION QUOTE */
/* SECTION QUOTE */
/* SECTION QUOTE */
/* SECTION QUOTE */
/* SECTION QUOTE */
section.quote {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  /* Fill the full content width; removing gen1 cap that caused gutters in gen2 */
  max-width: none;
  text-align: left;
  justify-self: center;

}

/* Gen1-simple: make the ribbon span the content width; keep standard section insets elsewhere */
section.quote:has(.top) {
  display: block;
  padding-left: 250px;
  padding-top: 130px;
  /* keep the default section inline padding so content aligns with the rest */
}

@media (max-width: 650px) {
  section.quote:has(.top) {
    padding-left: 60px;
  }
}

/* @media (min-width: 800px) { */
section.quote .left {
  flex: 0 0 30%;
  align-self: flex-end;
  padding-top: 50px;
  margin: 0 60px;
  box-sizing: border-box;
}

section.quote .right {
  flex: 1;
  min-width: 250px;
  box-sizing: border-box;
}

/* } */

section.quote .maintext {
  position: inherit;
  z-index: 1;
}

section.quote .maintext h3 {
  font-weight: 500;
}

section.quote .author p {
  font-size: 24px;
  margin-left: 70px;
  position: relative;
}

section.quote .author p:first-child::before {
  content: "—";
  position: absolute;
  left: -25px;
  top: 0;
}

section.quote::after {
  content: '“';
  position: absolute;
  left: 70px;
  top: 0;
  font-size: 550px;
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  color: #21a36624;
  /* filter: brightness(1.2) hue-rotate(40deg); */
  /* z-index: inherit; */
  line-height: 0.9;
}

/* SECTION CASE STUDY */
/* SECTION CASE STUDY */
/* SECTION CASE STUDY */
/* SECTION CASE STUDY */
/* SECTION CASE STUDY */
section.case {
  position: relative;
}

/* Stop inherited centering inside case sections */
.content-body section.case { text-align: left; }

section.case::before {
  font-size: 40px;
  content: "CASE STUDY";
  white-space: nowrap;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #09472B;
  padding: 5px 40px;
  color: white;
  text-align: right;
  box-sizing: border-box;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
}

section.case .title {
  display: flex;
  box-sizing: border-box;
  /* force left alignment regardless of inherited center rules */
  text-align: left !important;
  justify-content: flex-start;
  align-items: center;
  margin-left: 0 !important;
  /* reserve space for the CASE STUDY badge but don't constrain the section */
  margin-right: 260px;
}

/* Ensure nested title text never inherits centered alignment from .content-body */
/* simplified: inherited from .content-body section.case above */

@media (max-width: 850px) {
  section.case .title {
    margin-top: 100px;
  margin-right: 0;
  max-width: 100%;
  }
}


section.case .title img {
  height: 80px;
  margin-right: 30px;
}

section.case .title h3 {
  font-weight: 500;
  margin: 0;
}

section.case .title p {
  margin: 0;
}

section.case .main {
  margin: 40px min(40px, max(10px, calc(100vw - 400px)* 0.15));


  display: flex;
  flex-wrap: wrap;
  column-gap: 80px;
  row-gap: 20px;
  text-align: left;
}

section.case .main .blurb {
  flex: 1 1 40%;
}

section.case .main .cards {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

section.case .main .cards .card {
  display: grid;
  grid-template-columns: 130px auto;
  width: 300px;
  gap: 20px;
  background-color: white;
  border-radius: 10px;
  padding: 10px 20px;
  color: #667;
}

section.case .main .cards .card :first-child {
  font-size: 60px;
  max-height: 80px;
  text-align: right;
  line-height: 1;
  justify-self: center;
  align-self: center;
  grid-column: 1;
}

section.case .main .cards .card :last-child {
  grid-column: 2;
}

section.case .screenshots {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  box-sizing: border-box;
  max-width: 100%;
  justify-content: center;
}

section.case .screenshots>* {
  /* flex: 0 1 300px; */
  min-width: 300px;
  max-width: calc(50% - 10px);
}

section.case .screenshots:has(> :only-child)> :only-child {
  max-width: none;
}

section.case .screenshots img {
  max-height: 400px;
  display: flex;
  position: relative;
  width: auto;
  height: auto;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
}

section.case .screenshots img[data-caption]::after {
  content: attr(data-caption);
  /* position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: red;
  padding: 5px;
  font-size: 104px;
  width: 100%;
  text-align: center;
  box-sizing: border-box; */
  z-index: 99;


  /* content: attr(tooltip); */
  position: absolute;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  right: -5px;
  bottom: 100%;
  transform: translateY(-10px);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  visibility: hidden;
  max-width: 300px;
  word-wrap: break-word;
}

section.case .screenshots video {

  max-height: 400px;
  height: auto;
  width: auto;
  cursor: pointer;
  object-fit: cover;

  display: block;
  margin: 0 auto;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
}

.spacer40 {
  display: inline-block;
  width: 40px;
}

.content-body p {
  font-size: 20px;
}

.content-body p:has(+ ul) {
  margin-bottom: 0;
}

.content-body li {
  line-height: 1.7em;
}

.content-body ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}


.content-body img {
  max-width: min(90%, 700px);
  display: block;
}


table.shaded {
  border-collapse: collapse;
  width: auto;
  margin: 10px auto;
}


table.shaded th,
table.shaded td {
  padding: 4px 8px;
  text-align: left;
}

table.shaded tr {
  min-height: 30px;
  line-height: 1.8;
}

table.shaded th {
  text-align: center;
  background-color: transparent;
  font-weight: bold;
}

table.shaded tr:nth-child(even) {
  background-color: rgba(163, 245, 208, 0.05);

}

table.shaded tr:nth-child(odd):not(:has(th)) {
  background-color: rgba(163, 245, 208, 0.2);

}

table.shaded tr:nth-child(even) td:not(:first-child) {
  border-left: 1px solid rgba(150, 150, 150, 0.3);
}

table.shaded tr:nth-child(even) td:not(:last-child) {
  border-right: 1px solid rgba(150, 150, 150, 0.3);
}

table.shaded tr:not(:has(th)):hover {
  background-color: rgba(163, 245, 208, 0.35);
}



/* Footer styles consolidated into base.css */

.footer__group { display:inline-flex; flex-direction:row; flex-wrap:wrap; gap:10px; }

.nav__item {
  max-width: 400px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.nav__title {
  grid-row: 1;
}

.nav__ul {
  grid-row: 2;
  margin-right: 30px;
}

/* STYLING */
/* STYLING */
/* STYLING */
/* STYLING */

.nav__item {
  padding-top: 15px;
  margin-right: 30px;
}

.nav__item:not(:has(h2)) {
  font-size: 1.5em;
}

/* Removed footer presentation block now in base.css */