/* ValueGen.AI Corporate Site Styles
   Palette aligned to the supplied screenshot reference:
   - White background          #FFFFFF
   - Subtle off-white panel    #F7F9FB
   - Primary navy / ink        #1D2C47 (hero, headings, footer)
   - Deep navy (footer)        #0D1425
   - Teal accent               #4C9295 (CTAs, links, accents)
   - Teal deep (hover)         #3E7C82
   - Teal soft (chips)         #E4F3F3
   - Slate text                #535F71
   - Mid gray                  #6B7787
   Typography: Inter throughout (corporate clean sans).
*/
:root {
  --paper: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --bg-alt-2: #eef2f6;
  --ink: #1d2c47;
  --ink-2: #22384f;
  --ink-soft: #2d4659;
  --navy-deep: #0d1425;
  --slate: #535f71;
  --muted: #6b7787;
  --line: #e5eaf0;
  --line-2: #d5dde6;
  --teal: #4c9295;
  --teal-deep: #3e7c82;
  --teal-darker: #2f6064;
  --teal-soft: #e4f3f3;
  --teal-line: rgba(76, 146, 149, 0.35);
  --shadow: 0 6px 24px rgba(29, 44, 71, 0.08);
  --shadow-lg: 0 18px 48px rgba(29, 44, 71, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal-deep);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--teal-darker);
}

h1,
h2,
h3,
h4 {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-logo img {
  height: 38px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--teal-deep);
}
.nav-links a.active {
  color: var(--teal-deep);
}
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.nav-cta:hover {
  background: var(--teal-deep);
  color: #fff !important;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  background:
    url('../images/globe-hero-bg.png') center center / cover no-repeat,
    #0d1425;
  color: #fff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  padding: 6px 14px;
  border: 1px solid rgba(76, 146, 149, 0.45);
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(76, 146, 149, 0.08);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--teal);
}
.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 0 0 24px;
  border-radius: 2px;
}
.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 740px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.65;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition:
    transform 0.15s,
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(76, 146, 149, 0.3);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #fff;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--teal-deep);
  border-color: var(--teal);
}

/* Sections */
section.section {
  padding: 88px 0;
  background: var(--bg);
}
section.section.alt {
  background: var(--bg-alt);
}
section.section.paper {
  background: var(--paper);
}
section.section.dark {
  background: linear-gradient(135deg, #0d1425, #1d2c47 60%, #22384f);
  color: rgba(255, 255, 255, 0.78);
}
.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-color: var(--teal-line);
}
section.dark .section-head .eyebrow {
  color: var(--teal);
  background: rgba(76, 146, 149, 0.12);
  border-color: rgba(76, 146, 149, 0.4);
}
.section-head h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 14px 0 16px;
  color: var(--ink);
}
section.dark .section-head h2 {
  color: #fff;
}
.section-head h2 .accent {
  color: var(--teal-deep);
}
section.dark .section-head h2 .accent {
  color: var(--teal);
}
.section-head p {
  color: var(--slate);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}
section.dark .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-line);
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--slate);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--teal-line);
}
.card.accent {
  background: linear-gradient(180deg, var(--teal-soft), var(--bg-alt));
  border-color: var(--teal-line);
}
.card.accent .icon {
  background: var(--paper);
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill {
  background: var(--bg-alt);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.pill.accent {
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-color: var(--teal-line);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.split h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.018em;
}
.split h2 .accent {
  color: var(--teal-deep);
}
.split p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 14px;
}

/* Bullets */
.bullets {
  list-style: none;
  padding: 0;
}
.bullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}

/* Feature blocks */
.feature-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}
.feature-block h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feature-block .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
  display: inline-block;
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.compare th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.compare td.check {
  text-align: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 18px;
  width: 110px;
}
.compare td.plus {
  text-align: center;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 18px;
  width: 110px;
}
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare tbody tr:hover {
  background: var(--bg-alt);
}

/* Quote / use case */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.quote-card p {
  color: var(--ink);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.6;
}

/* Customer cards */
.cust-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
}
.cust-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cust-card .users {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cust-card .users-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  margin-bottom: 10px;
  font-weight: 700;
}
.cust-card ul {
  list-style: none;
}
.cust-card li {
  font-size: 14px;
  color: var(--ink);
  padding: 5px 0;
}
.cust-card li::before {
  content: '\2192  ';
  color: var(--teal);
  font-weight: 700;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, #0d1425 0%, #1d2c47 50%, #22384f 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(76, 146, 149, 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 75%,
      rgba(76, 146, 149, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.cta-strip > .container {
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.018em;
  color: #fff;
}
.cta-strip h2 .accent {
  color: var(--teal);
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.site-footer img {
  height: 36px;
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  line-height: 1.65;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
}
.site-footer li {
  margin-bottom: 9px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 400;
}
.site-footer a:hover {
  color: var(--teal);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* HTA grid */
.hta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hta-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: 0.2s;
}
.hta-tile:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.hta-tile .code {
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hta-tile h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hta-tile p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, #0d1425 0%, #1d2c47 50%, #22384f 100%);
  color: #fff;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 82% 22%,
      rgba(76, 146, 149, 0.22) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(76, 146, 149, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  margin-bottom: 18px;
  color: var(--teal);
  border-color: rgba(76, 146, 149, 0.45);
  background: rgba(76, 146, 149, 0.1);
}
.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}
.page-hero h1 .accent {
  color: var(--teal);
}
.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 760px;
  font-weight: 400;
  line-height: 1.65;
}

/* Ribbon */
.ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.ribbon .pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(76, 146, 149, 0.4);
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}
.partner-box {
  height: 90px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  background: var(--navy-deep);
}
.partner-box.cta {
  border: 2px solid var(--teal);
  background: var(--teal-soft);
  color: var(--teal-darker);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* Deliv cards */
.deliv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.deliv-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--teal-line);
}
.deliv-card .fmt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.deliv-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.deliv-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 38px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.stat .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .lbl {
  font-size: 13px;
  color: var(--slate);
  margin-top: 8px;
  font-weight: 500;
}

/* Tabs */
.deliv-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.deliv-tab {
  background: transparent;
  color: var(--slate);
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: 0.2s;
  font-family: inherit;
  margin-bottom: -1px;
}
.deliv-tab.active {
  color: var(--ink);
  border-bottom-color: var(--teal);
}
.deliv-tab:hover:not(.active) {
  color: var(--ink);
}
.deliv-panel {
  display: none;
}
.deliv-panel.active {
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.info-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.info-card .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-card .row:last-child {
  border-bottom: 0;
}
.info-card .row .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-card .row .val {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.form-card h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(76, 146, 149, 0.15);
}

/* References */
.refs {
  font-size: 13.5px;
  color: var(--slate);
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-sm);
  line-height: 1.7;
  border: 1px solid var(--line);
}
.refs h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 700;
}
.refs ol {
  padding-left: 20px;
}
.refs li {
  margin-bottom: 8px;
}
.refs a {
  color: var(--teal-deep);
  word-break: break-word;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.refs a:hover {
  color: var(--teal-darker);
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 80px 0 90px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hta-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  section.section {
    padding: 64px 0;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
