/* Sajit Kumar — Growth Intelligence. Brand tokens from the Website, Brand & SEO Master Plan. */
:root {
  --color-ivory: #f7f2e7;
  --color-ivory-soft: #fcfaf4;
  --color-emerald: #064e36;
  --color-emerald-2: #0a6447;
  --color-forest: #01180e;
  --color-gold: #d6a64f;
  --color-gold-light: #f3d58a;
  --color-gold-deep: #9a6f1f;
  --color-teal: #00b98b;
  --color-text: #163328;
  --color-muted: #63756a;
  --color-sage: #eaf1e9;
  --color-border: #dcd5c4;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px -22px rgba(6, 78, 54, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(1, 24, 14, 0.45);
  --container: 1240px;
  --header-h: 84px;
  --gold-gradient: linear-gradient(100deg, #9a6f1f 0%, #d6a64f 35%, #f3d58a 55%, #c08f35 80%, #9a6f1f 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--color-text);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--color-emerald);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--color-emerald-2);
}
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--color-emerald);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
}
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.section {
  padding: clamp(64px, 9vw, 110px) 0;
}
.section--soft {
  background: var(--color-ivory-soft);
}
.section--sage {
  background: var(--color-sage);
}
.eyebrow {
  display: inline-block;
  font: 600 0.78rem/1.4 var(--font-body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 18px;
}
.gold-text {
  background: var(--gold-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
.lead {
  font-size: 1.12rem;
  color: var(--color-text);
  max-width: 640px;
}
.muted {
  color: var(--color-muted);
}
.center {
  text-align: center;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head h2 {
  margin: 0;
  max-width: 760px;
}
.section-head p {
  max-width: 400px;
  margin: 0;
  color: var(--color-muted);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center p {
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn .btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-emerald), #043826);
  color: var(--color-ivory-soft);
  box-shadow: 0 14px 30px -14px rgba(6, 78, 54, 0.7);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(6, 78, 54, 0.75), 0 0 0 4px rgba(243, 213, 138, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-ivory);
}
.btn-gold {
  background: var(--gold-gradient);
  background-size: 200% 100%;
  color: var(--color-forest);
}
.btn-gold:hover {
  color: var(--color-forest);
  background-position: 100% 0;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 12px 14px 12px 24px;
  font-size: 0.95rem;
}
.btn-sm .btn-arrow {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}
.link-arrow {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 244, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: 0 8px 24px -18px rgba(1, 24, 14, 0.35);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: 250px;
  height: auto;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header-cta {
  margin-left: 12px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-ivory-soft);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 70px) 0 clamp(40px, 6vw, 64px);
  background: radial-gradient(1200px 600px at 85% 20%, rgba(243, 213, 138, 0.28), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(234, 241, 233, 0.9), transparent 60%), var(--color-ivory);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(214, 166, 79, 0.05) 46px 47px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 22px;
}
.hero h1 .line {
  display: block;
}
.hero .lead {
  margin-bottom: 30px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  max-width: 600px;
}
.pillars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-right: 1px solid var(--color-border);
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text);
}
.pillars li:last-child {
  border-right: 0;
}
.pillars svg {
  width: 40px;
  height: 40px;
  transition: transform 0.35s ease;
}
.pillars li:hover svg {
  transform: translateY(-4px) scale(1.06);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-actions .btn-primary .btn-arrow {
  background: rgba(255, 255, 255, 0.1);
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checks svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.hero-visual .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite 1.5s;
}
.hero-visual img {
  width: 100%;
}
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(252, 250, 244, 0.95);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  animation: float 6s ease-in-out infinite;
}
.hero-badge small {
  display: block;
  font-weight: 500;
  color: var(--color-muted);
}
.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 0 0 rgba(0, 185, 139, 0.6);
  animation: pulse 2s infinite;
}
.hero-badge--a {
  left: -18px;
  bottom: 18%;
  animation-delay: -2s;
}
.hero-badge--b {
  right: -10px;
  top: 10%;
  animation-delay: -4s;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-ivory-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 22px 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 22px;
  border-right: 1px solid var(--color-border);
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--color-text);
}
.trust-strip li:last-child {
  border-right: 0;
}
.trust-strip svg {
  width: 40px;
  height: 40px;
  flex: none;
}

/* ---------- Services (dark cards) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0a5a3e 0%, var(--color-emerald) 45%, #033121 100%);
  color: var(--color-ivory);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 160px at 100% 0%, rgba(243, 213, 138, 0.22), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(243, 213, 138, 0.18);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px -24px rgba(1, 24, 14, 0.6), 0 0 0 1px rgba(243, 213, 138, 0.45);
  color: var(--color-ivory);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card svg.icon {
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
}
.service-card h3 {
  color: var(--color-ivory-soft);
  font: 600 1.12rem/1.25 var(--font-body);
  margin: 0 0 10px;
}
.service-card p {
  color: rgba(247, 242, 231, 0.78);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: auto 0 0;
}
.service-card .card-arrow {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 231, 0.4);
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover .card-arrow {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: rotate(-45deg);
}
.service-card:hover .card-arrow svg path {
  stroke: var(--color-forest);
}
.service-card .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(243, 213, 138, 0.45);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Problem + journey ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.journey {
  position: relative;
  margin-top: 46px;
  padding: 26px 0 8px;
}
.journey-track {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-border), var(--color-gold), var(--color-border));
  border-radius: 3px;
  overflow: hidden;
}
.journey-track::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
  animation: flow 3.6s linear infinite;
}
.journey ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.journey li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
}
.journey .node {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-ivory-soft);
  border: 2px solid var(--color-gold);
  box-shadow: 0 10px 24px -16px rgba(6, 78, 54, 0.6);
  transition: transform 0.3s ease, background 0.3s ease;
}
.journey .node svg {
  width: 28px;
  height: 28px;
}
.journey li:hover .node {
  transform: translateY(-4px);
  background: var(--color-sage);
}
.journey li.leak .node::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #c0563c;
  opacity: 0;
  animation: drip 3.2s ease-in infinite;
}
.journey li.leak:nth-child(3) .node::after {
  animation-delay: 0.8s;
}
.journey li.leak:nth-child(5) .node::after {
  animation-delay: 1.6s;
}
.journey .caption {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}
.journey .caption b {
  color: #a24a33;
}

/* ---------- Framework ---------- */
.framework {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: fw;
}
.framework li {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.framework li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--color-gold);
}
.framework li::before {
  counter-increment: fw;
  content: "0" counter(fw);
  display: block;
  font-variant-numeric: lining-nums;
  font: 700 2.4rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-gold);
  margin-bottom: 18px;
}
.framework li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.framework h3 {
  font-size: 1.35rem;
}
.framework p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Demo ---------- */
.demo {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #04291c, var(--color-forest));
  color: var(--color-ivory);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 280px at 90% 0%, rgba(0, 185, 139, 0.18), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(214, 166, 79, 0.16), transparent 70%);
  pointer-events: none;
}
.demo > * {
  position: relative;
}
.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.2em;
  color: var(--color-forest);
  background: var(--color-gold-light);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.demo h2,
.demo h3 {
  color: var(--color-ivory-soft);
}
.demo-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.demo-top p {
  color: rgba(247, 242, 231, 0.75);
  max-width: 560px;
  margin: 0;
}
.demo-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}
.gauge-card,
.demo-panel {
  border-radius: var(--radius);
  background: rgba(247, 242, 231, 0.04);
  border: 1px solid rgba(243, 213, 138, 0.18);
  padding: 24px;
}
.gauge {
  position: relative;
  width: 210px;
  margin: 6px auto 12px;
}
.gauge svg {
  width: 100%;
}
.gauge .value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 26px;
}
.gauge .value b {
  display: block;
  font: 700 3rem/1 var(--font-display);
  color: var(--color-gold-light);
}
.gauge .value span {
  font-size: 0.78rem;
  color: rgba(247, 242, 231, 0.7);
}
.gauge-card h3 {
  font: 600 1rem/1.3 var(--font-body);
  text-align: center;
  margin: 0;
}
.gauge-card .legend {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: rgba(247, 242, 231, 0.7);
}
.gauge-card .legend li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px dashed rgba(243, 213, 138, 0.18);
}
.gauge-card .legend b {
  color: var(--color-ivory-soft);
  font-weight: 600;
}
.demo-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.demo-steps button {
  font: 600 0.8rem/1 var(--font-body);
  color: rgba(247, 242, 231, 0.8);
  background: transparent;
  border: 1px solid rgba(243, 213, 138, 0.3);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.demo-steps button[aria-selected="true"] {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-forest);
}
.demo-steps button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.demo-view[hidden] {
  display: none;
}
.issue-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.issue {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247, 242, 231, 0.05);
  border: 1px solid rgba(243, 213, 138, 0.14);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.issue.is-in {
  opacity: 1;
  transform: none;
}
.issue .sev {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.sev--high {
  background: #e07a5f;
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.18);
}
.sev--med {
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(214, 166, 79, 0.18);
}
.sev--low {
  background: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(0, 185, 139, 0.18);
}
.issue h4 {
  font: 600 0.95rem/1.3 var(--font-body);
  color: var(--color-ivory-soft);
  margin: 0 0 2px;
}
.issue p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(247, 242, 231, 0.65);
}
.issue .conf {
  font-size: 0.72rem;
  color: var(--color-teal);
  white-space: nowrap;
  text-align: right;
}
.matrix {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(243, 213, 138, 0.2);
  background: linear-gradient(rgba(243, 213, 138, 0.12) 1px, transparent 1px) 0 50% / 100% 50%, linear-gradient(90deg, rgba(243, 213, 138, 0.12) 1px, transparent 1px) 50% 0 / 50% 100%;
}
.matrix .q {
  position: absolute;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.5);
}
.matrix .q1 {
  left: 10px;
  top: 8px;
}
.matrix .q2 {
  right: 10px;
  top: 8px;
}
.matrix .q3 {
  left: 10px;
  bottom: 8px;
}
.matrix .q4 {
  right: 10px;
  bottom: 8px;
}
.matrix .pin {
  position: absolute;
  transform: translate(-50%, -50%) scale(0);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--color-ivory-soft);
  color: var(--color-forest);
  transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.matrix.is-in .pin {
  transform: translate(-50%, -50%) scale(1);
}
.plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan li {
  padding: 16px;
  border-radius: 14px;
  background: rgba(247, 242, 231, 0.05);
  border-top: 3px solid var(--color-teal);
}
.plan li:nth-child(2) {
  border-top-color: var(--color-gold);
}
.plan li:nth-child(3) {
  border-top-color: var(--color-gold-light);
}
.plan h4 {
  font: 700 0.8rem/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin: 0 0 8px;
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.84rem;
  color: rgba(247, 242, 231, 0.8);
}
.demo-note {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: rgba(247, 242, 231, 0.55);
}

/* ---------- Human + AI ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
.duo-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
}
.duo-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.duo-card svg {
  width: 34px;
  height: 34px;
}
.duo-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.duo-card li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}
.duo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
}
.duo-card--ai li::before {
  background: var(--color-teal);
}
.duo-plus {
  display: grid;
  place-items: center;
}
.duo-plus span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: var(--color-gold-light);
  font: 700 1.6rem/1 var(--font-display);
  box-shadow: 0 0 0 8px rgba(214, 166, 79, 0.18);
  animation: pulse-ring 2.6s infinite;
}
.duo-result {
  margin-top: 22px;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--color-emerald);
  color: var(--color-ivory);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.duo-result p {
  margin: 0;
  font: 600 1.15rem/1.4 var(--font-display);
}

/* ---------- Industries / chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-ivory-soft);
  font-weight: 500;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.chips li:hover {
  border-color: var(--color-gold);
  background: #fff;
  transform: translateY(-2px);
}
.markets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.markets b {
  color: var(--color-text);
}

/* ---------- Cards (light) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(214, 166, 79, 0.7);
}
.card--sage {
  background: var(--color-sage);
}
.card svg.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.25rem;
}
.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}
.card ul {
  padding-left: 18px;
  color: var(--color-text);
}
.card .num {
  font: 700 0.78rem/1 var(--font-body);
  letter-spacing: 0.18em;
  color: var(--color-gold-deep);
  margin-bottom: 12px;
  display: block;
}
.card-dark {
  background: linear-gradient(160deg, #0a5a3e, var(--color-emerald) 50%, #033121);
  border-color: transparent;
  color: var(--color-ivory);
}
.card-dark h3 {
  color: var(--color-ivory-soft);
}
.card-dark p,
.card-dark li {
  color: rgba(247, 242, 231, 0.82);
}

/* Steps / timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  text-align: center;
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: var(--color-gold-light);
  font: 700 1rem/1 var(--font-display);
}
.steps h3 {
  font: 600 1rem/1.2 var(--font-body);
  margin: 0 0 6px;
}
.steps p {
  font-size: 0.84rem;
  color: var(--color-muted);
  margin: 0;
}
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.phase {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-emerald);
}
.phase:nth-child(2) {
  border-top-color: var(--color-gold);
}
.phase:nth-child(3) {
  border-top-color: var(--color-teal);
}
.phase .days {
  font: 700 0.78rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.phase h3 {
  margin-top: 10px;
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font: 600 1.08rem/1.4 var(--font-body);
  color: var(--color-text);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-emerald);
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--color-sage);
}
.faq details p {
  color: var(--color-muted);
  padding-bottom: 12px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 6vw, 70px);
  background: radial-gradient(900px 400px at 90% 0%, rgba(243, 213, 138, 0.3), transparent 60%), var(--color-ivory);
  overflow: hidden;
}
.page-hero h1 {
  max-width: 900px;
}
.page-hero .lead {
  max-width: 760px;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 22px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--color-border);
}
.breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--color-emerald);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-sage);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(214, 166, 79, 0.6);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.quote-band {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-emerald);
  color: var(--color-ivory);
  text-align: center;
}
.quote-band p {
  font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--font-display);
  color: var(--color-ivory-soft);
  margin: 0;
}
.quote-band .gold-text {
  display: inline;
}
.tool-group h3 {
  font: 600 1rem/1.3 var(--font-body);
  margin-bottom: 10px;
}
.tool-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tool-group li {
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 70px);
  background: linear-gradient(135deg, var(--color-emerald), #022417 70%);
  color: var(--color-ivory);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 213, 138, 0.35), transparent 65%);
  animation: glow 6s ease-in-out infinite;
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  color: var(--color-ivory-soft);
  margin: 0 0 10px;
}
.cta-band p {
  margin: 0;
  color: rgba(247, 242, 231, 0.8);
}

/* ---------- Forms ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label,
.field legend {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
}
.field .opt {
  font-weight: 400;
  color: var(--color-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 4px rgba(6, 78, 54, 0.12);
}
.field .hint {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.field .error {
  font-size: 0.82rem;
  color: #a2321e;
  min-height: 0;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #a2321e;
  box-shadow: 0 0 0 4px rgba(162, 50, 30, 0.1);
}
fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.check-grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
}
.check-grid input {
  width: auto;
  accent-color: var(--color-emerald);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-emerald);
  flex: none;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.notice--warn {
  background: #fdf3e0;
  border: 1px solid #ecd3a1;
  color: #6b4b12;
}
.notice--error {
  background: #fbe9e5;
  border: 1px solid #efc0b5;
  color: #7c2a19;
}
.side-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-emerald);
  color: var(--color-ivory);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.side-card h2,
.side-card h3 {
  color: var(--color-ivory-soft);
  font-size: 1.4rem;
}
.side-card ul {
  padding: 0;
  list-style: none;
  margin: 0 0 22px;
}
.side-card li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(243, 213, 138, 0.18);
  font-size: 0.92rem;
}
.side-card a {
  color: var(--color-gold-light);
}

/* ---------- Prose (legal pages) ---------- */
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-forest);
  color: rgba(247, 242, 231, 0.78);
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--gold-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-brand img {
  width: 240px;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 340px;
}
.site-footer h2 {
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 6px 0 18px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 10px;
  font-size: 0.94rem;
}
.site-footer a {
  color: rgba(247, 242, 231, 0.86);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--color-gold-light);
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 213, 138, 0.3);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}
.social a:hover svg path {
  fill: var(--color-forest);
}
.social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(243, 213, 138, 0.14);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(247, 242, 231, 0.55);
}
.footer-bottom p {
  margin: 0;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1fa855;
  box-shadow: 0 12px 26px -10px rgba(31, 168, 85, 0.7);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes sheen {
  0%,
  60% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 185, 139, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 185, 139, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 185, 139, 0);
  }
}
@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(214, 166, 79, 0.18);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(214, 166, 79, 0.06);
  }
}
@keyframes flow {
  to {
    left: 110%;
  }
}
@keyframes drip {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(-45deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(22px) rotate(-45deg);
  }
}
@keyframes glow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav ul {
    gap: 22px;
  }
  .brand img {
    width: 190px;
  }
}
@media (max-width: 1024px) {
  :root {
    --header-h: 74px;
  }
  .nav-toggle {
    display: grid;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-ivory-soft);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 40px -24px rgba(1, 24, 14, 0.4);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
    margin: 0;
  }
  .nav-open .main-nav {
    transform: none;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
  }
  .main-nav li a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
  }
  .main-nav a::after {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .main-nav .nav-cta {
    display: block;
    margin-top: 16px;
  }
  .hero-grid,
  .split,
  .about-grid,
  .form-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
  }
  .trust-strip ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
  }
  .trust-strip li:nth-child(3) {
    border-right: 0;
  }
  .framework {
    grid-template-columns: repeat(2, 1fr);
  }
  .framework li::after {
    display: none;
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .cards,
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .side-card {
    position: static;
  }
  .duo {
    grid-template-columns: 1fr;
  }
  .duo-plus span {
    width: 52px;
    height: 52px;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .journey ol {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 28px;
  }
  .journey-track {
    display: none;
  }
}
@media (min-width: 1025px) {
  .main-nav .nav-cta {
    display: none;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 0.98rem;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .brand img {
    width: 170px;
  }
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillars li {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    padding: 4px 2px;
  }
  .pillars svg {
    width: 32px;
    height: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-badge--a {
    left: 6px;
    bottom: 6%;
  }
  .hero-badge--b {
    right: 6px;
    top: 4%;
  }
  .hero-badge {
    font-size: 0.74rem;
    padding: 9px 12px;
  }
  .trust-strip ul {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip li {
    padding: 6px 10px;
    font-size: 0.88rem;
    border-right: 0;
  }
  .trust-strip svg {
    width: 32px;
    height: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-card {
    min-height: 210px;
    padding: 20px 16px;
  }
  .service-card .card-arrow {
    display: none;
  }
  .service-card h3 {
    padding-right: 0;
    font-size: 1rem;
  }
  .framework,
  .cards,
  .cards--2,
  .cards--4,
  .phases {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .journey ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan {
    grid-template-columns: 1fr;
  }
  .issue {
    grid-template-columns: auto 1fr;
  }
  .issue .conf {
    grid-column: 2;
    text-align: left;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-band .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Additions ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.demo-label svg {
  width: 16px;
  height: 16px;
}
.demo-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--color-teal);
}
.idle-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.idle-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247, 242, 231, 0.05);
  border: 1px dashed rgba(0, 185, 139, 0.35);
  color: rgba(247, 242, 231, 0.85);
  font-size: 0.9rem;
}
.idle-list svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.demo-idle > p {
  color: rgba(247, 242, 231, 0.8);
  margin: 0;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 64px;
  height: 64px;
  margin: 0;
}
.footer-logo b {
  display: block;
  font: 700 1.6rem/1 var(--font-display);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}
.footer-logo small {
  display: block;
  margin-top: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.7);
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
}
.contact-list a {
  word-break: break-word;
}
.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.deliverables li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.deliverables li:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.deliverables svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.deliverables b {
  display: block;
  margin-bottom: 2px;
}
.deliverables span {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.engine-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.engine-link {
  display: grid;
  place-items: center;
}
.engine-link svg {
  width: 30px;
  height: 30px;
  animation: nudge 1.8s ease-in-out infinite;
}
.score-rubric table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.score-rubric th,
.score-rubric td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.score-rubric th {
  background: var(--color-sage);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.band {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.band--strong {
  background: rgba(0, 185, 139, 0.15);
  color: #04694f;
}
.band--mid {
  background: rgba(214, 166, 79, 0.2);
  color: #7a5714;
}
.band--weak {
  background: rgba(192, 86, 60, 0.15);
  color: #8e3a25;
}
.band--na {
  background: var(--color-sage);
  color: var(--color-muted);
}
.card h3 svg {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 6px;
}
.tick-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}
.tick-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.tick-list svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.steps--7 {
  grid-template-columns: repeat(7, 1fr);
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.about-facts li {
  flex: 1 1 140px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
}
.about-facts b {
  display: block;
  font: 700 2rem/1 var(--font-display);
  color: var(--color-emerald);
  margin-bottom: 6px;
}
.about-facts span {
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.4;
  display: block;
}
.page-hero--compact {
  padding-bottom: 30px;
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice-icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}
.notice[hidden] {
  display: none;
}
.side-card li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
}
.thank-you {
  min-height: 56vh;
  display: grid;
  align-items: center;
}
.success-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-emerald);
  box-shadow: 0 0 0 10px rgba(214, 166, 79, 0.18);
  animation: pulse-ring 2.6s infinite;
}
.success-mark svg {
  width: 40px;
  height: 40px;
}
.card .icon + h3,
.card .num + .icon {
  margin-top: 0;
}
@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}
@media (max-width: 1024px) {
  .engine-flow {
    grid-template-columns: 1fr;
  }
  .engine-link svg {
    transform: rotate(90deg);
    animation: none;
  }
  .steps--7 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 680px) {
  .deliverables {
    grid-template-columns: 1fr;
  }
  .steps--7 {
    grid-template-columns: 1fr 1fr;
  }
  .demo-top .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .eyebrow {
    letter-spacing: 0.2em;
    font-size: 0.72rem;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero .lead {
    font-size: 1.02rem;
  }
}
.framework li::before,
.about-facts b,
.gauge .value b,
.steps li::before {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.btn {
  white-space: nowrap;
  justify-content: center;
}
@media (max-width: 380px) {
  .btn {
    white-space: normal;
  }
}
.card h3 svg.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 0 6px 0 0;
  vertical-align: -4px;
}
.map-link {
  color: var(--color-gold-light) !important;
  font-size: 0.86rem;
}
.side-contact li {
  align-items: flex-start;
  border-bottom: 0 !important;
  padding: 6px 0 !important;
}
.side-contact a {
  word-break: break-word;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.contact-cards {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-cards li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
}
.contact-cards svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.contact-cards b {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 4px;
}
.contact-cards span,
.contact-cards a {
  display: block;
  word-break: break-word;
}
.contact-cards span + a {
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.map-frame {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: var(--color-sage);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobile menu CTA: keep button styling over the plain menu-link styles */
.main-nav .nav-cta a.btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 12px 12px 12px 24px;
  border-bottom: 0;
  color: var(--color-ivory-soft);
  font-size: 1rem;
  font-weight: 600;
}
.main-nav .nav-cta a.btn:hover {
  color: #fff;
}
.main-nav .nav-cta a.btn .btn-arrow {
  background: var(--color-gold);
  color: var(--color-forest);
}
.captcha-label {
  font-weight: 600;
  font-size: 0.92rem;
}
.captcha-box {
  min-height: 65px;
  display: flex;
  align-items: center;
  border-radius: 12px;
}
.captcha-box.has-error {
  outline: 2px solid #a2321e;
  outline-offset: 4px;
}

/* ---------- Website Growth Snapshot (scanner) ---------- */
.scan-section {
  padding-top: 0;
}
.scan-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.scan-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.scan-head .eyebrow {
  color: var(--color-emerald);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.scan-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--color-emerald);
  margin-bottom: 8px;
}
.scan-head-icon svg {
  width: 30px;
  height: 30px;
}
.scan-form {
  margin: 22px 0 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
}
.scan-row {
  display: flex;
  gap: 12px;
}
.scan-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-ivory-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.scan-input:focus-within {
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 4px rgba(6, 78, 54, 0.12);
}
.scan-input svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.scan-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  padding: 15px 0;
  outline: none;
}
.scan-btn {
  border-radius: 12px;
  padding: 15px 26px;
}
.scan-btn:disabled {
  opacity: 0.75;
  cursor: progress;
  transform: none;
}
.scan-captcha:not(:empty) {
  margin-top: 12px;
}
.scan-status {
  margin: 10px 0 0;
  min-height: 1.3em;
  font-size: 0.9rem;
  color: var(--color-emerald);
}
.scan-status:empty {
  display: none;
}
.scan-status.is-error {
  color: #a2321e;
}
.scan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.scan-score {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.scan-score-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scan-score-top svg {
  width: 24px;
  height: 24px;
}
.scan-score h3 {
  font: 600 1.02rem/1.25 var(--font-body);
  color: var(--color-emerald);
  margin: 0;
}
.scan-sub {
  margin: 6px 0 4px;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.scan-value {
  margin: 0;
  font: 700 1.6rem/1.1 var(--font-body);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.scan-value span {
  font-size: 1.1rem;
  color: var(--color-muted);
  font-weight: 600;
}
.scan-bar {
  height: 6px;
  margin: 10px 0;
  border-radius: 999px;
  background: var(--color-sage);
  overflow: hidden;
}
.scan-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--color-muted);
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scan-issues {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.scan-score.band-good .scan-value b {
  color: #04694f;
}
.scan-score.band-good .scan-bar i {
  background: var(--color-teal);
}
.scan-score.band-mid .scan-value b {
  color: #8a5f12;
}
.scan-score.band-mid .scan-bar i {
  background: var(--color-gold);
}
.scan-score.band-poor .scan-value b {
  color: #a2321e;
}
.scan-score.band-poor .scan-bar i {
  background: #d0583e;
}
.scan-score.band-good,
.scan-score.band-mid,
.scan-score.band-poor {
  box-shadow: 0 10px 24px -18px rgba(6, 78, 54, 0.5);
}
.scan-score.is-loading {
  border-color: rgba(0, 185, 139, 0.6);
}
.scan-score.is-loading .scan-bar i {
  width: 40% !important;
  background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
  animation: scan-sweep 1.2s ease-in-out infinite;
}
.scan-score.is-loading .scan-sub {
  color: var(--color-emerald);
}
.scan-score.is-na .scan-issues {
  color: #8a5f12;
}
@keyframes scan-sweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}
.scan-details {
  margin-top: 10px;
  font-size: 0.82rem;
}
.scan-details[hidden] {
  display: none;
}
.scan-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-emerald);
}
.scan-details ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--color-text);
  line-height: 1.45;
}
.scan-details li {
  margin-bottom: 6px;
}
.scan-details li.metric {
  list-style: none;
  margin-left: -16px;
  font-weight: 600;
  color: var(--color-emerald);
}
.scan-details li.note {
  list-style: none;
  margin-left: -16px;
  color: var(--color-muted);
  font-style: italic;
}
.scan-rubric {
  margin: 16px 0 0;
  font-size: 0.9rem;
}
.scan-rubric summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-emerald);
}
.scan-rubric-body {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
}
.scan-rubric-body p {
  margin: 0 0 8px;
}
.scan-rubric-body p:last-child {
  margin: 0;
}
.scan-cta {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--color-emerald);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.scan-cta h3 {
  color: var(--color-ivory-soft);
  font: 700 1.3rem/1.3 var(--font-body);
  margin: 0 0 6px;
}
.scan-cta p {
  margin: 0;
  color: rgba(247, 242, 231, 0.82);
}
@media (max-width: 1024px) {
  .scan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scan-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 680px) {
  .scan-row {
    flex-direction: column;
  }
  .scan-btn {
    width: 100%;
  }
  .scan-head-icon {
    display: none;
  }
  .scan-cta .btn {
    width: 100%;
    white-space: normal;
  }
}
@media (max-width: 420px) {
  .scan-grid {
    grid-template-columns: 1fr;
  }
}

/* Scanner links: hero pill + menu highlight */
.scan-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  background: var(--color-ivory-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -16px rgba(6, 78, 54, 0.6);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.scan-link:hover {
  color: var(--color-text);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(6, 78, 54, 0.7);
}
.scan-link b {
  color: var(--color-emerald);
}
.scan-link-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--color-sage);
}
.scan-link-icon svg {
  width: 17px;
  height: 17px;
}
.scan-link-arrow {
  color: var(--color-emerald);
  font-weight: 700;
  transition: transform 0.25s ease;
}
.scan-link:hover .scan-link-arrow {
  transform: translateX(4px);
}
.main-nav a[href$="#website-scan"] {
  color: var(--color-emerald);
  font-weight: 600;
}
@media (min-width: 1025px) {
  .main-nav ul {
    gap: 26px;
  }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .main-nav ul {
    gap: 18px;
  }
  .main-nav a {
    font-size: 0.92rem;
  }
  .brand img {
    width: 190px;
  }
}
@media (max-width: 680px) {
  .scan-link {
    display: flex;
    font-size: 0.86rem;
  }
}
.main-nav a {
  white-space: nowrap;
}

/* ---------- Live scanner inside the dark "See the Engine Think." block ---------- */
.scan-live .demo-top {
  align-items: flex-start;
}
.scan-form-dark {
  width: min(100%, 440px);
  display: grid;
  gap: 10px;
}
.scan-input-dark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(247, 242, 231, 0.07);
  border: 1px solid rgba(243, 213, 138, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.scan-input-dark:focus-within {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 0 4px rgba(243, 213, 138, 0.15);
}
.scan-input-dark svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.scan-input-dark input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-ivory-soft);
  font: inherit;
  font-size: 1rem;
  padding: 15px 0;
  outline: none;
}
.scan-input-dark input::placeholder {
  color: rgba(247, 242, 231, 0.5);
}
.scan-form-dark .scan-btn {
  width: 100%;
  justify-content: center;
  padding: 17px 26px;
  font-size: 1.05rem;
}
.scan-form-dark .scan-btn:disabled {
  opacity: 0.8;
  cursor: progress;
}
.scan-form-dark .scan-captcha:empty {
  display: none;
}
.scan-form-dark .demo-status {
  margin: 0;
  color: rgba(247, 242, 231, 0.8);
}
.scan-form-dark .demo-status:empty {
  display: none;
}
.scan-form-dark .demo-status.is-error {
  color: #ffb4a3;
}
.scan-live .legend b.band-good {
  color: #4ee0b5;
}
.scan-live .legend b.band-mid {
  color: var(--color-gold-light);
}
.scan-live .legend b.band-poor {
  color: #ff9c86;
}
.scan-live .demo-steps button {
  position: relative;
}
.scan-live .demo-steps button.is-loading::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: pulse 1.4s infinite;
}
.scan-live .demo-steps button.band-good:not([aria-selected="true"]) {
  border-color: rgba(78, 224, 181, 0.6);
}
.scan-live .demo-steps button.band-mid:not([aria-selected="true"]) {
  border-color: rgba(243, 213, 138, 0.7);
}
.scan-live .demo-steps button.band-poor:not([aria-selected="true"]) {
  border-color: rgba(255, 156, 134, 0.7);
}
.scan-panel {
  min-height: 220px;
}
.scan-intro {
  color: rgba(247, 242, 231, 0.85);
  margin: 0 0 10px;
}
.muted-dark {
  color: rgba(247, 242, 231, 0.6);
  font-size: 0.92rem;
}
.scan-loading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(247, 242, 231, 0.05);
  border: 1px dashed rgba(0, 185, 139, 0.4);
}
.scan-loading b {
  color: var(--color-ivory-soft);
}
.scan-loading p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: rgba(247, 242, 231, 0.7);
}
.scan-spinner {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 3px solid rgba(0, 185, 139, 0.25);
  border-top-color: var(--color-teal);
  animation: spin360 0.9s linear infinite;
}
@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}
.scan-na {
  padding: 18px;
  border-radius: 14px;
  background: rgba(243, 213, 138, 0.08);
  border: 1px solid rgba(243, 213, 138, 0.3);
}
.scan-na b {
  color: var(--color-gold-light);
}
.scan-na p {
  margin: 6px 0 0;
  color: rgba(247, 242, 231, 0.8);
  font-size: 0.9rem;
}
.scan-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.scan-cat-head h4 {
  font: 700 1.15rem/1.3 var(--font-body);
  color: var(--color-ivory-soft);
  margin: 0 0 4px;
}
.scan-cat-head p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(247, 242, 231, 0.65);
}
.scan-cat-score {
  text-align: right;
  white-space: nowrap;
}
.scan-cat-score b {
  display: block;
  font: 700 2.2rem/1 var(--font-display);
  font-variant-numeric: lining-nums;
}
.scan-cat-score span {
  font-size: 0.78rem;
  color: rgba(247, 242, 231, 0.7);
}
.scan-cat-score.band-good b {
  color: #4ee0b5;
}
.scan-cat-score.band-mid b {
  color: var(--color-gold-light);
}
.scan-cat-score.band-poor b {
  color: #ff9c86;
}
.scan-cat-bar {
  height: 6px;
  margin: 14px 0 16px;
  border-radius: 999px;
  background: rgba(247, 242, 231, 0.1);
  overflow: hidden;
}
.scan-cat-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  animation: grow-bar 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scan-cat-bar i.band-good {
  background: var(--color-teal);
}
.scan-cat-bar i.band-mid {
  background: var(--color-gold);
}
.scan-cat-bar i.band-poor {
  background: #e07a5f;
}
@keyframes grow-bar {
  from {
    width: 0 !important;
  }
}
.scan-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.scan-metrics li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(247, 242, 231, 0.05);
  border: 1px solid rgba(243, 213, 138, 0.14);
}
.scan-metrics span {
  display: block;
  font-size: 0.72rem;
  color: rgba(247, 242, 231, 0.6);
}
.scan-metrics b {
  color: var(--color-ivory-soft);
}
.scan-live .issue h4 {
  font-weight: 500;
}
.scan-passed {
  margin-top: 14px;
  font-size: 0.86rem;
  color: rgba(247, 242, 231, 0.75);
}
.scan-passed summary {
  cursor: pointer;
  color: #4ee0b5;
  font-weight: 600;
}
.scan-passed ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  columns: 2;
}
.scan-passed li {
  padding: 3px 0;
  break-inside: avoid;
}
.scan-rubric-dark {
  margin-top: 18px;
  font-size: 0.86rem;
  color: rgba(247, 242, 231, 0.75);
}
.scan-rubric-dark summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-gold-light);
}
.scan-rubric-dark > div {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247, 242, 231, 0.04);
  border: 1px solid rgba(243, 213, 138, 0.15);
}
.scan-rubric-dark p {
  margin: 0 0 8px;
}
.scan-rubric-dark b {
  color: var(--color-ivory-soft);
}
.scan-cta-below {
  margin-top: 22px;
}
@media (max-width: 1024px) {
  .scan-form-dark {
    width: 100%;
  }
}
@media (max-width: 680px) {
  .scan-cat-head {
    flex-direction: column;
  }
  .scan-cat-score {
    text-align: left;
  }
  .scan-passed ul {
    columns: 1;
  }
  .scan-live .demo-steps button {
    flex: 1 1 calc(50% - 8px);
  }
}

/* ---------- Certifications (homepage) ---------- */
.certs {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #0b5a3f 0%, var(--color-emerald) 38%, var(--color-forest) 100%);
  color: var(--color-ivory);
}
.certs .section-head h2 { color: var(--color-ivory); }
.certs .section-head p { color: rgba(247, 242, 231, 0.78); }
.certs .eyebrow { color: var(--color-gold-light); }
.certs-glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  background: radial-gradient(50% 60% at 50% 50%, rgba(214, 166, 79, 0.22), transparent 70%);
  pointer-events: none;
}

.cert-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  perspective: 1200px;
}
.cert-item { width: min(100%, 360px); }

/* Entrance: each certificate rises and settles from a slight tilt, one after another. */
.certs .cert-item.reveal {
  transform: translateY(46px) rotateX(14deg) scale(0.94);
  transform-origin: 50% 100%;
}
.certs .cert-item.reveal.is-in { transform: none; }

.cert-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 12px 0;
  border: 1px solid rgba(243, 213, 138, 0.28);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(252, 250, 244, 0.1), rgba(252, 250, 244, 0.03));
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease, background 0.45s ease;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* Soft gold light that follows the cursor across the card */
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(243, 213, 138, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cert-card:hover,
.cert-card:focus-visible {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px);
  border-color: rgba(243, 213, 138, 0.75);
  background: linear-gradient(160deg, rgba(252, 250, 244, 0.16), rgba(252, 250, 244, 0.05));
  box-shadow: 0 40px 70px -32px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(243, 213, 138, 0.25), 0 18px 60px -20px rgba(214, 166, 79, 0.55);
}
.cert-card:hover::before,
.cert-card:focus-visible::before { opacity: 1; }
.cert-card:focus-visible { outline: 2px solid var(--color-gold-light); outline-offset: 4px; }

.cert-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(154, 111, 31, 0.35);
  transform: translateZ(28px);
}
.cert-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cert-card:hover .cert-frame img { transform: scale(1.045); }

/* Gold light sweep across the certificate on hover */
.cert-shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 179, 0.0) 44%, rgba(255, 236, 179, 0.55) 50%, rgba(255, 236, 179, 0.0) 56%, transparent 60%);
  transform: translateX(-70%);
  pointer-events: none;
}
.cert-card:hover .cert-shine,
.cert-card:focus-visible .cert-shine { animation: cert-sweep 1.1s ease forwards; }
@keyframes cert-sweep {
  to { transform: translateX(70%); }
}

.cert-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(243, 213, 138, 0.7);
  transform: translateZ(60px);
  animation: cert-float 4.5s ease-in-out infinite;
}
@keyframes cert-float {
  0%, 100% { translate: 0 0; rotate: -4deg; }
  50% { translate: 0 -7px; rotate: 4deg; }
}

.cert-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0.4rem 1.1rem;
  transform: translateZ(18px);
}
.cert-issuer {
  align-self: flex-start;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 213, 138, 0.45);
  color: var(--color-gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease;
}
.cert-card:hover .cert-issuer { background: var(--gold-gradient); color: var(--color-forest); border-color: transparent; }
.cert-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--color-ivory);
}
.cert-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: rgba(247, 242, 231, 0.65);
}
.cert-view {
  color: var(--color-gold-light);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cert-card:hover .cert-view,
.cert-card:focus-visible .cert-view { opacity: 1; transform: none; }

/* Full-size viewer */
.cert-dialog {
  width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid rgba(243, 213, 138, 0.5);
  border-radius: 20px;
  background: var(--color-forest);
  color: var(--color-ivory);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.cert-dialog::backdrop {
  background: rgba(1, 24, 14, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cert-dialog[open] { animation: cert-pop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes cert-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.cert-dialog__img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 90px);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.cert-dialog__caption {
  margin: 0.8rem 0.2rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-gold-light);
}
.cert-dialog__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(1, 24, 14, 0.75);
  color: var(--color-ivory);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cert-dialog__close:hover { background: var(--color-gold); color: var(--color-forest); }

@media (max-width: 700px) {
  .cert-grid { gap: 1.4rem; margin-top: 2.2rem; }
  .cert-item { width: 100%; }
  .cert-badge { width: 60px; height: 60px; top: -12px; right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  .certs .cert-item.reveal { transform: none; }
  .cert-card,
  .cert-card:hover,
  .cert-card:focus-visible { transform: none; }
  .cert-badge,
  .cert-card:hover .cert-shine,
  .cert-dialog[open] { animation: none; }
  .cert-card:hover .cert-frame img { transform: none; }
}

/* Service card focus tags (SEO · GEO · AEO …) */
.service-card .card-tags {
  display: block;
  color: var(--color-gold-light, #f3d58a);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin: 0 0 12px;
}
