@import url("list-view.css");

/* FieldTick Unified Design System & Common Stylesheet */
:root {
  --bg: #f6f3ec;
  --surface: #fff;
  --ink: #10203f;
  --muted: #5b6579;
  --line: #e4dfd2;
  --navy: #10203f;
  --brass: #b8925a;
  --brass-l: #f0cf8f;
  --btn: #10203f;
  --btn-ink: #fff;
  --soft: #efe9da;
  --glow: rgba(184, 146, 90, .28);
  --hd: rgba(246, 243, 236, .88);
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1424;
    --surface: #131c33;
    --ink: #eef1f8;
    --muted: #9aa6c0;
    --line: #243152;
    --navy: #b9c6e6;
    --brass: #f0cf8f;
    --btn: #f0cf8f;
    --btn-ink: #0a1730;
    --soft: #17223d;
    --glow: rgba(240, 207, 143, .16);
    --hd: rgba(13, 20, 36, .88);
    color-scheme: dark
  }
}

:root[data-theme="dark"] {
  --bg: #0d1424;
  --surface: #131c33;
  --ink: #eef1f8;
  --muted: #9aa6c0;
  --line: #243152;
  --navy: #b9c6e6;
  --brass: #f0cf8f;
  --btn: #f0cf8f;
  --btn-ink: #0a1730;
  --soft: #17223d;
  --glow: rgba(240, 207, 143, .16);
  --hd: rgba(13, 20, 36, .88);
  color-scheme: dark
}

* {
  box-sizing: border-box;
  margin: 0
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px))
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

body::before {
  display: none !important
}

h1,
h2,
h3,
.wm {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.12
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px
}

.w {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 92px;
  box-sizing: border-box
}

/* header */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.brand img {
  height: 34px;
  width: auto;
  display: block
}

.wm {
  font-size: 26px;
  font-weight: 300;
  display: inline-flex;
  line-height: 1
}

.wm .f {
  color: var(--navy)
}

.wm .t {
  display: inline-flex;
  font-weight: 700
}

.wm .t i {
  font-style: normal;
  display: inline-block;
  background-image: linear-gradient(100deg, var(--navy) 35%, var(--brass-l) 50%, var(--navy) 65%);
  background-size: 320% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--navy);
  -webkit-text-fill-color: transparent;
  animation: shine 7.5s ease-in-out infinite
}

.wm .t i:nth-child(2) {
  animation-delay: 1.87s
}

.wm .t i:nth-child(3) {
  animation-delay: 3.73s
}

.wm .t i:nth-child(4) {
  animation-delay: 5.6s
}

@keyframes shine {

  0%,
  60% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn);
  color: var(--btn-ink);
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font: 600 14px Montserrat, sans-serif;
  cursor: pointer;
  white-space: nowrap
}

.btn.o {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line)
}

.btn:hover {
  opacity: .9
}

/* hero */
.hero {
  position: relative;
  text-align: left;
  padding: 72px 0 64px;
  isolation: isolate
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(60% 55% at 50% 30%, var(--glow), transparent 70%)
}

.grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 70%)
}

.mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 16px rgba(16, 32, 63, .28))
}

.persp {
  perspective: 700px;
  display: block
}

.spin {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(-22deg);
  animation: spin3d 7s ease-in-out infinite
}

.spin img {
  display: block;
  height: 92px;
  width: auto
}

.spin img.layer {
  position: absolute;
  left: 0;
  top: 0
}

.spin .shine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .6) 50%, transparent 58%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 150% 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none
}

@keyframes spin3d {

  0%,
  50% {
    transform: rotateX(-8deg) rotateY(-22deg)
  }

  100% {
    transform: rotateX(-8deg) rotateY(338deg)
  }
}

@keyframes sheen {

  0%,
  50% {
    background-position: 150% 0
  }

  100% {
    background-position: -50% 0
  }
}

.hm {
  perspective: 260px
}

.hm .spin img {
  height: 34px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  animation: blink 1.6s ease-in-out infinite
}

@keyframes blink {
  50% {
    opacity: .25
  }
}

h1 {
  font-size: clamp(36px, 8vw, 76px);
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto
}

h1 em {
  font-style: normal;
  color: var(--brass)
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 720px;
  margin: 22px auto 32px
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 34px
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--muted)
}

.chips b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--bg);
  font-size: 11px
}

/* sections */
section {
  padding: 84px 0
}

.alt {
  background: var(--soft)
}

.eb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: capitalize;
  color: var(--brass);
  margin-bottom: 12px
}

h2 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  max-width: 780px
}

.sh {
  color: var(--muted);
  max-width: 680px;
  margin: 14px 0 40px;
  font-size: 17px
}

.g3,
.g4,
.g2 {
  display: grid;
  gap: 18px
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: .2s
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -28px rgba(16, 32, 63, .5)
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px
}

.card ul {
  padding-left: 18px;
  margin-top: 10px
}

.ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--bg);
  font-weight: 700;
  margin-bottom: 16px
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px
}

.mt {
  text-align: center
}

.mt b {
  display: block;
  font: 700 clamp(34px, 5vw, 52px) 'Montserrat Alternates', sans-serif;
  color: var(--brass);
  line-height: 1.1
}

.mt span {
  color: var(--muted);
  font-size: 14px
}

.quote {
  margin-top: 28px;
  padding: 34px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--bg)
}

.quote p {
  font: 500 clamp(18px, 2.4vw, 24px)/1.45 'Montserrat Alternates', sans-serif
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  opacity: .8;
  font-style: normal
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface)
}

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
  font-size: 14px
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line)
}

th {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass)
}

td:first-child {
  font-weight: 600
}

td {
  color: var(--muted)
}

td:first-child {
  color: var(--ink)
}

tr:last-child td {
  border-bottom: 0
}

.step {
  counter-increment: s
}

.step::before {
  content: "0" counter(s);
  font: 700 13px 'Montserrat Alternates', sans-serif;
  color: var(--brass);
  display: block;
  margin-bottom: 8px
}

.steps {
  counter-reset: s
}

form.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px
}

label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px
}

.full {
  grid-column: 1/-1
}

.thx {
  display: none;
  color: var(--brass);
  font-weight: 500;
  font-size: 14px
}

.side li {
  list-style: none;
  margin-bottom: 18px
}

.side b {
  display: block
}

.side {
  padding: 0
}

.side span {
  color: var(--muted);
  font-size: 15px
}

/* footer */
.ft {
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  background: var(--bg)
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 28px
}

.fg p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 260px
}

.fg h4 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px
}

.fg ul {
  list-style: none;
  padding: 0
}

.fg li {
  margin-bottom: 9px
}

.fg li a {
  color: var(--muted);
  font-size: 14px
}

.fg li a:hover {
  color: var(--ink)
}

.ft hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0 0
}

footer {
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  align-items: center
}

footer a {
  color: var(--muted)
}

footer a:hover {
  color: var(--ink)
}

.fr {
  display: inline-flex;
  align-items: center;
  gap: 14px
}

.fr .sep {
  color: var(--line)
}

.fr .ico {
  display: inline-grid;
  place-items: center;
  line-height: 0;
  padding: 10px;
  margin: -10px
}

.fr .ico svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.fr .lw {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--navy)
}

.fr .lw b {
  font-weight: 300
}

.fr .lw i {
  font-style: normal;
  font-weight: 700
}

@media(max-width:980px) {

  .g3,
  .g4 {
    grid-template-columns: 1fr 1fr
  }

  .fg {
    grid-template-columns: repeat(3, 1fr)
  }

  .fg>div:first-child {
    grid-column: 1/-1
  }

  .split {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  section {
    padding: 60px 0
  }

  .g3,
  .g4,
  .g2 {
    grid-template-columns: 1fr
  }

  .g4.m {
    grid-template-columns: 1fr 1fr
  }

  .fg {
    grid-template-columns: 1fr 1fr
  }

  form.demo {
    grid-template-columns: 1fr;
    padding: 20px
  }

  .hero {
    padding: 48px 0 44px
  }

  .mark {
    width: 116px;
    height: 116px
  }

  .spin img {
    height: 80px
  }

  footer {
    justify-content: center;
    text-align: center
  }

  .fr {
    flex-wrap: wrap;
    justify-content: center
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important
  }
}

.hero {
  position: relative;
  text-align: left;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--nav-h, 74px));
  padding: calc(var(--nav-h, 74px) + 40px) 0 60px;
  box-sizing: border-box;
  isolation: isolate
}

.hh {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  width: 100%
}

.hero .eb {
  margin-bottom: 20px;
  margin-top: 12px;
  text-align: left
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: left;
  white-space: normal
}

.hero .lead {
  margin: 28px 0 34px;
  max-width: 540px;
  text-align: left;
  line-height: 1.55
}

.hero .cta {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin: 0
}

@media(max-width:900px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h, 68px) + 28px) 0 40px
  }

  .hh {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .hero h1 {
    font-size: clamp(32px, 6vw, 52px)
  }

  .hero .lead {
    max-width: none
  }
}

@media(max-width:600px) {
  .hero {
    padding: calc(var(--nav-h, 64px) + 22px) 0 32px
  }

  .hh {
    gap: 28px
  }

  .hero h1 {
    font-size: clamp(28px, 7.5vw, 40px)
  }
}

.hero .grid {
  display: none
}

/* Hero Showcase Section: Phone mockup appears below hero as you scroll */
.hero-showcase {
  position: relative;
  padding: 60px 0 96px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  isolation: isolate
}

.geo {
  position: absolute;
  right: -30px;
  top: 0;
  width: 680px;
  max-width: 90%;
  height: 100%;
  opacity: .6;
  pointer-events: none;
  z-index: -1
}

.iphone {
  justify-self: center;
  align-self: center;
  margin: 0 auto;
  width: 304px;
  background: #0b0f1a;
  border-radius: 52px;
  padding: 10px;
  box-shadow: inset 0 0 0 2px #2a3350, 0 40px 70px -30px rgba(16, 32, 63, .55)
}

.scr {
  background: #fbf9f4;
  color: #10203f;
  border-radius: 42px;
  height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.4
}

.isl {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 25px;
  background: #0b0f1a;
  border-radius: 14px
}

.sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 26px 0;
  height: 46px;
  font-weight: 600;
  font-size: 13px
}

.ab {
  padding: 10px 18px 0;
  flex: 1;
  overflow: hidden
}

.ab small {
  color: #6b7488;
  font-size: 12px
}

.ab h4 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 2px 0 14px;
  letter-spacing: -.02em
}

.hc {
  background: linear-gradient(145deg, #10203f, #1b3263);
  color: #fff;
  border-radius: 22px;
  padding: 16px
}

.hc .tp {
  display: flex;
  justify-content: space-between;
  align-items: baseline
}

.hc .tp b {
  font-size: 22px;
  font-family: 'Montserrat Alternates', sans-serif
}

.hc .bar {
  height: 5px;
  background: rgba(255, 255, 255, .18);
  border-radius: 9px;
  margin: 12px 0 14px;
  overflow: hidden
}

.hc .bar i {
  display: block;
  width: 66%;
  height: 100%;
  background: linear-gradient(90deg, #b8925a, #f0cf8f)
}

.hc .st {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #b9c6e6
}

.hc .st b {
  display: block;
  color: #fff;
  font-size: 14px
}

.lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b8925a;
  margin: 18px 0 8px
}

.it {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid #ece6d8;
  border-radius: 16px;
  padding: 11px 12px;
  margin: 0 0 8px
}

.it .c {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #d9d2bf;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none
}

.it .c.d {
  background: #10203f;
  border-color: #10203f;
  color: #fff
}

.it span {
  flex: 1;
  font-weight: 500
}

.it span small {
  display: block;
  font-weight: 400;
  color: #6b7488;
  font-size: 12px
}

.it em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  background: #10203f;
  color: #f0cf8f;
  padding: 6px 11px;
  border-radius: 999px
}

.tb {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ece6d8;
  padding: 10px 8px 6px;
  font-size: 10.5px;
  color: #8a93a6;
  background: #fbf9f4
}

.tb .a {
  color: #10203f;
  font-weight: 600
}

.hi {
  width: 100px;
  height: 4px;
  border-radius: 4px;
  background: #10203f;
  margin: 6px auto 8px;
  opacity: .85
}

@media(max-width:380px) {
  .iphone {
    width: 256px
  }

  .scr {
    height: 550px
  }
}

.pgh {
  position: relative;
  margin-top: calc(-1 * var(--nav-h, 74px));
  padding: calc(var(--nav-h, 74px) + 36px) 0 30px;
  isolation: isolate
}

.pgh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 80% 0%, var(--glow), transparent 70%), radial-gradient(var(--line) 1.3px, transparent 1.4px) 0 0/26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 90%);
  mask-image: linear-gradient(#000, transparent 90%)
}

.pgh h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  max-width: 860px;
  margin: 10px 0 0
}

.pgh .lead {
  margin: 20px 0 28px;
  max-width: 680px;
  text-align: left
}

.crumb {
  font-size: 13px;
  color: var(--muted)
}

.crumb a {
  color: var(--brass);
  font-weight: 600
}

.lk {
  color: var(--brass);
  font-weight: 600;
  font-size: 14px
}

.cl {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 32px
}

.cl li {
  break-inside: avoid;
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--muted);
  font-size: 15px
}

.cl li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700
}

.cl b {
  color: var(--ink)
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px
}

summary::after {
  content: "+";
  color: var(--brass);
  font-size: 20px;
  line-height: 1
}

details[open] summary::after {
  content: "−"
}

details p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 15px
}

.band {
  padding: 44px 32px;
  border-radius: 28px;
  background: var(--navy);
  color: var(--bg);
  text-align: center
}

.band h2 {
  margin: 0 auto
}

.band p {
  opacity: .8;
  margin: 12px auto 24px;
  max-width: 560px
}

.band .btn {
  background: var(--brass);
  color: #10203f
}

.prose {
  max-width: 760px
}

.prose p {
  color: var(--muted);
  margin-bottom: 14px
}

.cinfo p {
  color: var(--muted);
  margin: 0 0 14px
}

@media(max-width:600px) {
  .cl {
    columns: 1
  }

  .band {
    padding: 36px 20px
  }
}

.nvw {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  z-index: 55;
  padding: 0 16px;
  pointer-events: none
}

.nv {
  pointer-events: auto;
  position: relative;
  max-width: 1180px;
  height: 64px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 20px;
  border-radius: 22px;
  background: var(--hd);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(16, 32, 63, .45);
  transition: max-width .3s, height .3s, box-shadow .3s
}

.nvw.sc .nv {
  height: 56px;
  max-width: 1060px;
  box-shadow: 0 20px 44px -20px rgba(16, 32, 63, .6)
}

.nl {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  gap: 2px
}

.nl>li {
  position: static
}

.nl>li>a,
.nl>li>button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 500 14px Montserrat, sans-serif;
  cursor: pointer
}

.nl>li>a:hover,
.nl>li>button:hover,
.has.open>button {
  background: var(--soft)
}

.has>button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: .2s
}

.has.open>button::after,
.has:hover>button::after {
  transform: rotate(225deg) translateY(-2px)
}

.nl .act::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--brass)
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  grid-template-columns: 1.25fr 1fr .85fr;
  gap: 6px 26px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 70px -34px rgba(16, 32, 63, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.99);
  transition: .2s
}

.mega::before {
  display: none !important
}

.has:hover>.mega,
.has:focus-within>.mega,
.has.open>.mega {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mc h6 {
  font: 600 11px Montserrat, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px 10px
}

.mi {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  align-items: flex-start
}

.mi:hover,
.ms:hover {
  background: var(--soft)
}

.mic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--bg)
}

.mic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.mi b {
  display: block;
  font-size: 14px;
  font-weight: 600
}

.mi small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 2px
}

.ms {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px
}

.ms:hover {
  color: var(--brass)
}

.mp {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 180px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(150deg, #10203f, #1b3263);
  color: #fff
}

.mp b {
  font: 700 18px/1.2 'Montserrat Alternates', sans-serif
}

.mp span {
  font-size: 13px;
  opacity: .8
}

.mp i {
  font-style: normal;
  color: #f0cf8f;
  font-weight: 600;
  font-size: 14px
}

.nr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto
}

.nl+.nr {
  margin-left: 0
}

.sbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: 500 13px Montserrat, sans-serif;
  cursor: pointer
}

.sbtn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round
}

.sbtn kbd {
  font: 600 11px Montserrat, sans-serif;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px
}

.bgr {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer
}

.bgr span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto
}

.srch {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
  background: rgba(10, 18, 40, .55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px)
}

.srch[hidden] {
  display: none
}

.sbx {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  overflow: hidden
}

.sbx input {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 20px;
  font-size: 17px;
  background: transparent
}

.sbx ul {
  list-style: none;
  padding: 8px;
  max-height: 52vh;
  overflow: auto
}

.sbx li a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px
}

.sbx li a:hover,
.sbx li a:focus {
  background: var(--soft)
}

.sbx li b {
  display: block;
  font-size: 15px
}

.sbx li small {
  color: var(--muted);
  font-size: 12.5px
}

.sbx .none {
  padding: 14px;
  color: var(--muted)
}

#top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .25s;
  box-shadow: 0 12px 24px -10px rgba(16, 32, 63, .6)
}

#top.on {
  opacity: 1;
  pointer-events: auto;
  transform: none
}

#app.fi {
  animation: fi .4s ease
}

@keyframes fi {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:1020px) {
  .bgr {
    display: block
  }

  .sbtn span,
  .sbtn kbd {
    display: none
  }

  .sbtn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center
  }

  .nr {
    margin-left: auto
  }

  .nr .btn {
    padding: 11px 16px
  }

  .nl {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 40px 70px -30px rgba(16, 32, 63, .6);
    max-height: calc(100vh - 120px);
    overflow-y: auto
  }

  .nl.show {
    display: flex
  }

  .nl>li>a,
  .nl>li>button {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 14px
  }

  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 14px;
    background: var(--soft);
    padding: 8px;
    margin: 2px 0 6px;
    grid-template-columns: 1fr
  }

  .has:hover>.mega,
  .has:focus-within>.mega {
    display: none
  }

  .has.open>.mega {
    display: grid
  }

  .mp {
    display: none
  }

  .mega::before {
    display: none
  }

  .nl .act::before {
    left: auto;
    right: 42px;
    bottom: auto;
    top: 50%;
    margin-top: -2.5px
  }
}

@media(max-width:520px) {
  .nr .btn.hd2 {
    display: none
  }

  .nv {
    padding-left: 14px
  }
}

@media(prefers-reduced-motion:reduce) {
  #app.fi {
    animation: none
  }
}

@media(max-width:1020px) {
  .nvw {
    padding: 0;
    top: env(safe-area-inset-top, 0px)
  }

  .nv,
  .nvw.sc .nv {
    margin: 0;
    max-width: none;
    height: 60px;
    border-radius: 0;
    border-width: 0 0 1px;
    padding: 0 0 0 16px
  }

  .bgr {
    height: 100%;
    width: 60px;
    margin-left: 4px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent
  }

  .nl {
    top: 100%;
    border-radius: 0 0 20px 20px;
    border-width: 0 0 1px
  }
}

.lg {
  font: 600 13px Montserrat, sans-serif;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px
}

.lg:hover {
  background: var(--soft)
}

body.gmode .nvw,
body.gmode .ft,
body.gmode footer,
body.gmode #top,
body.gmode #srch,
body.gmode #home,
body.gmode #app {
  display: none !important
}

.gm {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 13px;
  line-height: 1.5;
  background: var(--bg)
}

.gm[hidden] {
  display: none
}

.gl {
  display: flex;
  flex-direction: column;
  padding: 22px 40px;
  min-width: 0
}

.gl .brand img {
  height: 28px
}

.gc {
  margin: auto;
  width: 100%;
  max-width: 372px;
  padding: 28px 0
}

.gm h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 22px 0 4px;
  max-width: none;
  letter-spacing: -.01em
}

.gm .sb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px
}

.gm label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px
}

.gm input,
.gm select,
.gm textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: 400 13px Montserrat, sans-serif
}

.gm textarea {
  resize: vertical;
  min-height: 62px
}

.gm input:focus,
.gm select:focus,
.gm textarea:focus {
  border-color: var(--brass)
}

.gm .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 10px;
  margin-top: 4px
}

.stp {
  display: flex;
  gap: 6px
}

.stp div {
  flex: 1;
  font-size: 11px;
  color: var(--muted)
}

.stp i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  margin-bottom: 5px
}

.stp .on i {
  background: var(--brass)
}

.stp .dn i {
  background: var(--navy)
}

.stp .on {
  color: var(--ink);
  font-weight: 600
}

.or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 11px
}

.or:before,
.or:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.gm .otp {
  text-align: center;
  letter-spacing: .5em;
  font-size: 18px;
  font-weight: 600;
  padding-left: calc(11px + .5em)
}

.gm label.opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 7px;
  font-weight: 400;
  cursor: pointer
}

.gm .opt input {
  width: auto;
  margin: 3px 0 0
}

.opt b {
  display: block;
  font-size: 12.5px
}

.opt small {
  color: var(--muted);
  font-size: 11.5px
}

.opt:has(input:checked) {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass)
}

.lk2 {
  background: none;
  border: 0;
  color: var(--muted);
  font: 500 12px Montserrat, sans-serif;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 6px
}

.lk2:hover {
  color: var(--ink)
}

.gf {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.gf a:hover {
  color: var(--ink)
}

.gr {
  background: var(--soft);
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px
}

.pn {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 48px -28px rgba(16, 32, 63, .45)
}

.pn h3 {
  font: 600 13px Montserrat, sans-serif;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between
}

.pn h3 small {
  color: var(--brass);
  font-weight: 600
}

.mods {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px
}

.mods li {
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35
}

.mods b {
  color: var(--brass);
  font-size: 11px
}

.pol {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: var(--muted)
}

.pol li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px
}

.pol li:before {
  content: "✓";
  color: var(--brass);
  font-weight: 700
}

.kv {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin: 14px 0
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  font-size: 12px
}

.kv div:first-child {
  border: 0
}

.kv span {
  color: var(--muted)
}

.kv b {
  font-weight: 600;
  text-align: right
}

.nt {
  font-size: 11.5px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 12px
}

.gm .tick {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--bg);
  font-weight: 700
}

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

  .gr {
    display: none
  }

  .gl {
    padding: 18px 20px
  }
}

.cs {
  height: 100dvh;
  display: grid;
  grid-template-columns: 224px 1fr;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.5
}

.cs[hidden] {
  display: none
}

.sd {
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
  gap: 2px;
  overflow: auto;
  min-height: 0
}

.sd .brand img {
  height: 24px
}

.sd .bt {
  padding: 4px 8px 14px
}

.sd button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: 500 13px Montserrat, sans-serif;
  cursor: pointer
}

.sd button:hover {
  background: var(--soft)
}

.sd button.on {
  background: var(--soft);
  box-shadow: inset 2px 0 0 var(--brass);
  font-weight: 600
}

.sd button b {
  color: var(--brass);
  font-size: 11px;
  width: 16px
}

.sd button i {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  color: var(--muted)
}

.sd .op {
  margin-top: auto;
  padding: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  word-break: break-all
}

.sd .op b {
  display: block;
  color: var(--ink);
  font-weight: 600
}

.mn {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0
}

.tb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-wrap: wrap
}

.tb h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin-right: auto
}

.ch {
  font-size: 11.5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--soft);
  white-space: nowrap
}

.ch b {
  color: var(--brass)
}

.bd {
  padding: 20px;
  overflow: auto;
  flex: 1
}

.kp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 16px
}

.kp div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px
}

.kp span {
  font-size: 11.5px;
  color: var(--muted)
}

.kp b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px
}

.cd {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden
}

.cd h3 {
  font: 600 13px Montserrat, sans-serif;
  letter-spacing: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.cd h3 span {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.tw {
  overflow-x: auto
}

.cd table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px
}

.cd th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 14px;
  background: var(--soft);
  white-space: nowrap
}

.cd td {
  padding: 8px 14px;
  border-top: 1px solid var(--line)
}

.sb2 {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 10px;
  font: 600 12px Montserrat, sans-serif;
  cursor: pointer
}

.sb2:hover {
  background: var(--soft)
}

.sb2.dg {
  color: #d9534f;
  border-color: #d9534f66
}

.sb2:disabled {
  opacity: .45;
  cursor: not-allowed
}

.pl {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft)
}

.pl.g {
  color: #2e9e62
}

.pl.w {
  color: #d08a00
}

.lkv {
  max-width: 400px;
  margin: 70px auto;
  text-align: center;
  color: var(--muted)
}

.lkv b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 6px
}

.md {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, .55);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 16px
}

.md[hidden] {
  display: none
}

.md form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  width: 100%;
  max-width: 380px
}

.md h3 {
  font: 600 14px Montserrat, sans-serif;
  letter-spacing: 0;
  margin-bottom: 8px
}

.md label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px
}

.md input,
.md textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: 400 13px Montserrat, sans-serif
}

.md .btn {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  border-radius: 10px;
  margin-bottom: 8px
}

.ts {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--bg);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12px;
  z-index: 95;
  max-width: 90vw
}

.ts[hidden] {
  display: none
}

@media(max-width:860px) {
  .cs {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr
  }

  .sd {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px
  }

  .sd .bt,
  .sd .op {
    display: none
  }

  .sd button {
    width: auto;
    white-space: nowrap
  }
}

.bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 4px;
  min-width: 90px;
  max-width: 160px
}

.bar i {
  display: block;
  height: 100%;
  background: var(--brass);
  border-radius: 2px
}

.bar i.o {
  background: #d9534f
}

.sb2+.sb2 {
  margin-left: 2px
}

select.sb2 {
  padding: 5px 8px
}

body.pal-blue .cs,
body.pal-blue .gm {
  --brass: #2563eb;
  --navy: #1d4ed8;
  --btn: #2563eb;
  --btn-ink: #fff;
  --bg: #f4f7fe;
  --soft: #eaf0ff;
  --line: #dde5f6
}

@media(prefers-color-scheme:dark) {

  :root:not([data-theme="light"]) body.pal-blue .cs,
  :root:not([data-theme="light"]) body.pal-blue .gm {
    --brass: #6b9bff;
    --navy: #9db8ff;
    --btn: #6b9bff;
    --btn-ink: #0b1222;
    --bg: #0d1424;
    --soft: #17223d;
    --line: #243152
  }
}

:root[data-theme="dark"] body.pal-blue .cs,
:root[data-theme="dark"] body.pal-blue .gm {
  --brass: #6b9bff;
  --navy: #9db8ff;
  --btn: #6b9bff;
  --btn-ink: #0b1222;
  --bg: #0d1424;
  --soft: #17223d;
  --line: #243152
}

.cs {
  grid-template-columns: var(--sw, 236px) 1fr;
  transition: grid-template-columns .2s ease
}

.cs.cl {
  --sw: 68px
}

.sd {
  padding: 12px 10px;
  gap: 1px;
  background: linear-gradient(180deg, var(--surface), var(--bg))
}

.sd .brw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.sd .bt {
  padding: 4px 6px 10px
}

.ng {
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 10px 5px
}

.sd button {
  border-radius: 10px;
  padding: 8px 10px;
  gap: 10px;
  color: var(--muted);
  transition: background .15s, color .15s
}

.sd button:hover {
  background: var(--soft);
  color: var(--ink)
}

.sd button.on {
  background: color-mix(in srgb, var(--brass) 13%, transparent);
  color: var(--brass);
  box-shadow: none
}

.sd svg,
.ib svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.sd .lb {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cs.cl .lb,
.cs.cl .sd i,
.cs.cl .op,
.cs.cl .bt .wm {
  display: none
}

.cs.cl .ng {
  height: 1px;
  background: var(--line);
  margin: 8px 10px;
  padding: 0;
  font-size: 0
}

.cs.cl .sd button {
  justify-content: center;
  padding: 9px
}

.cs.cl .brw {
  flex-direction: column
}

.ib {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex: none
}

.ib:hover {
  background: var(--soft)
}

.sw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 50%, #b8925a 50%)
}

.tb {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px 20px;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 82%, transparent)
}

.ttl {
  margin-right: auto
}

.ttl small {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

.tb h2 {
  margin: 0
}

.kp div,
.cd {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 32, 63, .04), 0 10px 26px -18px rgba(16, 32, 63, .3)
}

.kp div {
  position: relative;
  overflow: hidden
}

.kp div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brass)
}

.kp em {
  font-style: normal;
  font-size: 11px;
  color: #2e9e62
}

.kp em.n {
  color: #d9534f
}

.cd tr:hover td {
  background: color-mix(in srgb, var(--brass) 5%, transparent)
}

.sb2 {
  border-radius: 9px
}

.sb2.on {
  background: var(--brass);
  color: var(--btn-ink);
  border-color: var(--brass)
}

.g2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
  margin-bottom: 14px
}

.g2 .cd {
  margin: 0
}

.pd {
  padding: 14px
}

.rgs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted)
}

.rgs b {
  margin-right: auto;
  color: var(--ink);
  font-size: 14px
}

.cv {
  width: 100%;
  height: auto;
  display: block
}

.cv text {
  fill: var(--muted);
  font: 10px Montserrat, sans-serif
}

.cv line {
  stroke: var(--line)
}

.vb {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px
}

.vb div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  height: 100%
}

.vb i {
  display: block;
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--brass);
  opacity: .85
}

.hb {
  display: grid;
  grid-template-columns: 128px 1fr 64px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin: 9px 0
}

.hb>div {
  height: 8px;
  background: var(--soft);
  border-radius: 4px;
  overflow: hidden
}

.hb i {
  display: block;
  height: 100%;
  background: var(--brass);
  border-radius: 4px
}

.hb em {
  font-style: normal;
  color: var(--muted);
  text-align: right
}

.dn {
  display: flex;
  align-items: center;
  gap: 18px
}

.dn svg {
  width: 120px;
  flex: none
}

.dn ul {
  list-style: none;
  padding: 0;
  font-size: 12px;
  flex: 1
}

.dn li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0
}

.dn li i {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.dn li b {
  margin-left: auto
}

@media(max-width:860px) {
  .cs {
    grid-template-columns: 1fr !important
  }

  .ib[data-cl] {
    display: none
  }

  .hb {
    grid-template-columns: 90px 1fr 56px
  }

  .g2 {
    grid-template-columns: 1fr
  }
}

body.pal-blue .cs,
body.pal-blue .gm {
  --brass: #10203f;
  --navy: #10203f;
  --btn: #10203f;
  --btn-ink: #fff;
  --bg: #f3f5fa;
  --soft: #e9edf6;
  --line: #dbe1ee
}

@media(prefers-color-scheme:dark) {

  :root:not([data-theme="light"]) body.pal-blue .cs,
  :root:not([data-theme="light"]) body.pal-blue .gm {
    --brass: #b9c6e6;
    --navy: #b9c6e6;
    --btn: #f0cf8f;
    --btn-ink: #0a1730;
    --bg: #0d1424;
    --soft: #17223d;
    --line: #243152
  }
}

:root[data-theme="dark"] body.pal-blue .cs,
:root[data-theme="dark"] body.pal-blue .gm {
  --brass: #b9c6e6;
  --navy: #b9c6e6;
  --btn: #f0cf8f;
  --btn-ink: #0a1730;
  --bg: #0d1424;
  --soft: #17223d;
  --line: #243152
}

.cs .sd {
  --navy: #fff;
  background: #10203f;
  border-right: 0;
  color: #e6ebf7
}

.cs .sd button {
  color: #aab6d3
}

.cs .sd button:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.cs .sd button.on {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brass-l)
}

.cs .sd .ng {
  color: #7f8db0
}

.cs.cl .sd .ng {
  background: rgba(255, 255, 255, .14)
}

.cs .sd .op {
  border-color: rgba(255, 255, 255, .14);
  color: #8e9bbd
}

.cs .sd .op b {
  color: #fff
}

.cs .sd .ib {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #fff
}

.cs .sd i {
  color: #8e9bbd
}

.sw {
  background: linear-gradient(135deg, #10203f 50%, #b8925a 50%);
  box-shadow: 0 0 0 1px var(--line)
}

.pd .kv {
  margin: 0
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 14px;
  overflow-x: auto
}

.tabs button {
  background: none;
  border: 0;
  padding: 9px 13px;
  font: 600 12.5px Montserrat, sans-serif;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap
}

.tabs button.on {
  color: var(--ink);
  border-color: var(--brass)
}

.idc {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted)
}

.idc b {
  color: var(--ink)
}

code {
  background: var(--soft);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--ink);
  font: 600 12px ui-monospace, Menlo, monospace
}

.sf {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px
}

.sf input {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 10px;
  font: 400 12px Montserrat, sans-serif;
  background: var(--surface);
  color: var(--ink);
  min-width: 220px;
  margin-left: auto
}

.tl {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px
}

.tl li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line)
}

.tl li:first-child {
  border: 0
}

.tl i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 5px;
  flex: none
}

.tl span {
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap
}

.cd small {
  color: var(--muted);
  font-size: 11px
}

.sd {
  position: relative
}

.sd button {
  position: relative;
  z-index: 1;
  animation: slin .45s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0)*28ms)
}

@keyframes slin {
  from {
    opacity: 0;
    transform: translateX(-10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.ind {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 3px 0 0 var(--brass-l);
  transition: transform .3s cubic-bezier(.4, .1, .2, 1), height .2s, opacity .2s;
  pointer-events: none;
  opacity: 0
}

.cs .sd button.on {
  background: transparent;
  box-shadow: none
}

.sd svg {
  transition: transform .2s
}

.sd button:hover svg {
  transform: translateX(2px) scale(1.1)
}

.sd .lb {
  transition: opacity .15s, max-width .25s, transform .2s;
  max-width: 190px
}

.sd button:hover .lb {
  transform: translateX(2px)
}

.cs.cl .lb {
  display: block;
  opacity: 0;
  max-width: 0;
  flex: 0
}

.bd.an>* {
  animation: rise .4s cubic-bezier(.2, .7, .2, 1) both
}

.bd.an>*:nth-child(n+2) {
  animation-delay: .05s
}

.bd.an>*:nth-child(n+3) {
  animation-delay: .1s
}

.bd.an>*:nth-child(n+4) {
  animation-delay: .15s
}

.kp div,
.cd {
  border-radius: 16px
}

.kp div {
  transition: transform .2s, box-shadow .2s
}

.kp div:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(16, 32, 63, .45)
}

.sb2 {
  transition: background .15s, transform .1s
}

.sb2:active {
  transform: scale(.97)
}

.pl:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px
}

.pl {
  padding: 3px 9px;
  font-weight: 600
}

.tw {
  max-height: 440px;
  overflow: auto
}

.cd th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
  user-select: none
}

.cd th.so {
  cursor: pointer
}

.cd th.so:hover {
  color: var(--ink)
}

.cd th[data-s=asc]:after {
  content: " ▲";
  font-size: 8px;
  color: var(--brass)
}

.cd th[data-s=desc]:after {
  content: " ▼";
  font-size: 8px;
  color: var(--brass)
}

.cd td {
  border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent)
}

.cd tr:first-child td {
  border: 0
}

.gtb,
.pg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted)
}

.gtb {
  border-bottom: 1px solid var(--line)
}

.pg {
  border-top: 1px solid var(--line)
}

.gtb span {
  margin-left: auto
}

.pg span {
  margin-right: auto
}

.gtb input,
.pg select {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 5px 10px;
  background: var(--bg);
  color: var(--ink);
  font: 400 12px Montserrat, sans-serif
}

.gtb input {
  min-width: 200px
}

.sr {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 0 10px;
  height: 32px;
  min-width: 230px
}

.sr svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round
}

.sr input {
  border: 0;
  background: none;
  outline: 0;
  color: var(--ink);
  font: 400 12.5px Montserrat, sans-serif;
  width: 100%
}

.sr:focus-within {
  border-color: var(--brass)
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #10203f;
  color: #fff;
  display: grid;
  place-items: center;
  font: 600 11px Montserrat, sans-serif;
  flex: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line)
}

@media(max-width:860px) {
  .ind {
    display: none
  }

  .cs .sd button.on {
    background: rgba(255, 255, 255, .14)
  }

  .sr {
    display: none
  }
}




/* ============================================================
   SILNA-STYLE SIMPLE, CLEAN HOVER DROPDOWN ARCHITECTURE
   - Navigation order: Platform -> Solutions -> Resources -> Company
   - No dropdown arrow icon
   - No button background pills or borders
   - On hover: Text color changes to #10203f (Silna brand dark purple) without any background change
   - Dropdown panel: Full-width bar across the page
   - Background matches the header background exact color (var(--bg))
   - Content inside dropdown: Starts aligned exactly on the vertical line where Platform starts
   - Clean, light, minimal aesthetic matching reference design
   ============================================================ */

/* Header bar container - Transparent on initial hero, solid on scroll */
:root {
  --nav-h: 74px;
  --header-link: #494554;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --header-link: #d2d8e8;
  }
}

:root[data-theme="dark"] {
  --header-link: #d2d8e8;
}

.nvw {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  padding: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

/* While scrolling: header takes frosted glass background with subtle bottom border */
.nvw.sc {
  background: #f6f3ec !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 4px 20px -4px rgba(16, 32, 63, 0.08) !important;
}

:root[data-theme="dark"] .nvw.sc {
  background: #0f172a !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* When navigation dropdown is open / hovered: header and dropdown share the exact same background with zero seam */
.nvw:has(.has:hover),
.nvw:has(.has.open),
.nvw:has(.mega:hover),
.nvw:has(.has:focus-within) {
  background: var(--bg) !important;
  border-bottom: 1px solid transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.nvw:has(.has:hover) .nv,
.nvw:has(.has.open) .nv,
.nvw:has(.mega:hover) .nv {
  background: var(--bg) !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

/* Progressive enhancement: CSS scroll-driven animation when supported */
@supports (animation-timeline: scroll()) {
  @keyframes header-scroll-bg {
    to {
      background-color: #f6f3ec;
      border-bottom-color: var(--line);
      box-shadow: 0 4px 20px -4px rgba(16, 32, 63, 0.08);
    }
  }

  .nvw:not(.sc) {
    animation: header-scroll-bg linear both;
    animation-timeline: scroll();
    animation-range: 0 20px;
  }
}

.nv,
.nvw.sc .nv {
  width: 100% !important;
  max-width: 1440px !important;
  height: var(--nav-h, 74px) !important;
  margin: 0 auto !important;
  padding: 0 92px !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: static !important;
  /* Allows .mega dropdown to be 100vw full width */
}

/* Hero and page containers merge with header */
.hero {
  margin-top: calc(-1 * var(--nav-h, 74px)) !important;
  padding-top: calc(var(--nav-h, 74px) + 40px) !important;
}

/* Ensure hero container aligns with the header container (max-width 1440px, padding 0 92px) */
.hero .w,
.pgh .w,
.contact-hero-wrap .w {
  max-width: 1440px !important;
  padding: 0 92px !important;
  box-sizing: border-box !important;
}


.pgh {
  margin-top: calc(-1 * var(--nav-h, 74px)) !important;
  padding-top: calc(var(--nav-h, 74px) + 36px) !important;
}

.contact-hero-wrap {
  margin-top: calc(-1 * var(--nav-h, 74px)) !important;
  padding-top: calc(var(--nav-h, 74px) + 36px) !important;
}

/* Brand */
.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: none !important;
  text-decoration: none !important;
}

.brand img {
  height: 32px !important;
  width: auto !important;
}

.wm {
  font-size: 24px !important;
}

/* Nav menu list: full height with ZERO gap so moving between menus is continuous */
.nl {
  display: flex !important;
  align-items: stretch !important;
  height: 100% !important;
  list-style: none !important;
  margin: 0 auto 0 46px !important;
  /* Adjusted to maintain visual spacing after logo */
  gap: 0 !important;
  /* Zero dead zone between items: boundaries touch seamlessly */
  padding: 0 !important;
  position: static !important;
}

.nl>li {
  position: static !important;
  /* Full width mega panel positioning */
  display: flex !important;
  align-items: stretch !important;
  height: 100% !important;
}

/* Simple text link styling: horizontal padding creates comfortable spacing while maintaining seamless hit targets */
.nl>li>a,
.nl>li>button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  gap: 0 !important;
  padding: 0 18px !important;
  /* 18px on each side = 36px between label text, with zero dead zone */
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--header-link, #494554) !important;
  font: 500 15px/1.4 Montserrat, system-ui, sans-serif !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: color 0.15s ease !important;
}

/* REMOVE DROPDOWN ARROW ICON COMPLETELY */
.has>button::after,
.has.open>button::after,
.has:hover>button::after,
.nl>li>a::after {
  display: none !important;
  content: none !important;
}

/* ON HOVER: Color changes smoothly WITHOUT ANY BACKGROUND CHANGE */
.nl>li>a:hover,
.nl>li>button:hover,
.has.open>button,
.has:hover>button {
  background: transparent !important;
  color: var(--ink, #10203f) !important;
}

/* Active indicator if on current group */
.nl>li>button.act {
  color: var(--ink, #10203f) !important;
}

/* Remove dot under active nav item */
.nl .act::before {
  display: none !important;
  content: none !important;
}

/* Remove tripwires that caused full-width unwanted dropdown triggers */
.has::before,
.mega::before {
  display: none !important;
  content: none !important;
}

/* FULL-WIDTH DROPDOWN SECTION ACROSS ENTIRE VIEWPORT
   Background matches the header background exact color (var(--bg)) */
.mega {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  background: var(--bg) !important;
  border: none !important;
  border-top: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: 0 20px 40px -15px rgba(16, 32, 63, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
  z-index: 99 !important;
  box-sizing: border-box !important;
}

/* On hover of nav item, open ITS mega menu */
.has:hover>.mega {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* On mobile / click toggle */
.has.open>.mega {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* INNER DROPDOWN GRID:
   Starts aligned EXACTLY on the vertical line where Platform navigation menu starts (--platform-left-offset) */
.mega-content-box {
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 36px 44px 40px !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(380px, 450px)) !important;
  gap: 16px 64px !important;
  padding-left: calc(var(--platform-left-offset, 250px) + 14px) !important;
}

/* Two equal columns with consistent item alignment */
.mc {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Column titles: Minimal, subtle uppercase */
.mc h6 {
  font: 700 11px Montserrat, sans-serif !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #7b7489 !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}

/* Dropdown list items: Simple, clean without box background */
.mi {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: transform 0.15s ease !important;
}

.mi:hover {
  background: transparent !important;
  transform: translateX(3px) !important;
}

.mic {
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  color: #494554 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: grid !important;
  place-items: center !important;
  margin-top: 1px !important;
  flex: none !important;
  transition: color 0.15s ease !important;
}

.mi:hover .mic {
  color: var(--brass, #b8925a) !important;
}

.mic svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 1.7 !important;
}

.item-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.mi b {
  display: block !important;
  font: 600 15px/1.3 Montserrat, sans-serif !important;
  color: var(--ink) !important;
  margin-bottom: 3px !important;
  transition: color 0.15s ease !important;
}

.mi:hover b {
  color: var(--ink, #10203f) !important;
}

.mi span,
.item-text span {
  display: block !important;
  color: #6a6476 !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

@media (min-width: 1081px) {

  .mi b,
  .mi span,
  .item-text span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Right header actions: Sign In & Get started */
.nr {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  flex: none !important;
}

.lg {
  font: 500 15px/1.4 Montserrat, sans-serif !important;
  color: var(--header-link, #494554) !important;
  padding: 8px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: color .15s ease !important;
}

.lg:hover {
  color: var(--ink, #10203f) !important;
  background: transparent !important;
}

.nr .btn.hd2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ink, #10203f) !important;
  color: #ffffff !important;
  font: 600 14.5px Montserrat, sans-serif !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px -4px rgba(16, 32, 63, 0.4) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.nr .btn.hd2:hover {
  background: var(--ink, #10203f) !important;
  /* Keep original background color unchanged on hover */
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 1080px) {
  :root {
    --nav-h: 68px;
  }

  .nv,
  .nvw.sc .nv {
    height: 68px !important;
    padding: 0 16px !important;
    justify-content: space-between !important;
  }

  .hero .w,
  .pgh .w,
  .contact-hero-wrap .w {
    padding: 0 16px !important;
  }

  /* Hamburger Menu Toggle Button */
  .bgr {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 12px !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: 8px !important;
    z-index: 1010 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: 0 2px 8px rgba(16, 32, 63, 0.06) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .bgr:active,
  .bgr.active {
    background: var(--soft) !important;
    border-color: var(--brass) !important;
    color: var(--brass) !important;
    transform: scale(0.96) !important;
  }

  .bgr .bgr-open-icon {
    display: block !important;
  }
  .bgr .bgr-close-icon {
    display: none !important;
  }

  .bgr.active .bgr-open-icon,
  .bgr[aria-expanded="true"] .bgr-open-icon {
    display: none !important;
  }
  .bgr.active .bgr-close-icon,
  .bgr[aria-expanded="true"] .bgr-close-icon {
    display: block !important;
  }

  /* Clean, Simple Mobile Navigation Menu Dropdown */
  .nl {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100vh - 96px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 48px -12px rgba(16, 32, 63, 0.25) !important;
    padding: 14px !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
  }

  .nl.show {
    display: flex !important;
    animation: mobileNavFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes mobileNavFade {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nl > li {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Main Category Buttons inside mobile menu */
  .nl > li > a,
  .nl > li > button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    padding: 13px 16px !important;
    font: 600 15px/1.3 Montserrat, sans-serif !important;
    color: var(--ink) !important;
    background: var(--soft) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  /* Chevron indicator for expandable categories */
  .has > button::after {
    display: block !important;
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid var(--muted) !important;
    border-bottom: 2px solid var(--muted) !important;
    transform: rotate(45deg) translateY(-2px) !important;
    transition: transform 0.2s ease !important;
  }

  .has.open > button::after {
    transform: rotate(-135deg) translateY(-2px) !important;
  }

  /* Submenu Dropdown Container */
  .mega {
    display: none !important;
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 4px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .has.open > .mega {
    display: block !important;
  }

  .mega-content-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mc {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* Individual Menu Link Item */
  .mi {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: rgba(16, 32, 63, 0.03) !important;
    border: 1px solid rgba(16, 32, 63, 0.05) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
    transition: background 0.15s ease !important;
  }

  .mi:active,
  .mi:hover {
    background: rgba(16, 32, 63, 0.08) !important;
  }

  .mi .mic {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mi .mic svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mi .item-text {
    flex: 1 !important;
  }

  .mi .item-text b {
    display: block !important;
    font: 600 13.5px/1.3 Montserrat, sans-serif !important;
    color: var(--ink) !important;
  }

  .mi .item-text span {
    display: block !important;
    font: 400 11.5px/1.3 Montserrat, sans-serif !important;
    color: var(--muted) !important;
    margin-top: 1px !important;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 64px;
  }

  .nv,
  .nvw.sc .nv {
    height: 64px !important;
    padding: 0 16px !important;
  }

  .hero .w,
  .pgh .w,
  .contact-hero-wrap .w {
    padding: 0 16px !important;
  }

  .hero {
    padding-top: calc(var(--nav-h, 64px) + 22px) !important;
  }

  .pgh {
    padding-top: calc(var(--nav-h, 64px) + 22px) !important;
  }

  .contact-hero-wrap {
    padding-top: calc(var(--nav-h, 64px) + 22px) !important;
  }
}

/* ============================================================
   FOOTER CONTAINER ALIGNMENT & FULL-WIDTH SEPARATOR
   - Left and right alignment matches header container (.nv: max-width 1440px, padding 0 44px)
   - Clean, equal, balanced spacing across all columns (Brand + Platform, Solutions, Resources, Company)
   - Left-aligned text across all columns for a clean, cohesive look
   - The footer <hr> line spans full width edge-to-edge
   ============================================================ */
.ft .w {
  max-width: 1440px !important;
  padding: 0 92px !important;
  box-sizing: border-box !important;
}

.ft .fg {
  display: grid !important;
  grid-template-columns: 1fr auto auto auto !important;
  gap: 36px 64px !important;
  align-items: flex-start !important;
}

.ft .fg>div:nth-child(2),
.ft .fg>div:nth-child(3) {
  margin-right: 48px !important;
}

.ft .fg>div {
  margin-left: 0 !important;
  text-align: left !important;
  justify-self: auto !important;
}

.ft .fg ul {
  list-style: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.ft .ft-brand-wrap p {
  max-width: 280px !important;
  line-height: 1.65 !important;
}

.ft hr {
  width: 100% !important;
  max-width: 100% !important;
  margin: 52px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
}

@media (max-width: 1080px) {
  .ft .w {
    padding: 0 20px !important;
  }

  .ft .fg {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
  }

  .ft .fg>div:first-child {
    grid-column: 1 / -1 !important;
  }

  .ft .fg>div:nth-child(2) {
    margin-left: 0 !important;
  }

  .ft .ft-col-company {
    text-align: left !important;
    justify-self: start !important;
  }

  .ft .ft-col-company ul {
    align-items: flex-start !important;
  }
}

@media (max-width: 768px) {
  .ft .fg {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ============================================================
   PRE-FOOTER CTA SECTION (.prefooter-cta)
   ============================================================ */
.prefooter-cta-sec {
  padding-top: 52px !important;
  padding-bottom: 108px !important;
  position: relative;
}

@media (max-width: 768px) {
  .prefooter-cta-sec {
    padding-top: 48px !important;
    padding-bottom: 60px !important;
  }
}

.prefooter-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #10203f 0%, #15264a 55%, #1a2f5a 100%);
  color: #fff;
  padding: 68px 48px;
  text-align: center;
  border: 1px solid rgba(240, 207, 143, 0.22);
  box-shadow: 0 30px 70px -25px rgba(16, 32, 63, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  isolation: isolate;
}

:root[data-theme="dark"] .prefooter-cta-box,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prefooter-cta-box {
    background: linear-gradient(135deg, #0d172c 0%, #132242 55%, #182a52 100%);
    border-color: rgba(240, 207, 143, 0.28);
    box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
}

.prefooter-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 146, 90, 0.28) 0%, rgba(240, 207, 143, 0.12) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

/* Schematic / Promo schematic checkbox-grid background pattern (exact 56px size matching promo video) */
.prefooter-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(240, 207, 143, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 207, 143, 0.35) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 85%);
}

.prefooter-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(240, 207, 143, 0.12);
  border: 1px solid rgba(240, 207, 143, 0.32);
  color: var(--brass-l, #f0cf8f);
  font: 600 11.5px Montserrat, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.prefooter-cta-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-l, #f0cf8f);
  box-shadow: 0 0 8px var(--brass-l, #f0cf8f);
}

.prefooter-cta-box h2 {
  font-size: clamp(30px, 4.8vw, 50px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  max-width: 820px !important;
  margin: 0 auto 16px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.prefooter-cta-box p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(16px, 2vw, 18.5px) !important;
  line-height: 1.6 !important;
  max-width: 680px !important;
  margin: 0 auto 34px !important;
  font-weight: 400 !important;
}

.prefooter-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0cf8f 0%, #b8925a 100%);
  color: #10203f !important;
  font: 600 16px Montserrat, sans-serif;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(240, 207, 143, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, filter 0.22s ease;
  text-decoration: none;
}

.prefooter-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px -10px rgba(240, 207, 143, 0.7), 0 6px 14px rgba(0, 0, 0, 0.2);
  filter: brightness(1.04);
}

.prefooter-cta-btn:active {
  transform: translateY(0) scale(0.99);
}

.prefooter-cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.prefooter-cta-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .prefooter-cta-sec {
    padding: 48px 0 !important;
  }

  .prefooter-cta-box {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .prefooter-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
}


/* ==========================================================================
   FieldTick Floating Contact Hub Widget
   ========================================================================== */
.ft-contact-hub {
  position: fixed !important;
  right: 22px !important;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  pointer-events: none !important;
}

.ft-contact-hub * {
  box-sizing: border-box;
}

/* Floating Trigger Button */
.ft-contact-trigger {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(16, 32, 63, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.2s ease;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

:root[data-theme="dark"] .ft-contact-trigger,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ft-contact-trigger {
    background: var(--brass);
    color: #0d1424;
    border-color: rgba(255, 255, 255, 0.15);
  }
}

.ft-contact-trigger.on {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* On mobile / tablet, ensure chat icon is always visible and immediately tappable */
@media (max-width: 1080px) {
  .ft-contact-trigger {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }
}

.ft-contact-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px -4px rgba(16, 32, 63, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ft-contact-trigger svg,
.ft-contact-trigger span {
  pointer-events: none !important;
}

.ft-contact-trigger svg {
  width: 26px;
  height: 26px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.ft-contact-trigger .ft-icon-close {
  display: none;
}

.ft-contact-trigger[aria-expanded="true"] .ft-icon-chat {
  display: none;
}

.ft-contact-trigger[aria-expanded="true"] .ft-icon-close {
  display: block;
}

/* Online indicator pulse dot */
.ft-trigger-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: ftPulse 2s infinite;
}

@keyframes ftPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Contact Hub Card Popup */
.ft-hub-card {
  pointer-events: none !important;
  display: none !important;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -15px rgba(16, 32, 63, 0.35), 0 10px 24px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 14px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.ft-hub-card.open {
  display: block !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}



/* Hub Card Header */
.ft-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.ft-hub-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-hub-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.ft-hub-title b {
  display: block;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.2;
}

.ft-hub-title small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.2;
}

.ft-hub-close {
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.ft-hub-close:hover {
  color: var(--ink);
}

/* Hub Options Body */
.ft-hub-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-hub-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ft-hub-opt:hover {
  background: var(--soft);
  border-color: var(--line);
  transform: translateX(2px);
}

.ft-hub-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ft-hub-icon svg {
  width: 20px;
  height: 20px;
}

.ft-ico-wa {
  background: #e7f9ee;
  color: #128C7E;
}

:root[data-theme="dark"] .ft-ico-wa {
  background: rgba(37, 211, 102, 0.16);
  color: #25D366;
}

.ft-ico-call {
  background: #ebf3ff;
  color: #1e60d5;
}

:root[data-theme="dark"] .ft-ico-call {
  background: rgba(66, 133, 244, 0.16);
  color: #70a6ff;
}

.ft-ico-mail {
  background: #fdf2e9;
  color: #d97706;
}

:root[data-theme="dark"] .ft-ico-mail {
  background: rgba(245, 158, 11, 0.16);
  color: #fbb040;
}

.ft-ico-form {
  background: #f3e8ff;
  color: #7c3aed;
}

:root[data-theme="dark"] .ft-ico-form {
  background: rgba(168, 85, 247, 0.16);
  color: #c084fc;
}

.ft-hub-opt-text {
  flex: 1;
  min-width: 0;
}

.ft-hub-opt-text b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.ft-hub-opt-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ft-hub-arr {
  color: var(--muted);
  font-size: 14px;
  opacity: 0.6;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ft-hub-opt:hover .ft-hub-arr {
  opacity: 1;
  transform: translateX(2px);
}

/* Quick Form Embedded View */
.ft-hub-form-panel {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  animation: ftSlideIn 0.2s ease;
}

.ft-hub-form-panel[hidden] {
  display: none;
}

@keyframes ftSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ft-form-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ft-form-panel-header b {
  font-size: 14px;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  color: var(--ink);
}

.ft-form-back {
  background: transparent;
  border: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brass);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}

.ft-form-back:hover {
  text-decoration: underline;
}

.ft-hub-form-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ft-hub-form-panel input,
.ft-hub-form-panel textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 12.5px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ft-hub-form-panel input:focus,
.ft-hub-form-panel textarea:focus {
  border-color: var(--navy);
  background: var(--surface);
  outline: none;
}

.ft-form-success {
  margin-top: 6px;
  padding: 8px 10px;
  background: #e7f9ee;
  color: #128C7E;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
}

:root[data-theme="dark"] .ft-form-success {
  background: rgba(37, 211, 102, 0.16);
  color: #25D366;
}

@media (max-width: 1080px) {
  .ft-contact-hub {
    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99999 !important;
  }

  .ft-contact-trigger {
    width: 52px !important;
    height: 52px !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .ft-contact-trigger svg {
    width: 24px !important;
    height: 24px !important;
    pointer-events: none !important;
  }

  .ft-hub-card {
    width: calc(100vw - 36px) !important;
    max-width: 380px !important;
  }
}

@media (max-width: 520px) {
  .ft-contact-hub {
    right: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ft-contact-trigger {
    width: 48px !important;
    height: 48px !important;
  }

  .ft-contact-trigger svg {
    width: 22px !important;
    height: 22px !important;
  }

  .ft-hub-card {
    width: calc(100vw - 28px) !important;
  }
}

body.gmode .ft-contact-hub {
  display: none !important;
}

/* ==========================================================================
   Home Blog Section (Before FAQ)
   ========================================================================== */
#h-blog {
  padding-top: 52px;
  padding-bottom: 52px;
}

.ft-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.ft-blog-header .eb {
  margin-bottom: 10px;
}

.ft-blog-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  max-width: 680px;
}

.ft-blog-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ft-blog-viewall svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.ft-blog-viewall:hover {
  background: var(--btn);
  color: var(--btn-ink);
  border-color: var(--btn);
  transform: translateY(-1px);
}

.ft-blog-viewall:hover svg {
  transform: translateX(3px);
}

.ft-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 3D Framed Blog Cards matching Module & Customer Stories Theme - Kept Straight */
.ft-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 24px 48px -18px rgba(16, 32, 63, 0.14),
    0 8px 20px -8px rgba(16, 32, 63, 0.08),
    0 0 0 1px rgba(16, 32, 63, 0.05);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

:root[data-theme=dark] .ft-blog-card {
  background: #141f36;
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.45),
    0 8px 20px -8px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Balanced 3D elevation on hover: smooth lift straight up with warm brass edge glow */
.ft-blog-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 36px 72px -20px rgba(16, 32, 63, 0.22),
    0 12px 28px -10px rgba(184, 146, 90, 0.22),
    0 0 0 1.5px rgba(184, 146, 90, 0.5);
  z-index: 5;
}

/* Inner content block nested inside the 12px white frame */
.ft-blog-card-inner {
  position: relative;
  background: var(--surface, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}

:root[data-theme=dark] .ft-blog-card-inner {
  background: #101a2f;
}

.ft-blog-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: var(--soft, #f4f6fa);
  border-bottom: 1px solid var(--line, rgba(16, 32, 63, 0.08));
}

.ft-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-blog-card:hover .ft-blog-img-wrap img {
  transform: scale(1.04);
}

.ft-blog-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.ft-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ft-blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass, #b8925a);
  background: rgba(184, 146, 90, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.ft-blog-readtime {
  font-size: 12px;
  color: var(--muted);
}

.ft-blog-card h3 {
  font-size: 18.5px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--ink, #10203f);
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  letter-spacing: -0.01em;
}

.ft-blog-card p {
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.ft-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brass, #b8925a);
  margin-top: auto;
  transition: gap 0.25s ease, color 0.2s ease;
}

.ft-blog-card:hover .ft-blog-cta {
  gap: 10px;
  color: var(--navy, #10203f);
}

:root[data-theme=dark] .ft-blog-card:hover .ft-blog-cta {
  color: #ffffff;
}

@media (max-width: 960px) {
  .ft-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .ft-blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-blog-card,
  .ft-blog-grid .ft-blog-card:nth-child(1),
  .ft-blog-grid .ft-blog-card:nth-child(2),
  .ft-blog-grid .ft-blog-card:nth-child(3) {
    transform: none !important;
  }
}

/* ==========================================================================
   Case Studies & Customer Logos Section (Before Blog)
   ========================================================================== */
.ft-case-studies-sec {
  background: var(--bg);
  padding: 84px 0 52px;
}

.ft-logos-strip {
  margin-bottom: 56px;
  text-align: center;
}

.ft-logos-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.ft-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 46px;
  flex-wrap: wrap;
}

.ft-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.78;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.ft-logo-item svg {
  width: 20px;
  height: 20px;
  color: var(--brass);
}

.ft-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--brass);
}

.ft-case-header {
  margin-bottom: 24px;
}

.ft-case-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  max-width: 660px;
}

/* Interactive Customer Stories (LHS Running Timeline & Selector | RHS Changing Card) */
.ft-stories-interactive {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  /* Vertically centered */
  margin-top: 12px;
}

.ft-stories-lhs {
  display: flex;
  flex-direction: column;
}

.ft-stories-text-block {
  margin-bottom: 24px;
  min-height: 104px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* User requirement: title bold, description as is like the solution & problem */
.ft-stories-title-display {
  font-family: inherit !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: var(--ink, #10203f) !important;
  margin: 0 0 10px 0 !important;
}

.ft-stories-desc-display {
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--muted, #64748b) !important;
  margin: 0 !important;
}

.ft-stories-progress-track {
  width: 100%;
  height: 2px;
  background: var(--line, #e2e8f0);
  position: relative;
  margin-bottom: 32px;
  border-radius: 2px;
}

.ft-stories-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #1a4d3e;
  border-radius: 2px;
  transition: width 0.05s linear;
}

:root[data-theme="dark"] .ft-stories-progress-bar {
  background: #4ade80;
}

.ft-stories-progress-dot {
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a4d3e;
  box-shadow: 0 0 0 3px rgba(26, 77, 62, 0.2);
}

:root[data-theme="dark"] .ft-stories-progress-dot {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

/* Story Navigation (4 Simple Stories - Clean Text Grid, Active Highlighted) */
.ft-stories-nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  width: 100%;
  margin-bottom: 32px;
}

.ft-story-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: inherit;
  color: inherit;
}

.ft-story-nav-btn:hover {
  border: none;
  background: transparent;
  transform: none;
}

.ft-story-nav-btn:hover .ft-story-nav-name {
  color: var(--ink, #10203f);
  opacity: 0.85;
}

.ft-story-nav-btn.is-active {
  background: transparent;
  border: none;
  box-shadow: none;
}

.ft-story-nav-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted, #8a99a8);
  opacity: 0.65;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ft-story-nav-btn.is-active .ft-story-nav-name {
  color: #1a4d3e !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

:root[data-theme="dark"] .ft-story-nav-btn.is-active .ft-story-nav-name {
  color: #4ade80 !important;
}

.ft-stories-lhs-action {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.ft-stories-viewall-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink, #10203f) !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  background: var(--surface, #ffffff) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  text-align: center !important;
  cursor: pointer;
}

.ft-stories-viewall-btn svg {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.2s ease !important;
  color: inherit !important;
}

.ft-stories-viewall-btn:hover {
  background: var(--ink, #10203f) !important;
  color: #ffffff !important;
  border-color: var(--ink, #10203f) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -6px rgba(16, 32, 63, 0.25) !important;
}

.ft-stories-viewall-btn:hover svg {
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

@media (max-width: 768px) {
  .ft-stories-nav-list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }
}

/* RHS 3D Tilt Story Cards (Poster Visual Layout with Multi-Layer Parallax & Volumetric Shadows) */
.ft-stories-rhs {
  position: relative;
  width: 100%;
  perspective: 1400px;
  display: flex;
  justify-content: flex-end;
  align-self: center;
  margin-top: 0;
}

.ft-stories-cards-stack {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 4.4;
  min-height: 440px;
  transform-style: preserve-3d;
}

.ft-3d-story-card {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 12px;
  /* Generous 12px white space border matching module cards */
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background: #ffffff;
  cursor: pointer;
  /* Entire card is clickable to explore case study */
  /* Balanced, refined tactile shadow */
  box-shadow:
    0 24px 50px -16px rgba(16, 32, 63, 0.22),
    0 8px 20px -8px rgba(16, 32, 63, 0.12),
    0 0 0 1px rgba(16, 32, 63, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  will-change: transform;
}

/* Distinct, natural resting 3D angles for each story card */
.ft-3d-story-card[data-index="0"].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotateX(4deg) rotateY(-5.5deg) rotateZ(-1.8deg) translateY(0);
}

.ft-3d-story-card[data-index="1"].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotateX(-3deg) rotateY(6deg) rotateZ(1.6deg) translateY(-2px);
}

.ft-3d-story-card[data-index="2"].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotateX(5deg) rotateY(4.5deg) rotateZ(-1.2deg) translateY(2px);
}

.ft-3d-story-card[data-index="3"].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotateX(-4deg) rotateY(-6deg) rotateZ(1.8deg) translateY(-1px);
}

.ft-3d-story-card:hover {
  box-shadow:
    0 36px 72px -18px rgba(16, 32, 63, 0.28),
    0 12px 28px -8px rgba(184, 146, 90, 0.3),
    0 0 0 1.5px rgba(184, 146, 90, 0.6);
  z-index: 5;
}

/* Atmospheric Background Gradients with Texture */
.ft-3d-card-bg {
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  z-index: 0;
  overflow: hidden;
}

/* Specular Light Flare reflecting across 3D glass surface */
.ft-3d-card-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.22) 0%, transparent 45%);
  pointer-events: none;
  transform: rotate(-15deg);
  transition: opacity 0.4s ease;
}

.ft-3d-story-card:hover .ft-3d-card-bg::after {
  opacity: 1.2;
}

/* Story 1: Apex Industrial Services - Brand Navy + Warm Brass Accent */
.ft-3d-bg-apex {
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 146, 90, 0.42), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(16, 32, 63, 0.9), transparent 60%),
    linear-gradient(135deg, #10203f 0%, #162a52 45%, #0c1830 100%);
}

/* Story 2: Vanguard Consumer Goods - Brand Navy + Rich Amber-Brass */
.ft-3d-bg-vanguard {
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 207, 143, 0.38), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(184, 146, 90, 0.3), transparent 60%),
    linear-gradient(140deg, #132242 0%, #0d172c 55%, #1b305c 100%);
}

/* Story 3: Zenith Facilities Maintenance - Deep Operations Forest + Brass */
.ft-3d-bg-zenith {
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 146, 90, 0.38), transparent 50%),
    radial-gradient(circle at 20% 85%, rgba(26, 77, 62, 0.5), transparent 60%),
    linear-gradient(135deg, #102820 0%, #10203f 60%, #0c1830 100%);
}

/* Story 4: City Healthcare Supplies - Night Sky Navy + Soft Brass Glow */
.ft-3d-bg-city {
  background:
    radial-gradient(circle at 75% 25%, rgba(240, 207, 143, 0.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(145deg, #0e1c38 0%, #10203f 50%, #0a1428 100%);
}

/* Vignette Overlay for Depth & Contrast */
.ft-3d-card-overlay {
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 32, 63, 0.2) 0%, transparent 40%, rgba(10, 20, 40, 0.76) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Schematic checkbox grid lines inside card matching promo video */
.ft-3d-card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%);
}

/* Card Header - Clean subtle elevation */
.ft-3d-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 14px 0;
  transform: translateZ(16px);
  transform-style: preserve-3d;
}

.ft-3d-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ft-3d-card-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ft-3d-card-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.ft-3d-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transform: translateZ(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  /* Passes clicks directly to parent card */
}

.ft-3d-card-arrow svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s ease;
}

.ft-3d-story-card:hover .ft-3d-card-arrow {
  background: #ffffff;
  color: var(--navy, #10203f);
  transform: translateZ(26px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ft-3d-story-card:hover .ft-3d-card-arrow svg {
  transform: translate(2px, -2px);
}

/* Card Bottom Pill Button - Subtle natural elevation */
.ft-3d-card-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 14px 14px;
  transform: translateZ(18px);
  transform-style: preserve-3d;
}

.ft-3d-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  pointer-events: none;
  /* Allows entire card to seamlessly capture the click */
}

.ft-3d-story-card:hover .ft-3d-card-btn {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateZ(24px) translateY(-2px);
  box-shadow:
    0 12px 30px -4px rgba(0, 0, 0, 0.36),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.ft-case-verified {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a4d3e;
}

:root[data-theme="dark"] .ft-case-verified {
  color: #4ade80;
}

.ft-case-client {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.ft-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ft-case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.2s ease;
  position: relative;
}

.ft-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 24px 48px -24px rgba(16, 32, 63, 0.4);
}

.ft-case-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ft-case-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.ft-case-stat {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

:root[data-theme="dark"] .ft-case-stat {
  color: var(--brass);
}

.ft-case-stat-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.ft-case-card h3 {
  font-family: inherit !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: var(--ink, #10203f) !important;
  margin: 0 0 10px 0 !important;
}

.ft-case-card p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  margin: 0 0 18px 0;
}

.ft-case-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex-grow: 1;
  background: var(--soft);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.ft-case-step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
  line-height: 1.45;
}

.ft-case-step b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.ft-case-step span {
  color: var(--muted);
}

.ft-case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brass);
  margin-top: auto;
  transition: gap 0.2s ease;
}

.ft-case-card:hover .ft-case-link {
  gap: 10px;
}

@media (max-width: 960px) {
  .ft-stories-interactive {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ft-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ft-stories-interactive {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ft-stories-text-block {
    min-height: auto;
  }

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

  .ft-case-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-case-card {
    padding: 24px;
  }

  .ft-logos-grid {
    gap: 12px;
  }

  .ft-logo-item {
    font-size: 14px;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   Business Value Matrix Section (Between Proof and Blog)
   ========================================================================== */
.ft-value-sec {
  background: var(--soft);
  padding: 84px 0;
}

.ft-value-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.ft-value-head h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  margin: 0 0 14px;
}

.ft-value-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.ft-value-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 40px -20px rgba(16, 32, 63, 0.2);
}

.ft-value-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ft-value-table thead th {
  background: var(--soft);
  padding: 18px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

:root[data-theme="dark"] .ft-value-table thead th {
  color: var(--brass);
}

.ft-value-table thead th:last-child {
  background: color-mix(in srgb, var(--brass) 15%, var(--soft));
  color: var(--ink);
}

.ft-value-table tbody td {
  padding: 20px 24px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
  color: var(--muted);
}

.ft-value-table tbody tr:last-child td {
  border-bottom: 0;
}

.ft-value-table tbody tr:hover td {
  background: color-mix(in srgb, var(--soft) 40%, transparent);
}

.ft-value-table td.col-pillar {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  white-space: nowrap;
}

.ft-value-table td.col-pillar i {
  display: block;
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ft-value-table td.col-val {
  background: color-mix(in srgb, var(--brass) 6%, transparent);
  color: var(--ink);
  font-weight: 600;
}

.ft-value-table td.col-val b {
  display: block;
  color: var(--navy);
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 16px;
  margin-bottom: 2px;
}

:root[data-theme="dark"] .ft-value-table td.col-val b {
  color: var(--brass);
}

/* ==========================================================================
   Integrations - The Ecosystem Section (Redesigned before Case Studies)
   ========================================================================== */
/* ============================================================
   INTEGRATIONS / ECOSYSTEM - SUBSECTION UNDER PRODUCT MODULES
   ============================================================ */
#h-product {
  padding-bottom: 0 !important;
}

.ft-ecosystem-subsection {
  margin-top: 64px;
  margin-bottom: 84px;
  position: relative;
  width: 100%;
}

.ft-eco-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ft-eco-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink, #10203f) !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

/* Integration Logos Strip - Strictly one line, larger sizes, aligned on RHS */
.ft-eco-logos-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 8px 10px 8px 0;
  overflow: visible;
}

.ft-eco-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ft-eco-logo-img {
  max-height: 48px;
  max-width: 135px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.76;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  user-select: none;
}

.ft-eco-logo-slack {
  max-height: 34px !important;
  max-width: 34px !important;
  transform-origin: center right;
}

.ft-eco-logo-item:hover .ft-eco-logo-img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.12);
}

.ft-eco-logo-item:hover .ft-eco-logo-slack {
  transform: scale(1.12);
}

@media(max-width: 1100px) {
  .ft-eco-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .ft-eco-logos-strip {
    justify-content: flex-start;
    width: 100%;
    gap: 24px;
    padding-bottom: 4px;
  }

  .ft-eco-logo-img {
    max-height: 44px;
    max-width: 120px;
  }
}

@media(max-width: 600px) {
  .ft-ecosystem-subsection {
    margin-top: 48px;
    margin-bottom: 60px;
  }

  .ft-eco-title {
    font-size: 22px !important;
  }

  .ft-eco-logo-img {
    max-height: 38px;
    max-width: 105px;
  }
}


/* ============================================================
   EXPERIENCE SECTION - PRODUCT MODULE CARDS (Tilted 3D Isometric Cards)
   ============================================================ */
.ft-mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  align-items: stretch;
  perspective: 1200px;
  padding: 24px 0 32px;
}

/* Outer white card container with large rounded corners and natural 3D tilt */
.ft-mod-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px;
  box-shadow:
    0 24px 48px -18px rgba(16, 32, 63, 0.14),
    0 8px 20px -8px rgba(16, 32, 63, 0.08),
    0 0 0 1px rgba(16, 32, 63, 0.05);
  display: flex;
  flex-direction: column;
  /* Natural isometric 3D tilt */
  transform: rotate3d(1, -0.6, 0.4, 7deg) rotateZ(-2.5deg);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* On hover: straighten out completely with elevated shadow and crisp edge */
.ft-mod-card:hover {
  transform: rotate3d(0, 0, 0, 0deg) rotateZ(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 36px 72px -20px rgba(16, 32, 63, 0.22),
    0 12px 28px -10px rgba(184, 146, 90, 0.2),
    0 0 0 1.5px rgba(184, 146, 90, 0.5);
  z-index: 5;
}

/* Subtle staggered natural tilts for the 3 cards */
.ft-mod-grid .ft-mod-card:nth-child(1) {
  transform: rotate3d(0.8, -0.7, 0.3, 8deg) rotateZ(-3.2deg);
}

.ft-mod-grid .ft-mod-card:nth-child(2) {
  transform: rotate3d(1, -0.4, 0.3, 6.5deg) rotateZ(-1.8deg) translateY(-4px);
}

.ft-mod-grid .ft-mod-card:nth-child(3) {
  transform: rotate3d(0.9, -0.6, 0.4, 8.5deg) rotateZ(-3deg);
}

.ft-mod-grid .ft-mod-card:nth-child(1):hover,
.ft-mod-grid .ft-mod-card:nth-child(2):hover,
.ft-mod-grid .ft-mod-card:nth-child(3):hover {
  transform: rotate3d(0, 0, 0, 0deg) rotateZ(0deg) translateY(-10px) scale(1.02);
}

/* Inner inset canvas container with soft gray/cream background and grid lines */
.ft-mod-card-inner {
  position: relative;
  background: #f8f8fa;
  border-radius: 20px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 290px;
  overflow: visible;
}

/* Subtle grid overlay across the inner box */
.ft-mod-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Top category tag / module indicator */
.ft-mod-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.ft-mod-tag-icon {
  width: 22px;
  height: 22px;
  color: #0f172a;
  flex-shrink: 0;
}

/* Bottom text block */
.ft-mod-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 60%;
  padding-bottom: 2px;
}

.ft-mod-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 8px 0;
}

.ft-mod-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Floating character illustration asset emerging from bottom right */
.ft-mod-char {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 135px;
  height: 155px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(16, 32, 63, 0.18));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-mod-card:hover .ft-mod-char {
  transform: scale(1.06) translate(-2px, -2px);
}

/* Sub-row 3 pillars cards with matching 3D tilt */
.ft-sub-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  align-items: stretch;
  perspective: 1200px;
  margin-top: 36px;
  padding-bottom: 24px;
}

/* Outer white card container with large rounded corners and 3D tilt */
.ft-sub-pill-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px;
  box-shadow:
    0 20px 42px -16px rgba(16, 32, 63, 0.12),
    0 8px 18px -8px rgba(16, 32, 63, 0.06),
    0 0 0 1px rgba(16, 32, 63, 0.05);
  display: flex;
  flex-direction: column;
  transform: rotate3d(1, -0.6, 0.4, 6.5deg) rotateZ(-2.2deg);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Subtle staggered tilts matching the row above */
.ft-sub-pill-grid .ft-sub-pill-card:nth-child(1) {
  transform: rotate3d(0.8, -0.7, 0.3, 7.5deg) rotateZ(-2.8deg);
}

.ft-sub-pill-grid .ft-sub-pill-card:nth-child(2) {
  transform: rotate3d(1, -0.4, 0.3, 6deg) rotateZ(-1.5deg) translateY(-3px);
}

.ft-sub-pill-grid .ft-sub-pill-card:nth-child(3) {
  transform: rotate3d(0.9, -0.6, 0.4, 8deg) rotateZ(-2.6deg);
}

/* Hover straightens up */
.ft-sub-pill-card:hover,
.ft-sub-pill-grid .ft-sub-pill-card:nth-child(1):hover,
.ft-sub-pill-grid .ft-sub-pill-card:nth-child(2):hover,
.ft-sub-pill-grid .ft-sub-pill-card:nth-child(3):hover {
  transform: rotate3d(0, 0, 0, 0deg) rotateZ(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 32px 64px -18px rgba(16, 32, 63, 0.2),
    0 10px 24px -8px rgba(184, 146, 90, 0.2),
    0 0 0 1.5px rgba(184, 146, 90, 0.5);
  z-index: 5;
}

/* Inner inset grid container matching above cards */
.ft-sub-pill-inner {
  position: relative;
  background: #f8f8fa;
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 140px;
  overflow: hidden;
}

/* Subtle grid overlay across inner box */
.ft-sub-pill-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.ft-sub-pill-inner h4,
.ft-sub-pill-inner p {
  position: relative;
  z-index: 1;
}

.ft-sub-pill-inner h4 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 8px 0;
}

.ft-sub-pill-inner p {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

@media(max-width: 1024px) {
  .ft-mod-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    perspective: none;
  }

  .ft-mod-card,
  .ft-mod-grid .ft-mod-card:nth-child(1),
  .ft-mod-grid .ft-mod-card:nth-child(2),
  .ft-mod-grid .ft-mod-card:nth-child(3),
  .ft-sub-pill-card,
  .ft-sub-pill-grid .ft-sub-pill-card:nth-child(1),
  .ft-sub-pill-grid .ft-sub-pill-card:nth-child(2),
  .ft-sub-pill-grid .ft-sub-pill-card:nth-child(3) {
    transform: none !important;
  }

  .ft-mod-card:hover,
  .ft-sub-pill-card:hover {
    transform: translateY(-6px) !important;
  }

  .ft-mod-content {
    max-width: 65%;
  }

  .ft-sub-pill-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media(max-width: 480px) {
  .ft-mod-content {
    max-width: 100%;
    padding-bottom: 110px;
  }

  .ft-mod-char {
    width: 115px;
    height: 130px;
    right: 0;
    bottom: 0;
  }
}

/* ============================================================
   HERO SECTION STYLES (Left-aligned, Book a demo, Logos, Video)
   ============================================================ */

.sema-hero {
  text-align: left !important;
  min-height: auto !important;
  display: block !important;
  padding: calc(var(--nav-h, 74px) + 84px) 0 0 !important;
  background: var(--bg) !important;
  position: relative !important;
}

.sema-hero-container {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 92px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

@media (max-width: 1080px) {
  .sema-hero {
    padding: calc(var(--nav-h, 74px) + 60px) 0 72px !important;
  }

  .sema-hero-container {
    padding: 0 20px !important;
  }
}

@media (max-width: 600px) {
  .sema-hero {
    padding: calc(var(--nav-h, 74px) + 40px) 0 60px !important;
  }

  .sema-hero-container {
    padding: 0 16px !important;
  }
}

/* 1. Hero Headline */
.sema-hero-title {
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.02em !important;
  margin: 14px 0 28px 0 !important;
  max-width: 820px !important;
  color: var(--ink) !important;
  text-align: left !important;
}

.sema-hero-title em {
  font-style: italic;
  font-family: inherit;
  color: var(--brass) !important;
}

/* 2. Book a demo Form */
.sema-cta-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 0 36px 0;
  text-align: left;
}

.sema-email-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 7px 6px 20px;
  box-shadow: 0 8px 24px -6px rgba(16, 32, 63, 0.08);
  transition: box-shadow 0.25s ease;
}

.sema-email-form:focus-within {
  border-color: var(--line) !important;
  box-shadow: 0 10px 26px -6px rgba(16, 32, 63, 0.12) !important;
  outline: none !important;
}

.sema-email-form input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}

.sema-email-form input:focus,
.sema-email-form input:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.sema-email-form input::placeholder {
  color: #8f97a8;
}

.sema-btn-start {
  background: #10203f;
  color: #ffffff;
  border: none;
  outline: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(16, 32, 63, 0.2);
}

.sema-btn-start:hover {
  background: #10203f;
  /* Keep original background color unchanged on hover */
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 32, 63, 0.28);
}

/* 3. Logos Strip: Clean, balanced, aligned inside container */
.sema-clients-section {
  width: 100%;
  margin-bottom: 44px;
  text-align: left;
  padding: 0 16px;
  box-sizing: border-box;
}

.lw-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 28px 20px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  align-items: center;
}

.lw-logo-cell {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: none !important;
  background: transparent !important;
  padding: 0;
  transition: all 0.2s ease;
}

.lw-logo-cell:nth-child(5n + 1) {
  justify-content: flex-start;
}

.lw-logo-cell:nth-child(5n + 2),
.lw-logo-cell:nth-child(5n + 3),
.lw-logo-cell:nth-child(5n + 4) {
  justify-content: center;
}

.lw-logo-cell:nth-child(5n) {
  justify-content: flex-end;
}

.lw-logo-img {
  max-height: 38px;
  max-width: 135px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  transition: all 0.25s ease;
  user-select: none;
}

.lw-logo-img.scale-75 {
  transform: scale(0.85);
}

.lw-logo-cell:hover .lw-logo-img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.lw-logo-cell:hover .lw-logo-img.scale-75 {
  transform: scale(0.9);
}

.lw-logo-text {
  font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.18em;
  color: #0a2540;
  opacity: 0.65;
  transition: all 0.25s ease;
  user-select: none;
}

.lw-logo-cell:hover .lw-logo-text {
  opacity: 1;
  color: var(--ink);
  letter-spacing: 0.2em;
}

@media (max-width: 990px) {
  .lw-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }

  .lw-logo-cell:nth-child(n) {
    justify-content: center;
  }

  .lw-logo-cell:nth-child(3n + 1) {
    justify-content: flex-start;
  }

  .lw-logo-cell:nth-child(3n) {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .lw-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .lw-logo-cell:nth-child(even) {
    justify-content: flex-end;
  }

  .lw-logo-cell:nth-child(odd) {
    justify-content: flex-start;
  }
}

/* 4. Promo Video Section & HR line (aligned edge-to-edge with container) */
.sema-video-showcase {
  width: 100%;
  margin: 0 0 84px 0;
}

.sema-promo-container {
  width: 100%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px -20px rgba(16, 32, 63, 0.2);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #000000;
}

.sema-promo-iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.sema-hero-divider {
  width: 100%;
  border: none;
  height: 1px;
  background-color: var(--line);
  margin: 0;
}

/* 5. Connected Business About Unified Section */
.ft-about-unified-sec {
  background: var(--bg);
  padding: 84px 0;
  position: relative;
}

@media(max-width: 1080px) {
  .ft-about-unified-sec {
    padding: 72px 0;
  }
}

@media(max-width: 600px) {
  .ft-about-unified-sec {
    padding: 60px 0;
  }
}

.ft-about-unified-sec::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  padding: 0 92px;
  box-sizing: border-box;
  background-clip: content-box;
  background-color: var(--line);
  height: 1px;
}

@media(max-width: 1080px) {
  .ft-about-unified-sec::after {
    padding: 0 20px;
  }
}

@media(max-width: 600px) {
  .ft-about-unified-sec::after {
    padding: 0 16px;
  }
}


/* ============================================================
   ABOUT SECTION (Full width title, Problem & Solution columns)
   ============================================================ */

.ft-hero-about-block {
  text-align: left;
  margin-bottom: 48px;
}

.ft-about-headline {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink, #10203f);
  margin: 14px 0 16px 0;
  max-width: 900px;
}

.ft-about-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  max-width: 820px;
  margin: 0;
}

/* Problem on LHS | Solution on RHS with vertical divider */
.ft-split-compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 64px;
}

.ft-compare-col {
  display: flex;
  flex-direction: column;
}

.ft-col-header {
  margin-bottom: 16px;
}

.ft-col-header .eb {
  margin-bottom: 12px;
}

/* User requirement: section title in same font family and weight as description */
.ft-col-header h3 {
  font-family: inherit !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: var(--ink, #10203f) !important;
  margin: 0 0 12px 0 !important;
}

.ft-col-header p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  margin: 0;
}

.ft-compare-divider {
  width: 1px;
  height: 100%;
  background-color: var(--line, #e4dfd2);
}

@media (max-width: 900px) {
  .ft-split-compare {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ft-compare-divider {
    width: 100%;
    height: 1px;
  }
}

/* ============================================================
   CONTACT US PAGE: PURE MINIMALIST THEME
   - Left-Hand Side: Address, Phone, Email in simple, elegant typography (no cards)
   - Right-Hand Side: Simple, clean Contact Us form with "Send Message" pill button
     styled exactly like the homepage "View all articles / stories" button
   ============================================================ */

.contact-hero-wrap {
  position: relative;
  background: var(--bg);
  padding-bottom: 96px !important;
  margin-top: calc(-1 * var(--nav-h, 74px)) !important;
  padding-top: calc(var(--nav-h, 74px) + 84px) !important;
}

@media (max-width: 1080px) {
  .contact-hero-wrap {
    padding-top: calc(var(--nav-h, 74px) + 60px) !important;
  }
}

@media (max-width: 600px) {
  .contact-hero-wrap {
    padding-top: calc(var(--nav-h, 74px) + 40px) !important;
  }
}

.contact-hero-wrap .w {
  position: relative;
  z-index: 1;
}

/* Breadcrumbs: clean, perfectly positioned at top of hero content */
.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted, #5b6579);
  margin-bottom: 24px;
}

.contact-breadcrumb a {
  color: var(--muted, #5b6579);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
  color: var(--navy, #10203f);
}

:root[data-theme="dark"] .contact-breadcrumb a:hover {
  color: #ffffff;
}

.contact-breadcrumb .sep {
  font-size: 12px;
  opacity: 0.5;
}

.contact-breadcrumb .current {
  color: var(--navy, #10203f);
  font-weight: 700;
}

:root[data-theme="dark"] .contact-breadcrumb .current {
  color: #ffffff;
}

/* Page Title: Minimalist & Direct */
.contact-title-wrap {
  margin-bottom: 48px;
}

.contact-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink, #10203f);
  margin: 14px 0 16px 0;
  max-width: 900px;
}

.contact-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted, #5b6579);
  max-width: 660px;
  margin: 0;
}

/* 2-Column Minimalist Layout */
.contact-layout-split {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: start;
}

/* LHS: Simple English Text (No cards, no borders, clean editorial spacing) */
.contact-text-lhs {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 6px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: capitalize;
  color: var(--brass, #b8925a);
  margin-bottom: 2px;
}

.contact-info-headline {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #10203f);
  margin: 0;
}

.contact-info-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted, #5b6579);
  margin: 0;
}

.contact-info-text address {
  font-style: normal;
}

.contact-info-link {
  color: var(--ink, #10203f);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.6;
  transition: color 0.2s ease;
  display: inline-block;
}

.contact-info-link:hover {
  color: var(--brass, #b8925a);
}

.contact-info-sub {
  font-size: 13.5px;
  color: var(--muted, #5b6579);
  line-height: 1.5;
}

/* RHS: Simple Contact Us Form with Customer Story Card balanced 3D depth */
.contact-form-rhs {
  display: flex;
  flex-direction: column;
  perspective: 2000px;
}

/* 3D Elevated Card matching Home page Customer Story Cards (.ft-3d-story-card) */
.contact-form-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px;
  box-sizing: border-box;
  /* Balanced, refined tactile shadow from customer story card */
  box-shadow:
    0 24px 50px -16px rgba(16, 32, 63, 0.18),
    0 8px 20px -8px rgba(16, 32, 63, 0.10),
    0 0 0 1px rgba(16, 32, 63, 0.06);
  /* Gentle, perfectly balanced 3D tilt */
  transform: rotateX(1.5deg) rotateY(-2deg) rotateZ(-0.6deg) translateY(0);
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  will-change: transform;
}

:root[data-theme="dark"] .contact-form-card {
  background: #141f36;
  box-shadow:
    0 24px 50px -16px rgba(0, 0, 0, 0.45),
    0 8px 20px -8px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* On hover: straighten out cleanly with elevated lift and warm brass edge glow */
.contact-form-card:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-6px);
  box-shadow:
    0 36px 72px -18px rgba(16, 32, 63, 0.24),
    0 12px 28px -8px rgba(184, 146, 90, 0.25),
    0 0 0 1.5px rgba(184, 146, 90, 0.55);
  z-index: 5;
}

.contact-form-inner {
  position: relative;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 20px;
  padding: 34px 30px;
  box-sizing: border-box;
}

:root[data-theme="dark"] .contact-form-inner {
  background: #101a2f;
  border-color: #243152;
}

.contact-form-header {
  margin-bottom: 24px;
}

.contact-form-header h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink, #10203f);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.contact-form-header p {
  font-size: 14.5px;
  color: var(--muted, #5b6579);
  margin: 0;
  line-height: 1.5;
}

.contact-simple-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-wrap label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #10203f);
  letter-spacing: 0.01em;
}

.contact-field-wrap input,
.contact-field-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line, #e4dfd2);
  background: #ffffff;
  color: var(--ink, #10203f);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

:root[data-theme="dark"] .contact-field-wrap input,
:root[data-theme="dark"] .contact-field-wrap textarea {
  background: #141f36;
  border-color: #243152;
  color: #eef1f8;
}

.contact-field-wrap input:focus,
.contact-field-wrap textarea:focus {
  border-color: var(--brass, #b8925a);
  box-shadow: 0 0 0 3px rgba(184, 146, 90, 0.18);
  background: #ffffff;
}

:root[data-theme="dark"] .contact-field-wrap input:focus,
:root[data-theme="dark"] .contact-field-wrap textarea:focus {
  background: #182542;
}

.contact-field-wrap textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* Send Message Button: EXACT match to .ft-blog-viewall / .ft-stories-viewall-btn */
.contact-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink, #10203f);
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--line, #e4dfd2);
  background: var(--surface, #ffffff);
  cursor: pointer;
  white-space: nowrap;
  width: fit-content;
  align-self: flex-start;
  margin-top: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(16, 32, 63, 0.04);
}

.contact-send-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.contact-send-btn:hover {
  background: var(--btn, #10203f);
  color: var(--btn-ink, #ffffff);
  border-color: var(--btn, #10203f);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(16, 32, 63, 0.25);
}

.contact-send-btn:hover svg {
  transform: translateX(3px);
}

:root[data-theme="dark"] .contact-send-btn {
  background: #1a2744;
  color: #eef1f8;
  border-color: #2a3b66;
}

:root[data-theme="dark"] .contact-send-btn:hover {
  background: var(--brass, #f0cf8f);
  color: #0a1730;
  border-color: var(--brass, #f0cf8f);
}

.contact-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted, #5b6579);
  margin-top: 12px;
}

.contact-privacy-note svg {
  width: 14px;
  height: 14px;
  color: var(--brass, #b8925a);
  flex-shrink: 0;
}

.contact-success-toast {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #e7f7ed;
  border: 1px solid #a3e6be;
  color: #0d5c36;
  font-size: 13.5px;
  font-weight: 600;
}

:root[data-theme="dark"] .contact-success-toast {
  background: rgba(18, 140, 126, 0.2);
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

/* About Page Minimalist Layout */
.about-mission-wrap {
  max-width: 920px;
  margin: 0;
}

.about-eyebrow,
.about-section .eb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--brass, #b8925a);
  margin-bottom: 12px;
}

.about-headline {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink, #10203f);
  margin: 0 0 32px;
}

.about-section {
  margin-top: 84px;
}

@media (max-width: 1080px) {
  .about-section {
    margin-top: 72px;
  }
}

@media (max-width: 600px) {
  .about-section {
    margin-top: 60px;
  }
}

.about-body-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink, #10203f);
  margin: 0 0 16px;
}

.about-body-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted, #5b6579);
  margin: 0;
}

.about-closing-statement {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--brass, #b8925a);
  line-height: 1.4;
  margin: 28px 0 44px;
  padding-left: 20px;
  border-left: 3px solid var(--brass, #b8925a);
}

.about-pillars-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line, #e4dfd2);
}

.about-pillars-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: capitalize;
  color: var(--brass, #b8925a);
  margin-bottom: 24px;
}

.about-pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-pillar-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink, #10203f);
  line-height: 1.6;
}

.about-pillar-dash {
  color: var(--brass, #b8925a);
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}

/* About Principles Section (Belief, Mission, Vision) - 3D Isometric Cards Matching Module Cards */
.about-principles-sec {
  padding-top: 64px;
}

.about-principles-header {
  margin-bottom: 28px;
  max-width: 860px;
}

.about-principles-header .eb {
  margin-bottom: 12px;
}

.about-principles-header h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink, #10203f);
  letter-spacing: -0.02em;
  margin: 0;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  align-items: stretch;
  perspective: 1200px;
  padding: 24px 0 0;
}

/* Outer white card container with large rounded corners and natural 3D tilt */
.about-principle-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px;
  box-shadow:
    0 24px 48px -18px rgba(16, 32, 63, 0.14),
    0 8px 20px -8px rgba(16, 32, 63, 0.08),
    0 0 0 1px rgba(16, 32, 63, 0.05);
  display: flex;
  flex-direction: column;
  transform: rotate3d(1, -0.6, 0.4, 7deg) rotateZ(-2.5deg);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

:root[data-theme="dark"] .about-principle-card {
  background: #141f36;
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.45),
    0 8px 20px -8px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* On hover: straighten out completely with elevated shadow and warm brass edge glow */
.about-principle-card:hover {
  transform: rotate3d(0, 0, 0, 0deg) rotateZ(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 36px 72px -20px rgba(16, 32, 63, 0.22),
    0 12px 28px -10px rgba(184, 146, 90, 0.2),
    0 0 0 1.5px rgba(184, 146, 90, 0.5);
  z-index: 5;
}

/* Subtle staggered natural tilts matching home page module cards */
.about-principles-grid .about-principle-card:nth-child(1) {
  transform: rotate3d(0.8, -0.7, 0.3, 8deg) rotateZ(-3.2deg);
}

.about-principles-grid .about-principle-card:nth-child(2) {
  transform: rotate3d(1, -0.4, 0.3, 6.5deg) rotateZ(-1.8deg) translateY(-4px);
}

.about-principles-grid .about-principle-card:nth-child(3) {
  transform: rotate3d(0.9, -0.6, 0.4, 8.5deg) rotateZ(-3deg);
}

.about-principles-grid .about-principle-card:nth-child(1):hover,
.about-principles-grid .about-principle-card:nth-child(2):hover,
.about-principles-grid .about-principle-card:nth-child(3):hover {
  transform: rotate3d(0, 0, 0, 0deg) rotateZ(0deg) translateY(-10px) scale(1.02);
}

/* Inner inset canvas container matching .ft-mod-card-inner */
.about-principle-inner {
  position: relative;
  background: #f8f8fa;
  border-radius: 20px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

:root[data-theme="dark"] .about-principle-inner {
  background: #101a2f;
}

/* Subtle grid overlay across the inner box matching module cards */
.about-principle-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="dark"] .about-principle-inner::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.about-principle-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.about-principle-inner .eb {
  margin-bottom: 12px;
}

.about-principle-inner h3 {
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #10203f);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}

.about-principle-inner p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted, #64748b);
  margin: 0;
}

@media (max-width: 960px) {
  .about-principles-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    perspective: none;
  }

  .about-principles-grid .about-principle-card,
  .about-principles-grid .about-principle-card:nth-child(1),
  .about-principles-grid .about-principle-card:nth-child(2),
  .about-principles-grid .about-principle-card:nth-child(3) {
    transform: none;
  }

  .about-principles-grid .about-principle-card:hover {
    transform: translateY(-4px);
  }
}

/* About Philosophy Section (Split: LHS Title | RHS Cards) */
.about-philosophy-sec {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-philosophy-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-philosophy-lhs {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-philosophy-lhs .eb {
  margin-bottom: 12px;
}

.about-philosophy-desc {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink, #10203f);
  letter-spacing: -0.02em;
  margin: 0;
}

.about-philosophy-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted, #64748b);
  margin-top: 14px;
}

.about-philosophy-rhs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Chapter Scrubber Container */
.ft-scrubber-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

/* Vertical Ticks Rail */
.ft-scrubber-rail {
  position: relative;
  padding: 4px 24px 4px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.ft-scrubber-ticks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 72px;
}

.ft-tick-line {
  height: 2.5px;
  background-color: var(--line, #cbd5e1);
  border-radius: 999px;
  transition: width 0.12s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.15s ease,
    opacity 0.15s ease,
    transform 0.12s ease;
  transform-origin: left center;
  pointer-events: none;
}

:root[data-theme="dark"] .ft-tick-line {
  background-color: #2e3d5e;
}

.ft-tick-line.active {
  background-color: var(--ink, #10203f);
}

:root[data-theme="dark"] .ft-tick-line.active {
  background-color: #f1f5f9;
}

/* Floating Chapter Content Viewport (Clean Typewriter Typography, No Card) */
.ft-scrubber-card-viewport {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 190px;
}

.ft-scrubber-content {
  max-width: 540px;
  position: relative;
}

.ft-scrubber-typing-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #10203f);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  min-height: 38px;
}

.ft-scrubber-typing-desc {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted, #64748b);
  margin: 0;
  min-height: 52px;
}

.ft-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background-color: var(--brass, #b8925a);
  vertical-align: -2px;
  margin-left: 4px;
  animation: ftBlink 0.8s infinite ease-in-out;
}

@keyframes ftBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .about-philosophy-sec {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .about-philosophy-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-philosophy-lhs {
    position: static;
  }

  .ft-scrubber-wrapper {
    gap: 20px;
  }

  .ft-scrubber-rail {
    padding-right: 14px;
  }
}

/* Ensure About Us page CTA-to-footer gap matches index.html precisely without modifying index */
.about-page-wrap {
  padding-bottom: 0 !important;
}

.about-page-wrap .prefooter-cta-sec {
  padding-top: 52px !important;
  padding-bottom: 108px !important;
}

@media (max-width: 768px) {
  .about-page-wrap .prefooter-cta-sec {
    padding-top: 48px !important;
    padding-bottom: 60px !important;
  }
}

:root[data-theme="dark"] .contact-faq-sec {
  background: var(--bg);
}

.contact-faq-list details {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px -4px rgba(16, 32, 63, 0.05);
  transition: all 0.25s ease;
}

:root[data-theme="dark"] .contact-faq-list details {
  background: #131c33;
  border-color: #243152;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

.contact-faq-list details:hover {
  border-color: var(--brass, #b8925a);
}

.contact-faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink, #10203f);
}

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

.contact-faq-list summary::after {
  content: "+";
  color: var(--brass, #b8925a);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.contact-faq-list details[open] summary::after {
  content: "−";
}

.contact-faq-list details p {
  color: var(--muted, #5b6579);
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive Adaptations */
@media (max-width: 960px) {
  .contact-layout-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-send-btn {
    width: 100%;
  }
}

/* ============================================================
   BLOG PAGE & PAGINATION STYLES
   ============================================================ */
.blog-listing-sec {
  padding: 10px 0 0;
}

/* Section Divider (hr) exactly centered between the listing section and keep exploring */
.ft-section-divider {
  border: 0;
  border-top: 1px solid var(--line, #e4dfd2);
  margin: 64px auto 64px;
  max-width: 1440px;
  width: 100%;
  display: block;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .ft-section-divider {
    margin: 48px auto 48px;
  }
}

.role-matrix-sec,
.blog-explore-sec {
  padding: 0 0 64px;
}

.role-matrix-sec {
  padding-bottom: 0;
}

.role-matrix-sec .card,
.blog-explore-sec .card {
  display: flex;
  flex-direction: column;
}

.blog-explore-sec .card p {
  margin-bottom: 20px;
}

.blog-explore-sec .card .lk {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.blog-explore-sec .card:hover .lk {
  color: var(--brass, #b8925a);
  transform: translateX(4px);
}

.blog-explore-header {
  margin-bottom: 32px;
}

.blog-explore-header .eb {
  margin-bottom: 10px;
}

.blog-explore-header h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--ink, #10203f);
  margin: 0;
}

/* Blog Pagination Controls */
.ft-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 48px;
  user-select: none;
}

.ft-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line, #e4dfd2);
  background: var(--surface, #ffffff);
  color: var(--ink, #10203f);
  font: 600 14px Montserrat, sans-serif;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px -2px rgba(16, 32, 63, 0.05);
}

:root[data-theme="dark"] .ft-page-btn {
  background: #141f36;
  border-color: #243152;
  color: #f1f5f9;
}

.ft-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--brass, #b8925a);
  color: var(--brass, #b8925a);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(16, 32, 63, 0.12);
}

.ft-page-btn.active {
  background: var(--ink, #10203f);
  color: #ffffff;
  border-color: var(--ink, #10203f);
  cursor: default;
  box-shadow: 0 8px 20px -6px rgba(16, 32, 63, 0.3);
}

:root[data-theme="dark"] .ft-page-btn.active {
  background: var(--brass, #b8925a);
  color: #10203f;
  border-color: var(--brass, #b8925a);
}

.ft-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.ft-page-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   BLOG ARTICLE DETAIL PAGE STYLES (.article-page-wrap)
   ============================================================ */
.article-detail-wrap {
  padding-bottom: 72px;
}

.article-hero-header {
  max-width: 100%;
  margin: 0 0 32px;
  text-align: left;
}

.article-hero-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #5b6579);
  letter-spacing: 0.02em;
  margin: 16px 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-hero-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink, #10203f);
  margin: 14px 0 16px 0;
  font-weight: 700;
}

.article-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  margin: 0 0 16px 0;
  font-weight: 400;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 16px;
  max-width: fit-content;
}

.article-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy, #10203f), var(--brass, #b8925a));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.article-author-info b {
  display: block;
  font-size: 14px;
  color: var(--ink, #10203f);
  line-height: 1.2;
}

.article-author-info span {
  display: block;
  font-size: 12px;
  color: var(--muted, #5b6579);
  margin-top: 2px;
}

.article-feature-image-box {
  width: 100%;
  max-width: 100%;
  margin: 0 0 48px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px -16px rgba(16, 32, 63, 0.15);
  border: 1px solid var(--line, #e4dfd2);
  background: #10203f;
}

.article-feature-image-box img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.article-body-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 0 48px 0;
  color: var(--ink, #10203f);
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
}

.article-body-layout p {
  color: var(--muted, #5b6579);
  margin-bottom: 24px;
}

.article-body-layout h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--ink, #10203f);
  margin: 44px 0 18px;
  line-height: 1.25;
}

/* Use Case Section Headings & Cards - Theme Matched exactly with field-sales-automation */
.uc-section-block {
  padding: 0 0 20px;
  margin-bottom: 24px;
}

.uc-section-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 12px;
}

.uc-section-block .eb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: capitalize;
  color: var(--brass, #b8925a);
  margin-bottom: 10px;
  display: block;
  text-align: left;
}

.uc-section-block h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  color: var(--ink, #10203f);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  max-width: 820px;
  text-align: left;
}

.uc-section-block .sh {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted, #5b6579);
  max-width: 780px;
  margin: 8px 0 24px;
  text-align: left;
}

/* Section Divider HR (Aligned exactly with LHS and RHS content gutters, matching product page spacing) */
.uc-divider-wrap {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Use case specific: perfectly centered divider between buttons and Related Intelligence */
.article-detail-wrap .article-body-layout {
  margin-bottom: 0 !important;
}

.uc-footer-nav,
.article-detail-wrap .article-footer-nav {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
}

.uc-divider-centered {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
  margin: 0 !important;
}

.article-detail-wrap .blog-explore-sec {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.uc-divider-wrap hr {
  border: 0;
  border-top: 1px solid var(--line, #e4dfd2);
  width: 100%;
  margin: 0;
  display: block;
  opacity: 0.9;
}

/* Theme Grids: Matches .g3 and theme cards */
.uc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 16px 0;
}

@media (max-width: 900px) {
  .uc-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Theme Card for THE PROBLEM */
.uc-card-problem {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 20px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(16, 32, 63, 0.03);
}

.uc-card-problem:hover {
  transform: translateY(-4px);
  border-color: var(--brass, #b8925a);
  box-shadow: 0 20px 36px -18px rgba(16, 32, 63, 0.14);
}

.uc-card-problem .card-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brass, #b8925a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uc-card-problem h3 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #10203f);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.uc-card-problem p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted, #5b6579);
  margin: 0;
  flex: 1;
}

/* Theme Card for WHAT WE BUILT */
.uc-card-built {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 20px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(16, 32, 63, 0.03);
}

.uc-card-built:hover {
  transform: translateY(-4px);
  border-color: var(--brass, #b8925a);
  box-shadow: 0 20px 36px -18px rgba(16, 32, 63, 0.14);
}

.uc-card-built .card-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brass, #b8925a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uc-card-built h3 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #10203f);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.uc-card-built p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted, #5b6579);
  margin: 0;
  flex: 1;
}

/* Theme Card for EXPECTED OUTCOMES */
.uc-card-outcome {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 20px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(16, 32, 63, 0.03);
}

.uc-card-outcome:hover {
  transform: translateY(-4px);
  border-color: var(--brass, #b8925a);
  box-shadow: 0 20px 36px -18px rgba(16, 32, 63, 0.14);
}

.uc-card-outcome .metric-num {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(32px, 3.8vw, 40px);
  font-weight: 800;
  color: var(--brass, #b8925a);
  line-height: 1.1;
  margin-bottom: 6px;
}

.uc-card-outcome .metric-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #10203f);
  margin-bottom: 10px;
}

.uc-card-outcome p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #5b6579);
  margin: 0;
}

.article-body-layout h3 {
  font-size: 21px;
  color: var(--ink, #10203f);
  margin: 32px 0 14px;
}

.article-body-layout ul,
.article-body-layout ol {
  margin: 0 0 26px 22px;
  color: var(--muted, #5b6579);
}

.article-body-layout li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-body-layout blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  background: var(--soft, #efe9da);
  border-left: 4px solid var(--brass, #b8925a);
  border-radius: 0 18px 18px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--ink, #10203f);
  line-height: 1.6;
}

:root[data-theme="dark"] .article-body-layout blockquote {
  background: #17223d;
  color: #eef1f8;
}

.article-body-layout .article-callout-card {
  padding: 24px 28px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 18px;
  margin: 34px 0;
  box-shadow: 0 10px 30px -10px rgba(16, 32, 63, 0.08);
}

.article-callout-card b {
  display: block;
  font-size: 16px;
  color: var(--brass, #b8925a);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-footer-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line, #e4dfd2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}


/* ============================================================
   SPLIT FAQ LAYOUT (LHS Headline & Context | RHS Interactive Accordion)
   ============================================================ */
.faq-split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq-lhs-content {
  position: sticky;
  top: 100px;
}

.faq-lhs-content .eb {
  margin-bottom: 12px;
}

.faq-lhs-content h2 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--ink, #10203f);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.faq-lhs-content p {
  color: var(--muted, #5b6579);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px 0;
}

.faq-lhs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brass, #b8925a);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-lhs-cta:hover {
  transform: translateX(4px);
  color: var(--ink, #10203f);
}

.faq-rhs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-rhs-list details {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px -4px rgba(16, 32, 63, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] .faq-rhs-list details {
  background: #131c33;
  border-color: #243152;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.3);
}

.faq-rhs-list details:hover {
  border-color: var(--brass, #b8925a);
  box-shadow: 0 6px 20px -4px rgba(184, 146, 90, 0.15);
}

.faq-rhs-list details[open] {
  border-color: var(--brass, #b8925a);
  background: var(--surface, #ffffff);
}

:root[data-theme="dark"] .faq-rhs-list details[open] {
  background: #141f38;
}

.faq-rhs-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink, #10203f);
  user-select: none;
}

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

.faq-rhs-list summary::after {
  content: "+";
  color: var(--brass, #b8925a);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-rhs-list details[open] summary::after {
  content: "−";
}

.faq-rhs-list details p {
  color: var(--muted, #5b6579);
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .faq-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-lhs-content {
    position: static;
  }
}

@media (max-width: 960px) {
  .faq-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-lhs-content {
    position: static;
  }
}

/* ============================================================
   BENTO FEATURE GRID (SFA Modules & Capabilities)
   ============================================================ */
.ft-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.ft-bento-card {
  position: relative;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 20px;
  padding: 30px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ft-bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 146, 90, 0.45);
  box-shadow: 0 20px 40px -20px rgba(16, 32, 63, 0.12);
}

.ft-bento-card.col-2 {
  grid-column: span 2;
}

.ft-bento-card.col-3 {
  grid-column: span 3;
}

.ft-bento-card.col-6 {
  grid-column: span 6;
}

.ft-bento-card.flex-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ft-bento-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brass, #b8925a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.ft-bento-card h3 {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink, #10203f);
  margin: 0 0 10px;
}

.ft-bento-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #5b6579);
  margin: 0;
}

/* Card 1: 100% Badge */
.ft-bento-circle-badge {
  position: relative;
  width: 220px;
  height: 96px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-bento-circle-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--line, #e4dfd2);
}

.ft-bento-circle-badge span {
  position: relative;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink, #10203f);
}

/* Card 2: Fingerprint / Sensor */
.ft-bento-sensor-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid var(--line, #e4dfd2);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(246, 243, 236, 0.6);
}

.ft-bento-sensor-wrap svg {
  width: 76px;
  height: 52px;
  display: block;
}

/* Card 3: Live Signal & Speed Graph */
.ft-bento-graph-wrap {
  width: 100%;
  margin-bottom: 18px;
  padding-top: 4px;
}

.ft-bento-graph-pill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}

.ft-bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink, #10203f);
  background: var(--soft, #efe9da);
  padding: 4px 10px;
  border-radius: 99px;
}

.ft-bento-speed {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--brass, #b8925a);
}

/* Card 4: Two Column Grid with Performance Chart */
.ft-bento-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0;
}

.ft-bento-split-lhs {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ft-bento-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line, #e4dfd2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass, #b8925a);
  background: rgba(184, 146, 90, 0.08);
  margin-bottom: 16px;
}

.ft-bento-chart-container {
  position: relative;
  background: linear-gradient(180deg, rgba(246, 243, 236, 0.5) 0%, rgba(246, 243, 236, 0.1) 100%);
  border-left: 1px solid var(--line, #e4dfd2);
  border-top-left-radius: 16px;
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.ft-bento-dots {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 6px;
}

.ft-bento-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line, #e4dfd2);
}

/* Card 5: Two Column Grid with Avatar Pipeline */
.ft-bento-pipeline-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px;
  background: rgba(246, 243, 236, 0.4);
  border-left: 1px solid var(--line, #e4dfd2);
}

.ft-bento-pipeline-container::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 2px;
  background: var(--line, #e4dfd2);
  transform: translateX(-50%);
}

.ft-bento-avatar-node {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  align-items: center;
  width: 100%;
}

.ft-bento-avatar-node.left .ft-bento-tag {
  grid-column: 1;
  justify-self: end;
  margin-right: 12px;
}

.ft-bento-avatar-node.left .ft-bento-node-icon {
  grid-column: 2;
  justify-self: center;
}

.ft-bento-avatar-node.right .ft-bento-node-icon {
  grid-column: 2;
  justify-self: center;
}

.ft-bento-avatar-node.right .ft-bento-tag {
  grid-column: 3;
  justify-self: start;
  margin-left: 12px;
}

.ft-bento-tag {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink, #10203f);
  box-shadow: 0 4px 12px rgba(16, 32, 63, 0.04);
}

.ft-bento-node-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface, #ffffff);
  border: 2px solid var(--surface, #ffffff);
  box-shadow: 0 0 0 2px var(--brass, #b8925a), 0 4px 10px rgba(16, 32, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass, #b8925a);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ft-bento-avatar-node:hover .ft-bento-node-icon {
  transform: scale(1.1);
  background: var(--navy, #10203f);
  color: var(--surface, #ffffff);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .ft-bento-card.col-2 {
    grid-column: span 3;
  }

  .ft-bento-card.col-2:first-child {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .ft-bento-grid {
    grid-template-columns: 1fr;
  }

  .ft-bento-card.col-2,
  .ft-bento-card.col-3,
  .ft-bento-card.col-6 {
    grid-column: span 1;
  }

  .ft-bento-split-card {
    grid-template-columns: 1fr;
  }

  .ft-bento-chart-container,
  .ft-bento-pipeline-container {
    border-left: none;
    border-top: 1px solid var(--line, #e4dfd2);
  }
}

/* 3D Brand Logo for Header & Footer */
/* Header & Footer 3D Brand Logo Styles */
.persp.hm {
  perspective: 260px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.persp.hm .spin {
  position: relative !important;
  display: block !important;
  transform-style: preserve-3d !important;
}

.persp.hm .spin img {
  height: 34px !important;
  width: auto !important;
  display: block !important;
}

.persp.hm .spin img.layer {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

.persp.hm .spin .shine {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 60%) !important;
  pointer-events: none !important;
}

/* Header: Smooth ambient 3D rotation */
header .spin,
.nv .spin,
.nvw .spin {
  animation: spin3d 7s ease-in-out infinite !important;
}

/* Footer: Completely static 3D */
footer .spin,
.ft .spin,
.ft-brand-wrap .spin,
.spin-static {
  animation: none !important;
  -webkit-animation: none !important;
  transform: rotateX(-8deg) rotateY(-22deg) !important;
}

/* Footer Legal Links & Separator */
footer .ft-legal-link {
  color: var(--muted, #64748b) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: color 0.18s ease;
}

footer .ft-legal-link:hover {
  color: var(--navy, #10203f) !important;
  text-decoration: underline !important;
}

footer .ft-footer-vsep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--line, #e4dfd2);
  margin: 0 4px;
  vertical-align: middle;
  opacity: 0.85;
}


/* Footer LogicalWhy Brand Link */
footer a.ft-lw-link {
  color: inherit !important;
  text-decoration: none !important;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif !important;
  font-size: inherit !important;
  letter-spacing: -0.02em !important;
  display: inline-flex !important;
  align-items: baseline !important;
}

footer a.ft-lw-link:hover {
  color: var(--brass, #b8925a) !important;
  text-decoration: none !important;
}

footer a.ft-lw-link b {
  font-weight: 400 !important;
}

footer a.ft-lw-link i {
  font-style: normal !important;
  font-weight: 700 !important;
}

/* ============================================================
   USE CASES - LEFT-ALIGNED TOGGLE & VIEW PANES (.ft-uc-*)
   ============================================================ */
.ft-usecases-header-wrap {
  margin-bottom: 24px;
}

.ft-uc-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ft-uc-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 4px 14px -4px rgba(16, 32, 63, 0.08);
}

.ft-uc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 9px 20px;
  border-radius: 9999px;
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted, #64748b);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ft-uc-tab svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: stroke 0.25s ease;
}

.ft-uc-tab:hover {
  color: var(--ink, #10203f);
}

.ft-uc-tab.active {
  background: linear-gradient(135deg, #10203f 0%, #1c3052 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(16, 32, 63, 0.25);
}

.ft-uc-tab.active svg {
  stroke: var(--brass-l, #f0cf8f);
}

:root[data-theme="dark"] .ft-uc-toggle {
  background: #17223d;
  border-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .ft-uc-tab.active {
  background: linear-gradient(135deg, #b8925a 0%, #936d37 100%);
  color: #ffffff;
}

:root[data-theme="dark"] .ft-uc-tab.active svg {
  stroke: #ffffff;
}

.ft-uc-view-hint {
  font-size: 13.5px;
  color: var(--muted, #64748b);
  font-weight: 500;
}

.ft-uc-view-hint b {
  color: var(--ink, #10203f);
  font-weight: 700;
}

.ft-uc-view-pane {
  display: block;
  animation: ftFadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ft-uc-view-pane[hidden] {
  display: none !important;
}

@keyframes ftFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   3D REALISTIC BOOK CARDS (.ft-books-grid, .ft-book-item)
   ============================================================ */
.ft-books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
  align-items: stretch;
  padding: 16px 0 40px;
}

@media (max-width: 1080px) {
  .ft-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 640px) {
  .ft-books-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.ft-book-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  outline: none;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e4dfd2);
  border-radius: 24px;
  padding: 24px 22px 22px;
  box-shadow:
    0 18px 40px -18px rgba(16, 32, 63, 0.08),
    0 0 0 1px rgba(16, 32, 63, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: relative;
}

.ft-book-item:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 146, 90, 0.5);
  box-shadow:
    0 32px 64px -20px rgba(16, 32, 63, 0.18),
    0 12px 24px -10px rgba(184, 146, 90, 0.15),
    0 0 0 1px rgba(184, 146, 90, 0.4);
}

:root[data-theme="dark"] .ft-book-item {
  background: #17223d;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px -18px rgba(0, 0, 0, 0.5);
}

/* 3D Stage for the book object */
.ft-book-stage {
  perspective: 1400px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  margin-bottom: 22px;
  position: relative;
  background: linear-gradient(180deg, rgba(16, 32, 63, 0.02) 0%, rgba(184, 146, 90, 0.05) 100%);
  border-radius: 18px;
  overflow: visible;
}

:root[data-theme="dark"] .ft-book-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(240, 207, 143, 0.04) 100%);
}

/* 3D Book Container */
.ft-book-3d {
  width: 172px;
  height: 242px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0deg) translateZ(0);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Ground shadow under the 3D book */
.ft-book-shadow {
  position: absolute;
  bottom: -16px;
  left: 8px;
  right: 8px;
  height: 22px;
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 32, 63, 0.32) 0%, rgba(16, 32, 63, 0) 75%);
  filter: blur(4px);
  transform: translateZ(-20px);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
  pointer-events: none;
}

/* Back cover */
.ft-book-back {
  position: absolute;
  inset: 0;
  background: #e2e8f0;
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 10px 25px rgba(16, 32, 63, 0.16);
  transform: translateZ(-14px);
}

:root[data-theme="dark"] .ft-book-back {
  background: #0f172a;
}

/* Paper Page Block (depth & side pages) */
.ft-book-pages-block {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 6px;
  right: 4px;
  background: #fdfdfd;
  border-radius: 2px 7px 7px 2px;
  box-shadow:
    inset -4px 0 8px rgba(16, 32, 63, 0.08),
    inset 0 -2px 4px rgba(16, 32, 63, 0.05),
    1px 0 0 #e2e8f0,
    2px 0 0 #cbd5e1,
    3px 0 0 #e2e8f0,
    4px 0 0 #cbd5e1,
    5px 0 0 #f8fafc,
    6px 0 0 #cbd5e1,
    7px 0 0 #e2e8f0,
    8px 0 0 #f1f5f9;
  transform: translateZ(-10px);
}

:root[data-theme="dark"] .ft-book-pages-block {
  background: #1e293b;
  box-shadow:
    inset -4px 0 8px rgba(0, 0, 0, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    1px 0 0 #334155,
    2px 0 0 #1e293b,
    3px 0 0 #334155,
    4px 0 0 #1e293b,
    5px 0 0 #334155,
    6px 0 0 #1e293b;
}

/* Inside Page (visible when cover opens) */
.ft-book-inside-page {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 3px 10px 10px 3px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(0);
  box-shadow: inset 18px 0 25px -10px rgba(16, 32, 63, 0.15);
  border: 1px solid rgba(16, 32, 63, 0.06);
  box-sizing: border-box;
}

:root[data-theme="dark"] .ft-book-inside-page {
  background: #15223e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 18px 0 25px -10px rgba(0, 0, 0, 0.6);
}

.ft-inside-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass, #b8925a);
}

.ft-inside-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #10203f);
  margin: 6px 0 10px;
}

:root[data-theme="dark"] .ft-inside-title {
  color: #ffffff;
}

.ft-inside-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ft-inside-bullets li {
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted, #64748b);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ft-inside-bullets li svg {
  width: 12px;
  height: 12px;
  stroke: var(--brass, #b8925a);
  flex-shrink: 0;
  margin-top: 1.5px;
}

.ft-inside-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--brass, #b8925a);
}

/* Front Cover Door (Flips open 3D) */
.ft-book-cover {
  position: absolute;
  inset: 0;
  border-radius: 4px 10px 10px 4px;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 12px 28px -8px rgba(16, 32, 63, 0.22),
    0 2px 6px rgba(16, 32, 63, 0.1);
  cursor: pointer;
  z-index: 10;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

:root[data-theme="dark"] .ft-book-cover {
  background: #0f172a;
}

/* Left Book Spine Binding Effect */
.ft-book-cover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(0, 0, 0, 0.12) 80%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

/* Book Cover Top Banner with Theme Geometric Pattern / Color */
.ft-cover-top {
  height: 108px;
  position: relative;
  overflow: hidden;
  padding: 14px 16px 12px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Cover Grid / Checkmark / Schematic overlay */
.ft-cover-top::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* Elegant geometric arc motif in top-right of cover matching user reference image */
.ft-cover-top::after {
  display: none !important;
}

/* Cover Theme Variant 1: FieldTick Signature Warm Gold / Brass */
.ft-cover-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b8925a 50%, #92400e 100%);
  color: #ffffff;
}

/* Cover Theme Variant 2: Deep Navy Field Operations */
.ft-cover-navy {
  background: linear-gradient(135deg, #10203f 0%, #1e3a6d 50%, #0d1b33 100%);
  color: #ffffff;
}

/* Cover Theme Variant 3: Frontline Emerald / SFA Flow */
.ft-cover-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
  color: #ffffff;
}

/* Cover Theme Variant 4: Azure / Service FSM */
.ft-cover-blue {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #0369a1 100%);
  color: #ffffff;
}

.ft-cover-badge {
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.22);
  padding: 3px 8px;
  border-radius: 9999px;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.ft-cover-icon-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-cover-icon-wrap svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Bottom white half of cover */
.ft-cover-bottom {
  flex: 1;
  background: #ffffff;
  padding: 16px 14px 14px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

:root[data-theme="dark"] .ft-cover-bottom {
  background: #0f172a;
}

.ft-cover-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #10203f);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:root[data-theme="dark"] .ft-cover-title {
  color: #ffffff;
}

.ft-cover-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

/* Mini Brand Logo Mark inside bottom left of book cover */
.ft-cover-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink, #10203f);
}

:root[data-theme="dark"] .ft-cover-brand-mark {
  color: #ffffff;
}

.ft-cover-brand-mark span.ft-gold {
  color: var(--brass, #b8925a);
}

.ft-cover-page-count {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted, #64748b);
  background: var(--soft, #efe9da);
  padding: 2px 6px;
  border-radius: 4px;
}

:root[data-theme="dark"] .ft-cover-page-count {
  background: #1e293b;
  color: #cbd5e1;
}

/* ============================================================
   HOVER INTERACTION: 3D REALISTIC BOOK OPENING
   ============================================================ */
.ft-book-item:hover .ft-book-3d {
  transform: rotateY(-18deg) rotateX(6deg) translateY(-4px) translateZ(10px);
}

.ft-book-item:hover .ft-book-cover {
  transform: rotateY(-64deg);
  box-shadow:
    -12px 14px 28px -6px rgba(16, 32, 63, 0.28),
    -4px 2px 8px rgba(16, 32, 63, 0.15);
}

.ft-book-item:hover .ft-book-shadow {
  transform: translateZ(-20px) scale(1.08) translateX(-10px);
  opacity: 0.85;
}

/* Book Details Below the 3D Object */
.ft-book-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ft-book-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ft-book-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass, #b8925a);
}

.ft-book-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink, #10203f);
  background: var(--soft, #efe9da);
  padding: 3px 8px;
  border-radius: 6px;
}

:root[data-theme="dark"] .ft-book-badge {
  background: #1e293b;
  color: #cbd5e1;
}

.ft-book-headline {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink, #10203f);
  margin: 0 0 10px 0;
  transition: color 0.2s ease;
}

.ft-book-item:hover .ft-book-headline {
  color: var(--brass, #b8925a);
}

:root[data-theme="dark"] .ft-book-headline {
  color: #ffffff;
}

:root[data-theme="dark"] .ft-book-item:hover .ft-book-headline {
  color: var(--brass-l, #f0cf8f);
}

.ft-book-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  margin: 0 0 16px 0;
  flex: 1;
}

.ft-book-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line, #e4dfd2);
}

.ft-book-read-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #10203f);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ft-book-item:hover .ft-book-read-btn {
  color: var(--brass, #b8925a);
  gap: 10px;
}

:root[data-theme="dark"] .ft-book-read-btn {
  color: #ffffff;
}

.ft-book-arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.ft-book-item:hover .ft-book-arrow-icon {
  transform: translateX(3px);
}

/* ============================================================
   PURE 3D BOOKS GALLERY (/* ============================================================
   PURE 3D REALISTIC BOOKS GALLERY (NO CARDS - 12 UNIQUE BOOKS)
   Inspired by Vercel Design Engineering / Frontend Cloud books
   ============================================================ */
.ft-pure-books-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
  align-items: center;
  justify-items: center;
  padding: 32px 0 48px;
}

@media (max-width: 1280px) {
  .ft-pure-books-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 24px;
  }
}

@media (max-width: 960px) {
  .ft-pure-books-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 580px) {
  .ft-pure-books-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.ft-pure-book-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  outline: none;
  width: 100%;
  max-width: 260px;
  padding: 6px;
  box-sizing: border-box;
}

/* 3D Stage */
.ft-pure-book-link .ft-book-stage {
  perspective: 1300px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  width: 100%;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* Realistic Book Dimensions: 215px x 300px for 4-column balanced grid */
.ft-pure-book-link .ft-book-3d {
  width: 215px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Soft natural ground blur shadow */
.ft-pure-book-link .ft-book-shadow {
  position: absolute;
  bottom: -24px;
  left: 8px;
  right: 8px;
  height: 30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0) 75%);
  filter: blur(8px);
  transform: translateZ(-26px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
  pointer-events: none;
}

:root[data-theme="dark"] .ft-pure-book-link .ft-book-shadow {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 75%);
}

/* Realistic Book Back Cover */
.ft-pure-book-link .ft-book-back {
  position: absolute;
  inset: 0;
  background: #f1f5f9;
  border-radius: 3px 14px 14px 3px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.2);
  transform: translateZ(-18px);
}

:root[data-theme="dark"] .ft-pure-book-link .ft-book-back {
  background: #0f172a;
}

/* Thick Paper Edge Block (Multi-page layered effect) */
.ft-pure-book-link .ft-book-pages-block {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 10px;
  right: 4px;
  background: #ffffff;
  border-radius: 2px 10px 10px 2px;
  box-shadow:
    inset -5px 0 10px rgba(15, 23, 42, 0.09),
    1px 0 0 #e2e8f0,
    2px 0 0 #cbd5e1,
    3px 0 0 #e2e8f0,
    4px 0 0 #cbd5e1,
    5px 0 0 #f8fafc,
    6px 0 0 #cbd5e1,
    7px 0 0 #e2e8f0,
    8px 0 0 #cbd5e1,
    9px 0 0 #f1f5f9,
    10px 0 0 #cbd5e1,
    11px 0 0 #e2e8f0,
    12px 0 0 #cbd5e1,
    13px 0 0 #e2e8f0;
  transform: translateZ(-14px);
}

:root[data-theme="dark"] .ft-pure-book-link .ft-book-pages-block {
  background: #1e293b;
  box-shadow:
    inset -5px 0 10px rgba(0, 0, 0, 0.5),
    1px 0 0 #334155,
    2px 0 0 #1e293b,
    3px 0 0 #334155,
    4px 0 0 #1e293b,
    5px 0 0 #334155,
    6px 0 0 #1e293b,
    7px 0 0 #334155,
    8px 0 0 #1e293b,
    9px 0 0 #334155,
    10px 0 0 #1e293b;
}

/* Inside Page (Discreetly revealed on slight open hover) */
.ft-pure-book-link .ft-book-inside-page {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 3px 14px 14px 3px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(0);
  box-shadow: inset 20px 0 28px -10px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

:root[data-theme="dark"] .ft-pure-book-link .ft-book-inside-page {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 20px 0 28px -10px rgba(0, 0, 0, 0.75);
}

.ft-inside-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brass, #b8925a);
  margin-bottom: 10px;
}

.ft-inside-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #10203f);
  margin: 0 0 16px;
}

:root[data-theme="dark"] .ft-inside-title {
  color: #ffffff;
}

.ft-inside-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-inside-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
}

:root[data-theme="dark"] .ft-inside-bullets li {
  color: #cbd5e1;
}

.ft-inside-bullets li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ft-inside-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brass, #b8925a);
}

:root[data-theme="dark"] .ft-inside-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* Front Cover (Realistic Hardcover) */
.ft-pure-book-link .ft-book-cover {
  position: absolute;
  inset: 0;
  border-radius: 4px 14px 14px 4px;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 18px 40px -10px rgba(15, 23, 42, 0.24),
    0 2px 10px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  z-index: 10;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

:root[data-theme="dark"] .ft-pure-book-link .ft-book-cover {
  background: #0f172a;
}

/* Spine Emboss Gradient (Realistic Book Spine indentation on the left) */
.ft-pure-book-link .ft-book-cover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(255, 255, 255, 0.32) 42%, rgba(0, 0, 0, 0.1) 85%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}

/* Checkmark Geometry & Circle Line Accents (Clean, Editorial, Unified UI/UX) */
.ft-check-geom-circles::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, 0.4) 12px, rgba(255, 255, 255, 0.4) 13.5px);
  pointer-events: none;
}

.ft-check-geom-quad::before {
  content: "";
  position: absolute;
  inset: 14px;
  opacity: 0.22;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.ft-check-geom-crest::before {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 170px;
  height: 170px;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 52l24 24L85 24' stroke='%23ffffff' stroke-width='8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ft-check-geom-box::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='26' height='26' rx='6' stroke='%23ffffff' stroke-width='2' fill='none'/%3E%3Cpath d='M9 16l5 5 9-10' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ft-check-geom-light-circles::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(to right, rgba(16, 32, 63, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 63, 0.3) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.ft-check-geom-light-crest::before {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 170px;
  height: 170px;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 52l24 24L85 24' stroke='%2310203f' stroke-width='8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Seamless Integrated Vector Icon (NO button background / box border) */
.ft-cover-topic-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-top: 10px;
  color: var(--ink, #10203f);
  opacity: 0.92;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Checkbox Card Watermark / Badge for Book Covers */
.ft-cover-checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 5px;
  border-radius: 6px;
  background: rgba(16, 32, 63, 0.04);
  border: 1px solid rgba(16, 32, 63, 0.08);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  max-width: 100%;
  color: var(--ink, #10203f);
  margin-top: 8px;
}

.ft-cover-checkbox-pill svg.check-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
}

.ft-book-style-full .ft-cover-checkbox-pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.ft-book-style-full .ft-cover-checkbox-pill svg.check-icon {
  color: #34d399;
}

/* Checkbox Card Corner Graphic (Like module card checkboxes) */
.ft-check-geom-cardbox::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 22px;
  height: 22px;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Small Circles / Constellation Dots Matrix for Book Cover Headers */
.ft-check-geom-small-circles::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.75) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}

.ft-check-geom-light-cardbox::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' fill='none' stroke='%23b8925a' stroke-width='2'/%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2310203f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ft-cover-topic-badge svg {
  display: block;
  flex-shrink: 0;
}

.ft-book-style-full .ft-cover-topic-badge {
  color: #ffffff !important;
  opacity: 0.95;
}

.ft-book-style-split .ft-cover-topic-badge {
  color: var(--brass, #b8925a) !important;
  margin-top: 10px;
}

:root[data-theme="dark"] .ft-cover-topic-badge {
  color: #f0cf8f !important;
}

.ft-pure-book-link:hover .ft-cover-topic-badge {
  transform: translateY(-2px);
  opacity: 1;
}



/* Vertical & Horizontal Grid Boxes Matrix (Planogram / Shelf / SLA Matrix Design) */
.ft-check-geom-boxes-light::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(to right, rgba(16, 32, 63, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 63, 0.4) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ft-check-geom-boxes-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(16, 32, 63, 0.45) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(16, 32, 63, 0.45) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ft-check-geom-boxes-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.6) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}


/* Book 6: Salesforce & ERP Integration - Concentric Circuit Arc Nodes (No checkmark, same royal blue) */
.ft-check-geom-erp-circuit::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.45) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Book 5: Offline-First Field Architecture - Editorial Blueprint Geometry Touchup on White Jacket */
.ft-check-geom-offline-blueprint {
  position: relative;
  overflow: hidden;
}

.ft-check-geom-offline-blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(to right, rgba(16, 32, 63, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 63, 0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}


/* Book 1: Territory & Beat Design - Clean Isometric Diagonal PJP Beat Vectors */
.ft-check-geom-stripes::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255, 255, 255, 0.45) 14px, rgba(255, 255, 255, 0.45) 15.5px);
  pointer-events: none;
}

/* Book 3: Medical Reps Tour-Plan - Clean Corner Framing Chevron Accents */
.ft-check-geom-brackets::before {
  content: "";
  position: absolute;
  inset: 12px;
  opacity: 0.22;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-right: 1.5px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Book 10: Frontline Mileage - Minimal Micro-Grid Crosshairs (No circles) */
.ft-check-geom-crosshairs::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Book 12: Cold-Chain & Phlebotomy - Clean Dual Check Verification Bands (No circles) */
.ft-check-geom-dual-bands::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18px;
  width: 28px;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1.5px, transparent 1.5px, transparent 12px, rgba(255, 255, 255, 0.7) 13.5px, transparent 13.5px);
  pointer-events: none;
}

/* STYLE A: SPLIT COLOR BLOCK (Top 46% solid/minimal pattern, Bottom 54% clean off-white) */
.ft-book-style-split .ft-cover-top {
  height: 48%;
  position: relative;
  overflow: hidden;
  padding: 18px 18px 14px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ft-book-style-split .ft-cover-bottom {
  height: 52%;
  background: #ffffff;
  padding: 22px 18px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

:root[data-theme="dark"] .ft-book-style-split .ft-cover-bottom {
  background: #0f172a;
}

/* STYLE B: MINIMAL MONOCHROME / WHITE WITH GEOMETRIC ART (Like Vercel Frontend Cloud reference) */
.ft-book-style-white {
  background: #fafaf9;
  padding: 28px 22px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:root[data-theme="dark"] .ft-book-style-white {
  background: #0b1120;
}

/* STYLE C: FULL COLOR SATURATION (Deep rich jewel/earth tones) */
.ft-book-style-full {
  padding: 28px 22px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

/* Book Eyebrows (Guide, Playbook, Best Practices, Blueprint, SOP Checklist, Framework) */
.ft-book-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  line-height: 1;
}

.ft-eyebrow-guide {
  color: #0284c7;
}

.ft-eyebrow-playbook {
  color: #b8925a;
}

.ft-eyebrow-practices {
  color: #10b981;
}

.ft-eyebrow-blueprint {
  color: #8b5cf6;
}

.ft-eyebrow-checklist {
  color: #ea580c;
}

.ft-eyebrow-framework {
  color: #059669;
}

/* Book Cover Title */
.ft-pure-book-link .ft-cover-title {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #10203f);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:root[data-theme="dark"] .ft-pure-book-link .ft-cover-title {
  color: #ffffff;
}

.ft-book-style-full .ft-cover-title {
  color: #ffffff !important;
}

/* Minimal Vector Accents & Icons on Cover (Like the circle lens & speech bubble in the user image) */
.ft-cover-bottom-accent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
}

.ft-cover-triangle-mark {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #0f172a;
}

:root[data-theme="dark"] .ft-cover-triangle-mark {
  border-bottom-color: #ffffff;
}

/* Lens Circles (overlapping cyan & red lens from reference) */
.ft-cover-lens-circles {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: 16px;
}

.ft-cover-lens-circle-1 {
  position: absolute;
  top: 0;
  left: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.85);
  mix-blend-mode: multiply;
}

.ft-cover-lens-circle-2 {
  position: absolute;
  bottom: 0;
  left: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  mix-blend-mode: multiply;
}

/* Speech Bubble Pixel Icon */
.ft-cover-bubble-icon {
  width: 46px;
  height: 46px;
  opacity: 0.85;
}

/* Minimal subtle overlay patterns for the color tops */
.ft-pat-quads::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 100% 100%, transparent 20px, rgba(0, 0, 0, 0.5) 21px, transparent 22px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ft-pat-grid-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* ============================================================
   SLIGHT, CLASSY 3D OPENING ON HOVER
   Subtle opening movement (~-30deg to -32deg)
   ============================================================ */
.ft-pure-book-link:hover .ft-book-3d {
  transform: rotateY(-12deg) rotateX(3deg) translateY(-8px) translateZ(10px);
}

.ft-pure-book-link:hover .ft-book-cover {
  /* Gentle, realistic slight opening angle */
  transform: rotateY(-32deg);
  box-shadow:
    -12px 16px 32px -6px rgba(15, 23, 42, 0.3),
    -3px 2px 10px rgba(15, 23, 42, 0.12);
}

.ft-pure-book-link:hover .ft-book-shadow {
  transform: translateZ(-26px) scale(1.08) translateX(-10px);
  opacity: 0.95;
}


/* ============================================================
   CUSTOMER STORIES 6-TAB SHOWCASE (Matching reference design)
   ============================================================ */
.ft-case-tabs-wrapper {
  margin: 32px 0 60px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 10px 30px -10px rgba(16, 32, 63, 0.06);
  overflow: hidden;
}

:root[data-theme="dark"] .ft-case-tabs-wrapper {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

/* Tab Bar with 6 Client Logos */
.ft-case-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line, #e2e8f0);
  background: var(--bg, #f6f3ec);
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

:root[data-theme="dark"] .ft-case-nav-bar {
  background: #1e293b;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ft-case-nav-bar::-webkit-scrollbar {
  display: none;
}

.ft-case-tab-btn {
  flex: 1;
  min-width: 140px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 0 16px;
  transition: all 0.25s ease;
  position: relative;
  outline: none;
  opacity: 0.55;
  filter: grayscale(100%);
}

.ft-case-tab-btn:hover {
  opacity: 0.85;
  filter: grayscale(40%);
}

.ft-case-tab-btn.active {
  opacity: 1;
  filter: grayscale(0%);
  border-bottom-color: var(--brass, #b8925a);
}

.ft-case-tab-btn img {
  max-height: 28px;
  max-width: 110px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.ft-case-tab-btn.active img {
  transform: scale(1.05);
}

.ft-case-tab-btn .tab-text-logo {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink, #10203f);
}

:root[data-theme="dark"] .ft-case-tab-btn .tab-text-logo {
  color: #ffffff;
}

/* Quick Bites Content Stage (2-Column Hero layout like reference) */
.ft-case-panel-body {
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  min-height: 280px;
  position: relative;
}

@media (max-width: 900px) {
  .ft-case-panel-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 24px;
  }
}

/* Left Metric Stat Box */
.ft-case-metric-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ft-case-counter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted, #64748b);
  margin-bottom: 18px;
}

.ft-case-stat-number {
  font-family: 'Montserrat Alternates', Montserrat, sans-serif;
  font-size: clamp(48px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink, #10203f);
  margin-bottom: 8px;
}

:root[data-theme="dark"] .ft-case-stat-number {
  color: #ffffff;
}

.ft-case-stat-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #10203f);
  margin-bottom: 6px;
}

:root[data-theme="dark"] .ft-case-stat-label {
  color: #f1f5f9;
}

.ft-case-stat-subtext {
  font-size: 13.5px;
  color: var(--muted, #64748b);
  line-height: 1.4;
}

/* Right Quote & Story Bite */
.ft-case-quote-col {
  border-left: 1px solid var(--line, #e2e8f0);
  padding-left: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

@media (max-width: 900px) {
  .ft-case-quote-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line, #e2e8f0);
    padding-top: 28px;
  }
}

:root[data-theme="dark"] .ft-case-quote-col {
  border-color: rgba(255, 255, 255, 0.1);
}

.ft-case-quote-text {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink, #10203f);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

:root[data-theme="dark"] .ft-case-quote-text {
  color: #f8fafc;
}

.ft-case-quote-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.ft-case-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ft-case-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #10203f);
}

:root[data-theme="dark"] .ft-case-author-name {
  color: #ffffff;
}

.ft-case-author-role {
  font-size: 13px;
  color: var(--muted, #64748b);
}

.ft-case-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #10203f);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(184, 146, 90, 0.1);
  border: 1px solid rgba(184, 146, 90, 0.25);
}

.ft-case-read-btn:hover {
  background: var(--ink, #10203f);
  color: #ffffff;
  border-color: var(--ink, #10203f);
  transform: translateX(4px);
}

:root[data-theme="dark"] .ft-case-read-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

:root[data-theme="dark"] .ft-case-read-btn:hover {
  background: var(--brass, #b8925a);
  color: #10203f;
  border-color: var(--brass, #b8925a);
}

/* Fade animation between stories */
.ft-case-panel-item {
  display: none;
  animation: fadeInCase 0.35s ease forwards;
}

.ft-case-panel-item.active {
  display: block;
}

@keyframes fadeInCase {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   100% PRODUCTION ACCELERATION, ACCESSIBILITY & SECURITY POLICIES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .ft-case-panel-item {
    animation: none !important;
  }
}

/* Accessible focus ring for WCAG 2.1 AAA Compliance */
:focus-visible {
  outline: 2px solid var(--brass, #b8925a) !important;
  outline-offset: 3px !important;
}

/* Safe image rendering (explicitly exclude 3D logo layers) */
img:not(.face):not(.layer) {
  content-visibility: visible;
}

/* GPU hardware acceleration for smooth 3D book hover transforms */
.ft-book-3d,
.ft-book-cover {
  will-change: transform;
  transform-style: preserve-3d;
}


/* ============================================================
   3D BRAND LOGO GUARANTEE (Header rotates, Footer stays static)
   ============================================================ */
.persp.hm {
  perspective: 260px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

.persp.hm .spin {
  position: relative !important;
  display: block !important;
  transform-style: preserve-3d !important;
  overflow: visible !important;
}

.persp.hm .spin img.face,
.persp.hm .spin img.layer {
  display: block !important;
  height: 34px !important;
  width: auto !important;
  content-visibility: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.persp.hm .spin img.layer {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

/* ONLY Header Logo Rotates */
header .spin,
.nv .spin,
.nvw .spin {
  animation: spin3d 7s ease-in-out infinite !important;
  -webkit-animation: spin3d 7s ease-in-out infinite !important;
}

/* Footer Logo is 100% Static 3D (No rotation) */
footer .spin,
.ft .spin,
.ft-brand-wrap .spin,
.spin-static {
  animation: none !important;
  -webkit-animation: none !important;
  transform: rotateX(-8deg) rotateY(-22deg) !important;
}


/* Production Web Font & High-Performance Paint */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-display: swap;
}

/* Instant tap target comfort for mobile (WCAG 2.5.5 touch target size) */
a,
button,
.btn,
.mi,
.ft-case-tab-btn,
.ft-page-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
/* ============================================================
   RESPONSIVE ENHANCEMENTS FOR MOBILE & TABLET SCREENS
   Smooth fluid grids, comfortable padding, and beautiful typography
   ============================================================ */
@media (max-width: 900px) {
  /* Detail & Use Case Grids */
  .uc-grid-3,
  .g3,
  .ft-blog-grid,
  .g4 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Footer responsiveness */
  .fg {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }
  .ft-brand-wrap {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }

  /* Pre-footer CTA box */
  .prefooter-cta-box {
    padding: 40px 24px !important;
    border-radius: 20px !important;
  }
  .prefooter-cta-box h2 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  /* Playbook & Blog Article Headers */
  .article-hero-title,
  .ft-about-headline {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .article-hero-sub,
  .ft-about-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 600px) {
  /* Footer mobile stacking */
  .fg {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  footer {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  footer .fr {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* Use cases and article layouts */
  .article-detail-wrap,
  .about-page-wrap,
  .contact-hero-wrap {
    padding-top: calc(var(--nav-h, 64px) + 16px) !important;
  }

  .uc-card-problem,
  .uc-card-built,
  .uc-card-roi,
  .card,
  .article-callout-card {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }

  .article-hero-title {
    font-size: 24px !important;
  }

  /* Buttons on mobile */
  .uc-footer-nav,
  .article-footer-nav {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch !important;
  }
  .uc-footer-nav a,
  .article-footer-nav a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ============================================================
   SPEED & MOBILE ACCELERATION (GPU RENDERING & SMOOTH INP)
   ============================================================ */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* GPU layer promotion for smooth scrolling */
@media (max-width: 768px) {
  .nvw {
    will-change: transform;
    transform: translateZ(0);
  }
}

/* Ensure 3D look on mobile and tablet for logo icons */
@media (max-width: 1080px) {
  .persp {
    perspective: 260px !important;
  }
  .spin {
    display: block !important;
    transform-style: preserve-3d !important;
  }
  /* Header logo rotates smoothly on mobile & tablet */
  .nv .spin,
  .nvw .spin {
    animation: spin3d 7s ease-in-out infinite !important;
    -webkit-animation: spin3d 7s ease-in-out infinite !important;
  }
  /* Footer logo retains static 3D depth */
  .ft .spin,
  .ft-brand-wrap .spin,
  .spin-static {
    animation: none !important;
    -webkit-animation: none !important;
    transform: rotateX(-8deg) rotateY(-22deg) !important;
  }
  .spin .layer {
    display: block !important;
  }
}

/* ============================================================
   MOBILE & TABLET FULL-WIDTH MARGINS & HORIZONTAL SCROLL FIXES
   - Aligns sections with header margins
   - Contains integration logos strip neatly on mobile
   - Hides desktop sign-in button on mobile and shows inside menu
   ============================================================ */

/* On desktop (>1080px): Mobile-only Sign In item is strictly non-existent */
@media (min-width: 1081px) {
  .nl > li.nl-mobile-only-signin,
  li.nl-mobile-only-signin {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}

.nl-mobile-only-signin {
  display: none !important;
}

@media (max-width: 1080px) {
  /* On mobile/tablet, hide top header Sign In button */
  .nr .btn.hd2 {
    display: none !important;
  }

  /* Show Sign In inside the mobile dropdown menu as the last item */
  .nl > li.nl-mobile-only-signin,
  li.nl-mobile-only-signin {
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--line) !important;
    order: 99 !important;
  }

  .nl-mobile-signin-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 13px 18px !important;
    background: var(--ink, #10203f) !important;
    color: #ffffff !important;
    font: 600 15px/1 Montserrat, sans-serif !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(16, 32, 63, 0.15) !important;
  }

  /* Prevent page horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Container margins matching header and mobile viewport */
  .w,
  .hero .w,
  .pgh .w,
  .contact-hero-wrap .w,
  .ft .w {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* Integration Ecosystem Logos Strip: wrap neatly without breaking viewport */
  .ft-eco-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ft-eco-logos-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .ft-eco-logo-item {
    min-height: 40px !important;
  }

  .ft-eco-logo-img {
    max-height: 34px !important;
    max-width: 95px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 600px) {
  /* Precise mobile edge margin aligning with navbar (16px) */
  .w,
  .hero .w,
  .pgh .w,
  .contact-hero-wrap .w,
  .ft .w {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Integration logos on small phones: 3 per row grid */
  .ft-eco-logos-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px 12px !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
  }

  .ft-eco-logo-item {
    width: 100% !important;
    justify-content: center !important;
  }

  .ft-eco-logo-img {
    max-height: 30px !important;
    max-width: 82px !important;
  }

  .ft-eco-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
}

/* ============================================================
   TABLET & MOBILE UNIFORM SECTION SPACING SYSTEM
   Strictly scoped to tablets & mobile (max-width: 1080px).
   Desktop & large screen styling is untouched and 100% intact.
   ============================================================ */

/* Tablet (1080px down to 601px): 56px equal vertical rhythm */
@media (max-width: 1080px) and (min-width: 601px) {
  section,
  .ft-about-unified-sec,
  #h-about,
  #h-product,
  #h-stories,
  .ft-case-studies-sec,
  #h-blog,
  .prefooter-cta-sec,
  .about-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Keep hero top breathing room for navbar while matching bottom gap */
  .hero,
  .sema-hero {
    padding-top: calc(var(--nav-h, 68px) + 36px) !important;
    padding-bottom: 56px !important;
    margin-bottom: 0 !important;
  }

  .ft-ecosystem-subsection {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }
}

/* Small screen / Mobile (600px and down): 44px equal vertical rhythm */
@media (max-width: 600px) {
  section,
  .ft-about-unified-sec,
  #h-about,
  #h-product,
  #h-stories,
  .ft-case-studies-sec,
  #h-blog,
  .prefooter-cta-sec,
  .about-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Keep hero top breathing room for navbar while matching bottom gap */
  .hero,
  .sema-hero {
    padding-top: calc(var(--nav-h, 64px) + 24px) !important;
    padding-bottom: 44px !important;
    margin-bottom: 0 !important;
  }

  .ft-ecosystem-subsection {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
  }
}

/* Responsive Workflow in Action interactive iframes */
.ft-workflow-iframe {
  width: 100%;
  height: 780px;
  display: block;
  border: none;
  background: #0a1630;
}

@media (max-width: 820px) {
  .ft-workflow-iframe {
    height: 600px !important;
  }
}

@media (max-width: 480px) {
  .ft-workflow-iframe {
    height: 540px !important;
  }
}

