.ig-tile {
  --tile: 52px;
  --tile-bg: #fff;
  position: relative;
  display: grid; place-items: center; flex: none;
  width: var(--tile); height: var(--tile);
  border-radius: calc(var(--tile) * .27);
  background: var(--tile-bg);
  border: 1px solid rgb(16 24 40 / .08);
  box-shadow:
    0 1px 0 rgb(255 255 255 / .9) inset,
    0 1px 2px rgb(16 24 40 / .06),
    0 8px 18px -10px rgb(16 24 40 / .22);
}
.ig-tile img { display: block; width: 48%; height: 48%; object-fit: contain; }
.ig-tile--app img { width: 62%; height: 62%; border-radius: 22%; }
.ig-tile--ink { border-color: rgb(255 255 255 / .06); }
.ig-tile svg { width: 50%; height: 50%; display: block; }
.ig-tile svg path { fill: none; stroke: #4a4a55; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ig-pulse { fill: none; stroke: var(--pulse, var(--brand)); stroke-linecap: round; pointer-events: none; }
.ig-pulse--trace { stroke-width: 1.6; }
.ig-pulse--tail2 { stroke-width: 1.6; }
.ig-pulse--tail1 { stroke-width: 2; }
.ig-pulse--glow { stroke-width: 8; }
.ig-pulse--core { stroke-width: 2.4; }
.is-faint .ig-pulse--glow { stroke-width: 6; }
.is-faint .ig-pulse--core { stroke-width: 1.8; }

.ig-hero { position: relative; z-index: 1; padding-top: 88px; }
.ig-hero .hero__head { text-align: center; }
.ig-hero .hero__head > * { margin-inline: auto; }
.ig-hero .hero__title { margin-top: 18px; max-width: 800px; }
.ig-hero .hero__sub { max-width: 560px; }
.ig-hero .hero__cta { justify-content: center; margin-top: 28px; }

.ig-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 40px; }
.ig-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ig-head--row > div { display: flex; flex-direction: column; gap: 16px; }
.ig-head__note { margin: 0; max-width: 460px; font: 400 15px/1.55 var(--font-ui); color: var(--ink-faint); }
.ig-head__title {
  margin: 0; max-width: 20ch;
  font: 300 44px/1.1 var(--font-display); letter-spacing: -.014em;
  color: var(--ink);
  text-wrap: balance;
}

.ig-steps { position: relative; z-index: 1; padding: 112px 0; }
.ig-steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.ig-step {
  display: flex; flex-direction: column;
  padding: 28px 28px 26px;
  border-radius: 20px;
  background: var(--card);
}
.ig-step__n { font: 500 12px/1 var(--font-ui); letter-spacing: .09em; color: var(--brand); }
.ig-step__title {
  margin: 44px 0 0;
  font: 400 21px/1.25 var(--font-ui); letter-spacing: -.018em;
  color: var(--ink-nav);
}
.ig-step__text {
  margin: 10px 0 22px;
  font: 400 15px/1.55 var(--font-ui);
  color: var(--ink-faint);
}
.ig-step__chip {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font: 500 13px/1.3 var(--font-ui); letter-spacing: -.006em;
  color: var(--ink-nav);
}
.ig-step__chip i {
  flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: #12b76a; box-shadow: 0 0 0 3px rgb(18 183 106 / .15);
}

.ig-dir { position: relative; z-index: 1; padding-bottom: 112px; }

.ig-search {
  position: relative; flex: none;
  display: flex; align-items: center;
  width: 320px;
}
.ig-search svg {
  position: absolute; left: 13px; width: 16px; height: 16px;
  fill: none; stroke: #8b8f9a; stroke-width: 1.6; stroke-linecap: round;
  pointer-events: none;
}
.ig-search input {
  width: 100%; height: 42px; padding: 0 14px 0 38px;
  font: 400 15px/1 var(--font-ui); letter-spacing: -.006em;
  color: var(--ink-nav);
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ig-search input::placeholder { color: #9ca3af; }
.ig-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(35 71 255 / .14); }

.ig-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ig-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 13px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface);
  font: 500 13.5px/1 var(--font-ui); letter-spacing: -.006em;
  color: var(--ink-nav);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ig-chip span { font-weight: 400; color: #8b8f9a; transition: color .15s ease; }
.ig-chip:hover { border-color: #d6d8de; }
.ig-chip[aria-pressed="true"] { background: var(--ink-nav); border-color: var(--ink-nav); color: #fff; }
.ig-chip[aria-pressed="true"] span { color: rgb(255 255 255 / .6); }
.ig-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.ig-group {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px 40px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.ig-group:first-child { border-top: 0; }
.ig-group[hidden] { display: none; }
.ig-group__title {
  margin: 0;
  font: 300 24px/1.25 var(--font-display); letter-spacing: -.012em;
  color: var(--ink);
  scroll-margin-top: 96px;
}
.ig-group__sub { margin: 10px 0 0; font: 400 14px/1.5 var(--font-ui); color: var(--ink-faint); }

.ig-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.ig-card { display: flex; }
.ig-card[hidden] { display: none; }
.ig-card__in {
  position: relative;
  flex: 1;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .15s ease;
}
.ig-card__in--link { padding-right: 36px; }
.ig-card__in--link:hover { border-color: #d6d8de; }
.ig-card__in--link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ig-card__go {
  position: absolute; right: 14px; top: 16px;
  width: 16px; height: 16px;
  color: #b4b8c2;
  transition: color .2s ease, transform .2s cubic-bezier(.2, .8, .3, 1);
}
.ig-card__go svg { display: block; width: 16px; height: 16px; }
.ig-card__in--link:hover .ig-card__go { color: var(--brand); transform: translateX(2px); }
.ig-card__in--link:hover .ig-card__name { color: var(--brand); }
.ig-card__name { transition: color .15s ease; }
.ig-card__tile { --tile: 42px; box-shadow: none; }
.ig-card__body { min-width: 0; }
.ig-card__name { margin: 1px 0 0; font: 500 15px/1.3 var(--font-ui); letter-spacing: -.01em; color: var(--ink-nav); }
.ig-card__name:has(.ig-card__via) { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; }
.ig-card__via {
  display: inline-block; padding: 2px 6px;
  border-radius: 5px; background: #f1f2f4;
  font: 500 11px/1.3 var(--font-ui); letter-spacing: 0; color: var(--ink-faint);
}
.ig-card__blurb { margin: 4px 0 0; font: 400 13.5px/1.45 var(--font-ui); color: var(--ink-faint); }

.ig-dir__empty {
  margin: 0; padding: 40px 0;
  font: 400 15.5px/1.6 var(--font-ui); color: var(--ink-soft);
  border-top: 1px solid var(--border);
}
.ig-dir__empty a { color: var(--brand); }
.ig-dir__empty a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ig-close { position: relative; z-index: 1; padding-bottom: 112px; }
.ig-close__panel {
  --s: .6;
  --foot: #eef1ff;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: 520px;
  padding: 72px 56px 96px;
  border-radius: 24px;
  background:
    radial-gradient(55% 34% at 0% 100%, #f6f8ff 0%, rgb(246 248 255 / 0) 100%),
    linear-gradient(180deg, #0b1682 0%, #1831d6 26%, #2347ff 46%, #3a60ff 72%, #9fb3ff 86%, #dfe6ff 95%, var(--foot) 100%);
}
.ig-close__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); background-size: 200px 200px;
  opacity: .3; mix-blend-mode: overlay;
}
.ig-close__copy { position: relative; z-index: 2; max-width: 450px; }
.ig-close__title {
  margin: 0;
  font: 300 44px/1.1 var(--font-display); letter-spacing: -.014em;
  color: #fff;
  text-wrap: balance;
}
.ig-close__sub { margin: 18px 0 0; max-width: 420px; font: 400 16px/26px var(--font-ui); color: rgb(255 255 255 / .8); text-wrap: pretty; }
.ig-close__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.ig-close__go {
  background: #fff; color: var(--ink-nav);
  box-shadow: 0 1px 2px rgb(8 18 110 / .14), 0 10px 24px -10px rgb(8 18 110 / .55);
}
.ig-close__go:hover { background: #eef1ff; }
.ig-close__ask {
  background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .4); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ig-close__ask:hover { background: rgb(255 255 255 / .18); }
.ig-close__go:focus-visible, .ig-close__ask:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ig-close__shot {
  position: absolute; z-index: 1; top: 80px; right: 0;
  width: calc(984px * var(--s)); height: calc(100% - 80px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, #000 86%, transparent);
}
.ig-close__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(238 241 255 / 0) 50%, var(--foot) 92%);
}

.ig-app {
  --app-ink: #181822;
  --app-soft: #4d4d5b;
  --app-faint: #8b8b9d;
  --app-line: #e8e8fe;
  width: 1000px; height: calc(100% / var(--s));
  transform: scale(var(--s)); transform-origin: 0 0;
  background: #fff;
  border-radius: 14px 0 0 0;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .5), 0 40px 80px -30px rgb(6 14 90 / .7);
  color: var(--app-ink);
  overflow: hidden;
  user-select: none;
}
.ig-app__ed { height: 100%; font-size: 13px; }
.ig-app :is(.ig-app__head, .ig-app__split) svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ig-app p { margin: 0; }

.ig-app__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px 16px;
}
.ig-app__h { font-size: 19px; font-weight: 700; }
.ig-app__meta { display: flex; align-items: center; gap: 7px; margin-top: 4px !important; font-size: 12px; color: var(--app-faint); }
.ig-app__meta i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgb(18 183 106 / .15); }
.ig-app__tools { display: flex; align-items: center; gap: 8px; }
.ig-app__pill, .ig-app__cta {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 10px; border-radius: 8px;
  font-size: 12.5px; white-space: nowrap;
}
.ig-app__pill { border: 1px solid var(--app-line); background: #fff; color: var(--app-soft); }
.ig-app__pill svg { width: 14px; height: 14px; }
.ig-app__pill svg:last-child { width: 12px; height: 12px; color: var(--app-faint); }
.ig-app__cta { background: var(--lla-grad); color: #fff; font-weight: 700; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .14); }
.ig-app__cta svg { width: 13px; height: 13px; stroke-width: 1.8; }

.ig-app__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 22px; }
.ig-app__kpi { padding: 13px 16px 15px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; }
.ig-app__kpi p { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--app-faint); white-space: nowrap; }
.ig-app__kpi strong { display: block; margin-top: 8px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ig-app__kpi em { font-style: normal; font-size: 11px; color: #1f8f5a; }

.ig-app__split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 12px; padding: 12px 22px 0; }
.ig-app__card { padding: 14px 16px 12px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; }
.ig-app__card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ig-app__card-head p { font-weight: 700; }
.ig-app__card-head span { font-size: 11.5px; color: var(--app-faint); }
.ig-app__legend { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; font-size: 11px; color: var(--app-soft); }
.ig-app__legend li { display: flex; align-items: center; gap: 5px; }
.ig-app__legend i { width: 7px; height: 7px; border-radius: 50%; }
.ig-app__chart { width: 388px; height: 176px; overflow: visible; }
.ig-app .ig-app__grid { stroke: #ececfb; stroke-width: 1; stroke-dasharray: 3 4; }
.ig-app__tick { fill: var(--app-faint); stroke: none; font-size: 10px; }
.ig-app .ig-app__line { stroke: var(--c); stroke-width: 1.8; }
.ig-app .ig-app__end { fill: var(--c); stroke: #fff; stroke-width: 1.6; }

.ig-app__dests { list-style: none; margin: 0; padding: 0; }
.ig-app__dest {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-top: 1px solid var(--app-line);
}
.ig-app__dest:first-child { border-top: 0; padding-top: 2px; }
.ig-app__tile { --tile: 30px; box-shadow: none; }
.ig-app__dest-name { display: grid; min-width: 0; }
.ig-app__dest-name small { font-size: 11.5px; font-weight: 400; color: var(--app-faint); }
.ig-app__dest-n { margin-left: auto; font-variant-numeric: tabular-nums; }
.ig-app__switch {
  position: relative; flex: none; width: 26px; height: 15px; border-radius: 999px;
  background: var(--lla-blue);
}
.ig-app__switch::after {
  content: ""; position: absolute; top: 2px; right: 2px;
  width: 11px; height: 11px; border-radius: 50%; background: #fff;
}

@media (max-width: 1180px) {
  .ig-close__panel { --s: .46; }
  .ig-close__copy { max-width: 420px; }
  .ig-close__title { font-size: 40px; }
}

@media (max-width: 1100px) {
  .ig-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .ig-close__panel { --s: .7; display: block; min-height: 0; padding: 64px 48px 0; }
  .ig-close__copy { max-width: 560px; }
  .ig-close__shot {
    position: relative; top: auto; right: auto;
    height: calc(520px * var(--s));
    margin: 48px -48px 0 auto;
  }
}

@media (max-width: 900px) {
  .ig-steps__list { grid-template-columns: minmax(0, 1fr); }
  .ig-step__title { margin-top: 28px; }
  .ig-head__title, .ig-close__title { font-size: 38px; }
  .ig-head--row { flex-direction: column; align-items: flex-start; }
  .ig-search { width: 100%; }
  .ig-group { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .ig-hero { padding-top: 48px; }
  .ig-steps { padding: 88px 0; }
  .ig-dir, .ig-close { padding-bottom: 88px; }
  .ig-head__title, .ig-close__title { font-size: 34px; }
  .ig-cards { grid-template-columns: minmax(0, 1fr); }
  .ig-close__panel { --s: .5; padding: 48px 22px 0; border-radius: 20px; }
  .ig-close__shot { margin: 40px -22px 0 auto; }
}

@media (max-width: 520px) {
  .ig-hero .hero__cta, .ig-close__cta { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .ig-card__in, .ig-card__go { transition: none; }
}
