/* =============================================
   Kliento / FbAds theme layer

   Loaded by Views/Kliento/_Layout.cshtml and Views/FbAds/_FbAdsLayout.cshtml only.
   Everything below the token block is scoped to body.kliento-page, so /fbads inherits
   nothing from this sheet except the handful of unqualified button rules directly below
   (the class intersection between fbads markup and this sheet is empty).

   Chrome 74 (Datecs BlueCash-50) is the floor: no :is()/:where(), color-mix(), @layer or
   logical properties.
   ============================================= */

a:hover,
.btn:hover {
    color: var(--kl-accent);
}

/* The theme reserves a 1px transparent border across the whole button family
   (style.2.07.css:6683-6697) so a variant swap cannot resize the box. These rules keep that
   reservation intact through the interactions the theme does not restate. */
.btn-dark {
    border: 1px solid transparent;
}

.btn-thm:hover {
    border: 1px solid transparent;
}

.btn-white:hover,
.btn-white2:hover {
    border: 1px solid transparent;
}

.btn-light-gray:hover,
.btn-transparent:hover {
    border: 1px solid transparent;
}

/* .menu-btn is outside the theme's brand family, so its hover is still the retired coral
   (style.2.07.css:7005-7008) unless overridden here. */
.menu-btn:hover {
    background: var(--kl-btn-gradient-interaction);
    border: 1px solid #ffffff;
}

/* =============================================
   Kliento landing — design tokens

   Declared on body.kliento-page rather than :root: a custom property resolves at the nearest
   declaring ancestor, so these win for the whole Kliento subtree by inheritance — no
   specificity contest, no load-order dependency — while the five admin/POS/dashboard/login
   layouts that share style.2.07.css keep the theme defaults.

   --kl-accent, --kl-accent-strong, --kl-accent-rgb, --kl-btn-gradient,
   --kl-btn-gradient-interaction and --kl-btn-gradient-wash are inherited from
   style.2.07.css:66-74 and are ALREADY the fbads values. They are deliberately not redeclared.
   ============================================= */
body.kliento-page {
    --title-font-family: 'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
    --body-font-family: 'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
    /* The theme paints both headings AND <p> from --headings-color. Retuning it here moves both
       onto the fbads near-black at the theme's own specificity, so .text-white / .text-gray in
       the footer still win by source order. An element-level heading colour rule would not. */
    --headings-color: #0F0C1E;
    --kl-surface: #FFFFFF;
    --kl-surface-alt: #FAFAF7;
    --kl-surface-sunken: #F4F2EC;
    --kl-text-heading: #0F0C1E;
    --kl-text-body: #29253A;
    --kl-text-muted: #6B6680;
    --kl-text-subtle: #9A95AC;
    --kl-hairline: rgba(15,12,30,0.06);
    --kl-border: rgba(15,12,30,0.10);
    --kl-tint-wash: rgba(139,92,246,0.04);
    --kl-tint-soft: rgba(139,92,246,0.08);
    --kl-radius-sm: 6px;
    --kl-radius-md: 12px;
    --kl-radius-lg: 16px;
    --kl-radius-xl: 24px;
    --kl-radius-full: 9999px;
    --kl-shadow-sm: 0 1px 2px rgba(15,12,30,.04), 0 2px 6px rgba(15,12,30,.04);
    --kl-shadow-md: 0 4px 12px rgba(15,12,30,.06), 0 12px 32px rgba(15,12,30,.06);
    --kl-shadow-lg: 0 12px 24px rgba(15,12,30,.08), 0 24px 64px rgba(15,12,30,.08);
    --kl-dur-base: 250ms;
    --kl-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Kliento landing — base typography ===== */
/* Theme base is 14px/26px. The .fzNN utilities carry per-element author intent and are left
   alone; only the base moves. */
body.kliento-page {
    font-size: 16px;
    line-height: 1.5;
    color: var(--kl-text-body);
}

/* font-weight is set on h1-h3 only: no Kliento view puts an .fwNNN utility on h1-h3, but 66
   h4-h6 elements carry one and that intent is preserved. */
body.kliento-page h1,
body.kliento-page h2,
body.kliento-page h3,
body.kliento-page h4,
body.kliento-page h5,
body.kliento-page h6 {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

body.kliento-page h1,
body.kliento-page h2,
body.kliento-page h3 {
    font-weight: 700;
}

/* .text-thm resolves to --kl-accent, which is 3.6:1 on --kl-surface-alt and fails AA. */
body.kliento-page .text-thm {
    color: var(--kl-accent-strong);
}

body.kliento-page .bgc-f7 {
    background-color: var(--kl-surface-alt);
}

/* Replaces the inline style="font-size:14px !important; font-weight:normal" on 71 <li>
   elements. The !important is load-bearing: those <li>s carry mb10-family utilities from
   ud-custom-spacing.css, which is 96KB of !important. */
body.kliento-page .kl-li-sm {
    font-size: 14px !important;
    font-weight: 400;
}

/* The 18px check icon carries mt5, which centres it on a 26px line. The 14px text of
   .kl-li-sm sits on a 21px line, so 2px centres the icon on the first line. */
body.kliento-page .kl-li-sm > i {
    margin-top: 2px !important;
}

/* --- Kliento header: ensure menu stays above hero content --- */
/* Left unscoped at their original specificity: the theme's
   header.nav-homepage-style.stricky.stricky-fixed rules must keep winning on scroll. */
.header-nav.main-menu {
    z-index: 9999;
}

/* --- Kliento menu overrides: wider dropdowns for longer translations --- */
header.nav-homepage-style .ace-responsive-menu .sub-menu {
    width: 420px;
}

header.nav-homepage-style .ace-responsive-menu .sub-menu li {
    width: 420px;
}

header.nav-homepage-style .ace-responsive-menu .sub-menu a {
    line-height: normal;
    padding: 10px 0;
    white-space: normal;
    font-weight: normal !important;
}

header.nav-homepage-style .ace-responsive-menu a {
    color: var(--kl-text-body);
    text-transform: none;
}

header.nav-homepage-style .ace-responsive-menu .megamenu_style .mega_menu_list {
    width: 50%;
}

header.nav-homepage-style .ace-responsive-menu .megamenu_style:hover .dropdown-megamenu {
    max-width: 700px;
}

/* ===== Kliento landing — hero ===== */
/* 60vh is the default because 23 of the 24 hero pages want it; /Kliento opts back up to full
   height with .hero-section-full. */
body.kliento-page .hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body.kliento-page .hero-section.hero-section-full {
    min-height: 100vh;
}

body.kliento-page .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--kl-btn-gradient-wash);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    z-index: -1;
    height: 460px;
}

body.kliento-page .hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--kl-text-heading);
}

@media (min-width: 1024px) {
    body.kliento-page .hero-title {
        font-size: 2.75rem;
    }
}

body.kliento-page .hero-text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--kl-text-muted);
    max-width: 560px;
}

/* Worn by the SEO <h1> above the hero slogan. The typographic properties are all restated
   because the theme, Bootstrap and this file each style h1 directly and would otherwise leak in. */
body.kliento-page .kl-pill {
    display: inline-block;
    font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    padding: 6px 10px;
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-sm);
    background: var(--kl-btn-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    background-color: transparent;
    color: transparent;
}

/* Gradient-filled fragment inside a heading. Mirrors fbads-gradient-underline:
   pink→coral, the warm end of the brand gradient, so it reads as emphasis
   rather than as a second accent colour. */
body.kliento-page .kl-gradient-text {
    background: linear-gradient(90deg, #EC4899 0%, #F97362 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

body.kliento-page .header-line {
    background-image: var(--kl-btn-gradient);
    height: 3px;
    display: block;
    width: 56px;
    border-radius: var(--kl-radius-full);
    margin-bottom: 20px;
}

/* ===== Kliento landing — shared page components (promoted from view <style> blocks) ===== */
/* Where a selector existed both here and in a view <style> block, the view definition is the
   one that was rendering (view blocks sit in the body and win on source order), so its
   geometry is the survivor and this sheet's Index-era copy is dropped. Every such Index usage
   is inside the commented-out region at Index.cshtml:1312-1841 and paints nothing today. */

body.kliento-page .sys-diagram {
    text-align: center;
    padding: 40px 0;
}

body.kliento-page .sys-center {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    padding: 20px 40px;
    border-radius: var(--kl-radius-lg);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(var(--kl-accent-rgb), 0.3);
}

body.kliento-page .sys-center i {
    font-size: 28px;
}

/* Connectors are structure, not brand. */
body.kliento-page .sys-arrows {
    padding: 16px 0;
    color: var(--kl-text-subtle);
    font-size: 18px;
}

body.kliento-page .sys-arrows i {
    font-size: 20px;
    color: var(--kl-text-subtle);
    opacity: 1;
    animation: sys-pulse 2s ease-in-out infinite;
}

body.kliento-page .sys-arrows i:nth-child(2) {
    animation-delay: 0.3s;
}

body.kliento-page .sys-arrows i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes sys-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateY(4px);
    }
}

body.kliento-page .sys-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

body.kliento-page .sys-channel {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 16px 24px;
    text-align: center;
    min-width: 120px;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .sys-channel:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .sys-channel i {
    display: block;
    font-size: 24px;
    color: var(--kl-accent);
    margin-bottom: 8px;
}

body.kliento-page .sys-channel span {
    font-size: 14px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .sys-caption {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--kl-text-muted);
}

body.kliento-page .story-section {
    padding: 60px 0;
}

body.kliento-page .story-section:nth-child(even) {
    background: var(--kl-surface-alt);
}

body.kliento-page .story-block {
    padding: 48px 0;
}

body.kliento-page .story-block + .story-block {
    border-top: 1px solid var(--kl-hairline);
}

body.kliento-page .story-block-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 16px;
}

body.kliento-page .story-block-text p,
body.kliento-page .story-block-text li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--kl-text-muted);
}

body.kliento-page .story-block-text ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

body.kliento-page .story-block-text ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Higher specificity than the pair above, exactly as in the view blocks these came from. */
body.kliento-page .story-section .story-block-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--kl-text-heading);
}

body.kliento-page .story-section .story-block-text p {
    font-size: 15px;
    color: var(--kl-text-muted);
    line-height: 1.7;
}

body.kliento-page .story-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background-image: var(--kl-btn-gradient);
}

body.kliento-page .mini-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0;
}

body.kliento-page .mini-flow-node {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 16px 20px;
    text-align: center;
    min-width: 90px;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .mini-flow-node:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .mini-flow-node i {
    display: block;
    font-size: 22px;
    color: var(--kl-accent);
    margin-bottom: 6px;
}

body.kliento-page .mini-flow-node span {
    font-size: 13px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .mini-flow-node.mini-flow-start,
body.kliento-page .mini-flow-start {
    background-image: var(--kl-btn-gradient);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(var(--kl-accent-rgb), 0.25);
}

body.kliento-page .mini-flow-node.mini-flow-start i,
body.kliento-page .mini-flow-node.mini-flow-start span,
body.kliento-page .mini-flow-start i,
body.kliento-page .mini-flow-start span {
    color: #FFFFFF;
}

body.kliento-page .mini-flow-arrow {
    color: var(--kl-text-subtle);
    font-size: 18px;
    opacity: 1;
}

body.kliento-page .why-cta-box {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-xl);
    box-shadow: var(--kl-shadow-md);
    padding: 40px;
}

body.kliento-page .highlight-box {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-xl);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .why-common-row {
    border-top: 2px solid rgba(var(--kl-accent-rgb), 0.12);
    padding-top: 40px;
    margin-top: 20px;
}

body.kliento-page .why-common-card {
    text-align: center;
    padding: 20px 16px;
}

body.kliento-page .why-common-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    background: rgba(var(--kl-accent-rgb), 0.08);
    color: var(--kl-accent-strong);
}

/* ===== Kliento landing — module grid ===== */
body.kliento-page .module-card {
    background-color: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    margin-bottom: 30px;
    padding: 30px;
    position: relative;
    height: 100%;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .module-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .module-card p {
    color: var(--kl-text-muted);
}

body.kliento-page .module-card ul {
    padding-left: 20px;
}

body.kliento-page .module-card li {
    align-items: center;
    display: flex;
    list-style-type: none;
    font-size: 12px;
}

body.kliento-page .module-card li > i {
    border-radius: 50%;
    font-size: 8px;
    height: 14px;
    left: 0;
    line-height: 16px;
    position: absolute;
    text-align: center;
    width: 14px;
    background-color: var(--headings-color);
    color: #FFFFFF;
}

/* Gradient ring: an opaque inner layer clipped to the padding box over the brand gradient
   clipped to the border box, with a 1.5px transparent border supplying the ring. Same
   technique as style.2.07.css:6776-6790, which is the Chrome 74-safe form (the `background:
   … padding-box, … border-box` shorthand is not usable in background-image). Renders as a
   block <i>, so line-height carries the vertical centring. */
body.kliento-page .module-card-icon {
    background-color: transparent;
    background-image: linear-gradient(var(--kl-surface), var(--kl-surface)), var(--kl-btn-gradient);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 1.5px solid transparent;
    border-radius: 50%;
    color: var(--kl-accent-strong);
    display: block;
    font-size: 20px;
    height: 48px;
    line-height: 45px;
    margin-bottom: 24px;
    text-align: center;
    width: 48px;
    transition: color var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .module-card.text-center .module-card-icon {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Kliento landing — onboarding timeline ===== */
body.kliento-page .onboarding-timeline {
    position: relative;
}

body.kliento-page .onboarding-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 32px 20px 24px;
    text-align: center;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
    height: 100%;
    position: relative;
    z-index: 1;
}

body.kliento-page .onboarding-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .onboarding-step-number {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--kl-text-body);
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.28);
    z-index: 2;
}

body.kliento-page .onboarding-list {
    position: relative;
    padding-left: 20px;
    text-align: left;
}

body.kliento-page .onboarding-list li {
    align-items: baseline;
    display: flex;
    list-style-type: none;
    font-size: 12px;
    line-height: normal;
    margin-bottom: 10px;
}

body.kliento-page .onboarding-list li > i {
    border-radius: 50%;
    font-size: 8px;
    height: 14px;
    left: 0;
    line-height: 16px;
    position: absolute;
    text-align: center;
    width: 14px;
    background-color: var(--headings-color);
    color: #FFFFFF;
}

body.kliento-page .onboarding-final-message {
    display: inline-block;
    background-image: var(--kl-btn-gradient);
    border-radius: var(--kl-radius-full);
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
}

/* ===== Kliento landing — venue selector and key benefits ===== */
body.kliento-page .venue-selector-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.kliento-page .venue-type-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .venue-type-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .venue-type-card.active {
    border-color: var(--kl-accent);
    box-shadow: 0 8px 24px rgba(var(--kl-accent-rgb), 0.15);
    background: rgba(var(--kl-accent-rgb), 0.03);
}

body.kliento-page .venue-type-card i {
    font-size: 36px;
    color: var(--kl-accent-strong);
    display: block;
    margin-bottom: 10px;
}

body.kliento-page .venue-type-card span {
    font-size: 16px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .key-benefit {
    text-align: center;
    padding: 0 20px;
}

body.kliento-page .key-benefit-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    margin-bottom: 20px;
}

body.kliento-page .key-benefit h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 10px;
}

body.kliento-page .key-benefit p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kl-text-muted);
    max-width: 320px;
    margin: 0 auto;
}

/* ===== Kliento landing — digital brain and operation tags ===== */
body.kliento-page .brain-col {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .brain-col:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .brain-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    background-color: rgba(var(--kl-accent-rgb), 0.07);
    color: var(--kl-accent);
}

body.kliento-page .operation-tag {
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(15, 12, 30, 0.07);
    padding: 10px;
    border-radius: var(--kl-radius-md);
    font-weight: 600;
    font-size: 12px;
}

/* ===== Kliento landing — shared responsive ===== */
@media (max-width: 767px) {
    body.kliento-page .venue-type-card {
        padding: 20px 14px;
    }

    body.kliento-page .venue-type-card i {
        font-size: 28px;
    }

    body.kliento-page .venue-type-card span {
        font-size: 14px;
    }

    body.kliento-page .sys-channel {
        min-width: 100px;
        padding: 12px 14px;
    }

    body.kliento-page .mini-flow-node {
        min-width: 70px;
        padding: 10px 12px;
    }

    body.kliento-page .mini-flow-node i {
        font-size: 18px;
    }

    body.kliento-page .mini-flow-node span {
        font-size: 11px;
    }

    body.kliento-page .why-cta-box {
        padding: 24px 20px;
    }
}

/* ===== Kliento landing — centered hero with gradient floor =====
   Light at the top so the copy stays readable, flowing into a saturated violet→pink
   floor so the lower edge of the hero image melts into the colour. Mirrors the
   everything-connected landing page, rebuilt on the --kl-* palette. */
body.kliento-page .kl-hero-shell {
    position: relative;
    overflow: hidden;
    padding: 88px 0 40px;
    /* Matches --fbads-body-bg, so a hero without the gradient sits flush with the
       pricing plans block below it. The gradient class overrides this. */
    background: var(--kl-surface-alt);
}

/* The gradient floor is a separate opt-in: pages that want the plain surface
   (e.g. Pricing, where a colour wash competes with the plan cards) take the
   shell without it. */
body.kliento-page .kl-hero-gradient {
    background: linear-gradient(
        180deg,
        var(--kl-surface-alt) 0%,
        var(--kl-surface-alt) 30%,
        rgba(139, 92, 246, 0.10) 52%,
        rgba(139, 92, 246, 0.38) 76%,
        rgba(236, 72, 153, 0.62) 100%
    );
}

/* Centred variation (Index): the image is the floor of the section. */
body.kliento-page .kl-hero-centered {
    text-align: center;
}

/* Scoped to the centred hero so the other pages keep the smaller .hero-title. */
body.kliento-page .kl-hero-centered .hero-title {
    font-size: 2rem;
}

/* The gradient fragment is the subject of the sentence; giving it its own line
   breaks the headline in two at a natural point on every language. */
body.kliento-page .kl-hero-centered .hero-text {
    font-size: 1rem;
}

body.kliento-page .kl-hero-centered .kl-gradient-text {
    display: block;
}

/* No bottom padding: the section that follows brings its own top padding, so the
   two read as one block instead of leaving a gap between them. */
body.kliento-page .kl-hero-compact {
    padding-bottom: 0;
}

/* Compact headline: for centred heroes whose headline is a full sentence rather
   than a short claim, where 4rem overwhelms the section below it. */
body.kliento-page .kl-hero-compact .hero-title {
    font-size: 1.75rem;
}

body.kliento-page .kl-hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* The image is the floor of the section: no bottom padding on desktop, so its
   lower edge lands on the saturated end of the gradient. */
body.kliento-page .kl-hero-image {
    width: 100%;
    margin-top: 8px;
}

body.kliento-page .kl-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Tablet: halfway between the phone and the desktop hero. Must sit after the base
   rules above - same specificity, so source order decides. */
@media (min-width: 768px) {
    body.kliento-page .kl-hero-shell {
        padding-top: 125px;
    }

    body.kliento-page .kl-hero-centered .hero-title {
        font-size: 2.75rem;
    }

    body.kliento-page .kl-hero-compact .hero-title {
        font-size: 2.25rem;
    }

    body.kliento-page .kl-hero-centered .hero-text {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    body.kliento-page .kl-hero-shell {
        padding-top: 185px;
    }

    /* Only the centred hero lets its image reach the coloured floor. */
    body.kliento-page .kl-hero-centered {
        padding-bottom: 0;
    }

    body.kliento-page .kl-hero-centered .hero-title {
        font-size: 4rem;
    }

    body.kliento-page .kl-hero-compact .hero-title {
        font-size: 2.25rem;
    }
}

/* ===== Kliento landing — V2 venue cards comparison ===== */
body.kliento-page .v2-section {
    padding: 100px 0 80px;
    background: linear-gradient(170deg, var(--kl-surface-alt) 0%, var(--kl-surface) 50%, var(--kl-tint-wash) 100%);
    position: relative;
}

body.kliento-page .v2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-image: var(--kl-btn-gradient);
    background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    body.kliento-page .v2-section::before {
        animation: v2-gradient-slide 4s ease infinite;
    }
}

@keyframes v2-gradient-slide {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

body.kliento-page .v2-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--kl-text-heading);
    margin-bottom: 12px;
}

body.kliento-page .v2-section-sub {
    font-size: 17px;
    color: var(--kl-text-muted);
    margin-bottom: 48px;
}

/* Venue pills */
body.kliento-page .v2-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

body.kliento-page .v2-pill {
    border: 2px solid var(--kl-border);
    background: var(--kl-surface);
    border-radius: var(--kl-radius-full);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--kl-text-muted);
    cursor: pointer;
    transition: all var(--kl-dur-base) var(--kl-ease-out);
    outline: none;
    white-space: nowrap;
}

body.kliento-page .v2-pill i {
    margin-right: 8px;
    font-size: 16px;
}

body.kliento-page .v2-pill:hover {
    border-color: var(--kl-accent);
    color: var(--kl-accent-strong);
    transform: translateY(-2px);
}

body.kliento-page .v2-pill.active {
    background-image: var(--kl-btn-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(var(--kl-accent-rgb), 0.3);
}

/* Card grid */
body.kliento-page .v2-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

body.kliento-page .v2-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    padding: 36px 28px 28px;
    position: relative;
    box-shadow: var(--kl-shadow-sm);
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
    overflow: hidden;
}

body.kliento-page .v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-image: var(--kl-btn-gradient);
    transform: scaleX(0.15);
    transform-origin: left;
    transition: transform 0.5s var(--kl-ease-out);
}

body.kliento-page .v2-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .v2-card:hover::before {
    transform: scaleX(1);
}

/* Card number watermark. Geist 900 is not loaded, so 900 faux-bolds; 800 is the heaviest real cut. */
body.kliento-page .v2-card-num {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(var(--kl-accent-rgb),0.07), rgba(var(--kl-accent-rgb),0.03));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -2px;
}

/* Card icon */
body.kliento-page .v2-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--kl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(var(--kl-accent-rgb),0.1), rgba(var(--kl-accent-rgb),0.06));
    color: var(--kl-accent);
    margin-bottom: 16px;
}

body.kliento-page .v2-card h5 {
    font-size: 19px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

body.kliento-page .v2-card-desc {
    font-size: 14px;
    color: var(--kl-text-subtle);
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Bullet list */
body.kliento-page .v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.kliento-page .v2-list li {
    padding: 9px 0;
    font-size: 14px;
    color: var(--kl-text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--kl-hairline);
    line-height: 1.5;
}

body.kliento-page .v2-list li:last-child {
    border-bottom: none;
}

body.kliento-page .v2-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-image: var(--kl-btn-gradient);
    flex-shrink: 0;
}

/* Venue-specific content toggle */
body.kliento-page .v2-venue-content {
    display: none;
}

body.kliento-page .v2-venue-content.v2-active {
    display: block;
}

/* V2 Responsive */
@media (max-width: 991px) {
    body.kliento-page .v2-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    body.kliento-page .v2-section {
        padding: 60px 0 40px;
    }

    body.kliento-page .v2-section-title {
        font-size: 26px;
    }

    body.kliento-page .v2-pills {
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.kliento-page .v2-pills::-webkit-scrollbar {
        display: none;
    }

    body.kliento-page .v2-pill {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 13px;
    }

    body.kliento-page .v2-card {
        padding: 28px 20px 20px;
    }

    body.kliento-page .v2-card-num {
        font-size: 48px;
    }
}

/* ===== Kliento landing — OneCustomerProfile only ===== */
body.kliento-page .profile-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    padding: 32px;
    box-shadow: var(--kl-shadow-md);
    max-width: 380px;
    margin: 0 auto;
}

body.kliento-page .profile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

body.kliento-page .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-image: var(--kl-btn-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

body.kliento-page .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 2px;
}

body.kliento-page .profile-since {
    font-size: 13px;
    color: var(--kl-text-subtle);
}

body.kliento-page .profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

body.kliento-page .profile-stat {
    background: var(--kl-surface-alt);
    border-radius: var(--kl-radius-md);
    padding: 14px;
    text-align: center;
}

body.kliento-page .profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--kl-accent-strong);
}

body.kliento-page .profile-stat-label {
    font-size: 12px;
    color: var(--kl-text-subtle);
    margin-top: 2px;
}

body.kliento-page .profile-stamps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

body.kliento-page .profile-stamp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

body.kliento-page .profile-stamp.collected {
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
}

body.kliento-page .profile-stamp.empty {
    background: var(--kl-surface-alt);
    color: var(--kl-border);
}

body.kliento-page .profile-badge {
    display: inline-block;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: var(--kl-radius-full);
    font-size: 12px;
    font-weight: 600;
}

body.kliento-page .profile-channels {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

body.kliento-page .profile-channel-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--kl-radius-sm);
    background: var(--kl-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--kl-accent);
}

/* ===== Kliento landing — OneTablePlan only ===== */
body.kliento-page .hero-devices {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    height: 340px;
}

body.kliento-page .hero-devices img {
    position: absolute;
    border-radius: var(--kl-radius-md);
    box-shadow: var(--kl-shadow-lg);
    border: 3px solid rgba(255,255,255,0.3);
}

body.kliento-page .hero-device-pos {
    width: 52%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

body.kliento-page .hero-device-website {
    width: 40%;
    top: 30px;
    left: 0;
    transform: rotate(-4deg);
    z-index: 1;
}

body.kliento-page .hero-device-app {
    width: 22%;
    top: 20px;
    right: 2%;
    transform: rotate(3deg);
    z-index: 3;
}

@media (max-width: 768px) {
    body.kliento-page .hero-devices {
        height: 200px;
    }

    body.kliento-page .hero-device-pos {
        width: 60%;
    }

    body.kliento-page .hero-device-website {
        width: 44%;
    }

    body.kliento-page .hero-device-app {
        width: 26%;
    }
}
