/**
 * TheAnhLive Home — brief tokens + SaaS layout (v4)
 * Brief: docs/ui-redesign/00-execution-brief.md
 * v4: CF cache-bust filename; lock CTA #2A9A4A; workflow spacing
 */

body.tal-ds-saas {
  /* Brief tokens */
  --tal-primary: #34548e;
  --tal-secondary: #2a9a4a;
  --tal-text: #10213a;
  --tal-text-muted: #5f6f85;
  --tal-bg: #ffffff;
  --tal-bg-soft: #f5f8fc;
  --tal-bg-blue: #eef4fb;
  --tal-border: #dce5f0;
  --tal-radius-sm: 8px;
  --tal-radius-md: 12px;
  --tal-radius-lg: 16px;
  --tal-container: 1240px;
  --tal-section-sm: 56px;
  --tal-section-md: 80px;
  --tal-section-lg: 96px;
  --tal-shadow: 0 8px 24px rgba(16, 33, 58, 0.06);

  /* Aliases — keep existing .tal-* rules working */
  --tal-navy: var(--tal-primary);
  --tal-navy-deep: #263f6c;
  --tal-green: var(--tal-secondary);
  --tal-green-dark: #22823d;
  --tal-muted: var(--tal-text-muted);
  --tal-surface: var(--tal-bg-soft);
  --tal-radius: var(--tal-radius-md);
}

/* Shell: locked container + type base (homepage) */
body.tal-ds-saas.home {
  background: var(--tal-bg);
  color: var(--tal-text);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}
body.tal-ds-saas.home .container,
body.tal-ds-saas.home .row {
  max-width: var(--tal-container);
}
body.tal-ds-saas.home #main .section-content > .row,
body.tal-ds-saas.home .tal-hero-section .row,
body.tal-ds-saas.home .tal-pillars .row,
body.tal-ds-saas.home .tal-pain .row,
body.tal-ds-saas.home .tal-steps .row,
body.tal-ds-saas.home .tal-pkgs .row {
  margin-left: auto;
  margin-right: auto;
}

/* SVG icon system */
.tal-ico-wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  background: #e8eefc;
  overflow: hidden;
  vertical-align: middle;
}
.tal-ico-wrap--blue { background: #e8eefc; }
.tal-ico-wrap--green { background: #d1fae5; }
.tal-ico-wrap--orange { background: #ffedd5; }
.tal-ico-wrap--purple { background: #ede9fe; }
.tal-ico-wrap svg.tal-ico,
svg.tal-ico {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block !important;
  fill: none !important;
  stroke: var(--tal-navy) !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tal-ico-wrap--green .tal-ico { stroke: #059669; }
.tal-ico-wrap--orange .tal-ico { stroke: #c2410c; }
.tal-ico-wrap--purple .tal-ico { stroke: #6d28d9; }

.tal-pillar-card .tal-ico-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}
.tal-pillar-card--attract .tal-ico-wrap { background: #2563eb; }
.tal-pillar-card--convert .tal-ico-wrap { background: var(--tal-green); }
.tal-pillar-card--automate .tal-ico-wrap { background: #7c3aed; }
.tal-pillar-card--attract .tal-ico,
.tal-pillar-card--convert .tal-ico,
.tal-pillar-card--automate .tal-ico {
  stroke: #fff;
  width: 30px;
  height: 30px;
}

/* Hide cart chrome — Flatsome still injects cart in some slots (brief: no cart)
 * !important: Flatsome header CSS uses high specificity display rules. */
.header .cart-item,
.header-main .cart-item,
.nav-cart,
li.cart-item,
.header-cart-link,
.header .cart-icon,
.header .header-cart-link,
.header .cart-item .cart-icon,
#logo + .nav-right .cart-item,
.header-nav-main .cart-item,
.medium-logo-center .cart-item {
  display: none !important;
}

/* Header CTA green pill — literal token (beat .button.success + customizer) */
.header .header-button .button,
.header .header-button .button.success,
.header .header-button .button.primary,
.header-button .button.primary,
.header .nav > li.header-button > a {
  background: #2a9a4a !important;
  border-color: #2a9a4a !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
  padding-left: 1.25em !important;
  padding-right: 1.25em !important;
}
.header .header-button .button:hover,
.header .header-button .button.success:hover {
  background: #22823d !important;
  border-color: #22823d !important;
  color: #fff !important;
}

/* Section heads */
.tal-sec-head { margin-bottom: 36px; max-width: 720px; }
.tal-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tal-sec-head--light .tal-sec-title,
.tal-sec-head--light .tal-sec-sub { color: #fff; }
.tal-sec-head--light .tal-sec-eyebrow { color: #93c5fd; }
.tal-sec-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tal-navy);
}
.tal-sec-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--tal-navy-deep);
  line-height: 1.25;
}
.tal-sec-sub {
  margin: 0;
  color: var(--tal-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ===== HERO ===== */
.tal-hero-section--saas {
  background: var(--tal-bg) !important;
}
.tal-hero-section--saas > .section-content {
  max-width: var(--tal-container);
  margin-left: auto;
  margin-right: auto;
}
.tal-hero-section--saas .row.tal-hero-row,
.tal-hero-section--saas > .section-content > .row {
  align-items: center;
}
.tal-hero--saas {
  max-width: 40rem;
  padding-right: 8px;
}
.tal-hero--saas .tal-hero-eyebrow {
  margin: 0 0 14px;
  color: var(--tal-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.tal-hero--saas .tal-hero-h1 {
  margin: 0 0 18px;
  color: var(--tal-text);
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.tal-hero--saas .tal-hero-sub {
  margin: 0 0 22px;
  color: var(--tal-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 32em;
}
.tal-flow-icons {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  align-items: center;
  max-width: 100%;
}
.tal-flow-icons > li {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--tal-primary);
  font-size: 0.875rem;
  list-style: none !important;
  margin: 0 14px 0 0 !important;
  padding: 6px 12px 6px 6px !important;
  background: var(--tal-bg-blue);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}
.tal-flow-icons > li:last-child {
  margin-right: 0 !important;
}
.tal-flow-icons > li::before,
.tal-flow-icons > li::marker {
  content: none !important;
  display: none !important;
}
.tal-flow-icons li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: var(--tal-secondary);
  font-weight: 800;
  font-size: 0.85rem;
  background: transparent;
}
.tal-flow-icons__circle {
  display: none;
}
.tal-flow-icons .tal-ico-wrap {
  width: 32px !important;
  height: 32px !important;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 33, 58, 0.06);
}
.tal-flow-icons .tal-ico-wrap svg.tal-ico,
.tal-flow-icons svg.tal-ico {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}
.tal-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tal-hero--saas .tal-cta-primary.button {
  background: var(--tal-primary) !important;
  border-color: var(--tal-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700;
  padding: 0.85em 1.5em !important;
  min-height: 48px;
  line-height: 1.2;
}
.tal-hero--saas .tal-cta-ghost.button {
  background: #fff !important;
  border: 1.5px solid var(--tal-border) !important;
  color: var(--tal-primary) !important;
  border-radius: 999px !important;
  font-weight: 700;
  padding: 0.85em 1.5em !important;
  min-height: 48px;
  line-height: 1.2;
}

.tal-hero-art {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px;
  background: var(--tal-bg-soft);
  border-radius: var(--tal-radius-lg);
  box-shadow: var(--tal-shadow);
}
.tal-hero-art__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--tal-radius-md);
  box-shadow: none;
}

@media (max-width: 849px) {
  .tal-hero--saas {
    max-width: none;
    padding-right: 0;
    text-align: left !important;
  }
  .tal-hero--saas .tal-hero-eyebrow,
  .tal-hero--saas .tal-hero-h1,
  .tal-hero--saas .tal-hero-sub {
    text-align: left !important;
  }
  .tal-hero--saas .tal-hero-h1 {
    font-size: clamp(1.85rem, 7vw, 2.25rem);
  }
  .tal-flow-icons {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: flex-start;
  }
  .tal-hero-art {
    max-width: 100%;
    margin-top: 4px;
    padding: 8px;
  }
  .tal-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .tal-hero-cta .button {
    text-align: center;
    width: 100%;
  }
}

.tal-pain-card .tal-ico-wrap,
.tal-pkg-card .tal-ico-wrap {
  margin-bottom: 14px;
}
.tal-pkg-card .tal-ico-wrap {
  border-radius: 12px;
}
.tal-step-card .tal-ico-wrap {
  margin: 0 auto 12px;
}

/* Device stage: laptop + phone */
.tal-device-stage {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  min-height: 320px;
  padding: 12px 24px 28px;
}
.tal-device-laptop {
  background: #1e293b;
  border-radius: 14px 14px 6px 6px;
  padding: 10px 10px 0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}
.tal-device-laptop__screen {
  background: #0f172a;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.tal-device-laptop__screen img {
  display: block;
  width: 100%;
  height: auto;
}
.tal-device-laptop::after {
  content: "";
  display: block;
  height: 10px;
  background: #334155;
  border-radius: 0 0 4px 4px;
  margin: 0 -14px;
}
.tal-device-phone {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 132px;
  background: #0f172a;
  border-radius: 18px;
  padding: 8px 6px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.3);
  border: 2px solid #334155;
}
.tal-device-phone__screen {
  background: #f8fafc;
  border-radius: 12px;
  min-height: 180px;
  padding: 10px 8px;
}
.tal-chat__row {
  font-size: 10px;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  max-width: 95%;
}
.tal-chat__row--in { background: #e2e8f0; color: #0f172a; }
.tal-chat__row--out {
  background: #dbeafe;
  color: #1e3a8a;
  margin-left: auto;
}
.tal-chat__tag {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 800;
  color: var(--tal-green);
  text-align: center;
}
.tal-float-pill {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tal-navy);
  box-shadow: var(--tal-shadow);
  z-index: 2;
}
.tal-float-pill--fb { top: 6%; left: 0; }
.tal-float-pill--tt { top: 28%; right: -4px; }
.tal-float-pill--gg { bottom: 34%; left: -6px; }
.tal-float-pill--zl {
  bottom: 8%;
  right: 28%;
  background: var(--tal-green);
  color: #fff;
}

/* ===== PILLARS ===== */
.tal-pillars > .section-content {
  max-width: var(--tal-container);
  margin-left: auto;
  margin-right: auto;
}
.tal-pillars .tal-sec-head {
  margin-bottom: 40px;
}
.tal-pillars-row {
  align-items: stretch;
}
.tal-pillars-row > .col {
  display: flex;
}
.tal-pillar-card {
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: var(--tal-radius-md);
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: var(--tal-shadow);
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tal-pillar-card .tal-ico-wrap {
  width: 72px !important;
  height: 72px !important;
  margin-bottom: 18px;
}
.tal-pillar-card .tal-ico-wrap svg.tal-ico,
.tal-pillar-card svg.tal-ico {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  stroke: #fff !important;
}
.tal-pillar-card--attract .tal-ico-wrap { background: #2563eb !important; }
.tal-pillar-card--convert .tal-ico-wrap { background: var(--tal-secondary) !important; }
.tal-pillar-card--automate .tal-ico-wrap { background: #7c3aed !important; }
.tal-pillar-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.tal-pillar-card--attract .tal-pillar-card__icon { background: #2563eb; }
.tal-pillar-card--convert .tal-pillar-card__icon { background: var(--tal-secondary); }
.tal-pillar-card--automate .tal-pillar-card__icon { background: #7c3aed; }
.tal-pillar-card__stage {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tal-text-muted);
  margin-bottom: 8px;
}
.tal-pillar-card--attract .tal-pillar-card__stage { color: #2563eb; }
.tal-pillar-card--convert .tal-pillar-card__stage { color: var(--tal-secondary); }
.tal-pillar-card--automate .tal-pillar-card__stage { color: #7c3aed; }
.tal-pillar-card__title {
  margin: 0 0 18px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tal-text);
  line-height: 1.25;
}
.tal-pillar-card__mods {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tal-pillar-card__mods li {
  background: var(--tal-bg-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tal-primary);
}
@media (min-width: 850px) {
  .tal-pillars-row > .col:not(:last-child) .tal-pillar-card::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background: var(--tal-bg-blue);
    box-shadow: inset 0 0 0 1px var(--tal-border);
    z-index: 2;
  }
  .tal-pillars-row > .col:not(:last-child) .tal-pillar-card::before {
    content: "→";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tal-primary);
    font-size: 14px;
    font-weight: 800;
    z-index: 3;
    line-height: 1;
  }
}
@media (max-width: 849px) {
  .tal-pillar-card {
    margin-bottom: 8px;
  }
}

/* ===== PAIN ===== */
.tal-pain > .section-content {
  max-width: var(--tal-container);
  margin-left: auto;
  margin-right: auto;
}
.tal-pain .tal-sec-head {
  margin-bottom: 36px;
  max-width: 640px;
}
.tal-pain .row {
  align-items: stretch;
}
.tal-pain .row > .col {
  display: flex;
}
/* Flatsome sometimes emits empty twin anchors — hide them */
.tal-pain-card:not(:has(h3)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.tal-pkg-card:not(:has(h3)),
.tal-demo-card:not(:has(h3)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.tal-pain-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: var(--tal-radius-md);
  padding: 26px 22px 52px;
  box-shadow: var(--tal-shadow);
  color: inherit;
  text-decoration: none !important;
  height: 100%;
  width: 100%;
  min-height: 200px;
  max-height: none;
}
.tal-pain-card:hover {
  border-color: #c5d4e8;
  box-shadow: 0 10px 28px rgba(16, 33, 58, 0.08);
}
.tal-pain-card .tal-ico-wrap {
  width: 52px !important;
  height: 52px !important;
  margin-bottom: 16px;
  border-radius: 14px !important;
}
.tal-pain-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  margin-bottom: 14px;
}
.tal-pain-card__icon--blue { background: #3b82f6; }
.tal-pain-card__icon--green { background: var(--tal-secondary); }
.tal-pain-card__icon--orange { background: #f59e0b; }
.tal-pain-card__icon--purple { background: #8b5cf6; }
.tal-pain-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--tal-text);
  line-height: 1.35;
}
.tal-pain-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--tal-text-muted);
  line-height: 1.55;
}
.tal-pain-card__go {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tal-bg-blue);
  color: var(--tal-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
/* Reference uses + affordance */
.tal-pain-card__go {
  font-size: 0;
}
.tal-pain-card__go::before {
  content: "+";
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

/* ===== STEPS ===== */
.tal-steps .tal-steps-row {
  column-gap: 12px;
}
.tal-step-card {
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: var(--tal-radius-md);
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: var(--tal-shadow);
  height: 100%;
  width: 100%;
  position: relative;
}
.tal-step-card__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--tal-primary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.tal-step-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--tal-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
}
.tal-step-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--tal-text);
  line-height: 1.3;
}
.tal-step-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--tal-muted);
  line-height: 1.45;
}
@media (min-width: 850px) {
  .tal-steps-row > .col:not(:last-child) .tal-step-card::after {
    content: "→";
    position: absolute;
    right: -18px;
    top: 42%;
    transform: translateY(-50%);
    color: #2a9a4a;
    font-weight: 800;
    font-size: 18px;
    z-index: 2;
  }
}
@media (max-width: 849px) {
  .tal-steps-row > .col:not(:last-child) .tal-step-card::after {
    content: "↓";
    position: static;
    display: block;
    margin: 8px auto 0;
    color: var(--tal-secondary);
    font-weight: 800;
  }
}

/* ===== 5-col rows (packages + steps) ===== */
@media (min-width: 850px) {
  .tal-pkgs .row,
  .tal-steps .tal-steps-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
  }
  .tal-pkgs .row > .col,
  .tal-steps .tal-steps-row > .col {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
.tal-pkg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: var(--tal-radius-md);
  padding: 22px 16px 52px;
  box-shadow: var(--tal-shadow);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  width: 100%;
  position: relative;
}
.tal-pkg-card:hover {
  border-color: #c5d4e8;
}
.tal-pkg-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tal-bg-blue);
  color: var(--tal-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 14px;
}
.tal-pkg-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tal-text);
}
.tal-pkg-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--tal-text-muted);
  line-height: 1.5;
}
.tal-pkg-card__go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tal-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.tal-pkgs-note {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--tal-muted);
}
.tal-pkgs-note a { color: var(--tal-navy); font-weight: 700; }

/* ===== DEMO navy ===== */
.tal-demo > .section-content {
  max-width: var(--tal-container);
  margin-left: auto;
  margin-right: auto;
}
.tal-demo-copy {
  max-width: 28rem;
  margin-bottom: 0;
}
.tal-demo-copy .tal-sec-title {
  color: #fff;
}
.tal-demo-copy .tal-sec-sub {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}
.tal-demo-cta.button {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--tal-primary) !important;
  border-radius: 999px !important;
  font-weight: 700;
}
.tal-demo-card {
  display: block;
  background: #fff;
  border-radius: var(--tal-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}
.tal-demo-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.tal-demo-card__body { padding: 18px 16px 20px; }
.tal-demo-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--tal-navy);
  background: #e8eefc;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.tal-demo-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tal-text);
  line-height: 1.35;
}
.tal-demo-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--tal-muted);
}
.tal-demo-card__go {
  font-weight: 700;
  color: var(--tal-navy);
  font-size: 0.9rem;
}

/* ===== METHOD ===== */
.tal-method-card {
  text-align: center;
  padding: 12px 8px;
  position: relative;
}
.tal-method-card__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.tal-method-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tal-text);
}
.tal-method-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--tal-muted);
  line-height: 1.5;
}
@media (min-width: 850px) {
  .tal-method-row > .col:not(:last-child) .tal-method-card::after {
    content: "";
    position: absolute;
    top: 36px;
    right: -50%;
    width: 100%;
    border-top: 2px dashed #c7d2fe;
    z-index: 0;
  }
  .tal-method-row > .col:not(:last-child) .tal-method-card__num {
    position: relative;
    z-index: 1;
  }
}

/* ===== TEAM ===== */
.tal-team-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: var(--tal-radius);
  padding: 22px;
  box-shadow: var(--tal-shadow);
  height: 100%;
}
.tal-team-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tal-team-card strong {
  display: block;
  color: var(--tal-navy);
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.tal-team-card span {
  display: block;
  color: var(--tal-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.tal-team-card p {
  margin: 0;
  color: var(--tal-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tal-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 12px 16px 0;
}
.tal-quote__mark {
  font-size: 48px;
  line-height: 1;
  color: #c7d2fe;
  margin: 0;
  font-weight: 700;
}
.tal-quote blockquote {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--tal-text);
  line-height: 1.55;
  border: 0;
  padding: 0;
}
.tal-quote__who {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tal-muted);
}

/* ===== CTA BAR ===== */
.tal-cta-bar__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.tal-cta-green.button {
  background: var(--tal-green) !important;
  border-color: var(--tal-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.tal-cta-zalo.button {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.tal-site-footer .button.primary {
  background: var(--tal-secondary) !important;
  border-color: var(--tal-secondary) !important;
  border-radius: 999px !important;
}
.tal-site-footer__row {
  max-width: var(--tal-container);
  margin-left: auto;
  margin-right: auto;
}
.tal-site-footer__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tal-primary);
}
.tal-site-footer__lead {
  margin: 0;
  color: var(--tal-text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.tal-site-footer__heading {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tal-text);
}
.tal-site-footer__links,
.tal-site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tal-site-footer__links li,
.tal-site-footer__contact li {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.tal-site-footer__links a,
.tal-site-footer__contact a {
  color: var(--tal-text-muted);
  text-decoration: none;
}
.tal-site-footer__links a:hover {
  color: var(--tal-primary);
}
.tal-site-footer__cta {
  margin: 16px 0 0;
}

/*
 * Homepage token lock — beat Customizer/inline remaps
 * (--tal-secondary → primary-dark, --tal-green → #10b981).
 */
body.tal-ds-saas.home {
  --tal-primary: #34548e;
  --tal-secondary: #2a9a4a;
  --tal-green: #2a9a4a;
  --tal-green-dark: #22823d;
  --tal-text: #10213a;
  --tal-text-muted: #5f6f85;
  --tal-muted: #5f6f85;
  --tal-bg-soft: #f5f8fc;
  --tal-surface: #f5f8fc;
  --tal-border: #dce5f0;
  --tal-navy: #34548e;
  --tal-navy-deep: #263f6c;
  --tal-container: 1240px;
  --tal-radius-sm: 8px;
  --tal-radius-md: 12px;
  --tal-radius-lg: 16px;
  --tal-radius: 12px;
  --tal-shadow: 0 8px 24px rgba(16, 33, 58, 0.06);
}

/* Header CTA — DOM uses .header-button + .button.success (not .header-button-1) */
body.tal-ds-saas.home .header .header-button .button,
body.tal-ds-saas.home .header .header-button .button.success,
body.tal-ds-saas.home .header .header-button .button.primary,
body.tal-ds-saas.home .header .header-button-1 .button,
body.tal-ds-saas.home .header-button-1 .button {
  background: #2a9a4a !important;
  border-color: #2a9a4a !important;
  color: #fff !important;
}

body.tal-ds-saas.home .tal-cta-green.button {
  background: #2a9a4a !important;
  border-color: #2a9a4a !important;
}

@media (max-width: 849px) {
  .tal-device-phone { display: none; }
  .tal-float-pill { display: none; }
  .tal-hero-cta { flex-direction: column; align-items: stretch; }
  .tal-hero-cta .button { text-align: center; }
  .tal-cta-bar__btns { justify-content: flex-start; }
  .tal-team-card { flex-direction: column; align-items: center; text-align: center; }
  .tal-pkgs .row > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .tal-site-footer__col,
  .tal-site-footer__brand {
    margin-bottom: 8px;
  }
}
