@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@500&family=Inter:wght@400;500;600&family=Unbounded:wght@500;700&display=swap');

:root {
  --brand-green: #006838;
  --brand-green-light: #2BB673;
  --brand-orange: #F05A28;
  --brand-peach: #FFC9B3;
  --ink: #0B1511;
  --mist: #E3F1E8;
  --white: #FFFFFF;
  --radius-card: 32px;
  --radius-pill: 999px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

input,
select,
button {
  font-family: var(--font-body);
}

input:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--tight {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mono--upper {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--orange {
  background: var(--brand-orange);
  color: var(--ink);
}

.btn--green {
  background: var(--brand-green);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
}

.btn--outline-orange {
  background: transparent;
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1.5px solid var(--white);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  background: var(--white);
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag:hover {
  background: var(--ink);
  color: var(--white);
}

.tag b {
  color: var(--brand-green);
}

.tag:hover b {
  color: var(--brand-orange);
}

/* Scroll Progress Bar */
.scroll-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 4px;
  margin-bottom: -4px;
  background: var(--brand-orange);
  transform-origin: left;
  transform: scaleX(0);
}

/* Top Utility Bar */
.top-bar {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  position: relative;
  z-index: 35;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 40px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.top-bar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.top-bar-item:hover {
  color: var(--brand-orange);
}

.top-bar-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.top-bar-social:hover {
  background: var(--brand-orange);
  color: var(--ink);
}

/* Floating Header & Right Slide-Out Drawer */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-pill {
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 8px 10px 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(11, 21, 17, 0.18);
}

.brand-link {
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--brand-green);
}

.nav-links .nav-highlight {
  color: var(--brand-green);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 21, 17, 0.2);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(11, 21, 17, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(330px, 86vw);
  background: var(--white);
  color: var(--ink);
  padding: 22px 24px 28px;
  box-shadow: -12px 0 40px rgba(11, 21, 17, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 21, 17, 0.1);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 21, 17, 0.18);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-links a {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(11, 21, 17, 0.08);
}

.mobile-drawer-links a:last-child {
  border-bottom: 0;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 21, 17, 0.1);
}

/* Hero Slideshow */
.hero {
  position: relative;
  color: var(--white);
  margin-top: -116px;
  padding: 156px 0 56px;
  border-radius: 0 0 56px 56px;
  overflow: hidden;
  background-color: var(--brand-green);
}

.hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-layer--0 {
  background-color: var(--brand-green);
  background-image:
    radial-gradient(circle at 82% 20%, rgba(43, 182, 115, 0.35), transparent 45%),
    linear-gradient(160deg, rgba(0, 104, 56, 0.82), rgba(7, 68, 39, 0.94)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80");
}

.hero-bg-layer--1 {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 80% 25%, rgba(240, 90, 40, 0.28), transparent 46%),
    linear-gradient(160deg, rgba(11, 21, 17, 0.84), rgba(19, 37, 30, 0.94)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80");
}

.hero-bg-layer--2 {
  background-color: #084C3E;
  background-image:
    radial-gradient(circle at 85% 25%, rgba(43, 182, 115, 0.32), transparent 48%),
    linear-gradient(160deg, rgba(8, 76, 62, 0.82), rgba(6, 46, 38, 0.94)),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=80");
}

.hero>.container {
  position: relative;
  z-index: 1;
}

.hero-slides {
  position: relative;
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-plate-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-plate {
  display: block;
  width: clamp(260px, 34vw, 440px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero-kicker {
  margin: 0;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.hero-title {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.88;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-controls {
  margin-top: 28px;
  padding-top: 20px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--brand-orange);
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-progress-fill.is-running {
  animation: heroProgress 6s linear forwards;
}

.hero.is-paused .hero-progress-fill.is-running {
  animation-play-state: paused;
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-dot:hover {
  border-color: var(--white);
}

.hero-dot.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.hero-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-counter-total {
  opacity: 0.5;
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.hero-intents {
  margin-top: 28px;
}

.hero-intents-label {
  margin-bottom: 12px;
  opacity: 0.88;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
  opacity: 0.86;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
}

/* Headings */
.section-heading {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.dot-orange {
  color: var(--brand-orange);
}

.dot-green {
  color: var(--brand-green);
}

.dot-white {
  color: var(--white);
}

/* Stacking Service Cards */
.services-section {
  padding: 80px 0 32px;
}

.services-section .section-heading {
  margin-left: 20px;
}

.card {
  position: sticky;
  min-height: 390px;
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
  scroll-margin-top: 100px;
}

.card--1 {
  top: 76px;
  background: var(--brand-orange);
  color: var(--ink);
}

.card--2 {
  top: 92px;
  background: var(--ink);
  color: var(--white);
}

.card--3 {
  top: 108px;
  background: var(--mist);
  color: var(--ink);
}

.card--4 {
  top: 124px;
  background: var(--brand-green);
  color: var(--white);
}

.card--5 {
  top: 140px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.card-body {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.card-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.badge {
  padding: 5px 12px;
  background: var(--ink);
  color: var(--brand-orange);
  border-radius: var(--radius-pill);
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.card-desc {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 460px;
}

.card--2 .card-desc {
  opacity: 0.82;
}

.card--4 .card-desc {
  opacity: 0.9;
}

.card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(11, 21, 17, 0.1);
}

.card--2 .card-pill,
.card--4 .card-pill {
  background: rgba(255, 255, 255, 0.14);
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.card-pic {
  position: relative;
  overflow: hidden;
  flex: 0 1 300px;
  min-height: 220px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-pic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(127, 127, 127, 0.35) 1.5px, transparent 2px);
  background-size: 22px 22px;
}

.card-pic svg {
  position: relative;
  transition: transform 0.4s ease;
}

.card:hover .card-pic svg {
  transform: rotate(-5deg) scale(1.07);
}

.card--1 .card-pic {
  background: rgba(11, 21, 17, 0.09);
}

.card--2 .card-pic {
  background: rgba(255, 255, 255, 0.1);
}

.card--3 .card-pic {
  background: rgba(0, 104, 56, 0.1);
  color: var(--brand-green);
}

.card--4 .card-pic {
  background: rgba(255, 255, 255, 0.14);
}

.card--5 .card-pic {
  background: var(--mist);
}

.also-strip {
  margin: 12px 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.see-all-link {
  margin-left: 8px;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 3px;
}

/* Interactive Scope Estimator & Plan Comparer */
.tools-section {
  padding: 64px 0 0;
}

.estimator-card {
  background: var(--mist);
  border-radius: var(--radius-card);
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.estimator-group {
  margin-bottom: 20px;
}

.estimator-label {
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.estimator-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.est-pill {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(11, 21, 17, 0.22);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.est-pill.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.estimator-summary {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.estimator-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--brand-orange);
  line-height: 1.1;
}

/* Hosting & Fibre Plan Comparer */
.plans-section {
  padding: 64px 0 0;
}

.plans-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.plans-header .section-heading {
  margin-bottom: 0;
}

.billing-toggle {
  display: inline-flex;
  background: var(--mist);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
}

.billing-btn {
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.billing-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan-card {
  border: 1.5px solid rgba(11, 21, 17, 0.14);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
}

.plan-card--featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.plan-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  opacity: 0.85;
}

/* Trust & Testimonials */
.trust-section {
  padding: 64px 0 0;
}

.trust-label {
  opacity: 0.65;
  margin-bottom: 20px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-placeholder {
  flex: 1 1 150px;
  height: 64px;
  border: 1.5px dashed rgba(11, 21, 17, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-card {
  flex: 1 1 300px;
  margin: 0;
  background: var(--mist);
  border-radius: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.testimonial-author {
  font-size: 14px;
}

.testimonial-role {
  opacity: 0.7;
}

/* Stats */
.stats-section {
  padding: 48px 0 80px;
}

.stats-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--brand-orange);
}

.stat-label {
  margin-top: 8px;
  opacity: 0.8;
}

/* Re.Frame & Ecosystem */
.reframe-section {
  padding: 0 0 80px;
}

.reframe-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 48px 40px;
  color: var(--white);
  background-color: #0D0F12;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(0, 104, 56, 0.36), transparent 46%),
    radial-gradient(circle at 88% 85%, rgba(240, 90, 40, 0.28), transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.reframe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 18px;
}

.reframe-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
}

.reframe-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}

.reframe-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.reframe-gradient {
  background: linear-gradient(90deg, #4ADE80, #F05A28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reframe-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.82;
}

.reframe-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.reframe-code-wrap {
  position: relative;
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.reframe-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reframe-window-dots {
  display: flex;
  gap: 6px;
}

.reframe-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.reframe-code {
  margin: 0;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #E2E8F0;
  overflow-x: auto;
}

.reframe-code .kw {
  color: #C084FC;
}

.reframe-code .str {
  color: #4ADE80;
}

.reframe-code .cm {
  color: #64748B;
  font-style: italic;
}

.reframe-speed-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(13, 15, 18, 0.88);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ADE80;
  backdrop-filter: blur(8px);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  color: var(--white);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 21, 17, 0.22);
}

.product-card--chetz {
  background: linear-gradient(145deg, #0F172A, #1E293B);
}

.product-card--chetz .product-pill {
  background: rgba(239, 68, 68, 0.16);
  color: #FCA5A5;
}

.product-card--chetz .product-link {
  color: #F87171;
}

.product-card--staqpesa {
  background: linear-gradient(145deg, #1D4ED8, #0284C7);
}

.product-card--staqpesa .product-pill {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.product-card--staqpesa .product-link {
  color: #BAE6FD;
}

.product-card--onntravel {
  background: linear-gradient(145deg, #141418, #222228);
}

.product-card--onntravel .product-pill {
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
}

.product-card--onntravel .product-link {
  color: #FBBF24;
}

.product-card--bulksms {
  background: linear-gradient(145deg, #006838, #074427);
}

.product-card--bulksms .product-pill {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.product-card--bulksms .product-link {
  color: #FFC9B3;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 10.5px;
  white-space: nowrap;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.product-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  object-position: left center;
  margin: 18px 0 4px;
}

.product-card--staqpesa .product-logo,
.product-card--bulksms .product-logo {
  filter: brightness(0) invert(1);
}

.product-desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  opacity: 0.85;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.product-link:hover {
  text-decoration: underline;
}

/* Why, Process, FAQ */
.why-section,
.process-section,
.faq-section {
  padding: 0 0 80px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.feature-item {
  flex: 1 1 300px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.feature-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.step-item {
  flex: 1 1 260px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.step-num--1 {
  background: var(--brand-green);
  color: var(--white);
}

.step-num--2 {
  background: var(--brand-orange);
  color: var(--ink);
}

.step-num--3 {
  background: var(--ink);
  color: var(--white);
}

.step-title {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  border: 1.5px solid rgba(11, 21, 17, 0.16);
  border-radius: 20px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: var(--ink);
  background: var(--mist);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-orange);
  color: var(--ink);
}

.faq-answer {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.82;
}

/* CTA & Forms */
.cta-section {
  background: var(--brand-orange);
  border-radius: 56px 56px 0 0;
  scroll-margin-top: 80px;
}

.cta-inner {
  padding: 72px 40px;
}

.cta-heading {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.cta-phone {
  margin: 0 0 24px;
  font-size: 15px;
}

.cta-phone a {
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}

.cta-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  align-items: end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-input,
.form-select {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.quote-submit {
  height: 46px;
  padding: 0 28px;
  font-size: 15px;
}

.form-alert {
  margin-bottom: 20px;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
}

.form-alert--success {
  background: var(--ink);
  color: #4ADE80;
}

.form-alert--error {
  background: #7F1D1D;
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.footer-inner {
  padding: 56px 40px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  justify-content: space-between;
}

.footer-brand {
  flex: 2 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsletter-input {
  flex: 1 1 160px;
  height: 42px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 14px;
}

.newsletter-input:focus {
  box-shadow: 0 0 0 3px var(--white);
}

.footer-col {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col--contact {
  flex: 1 1 220px;
  line-height: 1.6;
}

.footer-col-title {
  opacity: 0.55;
  margin-bottom: 12px;
}

.footer-link {
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  opacity: 0.78;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.12);
  color: #4ADE80;
  font-size: 11.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.footer-watermark-wrap {
  height: clamp(80px, 13vw, 190px);
  overflow: hidden;
  margin-top: 24px;
}

.footer-watermark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 22vw, 330px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand-orange);
  margin-left: -8px;
}

/* Floating Horizontal Pill Dock (sits cleanly beside Chetz Chat Widget) */
.floating-stack {
  position: fixed;
  right: 88px;
  bottom: 20px;
  z-index: 35;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid rgba(11, 21, 17, 0.1);
  box-shadow: 0 10px 30px rgba(11, 21, 17, 0.16);
}

html.dark .floating-stack {
  background: #131D18;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.floating-divider {
  width: 1px;
  height: 22px;
  background: rgba(11, 21, 17, 0.14);
}

html.dark .floating-divider {
  background: rgba(255, 255, 255, 0.16);
}

.whatsapp-fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--brand-green);
  transform: scale(1.06);
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 36px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@supports (animation-timeline: scroll()) {
  .scroll-bar {
    animation: grow linear both;
    animation-timeline: scroll();
  }

  .rv,
  .card {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

.reveal-fallback {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-fallback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-bar,
  .rv,
  .card {
    animation: none;
  }

  .scroll-bar {
    display: none;
  }

  .btn,
  .chip,
  .tag,
  .card-pic svg,
  .reveal-fallback {
    transition: none;
  }

  .reveal-fallback {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-plate-col {
    order: -1;
    justify-content: center;
  }

  .hero-plate {
    width: clamp(180px, 50vw, 260px);
  }

  .estimator-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}

@media (max-width: 760px) {

  .container,
  .cta-inner,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-bar {
    display: none;
  }

  .site-header {
    top: 10px;
    padding: 0 12px;
  }

  .nav-pill {
    padding: 6px 8px 6px 16px;
    gap: 10px;
  }

  .brand-link svg {
    width: 124px;
    height: auto;
  }

  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-pill {
    padding: 6px 8px 6px 14px;
    gap: 8px;
  }

  .brand-link svg {
    width: 112px;
    height: auto;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .theme-toggle,
  .menu-toggle {
    width: 34px;
    height: 34px;
  }

  .hero {
    margin-top: -66px;
    padding: 88px 0 28px;
    min-height: 90svh;
    display: flex;
    align-items: center;
    border-radius: 0 0 32px 32px;
  }

  .hero>.container {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-slide {
    gap: 16px;
  }

  .hero-plate {
    width: clamp(175px, 48vw, 230px);
  }

  .hero-text-col {
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .hero-kicker {
    font-size: 10.5px;
  }

  .hero-title {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 13.5px;
    line-height: 1.45;
    max-width: 340px;
  }

  .hero-cta-row {
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
  }

  .hero-cta-row .btn {
    flex: 1 1 0;
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-controls {
    margin-top: 16px;
    padding-top: 12px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .hero-dots {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .hero-dot {
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero-dot-label {
    display: none;
  }

  .hero-nav-right {
    width: auto;
    gap: 8px;
  }

  .hero-counter {
    font-size: 12px;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
  }

  .hero-intents {
    margin-top: 14px;
    text-align: left;
  }

  .hero-intents-label {
    margin-bottom: 8px;
    font-size: 10.5px;
  }

  .hero-intents .chip-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
  }

  .hero-intents .chip-row::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-proof {
    display: none;
  }

  .services-section {
    padding: 56px 0 24px;
  }

  .services-section .section-heading {
    margin-left: 0;
    margin-bottom: 24px;
  }

  .card {
    padding: 24px 20px;
    border-radius: 26px;
    position: static;
    min-height: auto;
    gap: 20px;
  }

  .card-body {
    gap: 18px;
  }

  .card-pic {
    flex-basis: 100%;
    min-height: 150px;
  }

  .also-strip {
    margin-left: 0;
  }

  .trust-section {
    padding-top: 48px;
  }

  .stats-section {
    padding: 36px 0 56px;
  }

  .stats-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 28px 22px;
    border-radius: 26px;
  }

  .reframe-section,
  .why-section,
  .process-section,
  .faq-section {
    padding-bottom: 56px;
  }

  .reframe-card {
    padding: 28px 20px;
    gap: 24px;
    border-radius: 26px;
  }

  .reframe-code {
    padding: 14px;
    font-size: 11.5px;
  }

  .reframe-speed-pill {
    position: static;
    display: inline-flex;
    margin: 0 14px 14px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 14px;
  }

  .cta-section {
    border-radius: 36px 36px 0 0;
  }

  .cta-inner {
    padding: 48px 18px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-submit {
    width: 100%;
  }

  .footer-inner {
    padding-top: 44px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 21, 17, 0.16);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(11, 21, 17, 0.06);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

/* Dark Mode Palette (html.dark) */
html.dark body {
  background: #0B110E;
  color: #F1F5F3;
}

html.dark .theme-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  color: #FCD34D;
}

html.dark .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

html.dark .theme-toggle .icon-moon {
  display: none;
}

html.dark .theme-toggle .icon-sun {
  display: block;
}

html.dark .nav-pill {
  background: #131D18;
  color: #F1F5F3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

html.dark .nav-pill .brand-link svg,
html.dark .mobile-drawer-header svg {
  --lt: #FFFFFF !important;
  --lg: #2BB673 !important;
}

html.dark .nav-links a:hover,
html.dark .nav-links .nav-highlight {
  color: #4ADE80;
}

html.dark .nav-actions .btn--ink {
  background: var(--brand-orange);
  color: var(--ink);
}

html.dark .menu-toggle,
html.dark .drawer-close {
  border-color: rgba(255, 255, 255, 0.22);
  color: #F1F5F3;
}

html.dark .mobile-drawer {
  background: #131D18;
  color: #F1F5F3;
}

html.dark .mobile-drawer-header,
html.dark .mobile-drawer-footer,
html.dark .mobile-drawer-links a {
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark .card--2 {
  background: #15201B;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.dark .card--3 {
  background: #112A20;
  color: #F1F5F3;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

html.dark .card--3 .dot-green {
  color: #4ADE80;
}

html.dark .card--3 .card-pill {
  background: rgba(255, 255, 255, 0.12);
}

html.dark .card--3 .card-pic {
  background: rgba(74, 222, 128, 0.12);
  color: #4ADE80;
}

html.dark .card--5 {
  background: #141F1A;
  color: #F1F5F3;
  border-color: rgba(255, 255, 255, 0.22);
}

html.dark .card--5 .dot-green {
  color: #4ADE80;
}

html.dark .card--5 .card-pill {
  background: rgba(255, 255, 255, 0.12);
}

html.dark .card--5 .card-pic {
  background: rgba(255, 255, 255, 0.08);
}

html.dark .card--5 .btn--ink {
  background: #FFFFFF;
  color: var(--ink);
}

html.dark .tag {
  border-color: rgba(255, 255, 255, 0.35);
  color: #F1F5F3;
}

html.dark .tag b {
  color: #4ADE80;
}

html.dark .tag:hover {
  background: #FFFFFF;
  color: var(--ink);
  border-color: #FFFFFF;
}

html.dark .see-all-link {
  border-bottom-color: #4ADE80;
}

html.dark .estimator-card {
  background: #131D18;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark .est-pill {
  background: #1B2922;
  color: #F1F5F3;
  border-color: rgba(255, 255, 255, 0.18);
}

html.dark .est-pill.is-active {
  background: var(--brand-orange);
  color: var(--ink);
  border-color: var(--brand-orange);
}

html.dark .estimator-summary {
  background: #0B110E;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.dark .billing-toggle {
  background: #131D18;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.dark .billing-btn {
  color: #CBD5E1;
}

html.dark .billing-btn.is-active {
  background: var(--brand-orange);
  color: var(--ink);
}

html.dark .plan-card {
  background: #131D18;
  color: #F1F5F3;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .plan-card--featured {
  background: #182620;
  border-color: var(--brand-orange);
}

html.dark .plan-card .btn--ink {
  background: #FFFFFF;
  color: var(--ink);
}

html.dark .stats-banner {
  background: #131D18;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.dark .feature-item {
  border-top-color: rgba(255, 255, 255, 0.22);
}

html.dark .feature-desc {
  opacity: 0.82;
}

html.dark .faq-item {
  background: #131D18;
  border-color: rgba(255, 255, 255, 0.12);
  color: #F1F5F3;
}

html.dark .faq-item[open] {
  background: #182620;
  border-color: var(--brand-orange);
}

html.dark .faq-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

html.dark .faq-item[open] .faq-icon {
  background: var(--brand-orange);
  color: var(--ink);
}

html.dark .cta-section {
  color: var(--ink);
}

html.dark .cta-section .form-input,
html.dark .cta-section .form-select {
  background: #FFFFFF;
  color: var(--ink);
}

/* Service Directory Uniform Logo Styling */
.service-dir-logo {
  display: block;
  width: 100%;
  height: 110px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-top: 14px;
}

html.dark .service-dir-logo {
  filter: brightness(0) invert(1);
}

/* Service Directory Variated Brand Card Colors */
.svc-card--orange {
  background: var(--brand-orange);
  color: var(--ink);
  border-color: transparent;
}

.svc-card--orange .svc-dir-meta {
  color: var(--ink);
  opacity: 0.78;
}

.svc-card--orange .feature-desc {
  opacity: 0.9;
}

.svc-card--ink {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.svc-card--ink .svc-dir-meta {
  color: var(--brand-orange);
}

.svc-card--ink .service-dir-logo {
  filter: brightness(0) invert(1);
}

.svc-card--ink .feature-desc {
  opacity: 0.82;
}

.svc-card--mist {
  background: var(--mist);
  color: var(--ink);
  border-color: transparent;
}

.svc-card--mist .svc-dir-meta {
  color: var(--brand-green);
}

html.dark .svc-card--mist {
  background: #112A20;
  color: #F1F5F3;
  border-color: rgba(74, 222, 128, 0.2);
}

html.dark .svc-card--mist .svc-dir-meta {
  color: #4ADE80;
}

html.dark .svc-card--mist .service-dir-logo {
  filter: brightness(0) invert(1);
}

.svc-card--green {
  background: var(--brand-green);
  color: var(--white);
  border-color: transparent;
}

.svc-card--green .svc-dir-meta {
  color: var(--brand-peach);
}

.svc-card--green .service-dir-logo {
  filter: brightness(0) invert(1);
}

.svc-card--green .feature-desc {
  opacity: 0.9;
}

.svc-card--white {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.svc-card--white .svc-dir-meta {
  color: var(--brand-green);
}

html.dark .svc-card--white {
  background: #141F1A;
  color: #F1F5F3;
  border-color: rgba(255, 255, 255, 0.22);
}

html.dark .svc-card--white .svc-dir-meta {
  color: #4ADE80;
}

/* Portfolio Editorial Case Study Cards */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid rgba(11, 21, 17, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(11, 21, 17, 0.14);
}

html.dark .case-card {
  background: #131D18;
  border-color: rgba(255, 255, 255, 0.12);
}

.case-banner {
  padding: 18px 20px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-banner--reframe {
  background: radial-gradient(circle at 12% 15%, rgba(0, 104, 56, 0.45), transparent 55%), linear-gradient(145deg, #0D0F12, #182026);
}

.case-banner--chetz {
  background: linear-gradient(145deg, #0F172A, #1E293B);
}

.case-banner--staqpesa {
  background: linear-gradient(145deg, #1D4ED8, #0284C7);
}

.case-banner--onntravel {
  background: linear-gradient(145deg, #141418, #24242C);
}

.case-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case-industry-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 10px;
}

.case-svc-tag {
  opacity: 0.78;
  font-size: 10.5px;
}

.case-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
}

.case-banner--staqpesa .case-logo {
  filter: brightness(0) invert(1);
}

.case-outcome-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 21, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #4ADE80;
  font-size: 10.5px;
}

.case-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
}

.case-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.case-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-block {
  padding-top: 12px;
  border-top: 1px solid rgba(11, 21, 17, 0.12);
}

html.dark .case-block {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.case-block-label {
  display: block;
  font-size: 10.5px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.case-block-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}

.case-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}

.case-actions .btn {
  padding: 9px 12px;
  font-size: 12.5px;
  white-space: nowrap;
  width: 100%;
}

html.dark .case-actions .btn--ink {
  background: var(--white);
  color: var(--ink);
}

@media (max-width: 1180px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .case-details {
    grid-template-columns: 1fr;
  }

  .case-banner,
  .case-body {
    padding: 18px;
  }
}

/* Portfolio Case Card Tabs */
.case-tabs {
  display: inline-flex;
  background: var(--mist);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  margin-bottom: 14px;
}

html.dark .case-tabs {
  background: #0B110E;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-tab-btn {
  padding: 6px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

html.dark .case-tab-btn {
  color: #CBD5E1;
}

.case-tab-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

html.dark .case-tab-btn.is-active {
  background: var(--brand-orange);
  color: var(--ink);
  font-weight: 600;
}

.case-tab-panel {
  display: none;
  min-height: 82px;
}

.case-tab-panel.is-active {
  display: block;
}

/* Global Quote Request Modal */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 21, 17, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal-card {
  width: min(520px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px 30px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-modal.is-open .quote-modal-card {
  transform: translateY(0) scale(1);
}

html.dark .quote-modal-card {
  background: #131D18;
  color: #F1F5F3;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quote-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.quote-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-input {
  border: 1.5px solid rgba(11, 21, 17, 0.18) !important;
}

html.dark .modal-input {
  background: #0B110E;
  color: #F1F5F3;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* RE.BulkSMS Sender ID Card Background Image */
.sender-id-card {
  background-color: var(--brand-green);
  background-image:
    linear-gradient(135deg, rgba(0, 104, 56, 0.86), rgba(11, 21, 17, 0.92)),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.sender-id-copy .feature-desc,
.sender-id-copy .plan-list {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.sender-id-card .plan-card {
  color: var(--ink);
}

html.dark .sender-id-card .plan-card {
  color: #F1F5F3;
}


/* In-Page WhatsApp Chat Popup */
.wa-chat-popup {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 340px;
  max-width: calc(100vw - 32px);
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(11, 21, 17, 0.12);
  box-shadow: 0 24px 60px rgba(11, 21, 17, 0.22);
  z-index: 95;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-chat-popup.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-chat-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wa-chat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0B1511;
  color: #2BB673;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-chat-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.wa-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  opacity: 0.88;
  margin-top: 2px;
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
}

.wa-chat-close {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wa-chat-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.wa-chat-body {
  background: #ECE5DD;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-chat-bubble {
  background: #FFFFFF;
  color: #0B1511;
  border-radius: 0 14px 14px 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.wa-bubble-sender {
  font-size: 11px;
  font-weight: 700;
  color: #075E54;
  margin-bottom: 4px;
}

.wa-chat-bubble p {
  margin: 0;
}

.wa-bubble-time {
  display: block;
  text-align: right;
  font-size: 10.5px;
  opacity: 0.55;
  margin-top: 6px;
}

.wa-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wa-quick-chip {
  background: rgba(255, 255, 255, 0.92);
  color: #075E54;
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wa-quick-chip:hover {
  background: #075E54;
  color: #FFFFFF;
}

.wa-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F6F6F6;
  border-top: 1px solid rgba(11, 21, 17, 0.08);
}

.wa-chat-input {
  flex: 1;
  border: 1px solid rgba(11, 21, 17, 0.14);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13.5px;
  background: #FFFFFF;
  color: #0B1511;
}

.wa-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-chat-send:hover {
  background: #1DA851;
  transform: scale(1.05);
}

html.dark .wa-chat-popup {
  background: #111B21;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .wa-chat-body {
  background: #0B141A;
}

html.dark .wa-chat-bubble {
  background: #202C33;
  color: #E9EDEF;
}

html.dark .wa-bubble-sender {
  color: #25D366;
}

html.dark .wa-quick-chip {
  background: #202C33;
  color: #E9EDEF;
  border-color: rgba(255, 255, 255, 0.14);
}

html.dark .wa-quick-chip:hover {
  background: #00A884;
  color: #0B141A;
}

html.dark .wa-chat-form {
  background: #202C33;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark .wa-chat-input {
  background: #2A3942;
  color: #E9EDEF;
  border-color: rgba(255, 255, 255, 0.1);
}


/* Hero Flagship Products Strip */
.hero-products {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.hero-products-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hero-product-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--brand-orange);
}

.hero-product-name {
  font-weight: 600;
}

.hero-product-tag {
  font-size: 10.5px;
  opacity: 0.72;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-product-more {
  color: var(--brand-peach);
  font-size: 12px;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-product-more:hover {
  color: #FFFFFF;
}


/* RE.BulkSMS Product Card Logo Backing */
.product-card--bulksms .product-logo {
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 12px;
  border-radius: 10px;
  height: 40px;
  width: auto;
  object-fit: contain;
}


.hero-product-logo {
  display: block;
  height: 18px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.hero-product-logo--invert {
  filter: brightness(0) invert(1);
}

.hero-product-pill--light {
  background: rgba(255, 255, 255, 0.94);
  color: #0B1511;
  border-color: rgba(255, 255, 255, 0.96);
}

.hero-product-pill--light:hover {
  background: #FFFFFF;
}

.hero-product-pill--light .hero-product-tag {
  border-left-color: rgba(11, 21, 17, 0.18);
  color: #006838;
  opacity: 0.9;
}


/* Affiliated Companies & Client Spotlights */
.affiliates-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.affiliate-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid rgba(11, 21, 17, 0.1);
  box-shadow: 0 20px 50px rgba(11, 21, 17, 0.06);
}

.affiliate-card-main {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.affiliate-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.affiliate-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 600;
}

.affiliate-platform-tag {
  font-size: 12px;
  color: rgba(11, 21, 17, 0.65);
}

.affiliate-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.affiliate-company {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.affiliate-domain {
  color: var(--brand-orange);
  font-weight: 600;
}

.affiliate-headline {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.affiliate-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(11, 21, 17, 0.78);
}

.affiliate-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}

.affiliate-narrative-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: #F6FAF7;
  border: 1px solid rgba(11, 21, 17, 0.08);
}

.affiliate-narrative-label {
  display: block;
  font-size: 10.5px;
  color: var(--brand-green);
  font-weight: 600;
  margin-bottom: 8px;
}

.affiliate-narrative-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(11, 21, 17, 0.8);
}

.affiliate-card-side {
  padding: 36px 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.affiliate-card--teal .affiliate-card-side {
  background: radial-gradient(circle at 15% 15%, rgba(43, 182, 115, 0.35), transparent 55%), linear-gradient(155deg, #064E3B, #0B1511);
}

.affiliate-card--ink .affiliate-card-side {
  background: radial-gradient(circle at 85% 15%, rgba(240, 90, 40, 0.25), transparent 55%), linear-gradient(155deg, #0F172A, #1E293B);
}

.affiliate-side-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  margin-bottom: 12px;
}

.affiliate-side-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.affiliate-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.affiliate-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.affiliate-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.22);
  color: #4ADE80;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.affiliate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.affiliate-actions .btn {
  width: 100%;
}

html.dark .affiliate-card {
  background: #131D18;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .affiliate-pill {
  background: rgba(43, 182, 115, 0.16);
  color: var(--brand-green-light);
}

html.dark .affiliate-platform-tag {
  color: rgba(255, 255, 255, 0.65);
}

html.dark .affiliate-company,
html.dark .affiliate-headline {
  color: #FFFFFF;
}

html.dark .affiliate-summary {
  color: rgba(255, 255, 255, 0.78);
}

html.dark .affiliate-narrative-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark .affiliate-narrative-label {
  color: var(--brand-green-light);
}

html.dark .affiliate-narrative-box p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 960px) {
  .affiliate-card {
    grid-template-columns: 1fr;
  }

  .affiliate-card-main,
  .affiliate-card-side {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .affiliate-narrative-grid {
    grid-template-columns: 1fr;
  }
}


/* Affiliated Companies & Client Spotlights */
.affiliates-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.affiliate-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid rgba(11, 21, 17, 0.1);
  box-shadow: 0 20px 50px rgba(11, 21, 17, 0.06);
}

.affiliate-card-main {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.affiliate-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.affiliate-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 600;
}

.affiliate-platform-tag {
  font-size: 12px;
  color: rgba(11, 21, 17, 0.65);
}

.affiliate-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.affiliate-company {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.affiliate-domain {
  color: var(--brand-orange);
  font-weight: 600;
}

.affiliate-headline {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.affiliate-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(11, 21, 17, 0.78);
}

.affiliate-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}

.affiliate-narrative-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: #F6FAF7;
  border: 1px solid rgba(11, 21, 17, 0.08);
}

.affiliate-narrative-label {
  display: block;
  font-size: 10.5px;
  color: var(--brand-green);
  font-weight: 600;
  margin-bottom: 8px;
}

.affiliate-narrative-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(11, 21, 17, 0.8);
}

.affiliate-card-side {
  padding: 36px 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.affiliate-card--teal .affiliate-card-side {
  background: radial-gradient(circle at 15% 15%, rgba(43, 182, 115, 0.35), transparent 55%), linear-gradient(155deg, #064E3B, #0B1511);
}

.affiliate-card--ink .affiliate-card-side {
  background: radial-gradient(circle at 85% 15%, rgba(240, 90, 40, 0.25), transparent 55%), linear-gradient(155deg, #0F172A, #1E293B);
}

.affiliate-side-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  margin-bottom: 12px;
}

.affiliate-side-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.affiliate-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.affiliate-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.affiliate-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.22);
  color: #4ADE80;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.affiliate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.affiliate-actions .btn {
  width: 100%;
}

html.dark .affiliate-card {
  background: #131D18;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .affiliate-pill {
  background: rgba(43, 182, 115, 0.16);
  color: var(--brand-green-light);
}

html.dark .affiliate-platform-tag {
  color: rgba(255, 255, 255, 0.65);
}

html.dark .affiliate-company,
html.dark .affiliate-headline {
  color: #FFFFFF;
}

html.dark .affiliate-summary {
  color: rgba(255, 255, 255, 0.78);
}

html.dark .affiliate-narrative-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark .affiliate-narrative-label {
  color: var(--brand-green-light);
}

html.dark .affiliate-narrative-box p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 960px) {
  .affiliate-card {
    grid-template-columns: 1fr;
  }

  .affiliate-card-main,
  .affiliate-card-side {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .affiliate-narrative-grid {
    grid-template-columns: 1fr;
  }
}


.affiliate-client-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.affiliate-client-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.affiliate-card--teal .affiliate-client-badge {
  background: var(--brand-green);
}

html.dark .affiliate-client-badge {
  background: rgba(255, 255, 255, 0.14);
}
