:root{color-scheme:only light}:where(html,body){background-color:#ffffff;color:#1a1a1a}
/* refluxai.com - advertorial page (index.html) */

.sec {
  padding: clamp(1.25rem, 3.5vw, 2rem) 0;
  background-color: #ffffff;
  color: #14191f;
}

.sec h2:first-child { margin-top: 0; }

.band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background-color: #eef6f9;
  color: #14191f;
}

.band h2:first-child { margin-top: 0; }

/* ---------- head: H1, lead, byline, hero ---------- */

.head {
  padding-top: clamp(1.75rem, 5vw, 2.9rem);
  background-color: #ffffff;
  color: #14191f;
}

.lead {
  margin: 0 0 1rem;
  color: #1b2229;
  font-size: clamp(1.0625rem, 1rem + 0.32vw, 1.1875rem);
  line-height: 1.55;
}

.byline {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hero { margin: clamp(1.25rem, 3.5vw, 2.25rem) 0 0; }

/* ---------- media ---------- */

.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #dfe8ec;
}

.media img,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--hero { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 1 / 1; }
.media--portrait video { object-position: 50% 30%; }
.media--right img { object-position: 68% 50%; }

.cap {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.figure { margin: 1.75rem 0 0; }
.figure.mt-0 { margin-top: 0; }

@media (min-width: 768px) {
  .media--hero { aspect-ratio: 16 / 9; }
  .media--portrait { aspect-ratio: 4 / 5; }
}

/* ---------- steps ---------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  flex: 0 0 2.25rem;
  color: var(--teal);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 0.95;
  text-align: left;
}

.steps__body { flex: 1; min-width: 0; }
.steps__body strong { color: #0b0f14; }

@media (min-width: 768px) {
  .steps li { gap: 20px; }
  .steps li::before { flex-basis: 2.75rem; font-size: 2.75rem; }
}

/* ---------- call to action (accent: large rounded button, arrow, quiet note) ---------- */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2.25rem 0 0.5rem;
  text-align: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 460px;
  min-height: 60px;
  padding: 14px 24px;
  border-radius: 12px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background-color: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(29, 78, 216, 0.28);
}

.btn:focus-visible { outline: 3px solid #0b1f2a; outline-offset: 3px; border-radius: 12px; }

.btn__label { display: inline-block; }
.btn__arrow { display: inline-block; transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.exit-note {
  max-width: 460px;
  margin: 0.7rem 0 0;
  color: #4f5a65;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.band .exit-note { color: #3d4650; }

/* ---------- split (text + media side by side from 768px) ---------- */

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split__body { min-width: 0; }
.split__media { width: 100%; }

@media (min-width: 768px) {
  .split { flex-direction: row; align-items: center; gap: 2.25rem; }
  .split--rev { align-items: flex-start; }
  .split__media { flex: 0 0 38%; max-width: 38%; }
  .split__body { flex: 1; }
}

/* ---------- table (primary: teal header, vertical dividers) ---------- */

.table-title {
  margin: 2rem 0 0.75rem;
  color: #0b0f14;
  font-weight: 700;
}

.data {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  color: #14191f;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* mobile: stacked blocks */
.data,
.data thead,
.data tbody,
.data tr,
.data th,
.data td { display: block; }

.data thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.data tr { margin: 0 0 14px; background-color: #f4f9fb; }

.data tbody th {
  padding: 10px 14px;
  background-color: #0a6b8e;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.data td { padding: 10px 14px 4px; background-color: #f4f9fb; color: #14191f; }
.data td:last-child { padding-bottom: 12px; }

.data td::before {
  content: attr(data-label);
  display: block;
  color: #0a6b8e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .data { display: table; }
  .data thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .data tbody { display: table-row-group; }
  .data tr { display: table-row; margin: 0; background-color: #ffffff; }
  .data th,
  .data td { display: table-cell; }

  .data thead th {
    padding: 14px 14px;
    background-color: #0a6b8e;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }

  .data thead th:first-child { border-left: 0; }

  .data tbody th {
    width: 17%;
    padding: 16px 14px;
    background-color: #ffffff;
    color: #0b0f14;
    font-size: 0.9375rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e3eaee;
  }

  .data td {
    padding: 16px 14px;
    background-color: #ffffff;
    vertical-align: top;
    border-left: 1px solid #aebcc5;
    border-bottom: 1px solid #e3eaee;
  }

  .data td:last-child { padding-bottom: 16px; }
  .data td::before { display: none; }
}

/* ---------- closing duo (two-up tiles, mirrors the reference's end-of-article grid) ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.duo__item { margin: 0; }

.duo__eyebrow {
  display: block;
  margin: 0.9rem 0 0.35rem;
  color: #0a6b8e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.duo__title {
  display: block;
  color: #0b0f14;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.rule {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1000px;
  height: 0;
  margin: clamp(2.5rem, 6vw, 3.75rem) auto 0;
  border: 0;
  border-top: 1px solid #c4cdd3;
}
