:root {
  --green: #4d6966;
  --green-700: #3d5552;
  --green-900: #2c3e3c;
  --gold: #d2b46e;
  --gold-600: #b89a55;
  --cream: #faf7f1;
  --off-white: #fffefb;
  --charcoal: #1f2a28;
  --muted: #6b7975;
  --line: #e7e2d6;
  --shadow-sm: 0 1px 2px rgba(31, 42, 40, 0.04), 0 2px 6px rgba(31, 42, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 42, 40, 0.06), 0 12px 32px rgba(31, 42, 40, 0.06);
  --shadow-lg: 0 10px 30px rgba(31, 42, 40, 0.08), 0 30px 80px rgba(31, 42, 40, 0.1);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--charcoal);
}
h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 1rem;
  color: #2c3936;
}
.lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.65;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
  .section-sm {
    padding: 48px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow.gold {
  color: var(--gold-600);
  background: rgba(210, 180, 110, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-700);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: var(--gold-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--cream);
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-white:hover {
  color: var(--green);
  background: var(--cream);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 251, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(31, 42, 40, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 500;
  color: #3a4644;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

/* ================= MEGA DROPDOWN ================= */
.nav-has-dropdown {
  position: relative;
}
.nav-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-has-dropdown > a .chevron-down {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-has-dropdown.open > a .chevron-down {
  transform: rotate(180deg);
}
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 680px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(31, 42, 40, 0.12),
    0 4px 16px rgba(31, 42, 40, 0.06);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 100;
  pointer-events: none;
}
.nav-has-dropdown.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.mega-item:hover {
  background: var(--cream);
}
.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
}

.mega-icon svg {
  width: 20px;
}

.mega-item:hover .mega-icon {
  background: rgba(77, 105, 102, 0.14);
}
.mega-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.3;
}
.mega-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
}
.mega-footer {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-footer-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mega-footer-link:hover {
  color: var(--green-700);
}
.mega-sub-pill {
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: 7px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: top;
}
.mega-sub-pill.gold {
  background: rgba(210, 180, 110, 0.12);
  color: var(--gold-600);
}
@media (max-width: 900px) {
  .mega-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px;
    background: transparent;
    display: none;
  }
  .nav-has-dropdown.open .mega-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: all;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mega-item {
    padding: 10px 12px;
  }
  .mega-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .mega-footer {
    padding: 8px 12px 0;
    border-top: none;
    margin-top: 4px;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: radial-gradient(900px 400px at 85% 0%, rgba(210, 180, 110, 0.18), transparent 60%), radial-gradient(700px 500px at 0% 30%, rgba(77, 105, 102, 0.1), transparent 60%), var(--off-white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .accent,
.domain-hero h1 .accent {
  color: var(--green);
  background-image: linear-gradient(to right, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 8px;
  padding-bottom: 2px;
}
/*
.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 8px;
    background: var(--gold);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
}
    */
.hero-trust {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-clients {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-clients-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-client {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.hero-client svg,
.hero-client img {
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.2s ease;
}
.hero-client:hover {
  color: var(--brand-color, var(--charcoal));
}
.hero-client:hover svg,
.hero-client:hover img {
  filter: grayscale(0) opacity(1);
}
.hero-clients-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -30px -10px -10px -30px;
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.18), rgba(210, 180, 110, 0.18));
  border-radius: 32px;
  filter: blur(10px);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(31, 42, 40, 0.06);
}
.hero-visual .float-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-visual .float-card.tl {
  top: -22px;
  left: -22px;
}
.hero-visual .float-card.br {
  bottom: -22px;
  right: -10px;
}

/* Deploy pill animation */
.deploy-pill {
  flex-direction: row;
}
.deploy-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(77, 105, 102, 0.12);
  color: #4d6966;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}
.deploy-pill-sync {
  animation: spin-sync 1s linear infinite;
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s;
}
.deploy-pill-check {
  position: absolute;
  opacity: 1;
  transition: opacity 0.3s;
}
.deploy-pill.syncing .deploy-pill-sync {
  opacity: 1;
}
.deploy-pill.syncing .deploy-pill-check {
  opacity: 0;
}
.deploy-pill.syncing .deploy-pill-icon {
  background: rgba(210, 180, 110, 0.15);
  color: #b89a55;
}
@keyframes spin-sync {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.deploy-pill-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.deploy-pill-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.deploy-pill-clients {
  position: relative;
  height: 1.1em;
  overflow: hidden;
}
.deploy-client {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.deploy-client-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
.deploy-pill-clients .deploy-client img.deploy-client-icon {
  border-radius: 0px;
  box-shadow: none;
  border: none;
}
.deploy-client[data-active="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual .float-card.tl,
  .hero-visual .float-card.br {
    display: none;
  }
}

/* ================= ANIMATED IMAGE PILLS ================= */
.img-pill-wrap {
  position: relative;
}
.pill-animated {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: pill-float 3s ease-in-out infinite;
}
.pill-animated.pill-tl {
  top: -14px;
  left: -14px;
}
.pill-animated.pill-br {
  bottom: -14px;
  right: -14px;
}
.pill-animated.pill-sm {
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 12px;
}
.pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pill-icon-green {
  background: rgba(77, 105, 102, 0.12);
  color: #4d6966;
}
.pill-icon-gold {
  background: rgba(210, 180, 110, 0.18);
  color: #b89a55;
}
.pill-cycle-text {
  white-space: nowrap;
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.pill-cycle-text.switching {
  opacity: 0;
  transform: translateY(4px);
}
.pill-spinning {
  animation: spin-sync 1.2s linear infinite;
}
@keyframes pill-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (max-width: 900px) {
  .pill-animated {
    display: none;
  }
}

/* ================= LOGO STRIP ================= */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  background: var(--off-white);
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
  opacity: 0.6;
}
.logos-grid .logo-item {
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.logos-title {
  text-align: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* ================= DEMO VIDEO ================= */
.demo {
  background: linear-gradient(180deg, var(--off-white), var(--cream));
}
.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(31, 42, 40, 0.06);
  background: #000;
  aspect-ratio: 16/9;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.video-meta .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.video-meta .item-icon {
  color: var(--green);
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .video-meta {
    grid-template-columns: 1fr;
  }
}

/* ================= SECTION HEADINGS ================= */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left {
  text-align: left;
  margin-left: 0;
}

/* ================= ALTERNATING FEATURE ================= */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.feature-split.reverse > div:first-child {
  order: 2;
}
.feature-split img {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(31, 42, 40, 0.06);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.feature-list li:last-child {
  border-bottom: 0;
}
.feature-list .check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: rgba(77, 105, 102, 0.12);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-split.reverse > div:first-child {
    order: 0;
  }
}

/* ================= THREE-UP GRID ================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.shot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.shot-card .shot-img {
  padding: 16px 16px 0;
}
.shot-card .shot-img img {
  border-radius: 12px;
  border: 1px solid var(--line);
}
.shot-card .shot-body {
  padding: 18px 22px 24px;
}
.shot-card h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.shot-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ================= TIMELINE ================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  opacity: 0.35;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  font-size: 1.25rem;
  border: 2px solid var(--green);
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}
.step img {
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.step h3 {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    display: none;
  }
}

/* ================= BENEFITS ================= */
.benefits {
  background: var(--cream);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease;
}
.benefit:hover {
  transform: translateY(-3px);
}
.benefit .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(77, 105, 102, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.benefit h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}
.benefit p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  background: var(--off-white);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testi::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
}
.testi p {
  font-size: 1rem;
  color: #3a4644;
  position: relative;
  z-index: 1;
  margin-top: 18px;
}
.testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.testi-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.testi-role {
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CTA BAND ================= */
.cta-band {
  background: linear-gradient(135deg, var(--green-900), var(--green));
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 180, 110, 0.35), transparent 70%);
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 8px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 124;
}
@media (max-width: 720px) {
  .cta-band {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: #14201e;
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 40px;
}
.footer-grid h5 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-grid a:hover {
  color: var(--gold);
}
.footer-grid a.brand:hover {
  color: #fff;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}
.newsletter-wrap form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-wrap input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
}
.newsletter-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter-wrap button {
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}
.newsletter-wrap button:hover {
  background: var(--gold-600);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.social a:hover {
  background: var(--gold);
  color: #2c2415;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= PRICING PAGE ================= */
.price-hero {
  padding: 96px 0 32px;
  text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, rgba(210, 180, 110, 0.16), transparent 60%), var(--off-white);
}
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.calc-controls .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.calc-controls label {
  font-weight: 600;
  font-size: 0.95rem;
}
.calc-controls input[type="number"] {
  width: 110px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.calc-controls input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}
.toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--cream);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.toggle button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.toggle button.active {
  background: var(--green);
  color: #fff;
}
.calc-output {
  background: linear-gradient(135deg, var(--green), var(--green-900));
  color: #fff;
  padding: 32px;
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc-output::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 180, 110, 0.4), transparent 70%);
}
.calc-output .price {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0;
  color: #fff;
}
.calc-output .price small {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}
.calc-output .tier-name {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.calc-output .per-sig {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.calc-output .btn-accent {
  width: 100%;
  justify-content: center;
}
.discount-tag {
  display: inline-block;
  background: var(--gold);
  color: #2c2415;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
}
@media (max-width: 900px) {
  .calc {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tier.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #2c2415;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.tier h3 {
  margin: 0 0 4px;
}
.tier .tier-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 8px 0;
}
.tier .tier-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.tier ul li {
  display: flex;
  gap: 8px;
}
.tier ul li svg {
  color: var(--green);
  flex: 0 0 auto;
}
.tier .btn {
  margin-top: auto;
  justify-content: center;
}
@media (max-width: 1100px) {
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* ================= FAQ ================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  transition: box-shadow 0.2s ease;
}
details.faq[open] {
  box-shadow: var(--shadow-md);
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.2s ease;
}
details.faq[open] summary::after {
  content: "\2013";
}
details.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ================= QUOTE FORM ================= */
.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}
.quote-form .field {
  margin-bottom: 18px;
}
.quote-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--off-white);
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.quote-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .quote-form .row2 {
    grid-template-columns: 1fr;
  }
}

/* ================= EMAIL CLIENTS ================= */
.clients-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.client-logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.client-logo-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.client-logo-card img.yahoo {
  width: 120px;
}
.client-logo-card img.hubspot {
  width: 90px;
}
.client-logo-card img.salesforce {
  width: 100px;
}
.client-logo-card span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.clients-see-all {
  margin-top: 32px;
  text-align: center;
}
.see-all-link {
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: color 0.2s ease;
}

/* ================= COMPARISON TABLE ================= */
.compare-table-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table thead tr {
  background: var(--cream);
}
.compare-table th {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 2px solid var(--line);
  vertical-align: middle;
}
.compare-feature-col {
  text-align: left !important;
  width: 50%;
}
.compare-plan-col {
  width: 25%;
}
.compare-plan-col--paid {
  background: rgba(77, 105, 102, 0.04);
}
.compare-plan-name {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.trial-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(77, 105, 102, 0.1);
  color: var(--green);
  display: inline-block;
}
.trial-badge-gold {
  background: rgba(210, 180, 110, 0.15);
  color: #9a7e3a;
}
.trial-credit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  white-space: nowrap;
}
.compare-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  vertical-align: middle;
}
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
}
.compare-table td:nth-child(3) {
  background: rgba(77, 105, 102, 0.02);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover {
  background: rgba(77, 105, 102, 0.02);
}
.compare-group-row td {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--cream) !important;
  padding: 12px 24px !important;
  border-bottom: 1px solid var(--line) !important;
}
.compare-table svg {
  display: inline-block;
}
.compare-group-note {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 12px;
  font-size: 0.8rem;
}
.compare-credits-row td {
  font-style: italic;
}
.compare-check {
  color: var(--green);
}
.compare-x {
  color: #c4ccc9;
}
.compare-limit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 6px;
}
.compare-unlimited {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
}
.compare-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Tooltips */
.has-tooltip {
  position: relative;
  cursor: help;
}
.has-tooltip .tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #f0f4f3;
  color: #2a3f3c;
  border: 1px solid #d6dfdd;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: normal;
  width: max-content;
  max-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.has-tooltip .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #f0f4f3;
}
.has-tooltip:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 700px) {
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .compare-plan-name {
    font-size: 0.9rem;
  }
  .compare-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .compare-cta-row .btn {
    justify-content: center;
  }
}

/* ================= REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================= Modal Overlay Background ================= */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal Content Box */
.success-modal-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-wrap .success-modal-overlay h3 {
  color: var(--green);
  font-weight: bold;
}

.newsletter-wrap .success-modal-box p {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.newsletter-wrap .success-modal-overlay button {
  background: var(--green);
  color: #fff;
  padding: 16px 28px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.newsletter-wrap .success-modal-overlay button.btn-primary:hover {
  background: var(--green-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Fallback text shown when the modal is closed */
.form-success-inline {
  padding: 1rem;
  background: #def7ec;
  color: #03543f;
  border-radius: 6px;
  font-weight: 600;
}

/* Deployment */
.dl-section {
  padding: 80px 0;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.dl-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 1.65rem;
}
.dl-card-icon svg {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-weight: 400;
  fill: var(--green);
  width: 26px;
}
.dl-card-icon svg.new-outlook {
  width: 34px;
}
.dl-card-icon svg.new-outlook,
.dl-card-icon svg.apple {
  fill: var(--gold-600);
}

.dl-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.dl-card .dl-sub {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.55;
}
.dl-card .dl-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-card .dl-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--charcoal);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.dl-card .dl-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.dl-card .dl-link svg {
  flex-shrink: 0;
}
.dl-card .dl-link-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.dl-card .dl-link-primary:hover {
  background: #3d5e5b;
  border-color: #3d5e5b;
}
.dl-ext-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.dl-ext-grid svg {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-weight: 400;
  fill: var(--charcoal);
  width: 14px;
}
.dl-ext-grid a.dl-link:hover svg {
  fill: #fff;
}
.dl-ext-grid .dl-link {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 0.8rem;
}
@media (max-width: 1000px) {
  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dl-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================= COMPAT MODAL ================= */
.compat-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(31, 42, 40, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.compat-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.compat-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 94%;
  max-width: 1200px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(31, 42, 40, 0.2);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.compat-modal-overlay.active .compat-modal {
  transform: translateY(0) scale(1);
}
.compat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}
.compat-modal-header h3 {
  margin: 0;
  font-size: 1.35rem;
}
.compat-modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.compat-modal-close:hover {
  background: #f0ede6;
}
.cm-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
}
.cm-search {
  flex: 1 1 220px;
  position: relative;
}
.cm-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cm-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(77, 105, 102, 0.1);
}
.cm-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.cm-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cm-pill {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cm-pill:hover {
  border-color: var(--green);
}
.cm-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.cm-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.cm-body {
  overflow-y: auto;
  flex: 1;
}
.cm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.cm-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.cm-table th {
  padding: 13px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--off-white);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.cm-table th:hover {
  color: var(--charcoal);
}
.cm-table th:first-child {
  text-align: left;
  min-width: 220px;
}
.cm-table th .sort-arrow {
  font-size: 0.68rem;
  margin-left: 3px;
  opacity: 0.35;
}
.cm-table th.sorted .sort-arrow {
  opacity: 1;
  color: var(--green);
}
.cm-table td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}
.cm-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--charcoal);
}
.cm-table tbody tr {
  transition: background 0.15s;
}
.cm-table tbody tr:hover {
  background: rgba(77, 105, 102, 0.03);
}
.cm-rec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green), #5a7d7a);
  color: #fff;
}
.cm-sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(77, 105, 102, 0.1);
  color: var(--green);
}
.cm-na {
  color: var(--line);
  font-size: 0.75rem;
}
.cm-device-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: 7px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.cm-device-tag.desktop {
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
}
.cm-device-tag.web {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}
.cm-device-tag.mobile {
  background: rgba(210, 180, 110, 0.12);
  color: var(--gold-600);
}
.cm-device-tag.crm {
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
}
.cm-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.cm-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cm-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  display: none;
}
.cm-empty.visible {
  display: block;
}
@media (max-width: 640px) {
  .compat-modal {
    width: 98%;
    max-height: 92vh;
    border-radius: var(--radius);
  }
  .cm-toolbar {
    padding: 12px 16px;
  }
  .compat-modal-header {
    padding: 18px 16px 0;
  }
  .cm-legend {
    padding: 12px 16px;
  }
  .cm-table th:first-child {
    min-width: 160px;
  }
  .cm-table th,
  .cm-table td {
    padding: 9px 8px;
    font-size: 0.78rem;
  }
}

.clients-image {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.clients-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ================= DOCS / KNOWLEDGE BASE ================= */
.docs-hero {
  padding: 80px 0 48px;
  background: radial-gradient(900px 400px at 50% 0%, rgba(77, 105, 102, 0.08), transparent 60%), var(--off-white);
}
.docs-hero h1 .accent {
  color: var(--green);
  background-image: linear-gradient(to right, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 8px;
  padding-bottom: 2px;
}
.docs-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 28px auto 0;
}
.docs-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.docs-search-wrap input {
  width: 100%;
  padding: 16px 56px 16px 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.docs-search-wrap input:focus {
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(77, 105, 102, 0.1),
    var(--shadow-md);
}
.docs-search-wrap input::placeholder {
  color: #a0a89f;
}
.docs-search-kbd {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--muted);
  pointer-events: none;
}

.docs-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.docs-category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.docs-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(77, 105, 102, 0.2);
}
.docs-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.docs-category-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.docs-category-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.docs-cat-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
}
@media (max-width: 900px) {
  .docs-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .docs-categories {
    grid-template-columns: 1fr;
  }
}

.docs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.docs-back-btn:hover {
  color: var(--green-700);
}
.docs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.docs-article-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.docs-article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.docs-article-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(77, 105, 102, 0.2);
}
.docs-article-card h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.docs-article-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.docs-article-cat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.docs-article-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition:
    transform 0.2s,
    color 0.2s;
}
.docs-article-card:hover .docs-article-arrow {
  transform: translateX(3px);
  color: var(--green);
}

/* Article layout with sidebar */
.docs-article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 88px;
}
.docs-sidebar h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.docs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.docs-sidebar-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a4644;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.docs-sidebar-link:hover {
  background: var(--cream);
  color: var(--green);
}
.docs-sidebar-link.active {
  background: rgba(77, 105, 102, 0.1);
  color: var(--green);
  font-weight: 600;
}
.docs-toc-link {
  display: block;
  padding: 5px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
  transition:
    border-color 0.15s,
    color 0.15s;
}
.docs-toc-link:hover {
  color: var(--green);
  border-color: var(--green);
}
@media (max-width: 900px) {
  .docs-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .docs-sidebar {
    position: static;
  }
}

/* Article content styles */
.docs-article {
  max-width: 720px;
  min-width: 0;
  padding-top: 32px;
}
.docs-article h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 8px;
}
.docs-article .doc-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 32px;
}
.docs-article h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.docs-article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.docs-article p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3936;
}
.docs-article ul,
.docs-article ol {
  padding-left: 24px;
  margin: 8px 0 16px;
}
.docs-article li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3936;
  margin-bottom: 6px;
}
.docs-article code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.85em;
  background: rgba(77, 105, 102, 0.07);
  color: var(--green-900);
  padding: 2px 7px;
  border-radius: 5px;
}
.docs-article pre {
  background: var(--charcoal);
  color: #e0e6e4;
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.docs-article pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
  line-height: 1.7;
}
.docs-article kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.doc-callout {
  background: rgba(77, 105, 102, 0.06);
  border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2c3936;
}
.doc-callout-warning {
  background: rgba(210, 180, 110, 0.1);
  border-left-color: var(--gold);
}
.doc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.doc-table thead tr {
  background: var(--cream);
}
.doc-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.doc-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f3f1ec;
  vertical-align: top;
}
.doc-table tbody tr:last-child td {
  border-bottom: none;
}
.doc-table tbody tr:hover {
  background: #faf9f6;
}

/* Template Page */
.tpl-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tpl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(700px 350px at 80% 20%, rgba(210, 180, 110, 0.15), transparent 60%), radial-gradient(800px 400px at 10% 70%, rgba(77, 105, 102, 0.08), transparent 60%);
}
.tpl-hero > * {
  position: relative;
}
.tpl-hero h1 {
  margin-top: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.tpl-hero .lead {
  max-width: 640px;
  margin: 16px auto 0;
}

.tpl-section {
  padding: 80px 0;
  position: relative;
}
@media (min-width: 768px) {
  .tpl-section {
    padding: 100px 0;
  }
}
.tpl-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* Option cards - the 4 template tiers */
.tpl-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .tpl-tier-grid {
    grid-template-columns: 1fr;
  }
}
.tpl-tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tpl-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
a.tpl-tier-card {
  text-decoration: none;
  color: inherit;
}
.tpl-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  width: fit-content;
}
.tpl-tier-badge.gold {
  background: rgba(210, 180, 110, 0.14);
  color: var(--gold-600);
}
.tpl-tier-badge.premium {
  background: var(--green-900);
  color: var(--gold);
}
.tpl-tier-card h3 {
  font-size: 1.2rem;
  margin: 8px 0 4px;
}
.tpl-tier-card .tpl-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
}
.tpl-tier-card .tpl-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.tpl-tier-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.tpl-tier-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  flex: 1;
}
.tpl-tier-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--charcoal);
}
.tpl-tier-card ul li .ck {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.tpl-tier-card .tpl-tier-cta {
  margin-top: 16px;
}

/* Feature includes grid */
.tpl-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .tpl-includes-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .tpl-includes-grid {
    grid-template-columns: 1fr;
  }
}
.tpl-includes-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tpl-includes-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tpl-includes-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.tpl-includes-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Domain templates split */
.tpl-split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px) {
  .tpl-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}
.tpl-split.reverse {
  direction: rtl;
}
.tpl-split.reverse > * {
  direction: ltr;
}
.tpl-split-content h2 {
  margin-bottom: 16px;
}
.tpl-split-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tpl-split-content .feat-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.tpl-split-content .feat-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tpl-split-content .feat-list li .ficon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(210, 180, 110, 0.12);
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tpl-split-content .feat-list li strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.tpl-split-content .feat-list li p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.tpl-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tpl-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  width: 100%;
  transition: transform 0.25s ease;
}
.tpl-img-wrap:hover img {
  transform: scale(1.015);
}

/* Addon cards row */
.tpl-addons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .tpl-addons-row {
    grid-template-columns: 1fr;
  }
}
.tpl-addon-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tpl-addon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tpl-addon-header {
  padding: 32px 32px 0;
}
.tpl-addon-body {
  padding: 0 32px 32px;
}
.tpl-addon-header .tpl-addon-price {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tpl-addon-header .tpl-addon-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.tpl-addon-header h3 {
  font-size: 1.15rem;
  margin: 12px 0 8px;
}
.tpl-addon-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 16px;
}
.tpl-addon-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.tpl-addon-body ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
}
.tpl-addon-body ul li .ck {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Placeholder template cards */
.tpl-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.tpl-preview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tpl-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tpl-preview-thumb {
  height: 140px;
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.05), rgba(210, 180, 110, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tpl-preview-sig {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}
.tpl-sig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(77, 105, 102, 0.12);
  flex-shrink: 0;
}
.tpl-sig-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tpl-sig-ln {
  height: 7px;
  border-radius: 4px;
  background: rgba(77, 105, 102, 0.1);
}
.tpl-sig-ln.n {
  width: 65%;
  height: 9px;
  background: rgba(31, 42, 40, 0.12);
}
.tpl-sig-ln.t {
  width: 50%;
}
.tpl-sig-ln.s {
  width: 55%;
}
.tpl-sig-div {
  height: 1px;
  background: var(--line);
  margin: 2px 0;
}
.tpl-sig-bn {
  width: 100%;
  height: 22px;
  border-radius: 5px;
  background: rgba(210, 180, 110, 0.12);
  margin-top: 2px;
}
.tpl-preview-meta {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.tpl-preview-meta span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.tpl-preview-meta small {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Video modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 24px;
}
.video-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.video-modal-overlay.is-open .video-modal-inner {
  transform: scale(1);
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
/* ================= ABOUT PAGE ================= */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.about-stat {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.about-stat-num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1.1;
}
.about-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
@media (max-width: 720px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.about-timeline {
  position: relative;
  padding: 24px 0;
}
.about-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--green));
  opacity: 0.35;
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
  position: relative;
}
.tl-item:last-child {
  margin-bottom: 0;
}
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green);
  justify-self: center;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.tl-spacer {
  min-height: 1px;
}
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tl-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 6px;
}
.tl-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.tl-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .about-timeline::before {
    left: 10px;
  }
  .tl-item {
    grid-template-columns: 20px 1fr;
    gap: 16px;
  }
  .tl-spacer {
    display: none;
  }
  .tl-dot {
    margin-top: 28px;
  }
}

/* Values */
.about-value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(77, 105, 102, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.about-value-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.about-value-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Team grid */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 680px;
  margin: 0 auto;
}
.about-team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-team-card h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.about-team-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.about-team-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 540px) {
  .about-team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* ================= CUSTOMERS PAGE ================= */
.cust-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.cust-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.cust-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(77, 105, 102, 0.08);
  color: var(--muted);
  display: grid;
  place-items: center;
}
@media (max-width: 720px) {
  .cust-logo-strip {
    gap: 24px;
  }
  .cust-logo-item span {
    display: none;
  }
}

/* Showcase cards */
.cust-showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  transition: box-shadow 0.3s ease;
}
.cust-showcase:hover {
  box-shadow: var(--shadow-lg);
}
.cust-showcase:last-child {
  margin-bottom: 0;
}
.cust-showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.cust-showcase-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
}
.cust-showcase-company {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.3;
}
.cust-showcase-industry {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.cust-showcase-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
}
.cust-showcase-quote {
  padding: 32px;
}
.cust-showcase-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cust-person-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}
.cust-person-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}
.cust-person-role {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-600);
  font-weight: 600;
}
.cust-showcase-quote blockquote {
  margin: 0;
  padding: 0;
  position: relative;
}
.cust-showcase-quote blockquote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3a4644;
  margin: 0;
}
.cust-showcase-metrics {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cust-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cust-metric-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.cust-metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.cust-showcase-sig {
  border-left: 1px solid var(--line);
  padding: 32px 28px;
  background: #fafaf8;
  display: flex;
  flex-direction: column;
}
.cust-sig-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.cust-sig-preview {
  flex: 1;
  display: flex;
  align-items: center;
}
.cust-sig-placeholder {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}
.cust-sig-placeholder-photo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.12), rgba(210, 180, 110, 0.12));
  flex-shrink: 0;
}
.cust-sig-placeholder-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cust-sig-line {
  height: 10px;
  border-radius: 5px;
  background: rgba(77, 105, 102, 0.1);
}
.cust-sig-line-name {
  width: 70%;
  height: 12px;
  background: rgba(31, 42, 40, 0.12);
}
.cust-sig-line-title {
  width: 55%;
}
.cust-sig-line-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}
.cust-sig-line-short {
  width: 60%;
}
.cust-sig-line-banner {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.08), rgba(210, 180, 110, 0.1));
  margin-top: 4px;
}
@media (max-width: 900px) {
  .cust-showcase-body {
    grid-template-columns: 1fr;
  }
  .cust-showcase-sig {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .cust-showcase-header {
    padding: 20px 24px;
  }
  .cust-showcase-quote {
    padding: 24px;
  }
  .cust-showcase-sig {
    padding: 24px;
  }
  .cust-showcase-metrics {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .cust-showcase-metrics {
    flex-direction: column;
    gap: 12px;
  }
}

div.docs-cat-icon svg {
  width: 24px;
}
/* AI Tools */
.ai-tool-section {
  padding: 80px 0;
}
.ai-tool-section:nth-child(even) {
  background: var(--off-white);
}
.ai-tool-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--green), #5a7d7a);
  color: #fff;
  margin-bottom: 14px;
}
.ai-tool-section:nth-child(even) .ai-tool-number {
  background: linear-gradient(135deg, var(--gold-600), #c4a44e);
}
.ai-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  margin-bottom: 12px;
}
.ai-tool-badge svg {
  flex-shrink: 0;
}
.ai-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}
.ai-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.ai-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ai-hero-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.ai-hero-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.ai-hero-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.ai-placeholder {
  border-radius: 18px;
  border: 2px dashed var(--line);
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.03), rgba(210, 180, 110, 0.06));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 40px;
  text-align: center;
  gap: 16px;
  color: var(--muted);
}
.ai-placeholder svg {
  opacity: 0.4;
}
.ai-placeholder span {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.6;
}
.ai-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}
.ai-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
}
.ai-flow-step .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--green);
  color: #fff;
}
.ai-flow-arrow {
  color: var(--line);
  display: flex;
  align-items: center;
}
.ai-credit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(77, 105, 102, 0.06), rgba(210, 180, 110, 0.08));
  border: 1px solid var(--line);
  color: var(--charcoal);
  margin-top: 16px;
}
.ai-credit-tag svg {
  flex-shrink: 0;
  color: var(--gold-600);
}
.ai-credit-tag .free-label {
  color: var(--green);
  font-weight: 800;
}
.ai-pricing-banner {
  background: linear-gradient(135deg, #f8f7f4, #f3f1ec);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 0;
}
.ai-pricing-banner h2 {
  margin: 0 0 12px;
}
.ai-pricing-banner .lead {
  max-width: 600px;
  margin: 0 auto 40px;
}
.ai-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.ai-pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.ai-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ai-pricing-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.ai-pricing-card h4 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.ai-pricing-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0 0 4px;
}
.ai-pricing-card .price-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.ai-pricing-card .free-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
  border-radius: 100px;
  padding: 4px 14px;
  display: inline-block;
}
.ai-credit-explainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
.ai-credit-explainer span {
  color: var(--charcoal);
  font-weight: 800;
}
@media (max-width: 900px) {
  .ai-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .ai-pricing-banner {
    padding: 36px 24px;
  }
}
.video-vertical-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.video-vertical-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .video-vertical-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .ai-hero-features {
    grid-template-columns: 1fr;
  }
  .ai-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .ai-flow-arrow {
    display: none;
  }
}
/* Creator Studio */
.cs-tool-section {
  padding: 80px 0;
}
.cs-tool-section:nth-child(even) {
  background: var(--off-white);
}
.cs-tool-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--green), #5a7d7a);
  color: #fff;
  margin-bottom: 14px;
}
.cs-tool-section:nth-child(even) .cs-tool-number {
  background: linear-gradient(135deg, var(--gold-600), #c4a44e);
}
.cs-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  margin-bottom: 12px;
}
.cs-tool-badge svg {
  flex-shrink: 0;
}
.cs-included-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
  margin-bottom: 4px;
}
.cs-hero-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
  text-align: left;
}
.cs-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cs-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cs-hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.cs-hero-card h3 {
  font-size: 0.98rem;
  margin: 0 0 6px;
}
.cs-hero-card p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.cs-upsell {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(210, 180, 110, 0.06), rgba(77, 105, 102, 0.04));
  border: 1px solid rgba(210, 180, 110, 0.25);
}
.cs-upsell-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.cs-upsell p {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0 0 14px;
}
.cs-upsell a.btn {
  font-size: 0.82rem;
  padding: 8px 18px;
}
@media (max-width: 1100px) {
  .cs-hero-features {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .cs-hero-features {
    grid-template-columns: 1fr;
  }
}
/* Email Compatability */
.ec-matrix-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.ec-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--off-white);
}
.ec-search {
  flex: 1 1 280px;
  position: relative;
}
.ec-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}
.ec-search input:focus {
  outline: none;
  border-color: var(--green);
}
.ec-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.ec-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ec-pill {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ec-pill:hover {
  border-color: var(--green);
}
.ec-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.ec-count {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  padding: 7px 0;
  white-space: nowrap;
}
.ec-table-scroll {
  overflow-x: auto;
}
.ec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ec-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.ec-table th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--off-white);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.ec-table th:hover {
  color: var(--charcoal);
}
.ec-table th:first-child {
  text-align: left;
  min-width: 240px;
  cursor: pointer;
}
.ec-table th .sort-arrow {
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.4;
}
.ec-table th.sorted .sort-arrow {
  opacity: 1;
  color: var(--green);
}
.ec-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}
.ec-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--charcoal);
}
.ec-table tbody tr {
  transition: background 0.15s;
}
.ec-table tbody tr:hover {
  background: rgba(77, 105, 102, 0.03);
}
.ec-table tbody tr.ec-hidden {
  display: none;
}
.ec-table .ec-rec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #5a7d7a);
  color: #fff;
}
.ec-table .ec-sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(77, 105, 102, 0.1);
  color: var(--green);
}
.ec-table .ec-na {
  color: var(--line);
  font-size: 0.75rem;
}
.ec-legend {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.ec-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ec-empty-state {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}
.ec-empty-state.visible {
  display: block;
}
.ec-device-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.ec-device-tag.desktop {
  background: rgba(77, 105, 102, 0.08);
  color: var(--green);
}
.ec-device-tag.web {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}
.ec-device-tag.mobile {
  background: rgba(210, 180, 110, 0.12);
  color: var(--gold-600);
}
.ec-device-tag.crm {
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
}
@media (max-width: 700px) {
  .ec-toolbar {
    padding: 14px 16px;
  }
  .ec-table th,
  .ec-table td {
    padding: 10px 10px;
    font-size: 0.82rem;
  }
  .ec-table th:first-child {
    min-width: 180px;
  }
}
/* Click to copy template tags */
.alltags-table td code {
  vertical-align: middle;
}

.tag-copy {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  opacity: 0.45;
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}
.tag-copy svg {
  width: 14px;
  height: 14px;
  display: block;
}
.tag-copy .ic-check {
  display: none;
}
.alltags-table tr:hover .tag-copy {
  opacity: 0.7;
}
.tag-copy:hover {
  opacity: 1;
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
}
.tag-copy:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  opacity: 1;
}
.tag-copy.copied {
  color: var(--green);
  opacity: 1;
}
.tag-copy.copied .ic-copy {
  display: none;
}
.tag-copy.copied .ic-check {
  display: block;
}

/* "Copied" confirmation bubble */
.tag-copy::after {
  content: "Copied";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 3px 7px;
  background: var(--charcoal);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.tag-copy.copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Search All Template Tags */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 4px 0 20px;
}
.tag-filter-field {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}
.tag-filter-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.tag-filter-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 40px 12px 40px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.tag-filter-input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
.tag-filter-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(77, 105, 102, 0.14);
}
/* Hide the native search clear control; we provide our own */
.tag-filter-input::-webkit-search-decoration,
.tag-filter-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.tag-filter-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.tag-filter-clear svg {
  width: 15px;
  height: 15px;
  display: block;
}
.tag-filter-clear:hover {
  color: var(--green);
  background: rgba(77, 105, 102, 0.08);
}
.tag-filter-clear:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.tag-filter-count {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Highlight the term inside a matched tag */
.alltags-table mark {
  background: rgba(184, 154, 85, 0.22);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

/* Two independent columns so each list filters and reflows on its own */
.tags-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 48px;
}
.tags-split .alltags-col {
  flex: 1 1 280px;
}
/* Keep each tag and its copy icon together on one line */
.tags-split .alltags-col td {
  padding: 3px 0;
  white-space: nowrap;
}
.tags-split .alltags-col .alltags-head td {
  padding-top: 6px;
}

/* Rows filtered out by the search */
tr.tag-row-hidden {
  display: none;
}

/* "No results" message */
.tag-noresults {
  color: var(--muted);
  font-style: italic;
  padding: 10px 0 4px;
}
