/* Lead Grey case cards: the two featured cases on the home page and the full list on /case. */
.lgc, .lgc * { box-sizing: border-box; }
.lgc { --blue: #096cff; --blue-2: #5ea2ff; --ink: #202020; --card: #141416; --line: rgba(255,255,255,.08);
  font-family: Manrope, Arial, sans-serif; color: var(--ink); }

/* Section heading */
.lgc-head { text-align: center; margin: 0 auto; max-width: 760px; }
.lgc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); }
.lgc-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.lgc-title { margin: 10px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: .95; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.lgc-title span { display: block; color: var(--blue); }
.lgc-sub { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #5d5f63; }

/* Grid */
.lgc-grid { display: grid; gap: 56px 28px; margin-top: 48px; }
.lgc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin-left: auto; margin-right: auto; }
.lgc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card: a dark panel with a blue folder tab peeking above it */
.lgc-item { position: relative; display: flex; padding-top: 22px; }
.lgc-item[hidden] { display: none; }
.lgc-tab { position: absolute; left: 0; top: 0; width: 46%; height: 44px; border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, var(--blue-2), var(--blue)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.lgc-tab::after { content: ""; position: absolute; right: -26px; bottom: 0; width: 40px; height: 30px;
  background: var(--blue); clip-path: polygon(0 0, 35% 0, 100% 100%, 0 100%); }
.lgc-tab span { position: absolute; left: 18px; top: 3px; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,.92); }
.lgc-card { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; width: 100%;
  background: var(--card); color: #f2f2f2; border-radius: 0 20px 20px 20px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(10,20,40,.55), inset 0 0 0 1px var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.lgc-item:hover .lgc-card { transform: translateY(-6px); box-shadow: 0 40px 70px -26px rgba(9,108,255,.45), inset 0 0 0 1px rgba(9,108,255,.45); }
.lgc-item:hover .lgc-tab { transform: translateY(-6px); }

.lgc-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c0e; }
.lgc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lgc-item:hover .lgc-shot img { transform: scale(1.05); }
.lgc-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card) 2%, rgba(20,20,22,0) 48%); }

.lgc-body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 28px; }
.lgc-shot + .lgc-body { padding-top: 6px; margin-top: -26px; position: relative; z-index: 1; }
.lgc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lgc-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); background: rgba(9,108,255,.12); border: 1px solid rgba(9,108,255,.4); }
.lgc-num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.35); }
.lgc-card h3 { margin: 0; font-size: 22px; line-height: 1.22; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.lgc-task { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.62); }
.lgc-task b { color: rgba(255,255,255,.88); font-weight: 600; }

/* Results: tiles on the featured cards, rows on the full list */
.lgc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.lgc-stats li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.lgc-stats strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.lgc-stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.55); }
.lgc-rows { margin: 20px 0 0; padding: 0; list-style: none; }
.lgc-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lgc-rows li span { color: rgba(255,255,255,.58); }
.lgc-rows li strong { flex: none; font-size: 17px; font-weight: 800; color: #fff; text-align: right; }

.lgc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 12px;
  background: var(--blue); color: #fff !important; text-decoration: none !important; font-size: 16px; font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(9,108,255,.8); transition: background .25s, transform .25s, box-shadow .25s; }
.lgc-btn svg { width: 18px; height: 18px; transition: transform .25s; }
.lgc-btn:hover { background: #1f7bff; transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(9,108,255,.9); }
.lgc-btn:hover svg { transform: translateX(3px); }
.lgc-card .lgc-stats, .lgc-card .lgc-rows { margin-bottom: 24px; }
.lgc-card .lgc-btn { margin-top: auto; width: 100%; }
.lgc-btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px rgba(32,32,32,.2); }
.lgc-btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue) !important; }
.lgc-more { display: flex; justify-content: center; margin-top: 56px; }
.lgc-more .lgc-btn { min-width: 260px; }

/* ---------- Home page section ---------- */
.lgc-home { position: relative; padding: 48px 24px 96px;
  background: radial-gradient(circle, rgba(0,0,0,.035) 1.2px, transparent 1.4px) 0 0/8px 8px, #f0f1ef; }
.lgc-home .lgc-wrap { max-width: 1100px; margin: 0 auto; }

/* ---------- /case page ---------- */
body.lgc-page { margin: 0; background: radial-gradient(circle, rgba(0,0,0,.035) 1.2px, transparent 1.4px) 0 0/8px 8px, #f0f1ef; }
.lgc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lgc-top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(240,241,239,.78); border-bottom: 1px solid rgba(32,32,32,.06); }
.lgc-top .lgc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.lgc-back { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none !important; font-size: 15px; font-weight: 700; }
.lgc-back i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: transform .25s, background .25s, color .25s; }
.lgc-back i svg { width: 18px; height: 18px; }
.lgc-back:hover i { transform: translateX(-3px); background: var(--blue); color: #fff; }
.lgc-logo { font-size: 20px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink) !important; text-decoration: none !important; }
.lgc-logo span { color: var(--blue); }
.lgc-top .lgc-btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

.lgc-hero { padding: 28px 0 0; }
.lgc-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.lgc-filters button { appearance: none; border: 0; cursor: pointer; font: 700 14px Manrope, Arial, sans-serif; color: var(--ink);
  padding: 11px 20px; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06); transition: background .25s, color .25s; }
.lgc-filters button sup { margin-left: 4px; font-size: 11px; color: rgba(32,32,32,.4); }
.lgc-filters button.on { background: var(--blue); color: #fff; }
.lgc-filters button.on sup { color: rgba(255,255,255,.7); }
.lgc-list { padding-bottom: 110px; }

.lgc-cta { position: relative; overflow: hidden; background: #070708; color: #fff; text-align: center; padding: 96px 24px; }
.lgc-cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(9,108,255,.28), transparent); pointer-events: none; }
.lgc-cta h2 { position: relative; margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.lgc-cta h2 span { color: var(--blue-2); }
.lgc-cta p { position: relative; margin: 16px auto 32px; max-width: 480px; color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.5; }
.lgc-cta .lgc-btn { position: relative; min-width: 280px; }
.lgc-foot { background: #070708; color: rgba(255,255,255,.4); font-size: 13px; text-align: center; padding: 0 24px 34px; }
.lgc-foot a { color: rgba(255,255,255,.6) !important; }

@media (max-width: 1080px) { .lgc-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lgc-grid.two, .lgc-grid.three { grid-template-columns: 1fr; gap: 44px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .lgc-home { padding: 28px 16px 72px; }
  .lgc-wrap { padding: 0 16px; }
  .lgc-hero { padding-top: 14px; }
  .lgc-grid { margin-top: 40px; }
  .lgc-top .lgc-btn { display: none; }
  .lgc-sub { font-size: 15px; }
}
@media (max-width: 420px) {
  .lgc-body { padding: 22px 20px 22px; }
  .lgc-card h3 { font-size: 19px; }
  .lgc-stats strong { font-size: 20px; }
  .lgc-stats li { padding: 12px 13px; }
  .lgc-more .lgc-btn, .lgc-cta .lgc-btn { min-width: 0; width: 100%; }
}

/* The Tilda blocks this section replaces on the home page */
#rec1305442111, #rec1978708521 { display: none !important; }


/* Mobile hero: the character sits right under the subtitle, the button moves down to the laptop,
   the block gets shorter. Tilda places elements with top, so margin-top shifts them without touching it. */
@media (max-width: 480px) {
  #rec1292061791 .tn-elem[data-elem-id="1757517717914"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717882"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717908"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717937"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717903"],
  #rec1292061791 .tn-elem[data-elem-id="175752070364196850"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717909"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717942"] { margin-top: -193px !important; }
  #rec1292061791 .tn-elem[data-elem-id="1757517717942"] { display: none !important; }
  #rec1292061791 .tn-elem[data-elem-id="175853201906999110"],
  #rec1292061791 .tn-elem[data-elem-id="1757517717923"],
  #rec1292061791 .tn-elem[data-elem-id="1757519710394"],
  #rec1292061791 .tn-elem[data-elem-id="175752013450999840"],
  #rec1292061791 .tn-elem[data-elem-id="175853199295499300"] { display: none !important; }
  #rec1292061791 .t396__artboard, #rec1292061791 .t396__carrier, #rec1292061791 .t396__filter { height: 770px !important; }
  .lg-hero-cta { display: flex !important; }
  .lg-hero-scrim { display: block !important; }
}

/* Mobile hero button laid over the laptop (added by the home block script) */
.lg-hero-cta { display: none; position: absolute; z-index: 20; left: 50%; top: 636px; transform: translateX(-50%);
  width: min(330px, calc(100% - 36px)); height: 70px; align-items: center; justify-content: center; gap: 10px;
  border-radius: 16px; background: linear-gradient(180deg, #2f86ff, #096cff); color: #fff !important; text-decoration: none !important;
  font: 800 16px/1 Manrope, Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 18px 40px -8px rgba(9,108,255,.9);
  animation: lgCtaGlow 2.8s ease-in-out infinite; }
.lg-hero-cta svg { width: 20px; height: 20px; flex: none; }
.lg-hero-scrim { display: none; position: absolute; z-index: 19; left: 0; right: 0; top: 540px; bottom: 0; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 58%, rgba(0,0,0,.7), rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.45) 45%, #000); }
.lg-hero-cta:active { transform: translateX(-50%) scale(.97); }
/* With the motion layer on, the button and its shade come in last, after the hero has settled */
html.lg-motion .lg-hero-cta, html.lg-motion .lg-hero-scrim { opacity: 0; }
html.lg-motion.lg-ready .lg-hero-scrim { animation: lgFadeIn .8s ease 1.6s forwards; }
html.lg-motion.lg-ready .lg-hero-cta { animation: lgCtaIn .8s cubic-bezier(.2,.8,.2,1.2) 1.9s forwards, lgCtaGlow 2.8s ease-in-out 2.7s infinite; }
@keyframes lgFadeIn { to { opacity: 1; } }
@keyframes lgCtaIn { from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(.92); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes lgCtaGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 18px 40px -8px rgba(9,108,255,.75); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 18px 54px -2px rgba(9,108,255,1); }
}

/* ---------- Hero decor: notifications instead of flying money ---------- */
#rec1292061791 .tn-elem[data-elem-id="1757517717889"], #rec1974779711 .tn-elem[data-elem-id="1757517717889"],
#rec1292061791 .tn-elem[data-elem-id="1757517717903"], #rec1974779711 .tn-elem[data-elem-id="1757517717903"],
#rec1292061791 .tn-elem[data-elem-id="1757517717909"], #rec1974779711 .tn-elem[data-elem-id="1757517717909"],
#rec1292061791 .tn-elem[data-elem-id="1757517717912"], #rec1974779711 .tn-elem[data-elem-id="1757517717912"],
#rec1292061791 .tn-elem[data-elem-id="1757517717914"], #rec1974779711 .tn-elem[data-elem-id="1757517717914"],
#rec1292061791 .tn-elem[data-elem-id="1757517717937"], #rec1974779711 .tn-elem[data-elem-id="1757517717937"] { display: none !important; }

.lg-deco { position: absolute; z-index: 15; left: calc(50% + var(--x)); top: var(--y); pointer-events: none; rotate: var(--r, 0deg);
  animation: lgDecoFloat var(--d, 6s) ease-in-out var(--dl, 0s) infinite; }
@keyframes lgDecoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 var(--fy, -10px); } }

.lg-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; white-space: nowrap;
  font-family: Manrope, Arial, sans-serif; color: #fff; background: rgba(18,22,32,.72);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -10px rgba(0,0,0,.8), 0 0 24px -6px rgba(9,108,255,.5); }
.lg-chip i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-style: normal; }
.lg-chip i svg { width: 18px; height: 18px; }
.lg-chip i.ok { background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 0 14px rgba(74,222,128,.55); }
.lg-chip i.bl { background: linear-gradient(135deg, #5ea2ff, #096cff); box-shadow: 0 0 14px rgba(9,108,255,.6); }
.lg-chip i.pk { background: linear-gradient(135deg, #ff6b8e, #d4145a); box-shadow: 0 0 14px rgba(255,59,107,.5); }
.lg-chip b { display: block; font-size: 14px; line-height: 1.15; font-weight: 800; }
.lg-chip span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.2; color: rgba(255,255,255,.6); }
.lg-chip span em { font-style: normal; color: #4ade80; font-weight: 700; }

/* Desktop places (grid 1200 and wider); the tablet layouts keep a clean hero */
#rec1974779711 .lg-deco { display: none; }
@media (min-width: 1200px) {
  #rec1974779711 .lg-deco { display: block; }
  #rec1974779711 .lg-chip.lg-deco { display: flex; }
}
#rec1292061791 .lg-chip { padding: 7px 11px 7px 7px; gap: 8px; border-radius: 13px; }
#rec1292061791 .lg-chip i { width: 26px; height: 26px; border-radius: 9px; }
#rec1292061791 .lg-chip i svg { width: 14px; height: 14px; }
#rec1292061791 .lg-chip b { font-size: 11.5px; }
#rec1292061791 .lg-chip span { font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .lg-deco { animation: none; } }
#rec1974779711 .lg-chip { gap: 14px; padding: 14px 20px 14px 14px; border-radius: 20px; }
#rec1974779711 .lg-chip i { width: 46px; height: 46px; border-radius: 14px; }
#rec1974779711 .lg-chip i svg { width: 24px; height: 24px; }
#rec1974779711 .lg-chip b { font-size: 18px; }
#rec1974779711 .lg-chip span { font-size: 14px; margin-top: 3px; }

/* Telegram card in place of the old lead forms */
.lg-tg-card { display: flex !important; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; min-height: 239px; text-align: center; font-family: Manrope, Arial, sans-serif; }
.t-screenmin-640px .lg-tg-card p { display: none; }
.lg-tg-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 20px; border-radius: 14px;
  background: linear-gradient(135deg, #2a8bff, #096cff 55%, #0050d0); color: #fff !important; text-decoration: none;
  font: 800 14px/1 Manrope, Arial, sans-serif; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 16px 40px -12px rgba(9,108,255,.9), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .25s, box-shadow .25s, background .25s; }
.lg-tg-btn svg { width: 22px; height: 22px; flex: none; }
.lg-tg-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -12px rgba(9,108,255,1), inset 0 1px 0 rgba(255,255,255,.3); }
.lg-tg-handle { display: block; text-align: center; color: #5ea2ff !important; font: 700 14px/1 Manrope, Arial, sans-serif; text-decoration: none; }
.lg-tg-handle:hover { color: #fff !important; }
.lg-tg-card p { margin: 6px 0 0; color: rgba(241,242,237,.6); font: 400 12px/1.5 Manrope, Arial, sans-serif; text-align: center; }
@media (max-width: 480px) {
  .t-screenmax-480px .lg-tg-card { min-height: 0; }
  html body #rec1334748411 .t396__artboard, html body #rec1334748411 .t396__carrier, html body #rec1334748411 .t396__filter,
  html body #rec1334761791 .t396__artboard, html body #rec1334761791 .t396__carrier, html body #rec1334761791 .t396__filter { height: 520px !important; min-height: 0 !important; }
}
