/* =========================================================
   AirDoc AI v5 — final interaction and layout refinement
   Loaded after v4.css and therefore acts as the final layer.
   ========================================================= */

:root {
  --v5-ease: cubic-bezier(.22, .78, .22, 1);
  --v5-border: rgba(11, 60, 93, .11);
  --v5-soft: #f4fbff;
  --v5-shadow: 0 22px 58px rgba(11, 60, 93, .1);
  --v5-shadow-lg: 0 32px 90px rgba(11, 60, 93, .15);
}

/* Global rhythm and safe typography */
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip
}

body {
  overflow-x: visible
}

.section-split-heading {
  gap: 32px
}

.section-split-heading>div {
  max-width: 820px
}

.section-split-heading .section-copy {
  max-width: 700px;
  margin-top: 18px
}

/* =========================================================
   Updated viewport-fit hero
   ========================================================= */
.home-hero.home-hero-v5 {
  height: 100svh;
  min-height: 720px;
  max-height: 960px;
  padding-top: 96px;
  padding-bottom: 18px;
}

.home-hero-v5 .home-hero-grid {
  min-height: calc(100svh - 114px);
  max-height: 840px;
  align-content: center;
}

.home-hero-v5 .home-hero-copy {
  padding: 8px 0 28px
}

.home-hero-v5 h1 {
  font-size: clamp(3.3rem, 5.75vw, 5.95rem);
  line-height: .955;
  margin: 16px 0 20px
}

.home-hero-v5 .hero-lead {
  font-size: clamp(.98rem, 1.16vw, 1.13rem);
  line-height: 1.62;
  margin-bottom: 21px
}

.home-hero-v5 .hero-pipeline {
  height: min(61vh, 555px)
}

.home-hero-v5 .pipeline-window {
  inset: 3% 1% 5%
}

.home-hero-v5 .hero-actions {
  gap: 9px 11px
}

.home-hero-v5 .trial-note {
  margin-top: 15px
}

.home-hero-v5 .hero-trust-row {
  margin-top: 16px
}

/* =========================================================
   Ordered workflow story
   ========================================================= */
.workflow-section-v5 {
  background: linear-gradient(180deg, #fff 0%, #f8fcff 100%)
}

.workflow-heading-v5 {
  align-items: flex-end
}

.workflow-heading-v5 .section-copy {
  max-width: 520px
}

.workflow-sequence-v5 {
  display: grid;
  grid-template-columns: minmax(470px, .94fr) minmax(0, 1.06fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}

.workflow-visual-v5 {
  position: sticky;
  top: 116px;
  height: fit-content;
  min-width: 0;
  z-index: 2;
}

.workflow-console-v5 {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(29, 161, 242, .16);
  border-radius: 34px;
  padding: 24px;
  background:
    radial-gradient(circle at 72% 25%, rgba(34, 211, 238, .16), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(29, 161, 242, .11), transparent 34%),
    linear-gradient(145deg, #fbfeff 0%, #edf9ff 100%);
  box-shadow: var(--v5-shadow-lg);
  isolation: isolate;
}

.workflow-console-v5::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(11, 60, 93, .024) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 60, 93, .024) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.workflow-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v5-border);
  font-size: .8rem;
  color: #5b7486
}

.workflow-console-head>div {
  display: flex;
  align-items: center;
  gap: 9px
}

.workflow-console-head strong {
  color: var(--deep)
}

.console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25b883;
  box-shadow: 0 0 0 6px rgba(37, 184, 131, .1)
}

.workflow-counter {
  font-variant-numeric: tabular-nums
}

.workflow-counter b {
  color: var(--blue);
  font-size: 1rem
}

.workflow-stage-track {
  position: relative;
  margin: 28px 0 25px
}

.workflow-stage-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 22px;
  height: 2px;
  background: #dceaf2;
  border-radius: 99px;
  overflow: hidden
}

.workflow-stage-line i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(34, 211, 238, .7);
  transition: width .55s var(--v5-ease)
}

.workflow-stage-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px
}

.workflow-node-v5 {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #7990a0;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  transition: color .3s var(--v5-ease), transform .3s var(--v5-ease)
}

.workflow-node-v5 .icon {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #d9e8f1;
  box-shadow: 0 8px 20px rgba(11, 60, 93, .06);
  transition: .35s var(--v5-ease)
}

.workflow-node-v5 span {
  font-size: .62rem;
  font-weight: 720;
  white-space: nowrap
}

.workflow-node-v5.active,
.workflow-node-v5.complete {
  color: var(--blue)
}

.workflow-node-v5.complete .icon {
  background: #e9f8ff;
  border-color: rgba(29, 161, 242, .28)
}

.workflow-node-v5.active {
  transform: translateY(-3px)
}

.workflow-node-v5.active .icon {
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #158be0);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(29, 161, 242, .28)
}

.workflow-stage-panels {
  position: relative;
  min-height: 335px
}

.workflow-stage-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-content: start;
  gap: 19px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.985);
  transition: opacity .42s ease, transform .48s var(--v5-ease), visibility .42s;
  padding: 26px 26px 24px;
  border: 1px solid rgba(29, 161, 242, .14);
  border-radius: 25px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 44px rgba(11, 60, 93, .085);
  backdrop-filter: blur(15px)
}

.workflow-stage-panel.active {
  opacity: 1;
  visibility: visible;
  transform: none
}

.stage-panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, #e8f7ff, #fff);
  border: 1px solid rgba(29, 161, 242, .16)
}

.stage-panel-icon .icon {
  width: 27px;
  height: 27px
}

.stage-panel-label {
  display: block;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 1px 0 6px
}

.workflow-stage-panel h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  margin: 0 0 9px;
  line-height: 1.08
}

.workflow-stage-panel p {
  margin: 0;
  color: #60798b;
  font-size: .93rem;
  line-height: 1.65
}

.stage-document-card,
.stage-fields,
.stage-checks,
.stage-ready {
  grid-column: 1/-1;
  margin-top: 4px
}

.stage-document-card {
  display: grid;
  padding: 15px 17px;
  border-radius: 16px;
  background: #f4faff;
  border: 1px solid #deedf5
}

.stage-document-card span,
.stage-document-card small {
  color: #6b8495;
  font-size: .72rem
}

.stage-document-card strong {
  font-size: 1.05rem;
  margin: 3px 0;
  color: var(--deep)
}

.stage-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px
}

.stage-fields span {
  padding: 13px;
  border-radius: 14px;
  background: #f4faff;
  border: 1px solid #e0edf4
}

.stage-fields small,
.stage-fields strong {
  display: block
}

.stage-fields small {
  font-size: .67rem;
  color: #738b9b
}

.stage-fields strong {
  font-size: .9rem;
  margin-top: 3px
}

.stage-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.stage-checks span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px;
  border-radius: 13px;
  background: #eaf9f3;
  color: #197258;
  font-size: .72rem;
  font-weight: 700
}

.stage-checks .icon {
  width: 14px;
  height: 14px
}

.stage-ready {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 17px;
  background: #ebfaf5;
  border: 1px solid #d1f0e3
}

.stage-ready small,
.stage-ready strong {
  display: block
}

.stage-ready small {
  font-size: .68rem;
  color: #4c7d6d
}

.stage-ready strong {
  color: #176c53
}

.xero-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #13b5ea;
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: -.04em
}

.workflow-doc-mascot {
  position: absolute;
  right: 15px;
  bottom: -13px;
  width: 142px;
  filter: drop-shadow(0 20px 24px rgba(11, 60, 93, .19));
  z-index: 3;
  pointer-events: none
}

.workflow-copy-v5 {
  display: grid;
  gap: 18px;
  padding-bottom: 22vh
}

.workflow-step-v5 {
  appearance: none;
  width: 100%;
  min-height: 180px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--v5-border);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  color: var(--deep);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(11, 60, 93, .045);
  opacity: .55;
  transition: opacity .35s, transform .38s var(--v5-ease), border-color .35s, box-shadow .35s, background .35s
}

.workflow-step-v5:hover {
  opacity: .84;
  transform: translateX(5px);
  border-color: rgba(29, 161, 242, .28)
}

.workflow-step-v5.active {
  opacity: 1;
  transform: translateX(10px);
  border-color: rgba(29, 161, 242, .4);
  background: linear-gradient(135deg, #fff, #f1faff);
  box-shadow: 0 18px 48px rgba(29, 161, 242, .13)
}

.workflow-step-number {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #edf8ff;
  color: var(--blue);
  font-weight: 850;
  transition: .35s var(--v5-ease)
}

.workflow-step-v5.active .workflow-step-number {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(29, 161, 242, .25)
}

.workflow-step-v5 small,
.workflow-step-v5 strong,
.workflow-step-v5 em {
  display: block
}

.workflow-step-v5 small {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 5px
}

.workflow-step-v5 strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.16;
  margin-bottom: 8px
}

.workflow-step-v5 em {
  font-style: normal;
  color: #627b8c;
  font-size: .9rem;
  line-height: 1.58
}

.workflow-step-v5>.icon {
  width: 20px;
  height: 20px;
  color: #a7bbc8;
  margin-top: 14px;
  transition: .35s
}

.workflow-step-v5.active>.icon {
  color: var(--blue);
  transform: translateX(3px)
}

/* =========================================================
   About — interactive direction roadmap
   ========================================================= */
.about-direction-v5 {
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
  overflow: clip
}

.direction-layout-v5 {
  display: grid;
  grid-template-columns: minmax(370px, .84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start
}

.direction-intro-v5 {
  position: sticky;
  top: 120px;
  min-width: 0
}

.direction-intro-v5 .section-copy {
  max-width: 610px
}

.direction-visual-v5 {
  position: relative;
  height: 320px;
  margin-top: 28px;
  border: 1px solid rgba(29, 161, 242, .14);
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, rgba(34, 211, 238, .18), transparent 34%), linear-gradient(145deg, #fff, #eaf8ff);
  box-shadow: var(--v5-shadow)
}

.direction-visual-v5::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 60, 93, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 60, 93, .025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent)
}

.direction-visual-v5 img {
  position: absolute;
  width: 190px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 28px rgba(11, 60, 93, .19));
  z-index: 2
}

.direction-orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(29, 161, 242, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(29, 161, 242, .035), 0 0 0 50px rgba(34, 211, 238, .02);
  animation: directionOrbit 8s linear infinite
}

.direction-orbit::before,
.direction-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan)
}

.direction-orbit::before {
  top: 14px;
  left: 37px
}

.direction-orbit::after {
  right: 8px;
  bottom: 60px
}

@keyframes directionOrbit {
  to {
    rotate: 360deg
  }
}

.direction-active-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  z-index: 3;
  padding: 12px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(29, 161, 242, .14);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(11, 60, 93, .08)
}

.direction-active-label small,
.direction-active-label strong {
  display: block
}

.direction-active-label small {
  font-size: .65rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800
}

.direction-active-label strong {
  font-size: .92rem;
  margin-top: 2px
}

.direction-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px
}

.direction-progress>span {
  height: 7px;
  border-radius: 99px;
  background: #e4eff5;
  overflow: hidden
}

.direction-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .45s var(--v5-ease)
}

.direction-progress small {
  color: #6b8291;
  font-variant-numeric: tabular-nums
}

.direction-progress b {
  color: var(--blue)
}

.direction-path-v5 {
  display: grid;
  gap: 14px
}

.direction-card-v5 {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) 22px;
  gap: 15px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--v5-border);
  border-radius: 23px;
  padding: 20px;
  background: #fff;
  color: var(--deep);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 7px 24px rgba(11, 60, 93, .045);
  transition: .38s var(--v5-ease)
}

.direction-card-v5:hover {
  transform: translateX(-5px);
  border-color: rgba(29, 161, 242, .32);
  box-shadow: 0 16px 38px rgba(11, 60, 93, .09)
}

.direction-card-v5.active {
  transform: translateX(-9px);
  border-color: rgba(29, 161, 242, .42);
  background: linear-gradient(135deg, #fff 0%, #eef9ff 100%);
  box-shadow: 0 20px 52px rgba(29, 161, 242, .14)
}

.direction-number {
  font-size: .72rem;
  font-weight: 850;
  color: #91a6b4;
  padding-top: 14px;
  font-variant-numeric: tabular-nums
}

.direction-card-v5.active .direction-number {
  color: var(--blue)
}

.direction-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #edf8ff;
  color: var(--blue);
  transition: .35s
}

.direction-card-icon .icon {
  width: 21px;
  height: 21px
}

.direction-card-v5.active .direction-card-icon {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 25px rgba(29, 161, 242, .23)
}

.direction-card-copy small,
.direction-card-copy strong,
.direction-card-copy em,
.direction-outcome {
  display: block
}

.direction-card-copy small {
  color: var(--blue);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin: 1px 0 4px
}

.direction-card-copy strong {
  font-size: 1.18rem;
  line-height: 1.2
}

.direction-card-copy em {
  font-style: normal;
  color: #647c8d;
  font-size: .87rem;
  line-height: 1.58;
  margin-top: 7px
}

.direction-outcome {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: #365f78;
  font-size: .8rem;
  line-height: 1.5;
  padding-top: 0;
  transition: max-height .4s var(--v5-ease), opacity .3s, padding .35s
}

.direction-card-v5.active .direction-outcome {
  max-height: 90px;
  opacity: 1;
  padding-top: 12px
}

.direction-arrow {
  width: 19px;
  height: 19px;
  color: #a5bac7;
  margin-top: 14px;
  transition: .35s
}

.direction-card-v5.active .direction-arrow {
  color: var(--blue);
  transform: translateX(3px)
}

/* =========================================================
   Editorial blog cards — content is always visible
   ========================================================= */
.home-blog-list-v5,
.blog-list-v5 {
  display: grid;
  gap: 18px
}

.home-blog-list-v5 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.home-blog-list-v5 .blog-row-card-v5:first-child {
  grid-column: 1/-1
}

.blog-row-card-v5 {
  display: grid;
  grid-template-columns: minmax(210px, 38%) minmax(0, 1fr);
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--v5-border);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(11, 60, 93, .065);
  transition: transform .38s var(--v5-ease), box-shadow .38s, border-color .3s
}

.blog-row-card-v5:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 54px rgba(11, 60, 93, .12);
  border-color: rgba(29, 161, 242, .27)
}

.blog-row-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e9f7ff;
  min-height: 100%
}

.blog-row-media img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  aspect-ratio: auto;
  transition: transform .65s var(--v5-ease), filter .5s
}

.blog-row-card-v5:hover .blog-row-media img {
  transform: scale(1.045);
  filter: saturate(1.04)
}

.blog-row-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.6vw, 32px);
  min-width: 0
}

.blog-row-body .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: #6b8291;
  font-size: .72rem
}

.blog-row-body .blog-meta span:first-child {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em
}

.blog-row-body h3 {
  font-size: clamp(1.35rem, 2.15vw, 2.05rem);
  line-height: 1.16;
  margin: 13px 0 10px;
  letter-spacing: -.014em !important
}

.blog-row-body h3 a {
  color: var(--deep);
  transition: color .2s
}

.blog-row-card-v5:hover h3 a {
  color: var(--blue)
}

.blog-row-body p {
  margin: 0 0 20px;
  color: #617a8b;
  font-size: .88rem;
  line-height: 1.65
}

.blog-row-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--blue);
  font-size: .84rem;
  font-weight: 780
}

.blog-row-link .icon {
  width: 16px;
  height: 16px;
  transition: transform .25s
}

.blog-row-card-v5:hover .blog-row-link .icon {
  transform: translateX(4px)
}

.home-blog-list-v5 .blog-row-card-v5:not(:first-child) {
  grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
  min-height: 225px
}

.home-blog-list-v5 .blog-row-card-v5:not(:first-child) .blog-row-media img {
  min-height: 225px
}

.home-blog-list-v5 .blog-row-card-v5:not(:first-child) .blog-row-body {
  padding: 24px
}

.home-blog-list-v5 .blog-row-card-v5:not(:first-child) h3 {
  font-size: 1.35rem
}

.featured-blog-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  overflow: hidden;
  border: 1px solid var(--v5-border);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--v5-shadow-lg)
}

.featured-blog-media-v5 {
  position: relative;
  display: block;
  min-height: 500px;
  overflow: hidden
}

.featured-blog-media-v5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--v5-ease)
}

.featured-blog-v5:hover .featured-blog-media-v5 img {
  transform: scale(1.035)
}

.featured-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(10px)
}

.featured-blog-body-v5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(32px, 4.3vw, 58px)
}

.featured-blog-body-v5 h2 {
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.02;
  margin: 18px 0 16px
}

.featured-blog-body-v5 h2 a {
  color: var(--deep)
}

.featured-blog-body-v5 p {
  color: #60798b;
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 0 25px
}

.featured-blog-body-v5 .btn {
  margin-top: 0 !important
}

.blog-list-v5 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.blog-archive-row {
  grid-template-columns: 1fr;
  min-height: 0
}

.blog-archive-row .blog-row-media {
  min-height: 0
}

.blog-archive-row .blog-row-media img {
  min-height: 0;
  height: 210px;
  aspect-ratio: 16/9;
  object-fit: cover
}

.blog-archive-row .blog-row-body {
  padding: 24px
}

.blog-archive-row h3 {
  font-size: 1.45rem
}

.blog-archive-row p {
  font-size: .84rem
}

.filters {
  margin-bottom: 30px
}

/* =========================================================
   Contact form controls
   ========================================================= */
.contact-form-v5 {
  overflow: hidden
}

.contact-form-v5 .tabs {
  padding: 6px;
  background: #edf7fc;
  border-radius: 15px;
  gap: 6px
}

.contact-form-v5 .tab-btn {
  min-height: 43px;
  border-radius: 11px
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control {
  display: block;
  width: 100%;
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item {
  margin-left: 0 !important;
  width: 100%;
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dce8f0;
  border-radius: 14px;
  background: #f9fcfe;
  color: #60798b;
  cursor: pointer
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  max-width: 19px !important;
  max-height: 19px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #9db6c5 !important;
  border-radius: 6px !important;
  background: #fff !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none !important;
  transition: .2s
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .16s var(--v5-ease);
  margin-top: -2px
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label input[type="checkbox"]:checked {
  background: var(--blue) !important;
  border-color: var(--blue) !important
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1)
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(34, 211, 238, .5);
  outline-offset: 3px
}

.contact-form-v5 .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label span {
  font-size: .82rem;
  line-height: 1.55
}

/* =========================================================
   Mascot motion system — independent translate property avoids
   conflicts with reveal and layout transforms.
   ========================================================= */
.mascot-float {
  animation: mascotFloatV5 5.8s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: transform;
  transition: filter .35s ease
}

.mascot-float:hover {
  filter: drop-shadow(0 25px 28px rgba(11, 60, 93, .23)) brightness(1.02)
}

@keyframes mascotFloatV5 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* General quality fixes */
.form-card,
.contact-aside,
.tool-side,
.tool-main {
  min-width: 0
}

.contact-layout {
  align-items: start
}

.contact-form-v5 input,
.contact-form-v5 select,
.contact-form-v5 textarea {
  font-size: 16px
}

.blog-row-card-v5[hidden] {
  display: none !important
}

/* =========================================================
   Responsive layouts
   ========================================================= */
@media(max-width:1100px) {
  .workflow-sequence-v5 {
    grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
    gap: 42px
  }

  .workflow-console-v5 {
    min-height: 610px;
    padding: 21px
  }

  .workflow-doc-mascot {
    width: 120px
  }

  .workflow-stage-panel {
    padding: 22px
  }

  .workflow-step-v5 {
    min-height: 165px
  }

  .direction-layout-v5 {
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr);
    gap: 46px
  }

  .home-blog-list-v5 {
    grid-template-columns: 1fr
  }

  .blog-list-v5 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .home-blog-list-v5 .blog-row-card-v5:first-child {
    grid-column: auto
  }

  .home-blog-list-v5 .blog-row-card-v5:not(:first-child) {
    grid-template-columns: minmax(210px, 38%) minmax(0, 1fr);
    min-height: 245px
  }

  .home-blog-list-v5 .blog-row-card-v5:not(:first-child) .blog-row-media img {
    min-height: 245px
  }
}

@media(max-width:900px) {
  .home-hero.home-hero-v5 {
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-top: 118px;
    padding-bottom: 34px;
    align-items: flex-start
  }

  .home-hero-v5 .home-hero-grid {
    min-height: auto;
    max-height: none
  }

  .home-hero-v5 .hero-pipeline {
    height: 430px
  }

  .workflow-sequence-v5 {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .workflow-visual-v5 {
    display: none
  }

  .workflow-console-v5 {
    min-height: 590px
  }

  .workflow-copy-v5 {
    padding-bottom: 0;
    gap: 12px
  }

  .workflow-step-v5 {
    min-height: auto;
    opacity: 1;
    padding: 19px;
    grid-template-columns: 48px minmax(0, 1fr) 20px
  }

  .workflow-step-v5.active {
    transform: none
  }

  .workflow-step-v5:hover {
    transform: none
  }

  .direction-layout-v5 {
    grid-template-columns: 1fr
  }

  .direction-intro-v5 {
    position: relative;
    top: auto
  }

  .direction-visual-v5 {
    height: 300px
  }

  .direction-path-v5 {
    margin-top: 4px
  }

  .featured-blog-v5 {
    grid-template-columns: 1fr
  }

  .featured-blog-media-v5 {
    min-height: 360px
  }

  .featured-blog-body-v5 {
    padding: 34px
  }
}

@media(max-width:700px) {
  .blog-list-v5 {
    grid-template-columns: 1fr
  }

  .home-hero-v5 h1 {
    font-size: clamp(2.55rem, 12.5vw, 4.15rem)
  }

  .workflow-console-v5 {
    min-height: 560px;
    border-radius: 25px;
    padding: 17px
  }

  .workflow-stage-nodes {
    gap: 4px
  }

  .workflow-node-v5 span {
    display: none
  }

  .workflow-stage-line {
    top: 20px
  }

  .workflow-node-v5 .icon {
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 13px
  }

  .workflow-stage-panels {
    min-height: 350px
  }

  .workflow-stage-panel {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 19px
  }

  .stage-panel-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px
  }

  .stage-panel-icon .icon {
    width: 22px;
    height: 22px
  }

  .workflow-stage-panel h3 {
    font-size: 1.45rem
  }

  .workflow-doc-mascot {
    width: 92px;
    right: 5px
  }

  .stage-fields,
  .stage-checks {
    grid-template-columns: 1fr
  }

  .stage-checks {
    gap: 5px
  }

  .stage-checks span {
    padding: 9px
  }

  .workflow-step-v5 {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px
  }

  .workflow-step-v5>.icon {
    display: none
  }

  .workflow-step-number {
    width: 42px;
    height: 42px;
    border-radius: 13px
  }

  .workflow-step-v5 strong {
    font-size: 1.15rem
  }

  .workflow-step-v5 em {
    font-size: .83rem
  }

  .direction-visual-v5 {
    height: 270px
  }

  .direction-visual-v5 img {
    width: 155px;
    left: 23%;
    top: 13%;
  }

  .direction-orbit {
    width: 195px;
    height: 195px;
    left: 23%;
    top: 13%;
  }

  .direction-card-v5 {
    grid-template-columns: 38px 44px minmax(0, 1fr);
    gap: 11px;
    padding: 16px
  }

  .direction-card-icon {
    width: 44px;
    height: 44px
  }

  .direction-arrow {
    display: none
  }

  .direction-card-v5:hover,
  .direction-card-v5.active {
    transform: none
  }

  .direction-card-copy strong {
    font-size: 1.05rem
  }

  .blog-row-card-v5,
  .home-blog-list-v5 .blog-row-card-v5:not(:first-child),
  .blog-archive-row {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .blog-row-media {
    min-height: 0
  }

  .blog-row-media img,
  .home-blog-list-v5 .blog-row-card-v5:not(:first-child) .blog-row-media img,
  .blog-archive-row .blog-row-media img {
    min-height: 0;
    aspect-ratio: 16/9;
    height: auto
  }

  .blog-row-body,
  .home-blog-list-v5 .blog-row-card-v5:not(:first-child) .blog-row-body,
  .blog-archive-row .blog-row-body {
    padding: 22px
  }

  .blog-row-body h3,
  .home-blog-list-v5 .blog-row-card-v5:not(:first-child) h3,
  .blog-archive-row h3 {
    font-size: 1.35rem
  }

  .featured-blog-media-v5 {
    min-height: 0
  }

  .featured-blog-media-v5 img {
    aspect-ratio: 16/9;
    height: auto
  }

  .featured-blog-body-v5 {
    padding: 26px
  }

  .featured-blog-body-v5 h2 {
    font-size: 2rem
  }

  .contact-form-v5 .checkbox {
    grid-template-columns: 19px minmax(0, 1fr);
    padding: 12px
  }
}

@media(max-width:600px) {
  .home-hero.home-hero-v5 {
    padding-top: 106px;
    padding-bottom: 25px;
    align-items: flex-start
  }

  .home-hero-v5 .home-hero-copy {
    padding-bottom: 10px
  }

  .home-hero-v5 .hero-pipeline {
    height: 230px;
    min-height: 230px
  }

  .workflow-heading-v5 {
    margin-bottom: 32px
  }

  .workflow-console-v5 {
    min-height: 525px
  }

  .workflow-console-head {
    padding-bottom: 15px
  }

  .workflow-stage-track {
    margin: 21px 0 18px
  }

  .workflow-stage-panels {
    min-height: 370px
  }

  .workflow-stage-panel p {
    font-size: .84rem
  }

  .workflow-doc-mascot {
    width: 80px;
    bottom: -6px
  }

  .direction-card-v5 {
    grid-template-columns: 34px 40px minmax(0, 1fr);
    padding: 15px 13px
  }

  .direction-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px
  }

  .direction-number {
    padding-top: 12px
  }

  .direction-outcome {
    font-size: .76rem
  }
}

@media(max-height:760px) and (min-width:901px) {
  .home-hero.home-hero-v5 {
    min-height: 660px;
    height: 100svh;
    padding-top: 88px
  }

  .home-hero-v5 .home-hero-grid {
    min-height: calc(100svh - 102px)
  }

  .home-hero-v5 h1 {
    font-size: clamp(3rem, 5.25vw, 5rem);
    margin: 13px 0 16px
  }

  .home-hero-v5 .hero-lead {
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: 16px
  }

  .home-hero-v5 .hero-pipeline {
    height: min(58vh, 480px)
  }

  .home-hero-v5 .trial-note {
    margin-top: 11px
  }

  .home-hero-v5 .hero-trust-row {
    margin-top: 10px
  }

  .hero-scroll-cue {
    display: none
  }
}

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

  .mascot-float,
  .direction-orbit {
    animation: none !important
  }

  .workflow-stage-panel,
  .workflow-step-v5,
  .direction-card-v5,
  .blog-row-card-v5 {
    transition: none !important
  }
}

/* Progressive enhancement: the new editorial and form layouts remain visible
   even if JavaScript is delayed or unavailable. */
.home-blog-list-v5.stagger>*,
.blog-list-v5.stagger>* {
  opacity: 1;
  transform: none
}

.featured-blog-v5.reveal,
.contact-form-v5.reveal-right {
  opacity: 1;
  transform: none
}

/* =========================================================
   V6 content and integration update
   ========================================================= */
.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.promo-price-v6 {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
  margin-top: 14px
}

.price-was-v6 {
  font-size: 1.35rem !important;
  color: #7f92a0;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #ef5b5b;
  letter-spacing: 0 !important
}

.price-now-v6 {
  grid-column: 1/-1;
  display: inline-flex;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #0b67a5);
  color: #fff !important;
  padding: 9px 14px;
  font-size: .83rem !important;
  font-weight: 850;
  letter-spacing: .1em;
  box-shadow: 0 10px 24px rgba(29, 161, 242, .25)
}

.starter-free-v6 {
  background: linear-gradient(180deg, #fff 0%, #f3fbff 100%);
  overflow: hidden
}

.starter-free-v6::after {
  content: "500 EMAILS ON US";
  position: absolute;
  right: -49px;
  bottom: 80px;
  rotate: -90deg;
  font-size: .59rem;
  font-weight: 850;
  letter-spacing: .16em;
  color: rgba(29, 161, 242, .35)
}

.table-price-was-v6 {
  text-decoration: line-through;
  color: #8597a4;
  margin-right: 7px
}

.table-free-v6 {
  color: var(--success)
}

.accounting-mini-v6 {
  min-height: 210px
}

.accounting-platforms-v6 {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding-right: 58px;
  margin-bottom: 11px
}

.platform-chip-v6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 8px;
  font-size: .54rem;
  font-weight: 820;
  line-height: 1;
  border: 1px solid #d9e8f0;
  background: #fff;
  color: var(--deep)
}

.xero-chip-v6 {
  color: #0d9dcc
}

.qb-chip-v6 {
  color: #258b3c
}

.myob-chip-v6 {
  color: #7552a2
}

.workflow-platforms-v6 {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.workflow-platforms-v6 span {
  border: 1px solid rgba(29, 161, 242, .2);
  background: #f3fbff;
  color: var(--deep);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .68rem;
  font-weight: 780
}

.audience-section-v6 {
  position: relative;
  overflow: hidden
}

.audience-section-v6::before {
  content: "";
  position: absolute;
  inset: 8% auto auto -120px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(34, 211, 238, .09);
  filter: blur(2px);
  pointer-events: none
}

.audience-heading-v6 {
  position: relative
}

.audience-grid-v6 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  position: relative
}

.audience-card-v6 {
  position: relative;
  min-height: 520px;
  padding: clamp(30px, 4vw, 50px);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 161, 242, .15);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease
}

.audience-card-v6:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 161, 242, .34)
}

.bookkeeper-card-v6 {
  background: linear-gradient(150deg, #f8fdff, #e8f7ff)
}

.tradie-card-v6 {
  background: linear-gradient(145deg, #0b3c5d, #072c48);
  color: #fff
}

.tradie-card-v6::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -100px;
  top: -90px;
  background: rgba(34, 211, 238, .15)
}

.audience-card-top-v6 {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative
}

.audience-icon-v6 {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 60, 93, .1)
}

.tradie-card-v6 .audience-icon-v6 {
  background: rgba(255, 255, 255, .12);
  color: var(--cyan)
}

.audience-label-v6 {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 820;
  color: var(--blue)
}

.tradie-card-v6 .audience-label-v6 {
  color: var(--cyan)
}

.audience-card-v6 h3 {
  position: relative;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  margin: 28px 0 18px
}

.audience-card-v6>p {
  position: relative;
  font-size: 1rem;
  line-height: 1.65;
  color: #60798b;
  max-width: 580px
}

.tradie-card-v6>p {
  color: rgba(255, 255, 255, .72)
}

.audience-card-v6 ul {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 13px
}

.audience-card-v6 li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .91rem;
  color: #49677c
}

.tradie-card-v6 li {
  color: rgba(255, 255, 255, .82)
}

.audience-card-v6 li .icon {
  width: 17px;
  height: 17px;
  color: var(--success);
  margin-top: 3px;
  flex: 0 0 auto
}

.tradie-card-v6 li .icon {
  color: var(--cyan)
}

.audience-punch-v6 {
  position: relative;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 60, 93, .12);
  font-size: 1.08rem;
  color: var(--deep)
}

.tradie-card-v6 .audience-punch-v6 {
  border-color: rgba(255, 255, 255, .13);
  color: #fff
}

.single-promise-v6 {
  margin-top: 22px;
  border: 1px solid rgba(29, 161, 242, .18);
  border-radius: 24px;
  background: #fff;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-sm)
}

.single-promise-v6>span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue)
}

.single-promise-v6 strong {
  display: block;
  font-size: 1.08rem
}

.single-promise-v6 p {
  margin: 5px 0 0;
  color: var(--muted);
  max-width: 920px
}

@media(max-width:1280px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr))
  }
}

@media(max-width:900px) {
  .audience-grid-v6 {
    grid-template-columns: 1fr
  }

  .audience-card-v6 {
    min-height: 0
  }
}

@media(max-width:760px) {
  .pricing-grid {
    grid-template-columns: 1fr
  }

  .audience-card-v6 {
    padding: 30px 25px
  }

  .single-promise-v6 {
    grid-template-columns: 1fr;
    padding: 22px
  }

  .single-promise-v6>span {
    width: 46px;
    height: 46px
  }

  .starter-free-v6::after {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {
  .audience-card-v6 {
    transition: none !important
  }

  .audience-card-v6:hover {
    transform: none !important
  }
}

/* Centered video layout when video description is hidden */
.video-section-grid.centered-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-section-grid.centered-video .video-poster {
  display: block;
  /*   max-width: 860px; */
  width: 100%;
}

/* =========================================================
   NEW CHANGES: WhatsApp Capture Section (Added July 2026)
   ========================================================= */

.section-whatsapp-v5 {
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
  padding: 100px 0;
  border-top: 1px solid var(--v5-border);
}

.whatsapp-layout-v5 {
  max-width: 1200px;
}

.whatsapp-grid-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.whatsapp-content-v5 .section-lead-v5 {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.6;
  color: var(--deep);
  font-weight: 500;
  margin: 24px 0 16px;
}

.whatsapp-content-v5 .section-body-v5 {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #5b7486;
  margin-bottom: 28px;
}

.whatsapp-quote-v5 {
  background: var(--v5-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 18px 24px;
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.whatsapp-quote-v5 .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.whatsapp-quote-v5 span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.5;
  font-style: italic;
}

/* Tabs & Panels inside WhatsApp section */
.whatsapp-tabs-container {
  margin-top: 40px;
}

.whatsapp-tabs-container .tabs {
  display: inline-flex;
  background: rgba(11, 60, 93, 0.05);
  padding: 6px;
  border-radius: 99px;
  margin-bottom: 28px;
  border: 1px solid rgba(11, 60, 93, 0.04);
}

.whatsapp-tabs-container .tab-btn {
  appearance: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: #5b7486;
  padding: 10px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s var(--v5-ease);
}

.whatsapp-tabs-container .tab-btn.active {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 8px 20px rgba(11, 60, 93, 0.06);
}

.whatsapp-tabs-container .tab-panel {
  display: none;
}

.whatsapp-tabs-container .tab-panel.active {
  display: block;
  animation: whatsappFadeIn 0.45s var(--v5-ease) both;
}

@keyframes whatsappFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Extraction grid */
.extraction-grid-v5 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.extraction-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep);
  box-shadow: 0 4px 10px rgba(11, 60, 93, 0.02);
}

.extraction-chip .icon {
  width: 14px;
  height: 14px;
  color: #25b883;
}

/* Advantages list */
.advantages-list-v5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-card-v5 {
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(11, 60, 93, 0.02);
  transition: transform 0.3s var(--v5-ease), box-shadow 0.3s var(--v5-ease);
}

.advantage-card-v5:hover {
  transform: translateY(-2px);
  box-shadow: var(--v5-shadow);
  border-color: rgba(29, 161, 242, 0.2);
}

.advantage-card-v5 strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 6px;
  position: relative;
  padding-left: 24px;
}

.advantage-card-v5 strong::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25b883;
  font-size: 1.1rem;
}

.advantage-card-v5 p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5b7486;
  margin: 0;
}

/* High Fidelity WhatsApp Phone Mockup */
.whatsapp-visual-v5 {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 120px;
  height: fit-content;
  z-index: 5;
}

.whatsapp-doc-mascot {
  position: absolute;
  bottom: -40px;
  right: calc(50% - 245px);
  width: 145px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 15px 35px rgba(11, 60, 93, 0.16));
}

.phone-mockup-v5 {
  width: 320px;
  height: 560px;
  border: 10px solid #0b3c5d;
  border-radius: 40px;
  background: #efeae2;
  box-shadow: var(--v5-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-header-v5 {
  background: #075e54;
  color: #fff;
  padding: 10px 16px;
  flex-shrink: 0;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 8px;
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.whatsapp-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.chat-back {
  transform: rotate(180deg);
  cursor: pointer;
}

.chat-back .icon {
  width: 16px;
  height: 16px;
  fill: #fff;
  color: #fff;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar .icon {
  width: 18px;
  height: 18px;
  color: #fff;
}

.chat-title-info {
  display: flex;
  flex-direction: column;
}

.chat-title-info strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.chat-title-info span {
  font-size: 0.68rem;
  opacity: 0.8;
}

.phone-chat-body-v5 {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-image: radial-gradient(rgba(11, 60, 93, 0.04) 1px, transparent 1px);
  background-size: 14px 14px;
}

.chat-date-v5 {
  align-self: center;
  background: rgba(225, 245, 254, 0.9);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0b3c5d;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-bubble {
  max-width: 88%;
  border-radius: 12px;
  padding: 8px 12px 20px;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.chat-bubble time {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.6rem;
  color: #777;
}

.user-bubble-v5 {
  align-self: flex-end;
  background: #dcf8c6;
  color: #303030;
  border-top-right-radius: 2px;
}

.receipt-preview-v5 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.05);
  padding: 6px;
  border-radius: 8px;
}

.receipt-preview-v5 .icon {
  width: 24px;
  height: 24px;
  color: #075e54;
}

.receipt-details {
  display: flex;
  flex-direction: column;
}

.receipt-details strong {
  font-size: 0.75rem;
}

.receipt-details span {
  font-size: 0.62rem;
  opacity: 0.7;
}

.airdoc-bubble-v5 {
  align-self: flex-start;
  background: #fff;
  color: var(--deep);
  border-top-left-radius: 2px;
}

.bubble-header-v5 {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
  padding-bottom: 6px;
  margin-bottom: 6px;
  color: var(--blue);
}

.bubble-header-v5 .icon {
  width: 14px;
  height: 14px;
}

.bubble-header-v5 strong {
  font-size: 0.75rem;
}

.bubble-body-v5 p {
  margin: 0 0 8px 0;
  font-size: 0.75rem;
}

.summary-data-list-v5 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-data-list-v5 li {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  border-bottom: 1px dashed rgba(11, 60, 93, 0.05);
  padding-bottom: 2px;
}

.summary-data-list-v5 li span {
  color: #777;
}

.phone-footer-v5 {
  background: #f0f0f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mock-input-v5 {
  background: #fff;
  width: 100%;
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  color: #999;
}

@media (max-width: 991px) {
  .whatsapp-grid-v5 {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .whatsapp-visual-v5 {
    position: static; /* Disable sticky positioning on mobile/tablet */
  }
  
  .whatsapp-doc-mascot {
    display: none;
  }
}

@media (max-width: 767px) {
  .advantages-list-v5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .section-whatsapp-v5 {
    padding: 60px 0;
  }
  
  .whatsapp-content-v5 .section-lead-v5 {
    font-size: 1.05rem;
  }
  
  .extraction-grid-v5 {
    justify-content: center;
  }
  
  .phone-mockup-v5 {
    width: 290px;
    height: 520px;
  }
}

/* =========================================================
   Crew Capture Section (For Teams) — Added July 2026
   ========================================================= */
.section-crew-v5 {
  background: linear-gradient(180deg, #fff 0%, #f4faff 100%);
  padding: 110px 0;
  border-top: 1px solid var(--v5-border);
  overflow: hidden;
}

.crew-layout-v5 {
  max-width: 1200px;
}

.crew-grid-v5 {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.crew-intro-v5 {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.crew-intro-v5 .section-title {
  margin-bottom: 24px;
}

.crew-lead-v5 {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.6;
  color: var(--deep);
  font-weight: 500;
  margin: 0 0 28px;
}

/* Quote Card Style */
.crew-quote-card-v5 {
  background: #fff;
  border: 1px solid rgba(29, 161, 242, 0.15);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--v5-shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.crew-quote-card-v5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--blue), var(--cyan));
}

.crew-quote-card-v5 .quote-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(29, 161, 242, 0.08);
  color: var(--blue);
  flex-shrink: 0;
}

.crew-quote-card-v5 .quote-icon .icon {
  width: 15px;
  height: 15px;
}

.crew-quote-card-v5 blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.crew-quote-card-v5 blockquote p {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

/* Crew Point Cards Grid */
.crew-points-grid-v5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.crew-point-card-v5 {
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(11, 60, 93, 0.02);
  transition: transform 0.35s var(--v5-ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.crew-point-card-v5:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 161, 242, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f6fcff 100%);
  box-shadow: var(--v5-shadow);
}

.point-icon-v5 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f0f8ff;
  color: var(--blue);
  margin-bottom: 18px;
  transition: transform 0.35s var(--v5-ease), background 0.35s, color 0.35s;
}

.crew-point-card-v5:hover .point-icon-v5 {
  background: var(--blue);
  color: #fff;
  transform: scale(1.05);
}

.point-icon-v5 .icon {
  width: 19px;
  height: 19px;
}

.crew-point-card-v5 h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 10px;
  line-height: 1.25;
}

.crew-point-card-v5 p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: #60798b;
  margin: 0;
}

/* Responsiveness */
@media (max-width: 991px) {
  .crew-grid-v5 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .crew-intro-v5 {
    position: static;
  }
  
  .crew-points-grid-v5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .section-crew-v5 {
    padding: 70px 0;
  }
  
  .crew-points-grid-v5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .crew-quote-card-v5 {
    padding: 20px;
  }
  
  .crew-quote-card-v5 blockquote p {
    font-size: 0.98rem;
  }
}

/* =========================================================
   Exceptions That Teach It Section — Added July 2026
   ========================================================= */
.section-exceptions-v5 {
  background: linear-gradient(180deg, #f4faff 0%, #fff 100%);
  padding: 110px 0;
  border-top: 1px solid var(--v5-border);
  overflow: hidden;
}

.exceptions-layout-v5 {
  max-width: 1200px;
}

.exceptions-grid-v5 {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.exceptions-intro-v5 {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.exceptions-intro-v5 .section-title {
  margin-bottom: 24px;
}

.exceptions-lead-v5 p {
  font-size: 0.98rem;
  line-height: 1.62;
  color: #5b7486;
  margin: 0 0 16px;
}

.exceptions-lead-v5 p:first-of-type {
  font-size: clamp(1.05rem, 1.22vw, 1.18rem);
  color: var(--deep);
  font-weight: 600;
  line-height: 1.5;
}

/* Exceptions Point Cards Grid */
.exceptions-points-grid-v5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.exceptions-point-card-v5 {
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(11, 60, 93, 0.02);
  transition: transform 0.35s var(--v5-ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.exceptions-point-card-v5:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 161, 242, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f6fcff 100%);
  box-shadow: var(--v5-shadow);
}

.exceptions-icon-v5 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f0f8ff;
  color: var(--blue);
  margin-bottom: 18px;
  transition: transform 0.35s var(--v5-ease), background 0.35s, color 0.35s;
}

.exceptions-point-card-v5:hover .exceptions-icon-v5 {
  background: linear-gradient(135deg, var(--blue) 0%, #158be0 100%);
  border-color: transparent;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 15px rgba(29, 161, 242, 0.25);
}

.exceptions-icon-v5 .icon {
  width: 19px;
  height: 19px;
}

.exceptions-point-card-v5 h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 10px;
  line-height: 1.25;
}

.exceptions-point-card-v5 p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: #60798b;
  margin: 0;
}

/* Responsiveness */
@media (max-width: 991px) {
  .exceptions-grid-v5 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .exceptions-intro-v5 {
    position: static;
    order: 1;
  }
  
  .exceptions-points-grid-v5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    order: 2;
  }
}

@media (max-width: 767px) {
  .section-exceptions-v5 {
    padding: 70px 0;
  }
  
  .exceptions-points-grid-v5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================================
   Section 11 — Checks, records & security (Compliance)
   Mirrors crew-v5 / exceptions-v5 layout pattern
   ========================================================= */

.section-compliance-v5 {
  background: linear-gradient(180deg, #fff 0%, #f4faff 100%);
  padding: 110px 0;
  border-top: 1px solid var(--v5-border);
  overflow: clip;
}

.compliance-layout-v5 {
  max-width: 1200px;
}

.compliance-grid-v5 {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* ---- Sticky Intro Column ---- */
.compliance-intro-v5 {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.compliance-intro-v5 .section-title {
  margin-bottom: 24px;
}

.compliance-lead-v5 {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.6;
  color: var(--deep);
  font-weight: 500;
  margin: 0 0 32px;
}

/* ---- Right Cards Column ---- */
.compliance-cards-column-v5 {
  display: flex;
  flex-direction: column;
}

/* ---- Group Labels (sub-headings above each card group) ---- */
.compliance-group-label-v5 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v5-border);
}

.compliance-group-label-v5:not(:first-child) {
  margin-top: 36px;
}

.compliance-group-label-v5 svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Data card variant (green tint to distinguish from checks) ---- */
.compliance-icon-data-v5 {
  background: rgba(26, 168, 120, 0.08);
  color: var(--success);
}

.compliance-data-card-v5:hover .compliance-icon-data-v5 {
  background: var(--success);
  color: #fff;
}

/* ---- Disclaimer ---- */
.compliance-disclaimer-v5 {
  margin-top: 4px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(11, 60, 93, 0.03);
  border: 1px solid rgba(11, 60, 93, 0.06);
}

.compliance-disclaimer-v5 p {
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---- Right Column: Check Cards Grid ---- */
.compliance-checks-grid-v5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.compliance-check-card-v5 {
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(11, 60, 93, 0.02);
  transition: transform 0.35s var(--v5-ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.compliance-check-card-v5:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 161, 242, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f6fcff 100%);
  box-shadow: var(--v5-shadow);
}

/* ---- Card icon badge ---- */
.compliance-icon-v5 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f0f8ff;
  color: var(--blue);
  margin-bottom: 18px;
  transition: transform 0.35s var(--v5-ease), background 0.35s, color 0.35s;
}

.compliance-check-card-v5:hover .compliance-icon-v5 {
  background: var(--blue);
  color: #fff;
  transform: scale(1.05);
}

.compliance-icon-v5 svg {
  width: 19px;
  height: 19px;
}

/* ---- Card typography ---- */
.compliance-check-card-v5 h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 10px;
  line-height: 1.25;
}

.compliance-check-card-v5 p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: #60798b;
  margin: 0;
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 991px) {
  .compliance-grid-v5 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compliance-intro-v5 {
    position: static;
  }

  .compliance-checks-grid-v5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 767px) {
  .section-compliance-v5 {
    padding: 70px 0;
  }

  .compliance-checks-grid-v5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}