/* The landing page keeps its original components, translations and destinations. */
.lf-site.lf-refined {
  --lf-ink: #153e32;
  --lf-muted: #486353;
  --lf-paper: #fdfefb;
  --lf-hero: #f5f7ef;
  --lf-surface: #f1f5ec;
  --lf-border: #d8e2d4;
  --hero-emphasis: #2f654e;
  --hero-rule: #c1df87;
  --preview-rail: #dfe8d9;
}
.lf-site.lf-refined[data-theme="dark"] {
  --lf-ink: #edf5e9;
  --lf-muted: #b3c8b8;
  --lf-paper: #11261e;
  --lf-hero: #182e23;
  --lf-surface: #20392b;
  --lf-border: #375442;
  --hero-emphasis: #c0dca5;
  --hero-rule: #536e3b;
  --preview-rail: #395040;
}
.lf-site ::selection { background: #c5e7a7; color: #123c2a; }
.lf-site :is(a,button,summary,select,input):focus-visible {
  outline: 2px solid var(--hero-emphasis);
  outline-offset: 3px;
}
.lf-site.lf-refined .lf-header { background: var(--lf-paper); }
.lf-site.lf-refined .lf-header-inner { height: 74px; }
.lf-site.lf-refined .lf-nav-start { border-radius: 9px; font-weight: 700; }

/* Keep the financial overview close to the first two actions. */
.lf-site.lf-refined .lf-hero {
  display: flex;
  flex-direction: column;
  reading-flow: flex-visual;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(46px, 4.2vw, 74px) max(20px, 4vw) 36px;
  background: var(--lf-hero);
}
.lf-site.lf-refined .lf-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 0 auto;
  height: 39vw;
  z-index: -1;
  background: url("/home-assets/ledger-stage.webp") center top / 117% auto no-repeat;
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.lf-site.lf-refined[data-theme="dark"] .lf-hero::before {
  opacity: .34;
  mix-blend-mode: luminosity;
  filter: brightness(.37);
}
.lf-site.lf-refined .lf-hero-copy { display: contents; }
.lf-site.lf-refined .lf-hero h1 {
  order: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: clamp(46px, 5.6vw, 86px) !important;
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 650;
}
.lf-site.lf-refined .lf-hero .lf-rotator {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--hero-emphasis);
  letter-spacing: -.04em;
  font-size: 1em;
  height: 1.23em;
  margin: 0 auto;
}
.lf-site.lf-refined .lf-hero .lf-rotator-track > span {
  display: block;
  line-height: 1.23;
  height: 1.23em;
  padding-inline: .12em;
  white-space: nowrap !important;
}
.lf-site.lf-refined .lf-hero .lf-rotator-track > span::after {
  height: .045em;
  bottom: .085em;
  background: var(--hero-rule);
  opacity: 1;
}
.lf-site.lf-refined .lf-hero-copy > p:first-of-type {
  order: 1;
  text-align: center;
  font-size: clamp(15px,1.16vw,18px);
  line-height: 1.65;
  max-width: min(68ch, 64vw);
  margin: 17px auto 0;
  text-wrap: pretty;
}
.lf-site.lf-refined .lf-hero-actions {
  order: 2;
  margin-top: 24px;
  gap: 10px;
}
.lf-site.lf-refined .lf-hero-actions :is(.lf-button,.lf-demo-emphasis) {
  min-height: 48px;
  padding: 10px 18px;
  gap: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.lf-site.lf-refined .lf-hero-actions .lf-button {
  background: var(--lf-paper);
  border-color: var(--preview-rail);
  color: var(--lf-ink);
}
.lf-site.lf-refined .lf-hero-actions .lf-button > span {
  width: 20px;
  height: 20px;
  background: transparent;
  color: inherit;
}
.lf-site.lf-refined .lf-hero-actions .lf-demo-emphasis {
  background: #173f32;
  border-color: #173f32;
  color: #fff !important;
}
.lf-site.lf-refined .lf-hero-actions .lf-demo-emphasis:hover { background: #245740; }
.lf-site.lf-refined[data-theme="dark"] .lf-hero-actions .lf-demo-emphasis {
  background: #c4e49b;
  color: #143328 !important;
  border-color: #c4e49b;
}
.lf-site.lf-refined .lf-trial { order: 3; margin: 11px 0 0; font-size: 12px; }
.lf-site.lf-refined .lf-hero > .lf-v-dashboard-wrap {
  order: 4;
  width: min(1080px, 100%);
  margin: clamp(32px, 3.4vw, 52px) auto 0;
  text-align: start;
  /* The hero preview is already visible when the page opens. */
  opacity: 1;
  transform: none;
}
.lf-site.lf-refined .lf-v-preview-label {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  width: auto;
  margin: 0 44px;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lf-muted);
  background: var(--lf-v-soft);
  border: 1px solid var(--preview-rail);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}
.lf-site.lf-refined .lf-v-dashboard-scene { padding: 0 44px 10px; }
.lf-site.lf-refined .lf-v-dashboard {
  border: 1px solid var(--preview-rail);
  border-radius: 0 0 15px 15px;
  outline: 0;
  transform: none;
  box-shadow: 0 26px 42px -34px #21412f78;
}
.lf-site.lf-refined .lf-v-sidebar { background: #173d30; }
.lf-site.lf-refined .lf-v-screen { padding: clamp(18px,2.2vw,30px); }
.lf-site.lf-refined .lf-v-screen-heading h3 { letter-spacing: -.035em; }
.lf-site.lf-refined .lf-v-total strong { font-variant-numeric: tabular-nums; }
.lf-site.lf-refined .lf-v-floating-stock { right: 0; top: 37%; }
.lf-site.lf-refined .lf-v-floating-order { left: 0; bottom: 16%; }
.lf-site.lf-refined .lf-hero-copy > .lf-industry-promise {
  order: 5;
  text-align: center;
  margin: 30px 0 16px;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -.03em;
}
.lf-site.lf-refined .lf-product-proof { order: 6; margin: 0; width: min(950px,100%); }
.lf-site.lf-refined .lf-product-totals { gap: 0; margin-top: 6px; }
.lf-site.lf-refined .lf-product-totals > * { padding-inline: clamp(18px,3vw,42px); }
.lf-site.lf-refined .lf-product-totals > * + * { border-inline-start: 1px solid var(--preview-rail); }
.lf-site.lf-refined .lf-product-totals strong { font-size: clamp(26px, 3vw, 40px); }
.lf-site.lf-refined .lf-key-workflows { gap: 10px 19px; }
.lf-site.lf-refined .lf-key-workflows li > span { color: var(--lf-muted); font-size: 13px; }
.lf-site.lf-refined .lf-scroll-hint { order: 7; }

/* Financial chapters borrow the alignment and separators of the ledger itself. */
.lf-site .hf-section { padding-block: clamp(48px, 6vw, 95px); }
.lf-site .hf-section h2 {
  margin-block: 12px;
  font-size: clamp(31px,4.1vw,62px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.lf-site .hf-section .hf-lead { color: var(--lf-muted); opacity: 1; }
.lf-site .hf-four { gap: 0; }
.lf-site .hf-four .hf-card {
  padding: 18px clamp(15px,2vw,32px);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--lf-border);
  border-radius: 0;
}
.lf-site .hf-card p { color: var(--lf-muted); opacity: 1; }
.lf-site .hf-index { color: var(--lf-muted); opacity: 1; font-variant-numeric: tabular-nums; }
.lf-site #fintech-branches {
  padding: clamp(25px, 4.5vw, 68px);
  border-radius: 16px;
  background: var(--lf-surface);
}
.lf-site .hf-balance { border-radius: 12px; }
.lf-site .hf-balance dd { font-variant-numeric: tabular-nums; }
.lf-site #fintech-demo .hf-scenario { background: var(--lf-paper); border-color: var(--lf-border); border-radius: 14px; }
.lf-site #fintech-connections { padding-block: 6px 24px; }
.lf-site #fintech-connections .hf-pilot { max-width: 100%; justify-content: space-between; align-items: center; border-block: 1px solid var(--lf-border); }
.lf-site #fintech-connections .hf-pilot > div:first-child { max-width: 70ch; }
.lf-site #fintech-connections .hf-actions { flex: 0 0 auto; gap: 16px; }

/* The platform map brings the existing rotating services into one field of view. */
.lf-site #integrations .lf-connect-stage {
  background: radial-gradient(ellipse at center, #254e3e, #183d30 58%, #133429);
  border-radius: 18px;
  margin-bottom: clamp(28px,4vw,56px);
}
.lf-site #integrations .lf-connect-orbit-line { border-color: #78977d; }
.lf-site #integrations .lf-connect-center h2 { color: #f8fbf1; }
.lf-site #integrations .lf-connect-center h2 span:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  color: #d0e8ab;
}
.lf-site #integrations :is(.lf-connect-kicker,.lf-connect-intro) { color: #cedece; }
.lf-site #integrations .lf-connect-brand {
  border: 0;
  background: #f2f5e9;
  box-shadow: none;
}
.lf-site #integrations .lf-connect-orbit-card { box-shadow: none; }
.lf-site #integrations .lf-connect-orbit-tone-2 { background: #2c5444; border-color: #8ea88d; color: #eff5dc; }
@media (max-width: 1180px) {
  .lf-site #integrations .lf-connect-stage { border-radius: 0; }
}

@media (min-width: 901px) {
  .lf-site.lf-refined .lf-nav a[href^="#"] { text-underline-offset: 6px; }
  .lf-site.lf-refined .lf-nav a[href^="#"]:hover { text-decoration: underline; }
}
@media (max-width: 960px) {
  .lf-site #fintech-connections .hf-pilot { flex-direction: column; align-items: flex-start; }
  .lf-site.lf-refined .lf-header-inner { height: 66px; }
  .lf-site.lf-refined .lf-hero-copy > p:first-of-type { max-width: min(62ch,80vw); }
}
@media (max-width: 700px) {
  .lf-site.lf-refined .lf-hero { padding: 36px 18px 30px; }
  .lf-site.lf-refined .lf-hero::before { content: none; }
  .lf-site.lf-refined .lf-hero h1 { font-size: clamp(29px, 7.45vw, 48px) !important; line-height: 1.1; }
  .lf-site.lf-refined .lf-hero .lf-rotator {
    margin-top: 4px;
    font-size: min(1em, calc((100vw - 38px) / 11.9));
  }
  :lang(ru) .lf-site.lf-refined .lf-hero .lf-rotator { font-size: min(1em, calc((100vw - 38px) / 13.2)); }
  .lf-site.lf-refined .lf-hero-copy > p:first-of-type { max-width: 48ch; font-size: 15px; line-height: 1.55; margin-top: 15px; }
  .lf-site.lf-refined .lf-hero-actions { margin-top: 19px; gap: 8px; width: 100%; }
  .lf-site.lf-refined .lf-hero-actions :is(.lf-button,.lf-demo-emphasis) { padding: 10px 13px; font-size: 13px; gap: 7px; }
  .lf-site.lf-refined .lf-hero-actions .lf-demo-emphasis { width: auto; }
  .lf-site.lf-refined .lf-hero > .lf-v-dashboard-wrap { margin-top: 26px; }
  .lf-site.lf-refined .lf-v-dashboard-scene { padding: 0; }
  .lf-site.lf-refined .lf-v-preview-label {
    margin-inline: 0;
    padding: 10px 14px;
    justify-content: center;
    color: var(--lf-muted);
    background: var(--lf-v-soft);
  }
  .lf-site.lf-refined .lf-v-screen { padding: 16px 12px; }
  .lf-site.lf-refined .lf-v-floating-order { inset: auto 0 -12px auto; }
  .lf-site.lf-refined .lf-hero-copy > .lf-industry-promise { margin-top: 36px; }
  .lf-site.lf-refined .lf-product-totals > * { padding-inline: 15px; }
}
@media (max-width: 365px) {
  :lang(ru) .lf-site.lf-refined .lf-hero .lf-rotator { font-size: 1em; height: 2.46em; }
  :lang(ru) .lf-site.lf-refined .lf-hero .lf-rotator-track > span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.46em;
    width: 100%;
    white-space: normal !important;
    text-wrap: balance;
  }
  :lang(ru) .lf-site.lf-refined .lf-hero .lf-rotator-track > span::after { content: none; }
}
@media (max-width: 450px) {
  .lf-site.lf-refined .lf-hero-actions { flex-direction: column; }
  .lf-site.lf-refined .lf-hero-actions :is(.lf-button,.lf-demo-emphasis) { width: min(310px,100%); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-site .lf-hero .lf-rotator-track { animation: none; transform: none; }
  .lf-site .lf-hero-actions a { transition: none; }
}
/* Light follows the pointer only on the part of the page being explored. */
#industries.lf-sector-section, #hesabdar-gaming.hg-home, #integrations .lf-connect-stage {
  position: relative;
  isolation: isolate;
}
#industries.lf-sector-section::before, #hesabdar-gaming.hg-home::before, #integrations .lf-connect-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 360px 280px at var(--light-x,28%) var(--light-y,38%), #96b97040, transparent 100%);
}
#hesabdar-gaming.hg-home::before {
  background: repeating-radial-gradient(ellipse 230px 140px at var(--light-x,82%) var(--light-y,70%), transparent 0 29px, #c9eda314 30px, transparent 32px);
}
#integrations .lf-connect-stage::before {
  background: radial-gradient(circle 240px at var(--light-x,50%) var(--light-y,50%), #a7db9a37, transparent);
}

/* Scroll scenes are decorative layers of the section that owns their timeline. */
.lf-site :is(#industries,#fintech-branches,#integrations .lf-connect-stage,#hesabdar-gaming) {
  position: relative;
  isolation: isolate;
  overflow: clip;
  view-timeline-name: --section-pass;
  view-timeline-axis: block;
}
.lf-site :is(#industries,#fintech-branches,#integrations .lf-connect-stage,#hesabdar-gaming)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.lf-site #industries::after {
  right: -4%;
  top: 3%;
  width: clamp(155px,28vw,450px);
  height: clamp(100px,16vw,230px);
  transform-origin: right center;
  transform: rotate(-21deg) skewY(8deg);
  background: repeating-linear-gradient(96deg,#71987b 0%,#d8e2c3 5%,#f2f6e9 7%,#89a386 8%,#789879 9%);
  clip-path: polygon(0 12%,90% 0,100% 86%,10% 100%);
  opacity: .42;
}
.lf-site #fintech-branches::after {
  right: -6%;
  top: 0;
  width: clamp(120px,25vw,400px);
  height: 75%;
  background: url('/home-assets/ledger-stage.webp') right center / auto 100% no-repeat;
  mask-image: linear-gradient(90deg,transparent,#000 60%);
  opacity: .35;
}
.lf-site #integrations .lf-connect-stage::after {
  inset: 12% 0;
  margin: auto;
  width: 72%;
  max-width: 620px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  background: repeating-radial-gradient(circle closest-side,transparent 0 17%,#b3d79c30 17.2% 17.5%,transparent 17.8% 20%);
}
.lf-site #hesabdar-gaming::after {
  inset: -40% 0;
  width: 50%;
  background: linear-gradient(105deg,transparent 14%,#c2ed9822 46%,#baf6b249 48%,transparent 52%,#c2ed9819 58%,transparent 70%);
  transform: translateX(110%);
}
@keyframes hs-fold { from {transform: translateY(-24px) rotate(-29deg) skewY(10deg) scaleX(.56)} to {transform: translateY(46px) rotate(-10deg) skewY(4deg) scaleX(1.12)} }
@keyframes hs-receipt { from {transform: translate(9%,18%) rotate(9deg)} to {transform: translate(-6%,-12%) rotate(-5deg)} }
@keyframes hs-rings { from {transform: scale(1.23);opacity:.4} to {transform: scale(.77);opacity:.95} }
@keyframes hs-scan { from {transform: translateX(-85%)} to {transform: translateX(215%)} }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lf-site:not(.lf-motion-paused) :is(#industries,#fintech-branches,#integrations .lf-connect-stage,#hesabdar-gaming)::after {
      animation: var(--section-motion) 1s linear both;
      animation-timeline: --section-pass;
      animation-range: entry 0% exit 100%;
    }
    #industries { --section-motion: hs-fold; }
    #fintech-branches { --section-motion: hs-receipt; }
    #integrations .lf-connect-stage { --section-motion: hs-rings; }
    #hesabdar-gaming { --section-motion: hs-scan; }
  }
}
@media (max-width:700px) {
  .lf-site #industries::after {right:-18%;opacity:.23}
  .lf-site #fintech-branches::after {right:-16%;height:40%;opacity:.22}
}

/* Finance overview: a single photographic opening, followed by the ledger. */
.lf-site .hf-insert > .hf-section:first-child {
  margin-block:clamp(32px,5vw,76px);
  padding:clamp(26px,4.4vw,70px);
  border-radius:18px;
  background:transparent;
  border:0;
}
.lf-site .hf-insert {position:relative;isolation:isolate;background:transparent;}
.lf-site .hf-insert::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:min(92vh,980px);
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(to bottom,transparent 55%,var(--lf-paper)),url("/home-assets/finance-1.webp") center / cover no-repeat;
  opacity:.24;
}
.lf-site #hf-finance-title {max-width:13ch;}
.lf-site .hf-section:has(#hf-finance-title) .hf-lead {max-width:46ch;}
.lf-site .hf-section:has(#hf-finance-title) .hf-four {margin-top:clamp(32px,5vw,68px);background:var(--lf-paper);}
@media(max-width:650px){
  .lf-site .hf-insert > .hf-section:first-child {padding:28px 20px;}
  .lf-site .hf-insert::before {background-position:62% center;opacity:.18;}
}

/* MilliNet 2026 instant frameless compact hero banner */
.lf-millinet-hero-banner {
  position: absolute;
  top: clamp(89px, calc(75px + 1.5vw), 95px);
  left: max(22px, 3vw);
  z-index: 85;
  display: block;
  width: 168px;
  height: 87px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lf-millinet-hero-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}
body:has(.lf-site[data-theme="dark"]) .lf-millinet-hero-banner {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}
.lf-millinet-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
@media (max-width: 1359px) {
  .lf-site.lf-refined .lf-hero { padding-top: 120px !important; }
}
@media (max-width: 640px) {
  .lf-millinet-hero-banner {
    top: 85px;
    left: 20px;
    width: 132px;
    height: 68px;
  }
  .lf-site.lf-refined .lf-hero { padding-top: 98px !important; }
}
.lf-site #pricing .lf-plan li svg {
  color: #176044;
}
.lf-site[data-theme="dark"] #pricing .lf-plan li svg {
  color: #a8dc7a;
}
.lf-site .lx-comparison-v2 .lx-plan-check {
  background: #144e37;
  color: #ffffff;
}
.lf-site[data-theme="dark"] .lx-comparison-v2 .lx-plan-check {
  background: #9bd677;
  color: #102a1f;
}
.lf-site .lx-plan-compare.is-entered .lx-plan-check svg {
  stroke-dasharray: none;
  animation: none;
}
